source: repository/pom.xml@ 215

Last change on this file since 215 was 168, checked in by wouter, 4 years ago

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

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