source: files/pom.xml@ 116

Last change on this file since 116 was 114, checked in by wouter, 4 years ago

bump versions to 1.1.1 and add enforcer plugin

File size: 5.4 KB
RevLine 
[1]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>
[114]8 <version>1.1.1</version>
[1]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>
[114]33 <version>1.1.1</version>
[1]34 </dependency>
35
36 <dependency>
37 <groupId>tudelft.utilities</groupId>
38 <artifactId>immutablelist</artifactId>
[113]39 <version>1.1.1</version>
[1]40 </dependency>
41
42 <dependency>
43 <groupId>tudelft.utilities</groupId>
44 <artifactId>listener</artifactId>
[20]45 <version>1.1.0</version>
[1]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
[36]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.2</version>
65 <scope>test</scope>
66 </dependency>
[1]67
[36]68
[1]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>jcenter</id>
85 <url>http://jcenter.bintray.com</url>
86 </pluginRepository>
87 </pluginRepositories>
88
89
90 <build>
91
92 <plugins>
93 <plugin>
94 <groupId>org.apache.maven.plugins</groupId>
95 <artifactId>maven-compiler-plugin</artifactId>
96 <version>3.6.1</version>
97 <configuration>
98 <source>1.8</source>
99 <target>1.8</target>
100 </configuration>
101 </plugin>
102
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-javadoc-plugin</artifactId>
106 <version>2.10.1</version>
107 <executions>
108 <execution>
109 <id>attach-javadocs</id>
110 <goals>
111 <goal>jar</goal>
112 </goals>
113 <configuration>
114 <additionalparam>${javadoc.opts}</additionalparam>
115 <additionalparam>-Xdoclint:none</additionalparam>
116 </configuration>
117 </execution>
118 </executions>
119 </plugin>
120
121 <plugin>
[114]122 <groupId>org.apache.maven.plugins</groupId>
123 <artifactId>maven-enforcer-plugin</artifactId>
124 <version>3.0.0-M2</version>
125 <executions>
126 <execution>
127 <id>enforce</id>
128 <configuration>
129 <rules>
130 <dependencyConvergence />
131 </rules>
132 </configuration>
133 <goals>
134 <goal>enforce</goal>
135 </goals>
136 </execution>
137 </executions>
138 </plugin>
139 <plugin>
[1]140 <groupId>org.jfrog.buildinfo</groupId>
141 <artifactId>artifactory-maven-plugin</artifactId>
142 <version>2.6.1</version>
143 <executions>
144 <execution>
145 <id>build-info</id>
146 <goals>
147 <goal>publish</goal>
148 </goals>
149 <configuration>
150 <publisher>
151 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
152 <repoKey>libs-release</repoKey>
153 <username>wouter</username>
154 <password>${passwd}</password>
155 </publisher>
156 </configuration>
157 </execution>
158 </executions>
159 </plugin>
160
161 <plugin>
162 <groupId>org.apache.maven.plugins</groupId>
163 <artifactId>maven-assembly-plugin</artifactId>
164 <version>2.4.1</version>
165 <configuration>
166 <!-- get all project dependencies -->
167 <descriptorRefs>
168 <descriptorRef>jar-with-dependencies</descriptorRef>
169 </descriptorRefs>
170 <archive>
171 <manifest>
172 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
173 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
174 </manifest>
175 </archive>
176 </configuration>
177 <executions>
178 <execution>
179 <id>make-assembly</id>
180 <!-- bind to the packaging phase -->
181 <phase>package</phase>
182 <goals>
183 <goal>single</goal>
184 </goals>
185 </execution>
186 </executions>
187 </plugin>
188
189
190 </plugins>
191
192 <pluginManagement>
193 <plugins>
194 <plugin>
195 <groupId>org.eclipse.m2e</groupId>
196 <artifactId>lifecycle-mapping</artifactId>
197 <version>1.0.0</version>
198 <configuration>
199 <lifecycleMappingMetadata>
200 <pluginExecutions>
201 <pluginExecution>
202 <pluginExecutionFilter>
203 <groupId>org.jfrog.buildinfo</groupId>
204 <artifactId>artifactory-maven-plugin</artifactId>
205 <versionRange>[1.0.0,)</versionRange>
206 <goals>
207 <goal>publish</goal>
208 </goals>
209 </pluginExecutionFilter>
210 <action>
211 <ignore />
212 </action>
213 </pluginExecution>
214 </pluginExecutions>
215 </lifecycleMappingMetadata>
216 </configuration>
217 </plugin>
218 </plugins>
219 </pluginManagement>
220
221
222 </build>
223</project>
Note: See TracBrowser for help on using the repository browser.