[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>
|
---|
| 7 | <version>1.0.0</version>
|
---|
| 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>
|
---|
[63] | 16 | <jackson.version>2.7.4</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>
|
---|
| 87 | <id>jcenter</id>
|
---|
| 88 | <url>http://jcenter.bintray.com</url>
|
---|
| 89 | </pluginRepository>
|
---|
| 90 | </pluginRepositories>
|
---|
| 91 |
|
---|
| 92 |
|
---|
| 93 | <build>
|
---|
| 94 |
|
---|
| 95 | <plugins>
|
---|
| 96 | <plugin>
|
---|
| 97 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 98 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
| 99 | <version>3.6.1</version>
|
---|
| 100 | <configuration>
|
---|
| 101 | <source>1.8</source>
|
---|
| 102 | <target>1.8</target>
|
---|
| 103 | </configuration>
|
---|
| 104 | </plugin>
|
---|
| 105 |
|
---|
| 106 | <plugin>
|
---|
| 107 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 108 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
| 109 | <version>2.10.1</version>
|
---|
| 110 | <executions>
|
---|
| 111 | <execution>
|
---|
| 112 | <id>attach-javadocs</id>
|
---|
| 113 | <goals>
|
---|
| 114 | <goal>jar</goal>
|
---|
| 115 | </goals>
|
---|
| 116 | <configuration>
|
---|
| 117 | <additionalparam>${javadoc.opts}</additionalparam>
|
---|
| 118 | <additionalparam>-Xdoclint:none</additionalparam>
|
---|
| 119 | </configuration>
|
---|
| 120 | </execution>
|
---|
| 121 | </executions>
|
---|
| 122 | </plugin>
|
---|
| 123 |
|
---|
| 124 | <plugin>
|
---|
| 125 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 126 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 127 | <version>2.6.1</version>
|
---|
| 128 | <executions>
|
---|
| 129 | <execution>
|
---|
| 130 | <id>build-info</id>
|
---|
| 131 | <goals>
|
---|
| 132 | <goal>publish</goal>
|
---|
| 133 | </goals>
|
---|
| 134 | <configuration>
|
---|
| 135 | <publisher>
|
---|
| 136 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
| 137 | <repoKey>libs-release</repoKey>
|
---|
| 138 | <username>wouter</username>
|
---|
| 139 | <password>${passwd}</password>
|
---|
| 140 | </publisher>
|
---|
| 141 | </configuration>
|
---|
| 142 | </execution>
|
---|
| 143 | </executions>
|
---|
| 144 | </plugin>
|
---|
| 145 |
|
---|
| 146 | <plugin>
|
---|
| 147 | <groupId>org.apache.maven.plugins</groupId>
|
---|
| 148 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
| 149 | <version>2.4.1</version>
|
---|
| 150 | <configuration>
|
---|
| 151 | <!-- get all project dependencies -->
|
---|
| 152 | <descriptorRefs>
|
---|
| 153 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
| 154 | </descriptorRefs>
|
---|
| 155 | <archive>
|
---|
| 156 | <manifest>
|
---|
| 157 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
| 158 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
| 159 | </manifest>
|
---|
| 160 | </archive>
|
---|
| 161 | </configuration>
|
---|
| 162 | <executions>
|
---|
| 163 | <execution>
|
---|
| 164 | <id>make-assembly</id>
|
---|
| 165 | <!-- bind to the packaging phase -->
|
---|
| 166 | <phase>package</phase>
|
---|
| 167 | <goals>
|
---|
| 168 | <goal>single</goal>
|
---|
| 169 | </goals>
|
---|
| 170 | </execution>
|
---|
| 171 | </executions>
|
---|
| 172 | </plugin>
|
---|
| 173 |
|
---|
| 174 |
|
---|
| 175 | </plugins>
|
---|
| 176 |
|
---|
| 177 | <pluginManagement>
|
---|
| 178 | <plugins>
|
---|
| 179 | <plugin>
|
---|
| 180 | <groupId>org.eclipse.m2e</groupId>
|
---|
| 181 | <artifactId>lifecycle-mapping</artifactId>
|
---|
| 182 | <version>1.0.0</version>
|
---|
| 183 | <configuration>
|
---|
| 184 | <lifecycleMappingMetadata>
|
---|
| 185 | <pluginExecutions>
|
---|
| 186 | <pluginExecution>
|
---|
| 187 | <pluginExecutionFilter>
|
---|
| 188 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
| 189 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
| 190 | <versionRange>[1.0.0,)</versionRange>
|
---|
| 191 | <goals>
|
---|
| 192 | <goal>publish</goal>
|
---|
| 193 | </goals>
|
---|
| 194 | </pluginExecutionFilter>
|
---|
| 195 | <action>
|
---|
| 196 | <ignore />
|
---|
| 197 | </action>
|
---|
| 198 | </pluginExecution>
|
---|
| 199 | </pluginExecutions>
|
---|
| 200 | </lifecycleMappingMetadata>
|
---|
| 201 | </configuration>
|
---|
| 202 | </plugin>
|
---|
| 203 | </plugins>
|
---|
| 204 | </pluginManagement>
|
---|
| 205 |
|
---|
| 206 |
|
---|
| 207 | </build>
|
---|
[47] | 208 | </project> |
---|