source: files/pom.xml@ 217

Last change on this file since 217 was 169, checked in by wouter, 4 years ago

#74 Files, Repository, Tree, and ImmutableList must have same version

File size: 5.5 KB
Line 
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.utilities</groupId>
7 <artifactId>files</artifactId>
8 <version>2.1.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 <distributionManagement>
21 <repository>
22 <id>artifactory.ewi.tudelft.nl</id>
23 <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
24 </repository>
25 </distributionManagement>
26
27
28 <dependencies>
29
30 <dependency>
31 <groupId>tudelft.utilities</groupId>
32 <artifactId>tree</artifactId>
33 <version>2.1.0</version>
34 </dependency>
35
36 <dependency>
37 <groupId>tudelft.utilities</groupId>
38 <artifactId>immutablelist</artifactId>
39 <version>2.1.0</version>
40 </dependency>
41
42 <dependency>
43 <groupId>tudelft.utilities</groupId>
44 <artifactId>listener</artifactId>
45 <version>1.1.1</version>
46 </dependency>
47
48 <dependency>
49 <groupId>org.mockito</groupId>
50 <artifactId>mockito-all</artifactId>
51 <version>1.9.5</version>
52 <scope>test</scope>
53 </dependency>
54
55 <dependency>
56 <groupId>junit</groupId>
57 <artifactId>junit</artifactId>
58 <version>4.12</version>
59 <scope>test</scope>
60 </dependency>
61 <dependency>
62 <groupId>tudelft.utilities</groupId>
63 <artifactId>junit</artifactId>
64 <version>1.0.5</version>
65 <scope>test</scope>
66 </dependency>
67
68
69 </dependencies>
70
71 <repositories>
72 <repository>
73 <id>artifactory.ewi.tudelft.nl</id>
74 <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
75 <snapshots>
76 <enabled>false</enabled>
77 </snapshots>
78 </repository>
79
80 </repositories>
81
82 <pluginRepositories>
83 <pluginRepository>
84 <id>central</id>
85 <url>https://repo1.maven.org/</url>
86 </pluginRepository>
87 <pluginRepository>
88 <id>jfrog-plugins-release</id>
89 <name>plugins-release</name>
90 <url>https://oss.jfrog.org/artifactory/plugins-release</url>
91 </pluginRepository>
92 </pluginRepositories>
93
94
95 <build>
96
97 <plugins>
98 <plugin>
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-compiler-plugin</artifactId>
101 <version>3.6.1</version>
102 <configuration>
103 <source>1.8</source>
104 <target>1.8</target>
105 </configuration>
106 </plugin>
107
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.apache.maven.plugins</groupId>
128 <artifactId>maven-enforcer-plugin</artifactId>
129 <version>3.0.0-M2</version>
130 <executions>
131 <execution>
132 <id>enforce</id>
133 <configuration>
134 <rules>
135 <dependencyConvergence />
136 </rules>
137 </configuration>
138 <goals>
139 <goal>enforce</goal>
140 </goals>
141 </execution>
142 </executions>
143 </plugin>
144 <plugin>
145 <groupId>org.jfrog.buildinfo</groupId>
146 <artifactId>artifactory-maven-plugin</artifactId>
147 <version>2.6.1</version>
148 <executions>
149 <execution>
150 <id>build-info</id>
151 <goals>
152 <goal>publish</goal>
153 </goals>
154 <configuration>
155 <publisher>
156 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
157 <repoKey>libs-release</repoKey>
158 <username>wouter</username>
159 <password>${passwd}</password>
160 </publisher>
161 </configuration>
162 </execution>
163 </executions>
164 </plugin>
165
166 <plugin>
167 <groupId>org.apache.maven.plugins</groupId>
168 <artifactId>maven-assembly-plugin</artifactId>
169 <version>2.4.1</version>
170 <configuration>
171 <!-- get all project dependencies -->
172 <descriptorRefs>
173 <descriptorRef>jar-with-dependencies</descriptorRef>
174 </descriptorRefs>
175 <archive>
176 <manifest>
177 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
178 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
179 </manifest>
180 </archive>
181 </configuration>
182 <executions>
183 <execution>
184 <id>make-assembly</id>
185 <!-- bind to the packaging phase -->
186 <phase>package</phase>
187 <goals>
188 <goal>single</goal>
189 </goals>
190 </execution>
191 </executions>
192 </plugin>
193
194
195 </plugins>
196
197 <pluginManagement>
198 <plugins>
199 <plugin>
200 <groupId>org.eclipse.m2e</groupId>
201 <artifactId>lifecycle-mapping</artifactId>
202 <version>1.0.0</version>
203 <configuration>
204 <lifecycleMappingMetadata>
205 <pluginExecutions>
206 <pluginExecution>
207 <pluginExecutionFilter>
208 <groupId>org.jfrog.buildinfo</groupId>
209 <artifactId>artifactory-maven-plugin</artifactId>
210 <versionRange>[1.0.0,)</versionRange>
211 <goals>
212 <goal>publish</goal>
213 </goals>
214 </pluginExecutionFilter>
215 <action>
216 <ignore />
217 </action>
218 </pluginExecution>
219 </pluginExecutions>
220 </lifecycleMappingMetadata>
221 </configuration>
222 </plugin>
223 </plugins>
224 </pluginManagement>
225
226
227 </build>
228</project>
Note: See TracBrowser for help on using the repository browser.