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