source: mvc/pom.xml@ 605

Last change on this file since 605 was 600, checked in by wouter, 15 months ago

#202
include sources on artifactory

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