source: files/pom.xml@ 44

Last change on this file since 44 was 36, checked in by wouter, 5 years ago

junit scope to test only

File size: 4.9 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>
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 <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>1.0.0</version>
34 </dependency>
35
36 <dependency>
37 <groupId>tudelft.utilities</groupId>
38 <artifactId>immutablelist</artifactId>
[20]39 <version>1.0.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>
122 <groupId>org.jfrog.buildinfo</groupId>
123 <artifactId>artifactory-maven-plugin</artifactId>
124 <version>2.6.1</version>
125 <executions>
126 <execution>
127 <id>build-info</id>
128 <goals>
129 <goal>publish</goal>
130 </goals>
131 <configuration>
132 <publisher>
133 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
134 <repoKey>libs-release</repoKey>
135 <username>wouter</username>
136 <password>${passwd}</password>
137 </publisher>
138 </configuration>
139 </execution>
140 </executions>
141 </plugin>
142
143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-assembly-plugin</artifactId>
146 <version>2.4.1</version>
147 <configuration>
148 <!-- get all project dependencies -->
149 <descriptorRefs>
150 <descriptorRef>jar-with-dependencies</descriptorRef>
151 </descriptorRefs>
152 <archive>
153 <manifest>
154 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
155 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
156 </manifest>
157 </archive>
158 </configuration>
159 <executions>
160 <execution>
161 <id>make-assembly</id>
162 <!-- bind to the packaging phase -->
163 <phase>package</phase>
164 <goals>
165 <goal>single</goal>
166 </goals>
167 </execution>
168 </executions>
169 </plugin>
170
171
172 </plugins>
173
174 <pluginManagement>
175 <plugins>
176 <plugin>
177 <groupId>org.eclipse.m2e</groupId>
178 <artifactId>lifecycle-mapping</artifactId>
179 <version>1.0.0</version>
180 <configuration>
181 <lifecycleMappingMetadata>
182 <pluginExecutions>
183 <pluginExecution>
184 <pluginExecutionFilter>
185 <groupId>org.jfrog.buildinfo</groupId>
186 <artifactId>artifactory-maven-plugin</artifactId>
187 <versionRange>[1.0.0,)</versionRange>
188 <goals>
189 <goal>publish</goal>
190 </goals>
191 </pluginExecutionFilter>
192 <action>
193 <ignore />
194 </action>
195 </pluginExecution>
196 </pluginExecutions>
197 </lifecycleMappingMetadata>
198 </configuration>
199 </plugin>
200 </plugins>
201 </pluginManagement>
202
203
204 </build>
205</project>
Note: See TracBrowser for help on using the repository browser.