[49] | 1 | <project xmlns="http://maven.apache.org/POM/4.0.0"
|
---|
| 2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
---|
| 3 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
---|
| 4 | <modelVersion>4.0.0</modelVersion>
|
---|
| 5 | <groupId>tudelft.utilities</groupId>
|
---|
| 6 | <artifactId>accountmanager</artifactId>
|
---|
[122] | 7 | <version>1.0.2</version>
|
---|
[49] | 8 |
|
---|
| 9 |
|
---|
| 10 | <properties>
|
---|
| 11 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
---|
| 12 | <maven.compiler.target>1.8</maven.compiler.target>
|
---|
| 13 | <maven.compiler.source>1.8</maven.compiler.source>
|
---|
| 14 | <basedir>.</basedir>
|
---|
| 15 | <passwd>${env.ARTIFACTORY_PASS}</passwd>
|
---|
[92] | 16 | <jackson.version>2.10.0</jackson.version>
|
---|
[49] | 17 | </properties>
|
---|
| 18 |
|
---|
| 19 | <distributionManagement>
|
---|
| 20 | <repository>
|
---|
| 21 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
| 22 | <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
| 23 | </repository>
|
---|
| 24 | </distributionManagement>
|
---|
| 25 |
|
---|
| 26 |
|
---|
| 27 |
|
---|
| 28 | <dependencies>
|
---|
| 29 | <dependency>
|
---|
| 30 | <groupId>org.xerial</groupId>
|
---|
| 31 | <artifactId>sqlite-jdbc</artifactId>
|
---|
| 32 | <version>3.30.1</version>
|
---|
| 33 | </dependency>
|
---|
[83] | 34 | <!-- https://mvnrepository.com/artifact/javax.mail/mail -->
|
---|
[54] | 35 | <dependency>
|
---|
| 36 | <groupId>javax.mail</groupId>
|
---|
| 37 | <artifactId>mail</artifactId>
|
---|
[83] | 38 | <version>1.5.0-b01</version>
|
---|
[54] | 39 | </dependency>
|
---|
[83] | 40 | <!-- <dependency> <groupId>javax.mail</groupId> <artifactId>mail</artifactId>
|
---|
| 41 | <version>1.4</version> newer versions have a bug which strips the last CR
|
---|
| 42 | when sending </dependency> -->
|
---|
[63] | 43 | <dependency>
|
---|
| 44 | <groupId>com.fasterxml.jackson.core</groupId>
|
---|
| 45 | <artifactId>jackson-databind</artifactId>
|
---|
| 46 | <version>${jackson.version}</version>
|
---|
| 47 | </dependency>
|
---|
[49] | 48 |
|
---|
[54] | 49 |
|
---|
[49] | 50 | <dependency>
|
---|
| 51 | <groupId>junit</groupId>
|
---|
| 52 | <artifactId>junit</artifactId>
|
---|
| 53 | <version>4.12</version>
|
---|
| 54 | <scope>test</scope>
|
---|
| 55 | </dependency>
|
---|
[54] | 56 |
|
---|
| 57 | <dependency>
|
---|
| 58 | <groupId>org.mockito</groupId>
|
---|
| 59 | <artifactId>mockito-all</artifactId>
|
---|
| 60 | <version>1.10.19</version>
|
---|
| 61 | <scope>test</scope>
|
---|
| 62 | </dependency>
|
---|
| 63 |
|
---|
| 64 | <!-- A dummy mail client for testing -->
|
---|
| 65 | <dependency>
|
---|
| 66 | <groupId>com.github.kirviq</groupId>
|
---|
| 67 | <artifactId>dumbster</artifactId>
|
---|
| 68 | <version>1.7.1</version>
|
---|
| 69 | <scope>test</scope>
|
---|
| 70 | </dependency>
|
---|
[49] | 71 | </dependencies>
|
---|
| 72 |
|
---|
| 73 |
|
---|
| 74 | <repositories>
|
---|
| 75 | <repository>
|
---|
| 76 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
| 77 | <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
| 78 | <snapshots>
|
---|
| 79 | <enabled>false</enabled>
|
---|
| 80 | </snapshots>
|
---|
| 81 | </repository>
|
---|
| 82 |
|
---|
| 83 | </repositories>
|
---|
| 84 |
|
---|
| 85 | <pluginRepositories>
|
---|
| 86 | <pluginRepository>
|
---|
[122] | 87 | <id>central</id>
|
---|
| 88 | <url>https://repo1.maven.org/</url>
|
---|
[49] | 89 | </pluginRepository>
|
---|
[122] | 90 | <pluginRepository>
|
---|
| 91 | <id>jfrog-plugins-release</id>
|
---|
| 92 | <name>plugins-release</name>
|
---|
| 93 | <url>https://oss.jfrog.org/artifactory/plugins-release</url>
|
---|
| 94 | </pluginRepository>
|
---|
[49] | 95 | </pluginRepositories>
|
---|
| 96 |
|
---|
| 97 |
|
---|
[122] | 98 |
|
---|
[49] | 99 | <build>
|
---|
| 100 |
|
---|
| 101 | <plugins>
|
---|
| 102 | <plugin>
|
---|
| 103 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 104 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
| 105 | <version>3.6.1</version>
|
---|
| 106 | <configuration>
|
---|
| 107 | <source>1.8</source>
|
---|
| 108 | <target>1.8</target>
|
---|
| 109 | </configuration>
|
---|
| 110 | </plugin>
|
---|
| 111 |
|
---|
| 112 | <plugin>
|
---|
| 113 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 114 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
| 115 | <version>2.10.1</version>
|
---|
| 116 | <executions>
|
---|
| 117 | <execution>
|
---|
| 118 | <id>attach-javadocs</id>
|
---|
| 119 | <goals>
|
---|
| 120 | <goal>jar</goal>
|
---|
| 121 | </goals>
|
---|
| 122 | <configuration>
|
---|
| 123 | <additionalparam>${javadoc.opts}</additionalparam>
|
---|
| 124 | <additionalparam>-Xdoclint:none</additionalparam>
|
---|
| 125 | </configuration>
|
---|
| 126 | </execution>
|
---|
| 127 | </executions>
|
---|
| 128 | </plugin>
|
---|
| 129 |
|
---|
| 130 | <plugin>
|
---|
| 131 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 132 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 133 | <version>2.6.1</version>
|
---|
| 134 | <executions>
|
---|
| 135 | <execution>
|
---|
| 136 | <id>build-info</id>
|
---|
| 137 | <goals>
|
---|
| 138 | <goal>publish</goal>
|
---|
| 139 | </goals>
|
---|
| 140 | <configuration>
|
---|
| 141 | <publisher>
|
---|
| 142 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
| 143 | <repoKey>libs-release</repoKey>
|
---|
| 144 | <username>wouter</username>
|
---|
| 145 | <password>${passwd}</password>
|
---|
| 146 | </publisher>
|
---|
| 147 | </configuration>
|
---|
| 148 | </execution>
|
---|
| 149 | </executions>
|
---|
| 150 | </plugin>
|
---|
| 151 |
|
---|
| 152 | <plugin>
|
---|
| 153 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 154 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
| 155 | <version>2.4.1</version>
|
---|
| 156 | <configuration>
|
---|
| 157 | <!-- get all project dependencies -->
|
---|
| 158 | <descriptorRefs>
|
---|
| 159 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
| 160 | </descriptorRefs>
|
---|
| 161 | <archive>
|
---|
| 162 | <manifest>
|
---|
| 163 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
| 164 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
| 165 | </manifest>
|
---|
| 166 | </archive>
|
---|
| 167 | </configuration>
|
---|
| 168 | <executions>
|
---|
| 169 | <execution>
|
---|
| 170 | <id>make-assembly</id>
|
---|
| 171 | <!-- bind to the packaging phase -->
|
---|
| 172 | <phase>package</phase>
|
---|
| 173 | <goals>
|
---|
| 174 | <goal>single</goal>
|
---|
| 175 | </goals>
|
---|
| 176 | </execution>
|
---|
| 177 | </executions>
|
---|
| 178 | </plugin>
|
---|
| 179 |
|
---|
| 180 |
|
---|
| 181 | </plugins>
|
---|
| 182 |
|
---|
| 183 | <pluginManagement>
|
---|
| 184 | <plugins>
|
---|
| 185 | <plugin>
|
---|
| 186 | <groupId>org.eclipse.m2e</groupId>
|
---|
| 187 | <artifactId>lifecycle-mapping</artifactId>
|
---|
| 188 | <version>1.0.0</version>
|
---|
| 189 | <configuration>
|
---|
| 190 | <lifecycleMappingMetadata>
|
---|
| 191 | <pluginExecutions>
|
---|
| 192 | <pluginExecution>
|
---|
| 193 | <pluginExecutionFilter>
|
---|
| 194 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 195 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 196 | <versionRange>[1.0.0,)</versionRange>
|
---|
| 197 | <goals>
|
---|
| 198 | <goal>publish</goal>
|
---|
| 199 | </goals>
|
---|
| 200 | </pluginExecutionFilter>
|
---|
| 201 | <action>
|
---|
| 202 | <ignore />
|
---|
| 203 | </action>
|
---|
| 204 | </pluginExecution>
|
---|
| 205 | </pluginExecutions>
|
---|
| 206 | </lifecycleMappingMetadata>
|
---|
| 207 | </configuration>
|
---|
| 208 | </plugin>
|
---|
| 209 | </plugins>
|
---|
| 210 | </pluginManagement>
|
---|
| 211 |
|
---|
| 212 |
|
---|
| 213 | </build>
|
---|
[47] | 214 | </project> |
---|