source: repository/pom.xml@ 75

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

junit scope to test only

File size: 4.8 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>
8 <version>1.0.1</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 <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>
39 <version>1.0.0</version>
40 </dependency>
41
42 <dependency>
43 <groupId>tudelft.utilities</groupId>
44 <artifactId>immutablelist</artifactId>
[18]45 <version>1.0.1</version>
[1]46 </dependency>
47
48 <dependency>
49 <groupId>tudelft.utilities</groupId>
50 <artifactId>listener</artifactId>
[20]51 <version>1.1.0</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>
77 <id>jcenter</id>
78 <url>http://jcenter.bintray.com</url>
79 </pluginRepository>
80 </pluginRepositories>
81
82
83 <build>
84
85 <plugins>
86 <plugin>
87 <groupId>org.apache.maven.plugins</groupId>
88 <artifactId>maven-compiler-plugin</artifactId>
89 <version>3.6.1</version>
90 <configuration>
91 <source>1.8</source>
92 <target>1.8</target>
93 </configuration>
94 </plugin>
95
96 <plugin>
97 <groupId>org.apache.maven.plugins</groupId>
98 <artifactId>maven-javadoc-plugin</artifactId>
99 <version>2.10.1</version>
100 <executions>
101 <execution>
102 <id>attach-javadocs</id>
103 <goals>
104 <goal>jar</goal>
105 </goals>
106 <configuration>
107 <additionalparam>${javadoc.opts}</additionalparam>
108 <additionalparam>-Xdoclint:none</additionalparam>
109 </configuration>
110 </execution>
111 </executions>
112 </plugin>
113
114 <plugin>
115 <groupId>org.jfrog.buildinfo</groupId>
116 <artifactId>artifactory-maven-plugin</artifactId>
117 <version>2.6.1</version>
118 <executions>
119 <execution>
120 <id>build-info</id>
121 <goals>
122 <goal>publish</goal>
123 </goals>
124 <configuration>
125 <publisher>
126 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
127 <repoKey>libs-release</repoKey>
128 <username>wouter</username>
129 <password>${passwd}</password>
130 </publisher>
131 </configuration>
132 </execution>
133 </executions>
134 </plugin>
135
136 <plugin>
137 <groupId>org.apache.maven.plugins</groupId>
138 <artifactId>maven-assembly-plugin</artifactId>
139 <version>2.4.1</version>
140 <configuration>
141 <!-- get all project dependencies -->
142 <descriptorRefs>
143 <descriptorRef>jar-with-dependencies</descriptorRef>
144 </descriptorRefs>
145 <archive>
146 <manifest>
147 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
148 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
149 </manifest>
150 </archive>
151 </configuration>
152 <executions>
153 <execution>
154 <id>make-assembly</id>
155 <!-- bind to the packaging phase -->
156 <phase>package</phase>
157 <goals>
158 <goal>single</goal>
159 </goals>
160 </execution>
161 </executions>
162 </plugin>
163
164
165 </plugins>
166
167 <pluginManagement>
168 <plugins>
169 <plugin>
170 <groupId>org.eclipse.m2e</groupId>
171 <artifactId>lifecycle-mapping</artifactId>
172 <version>1.0.0</version>
173 <configuration>
174 <lifecycleMappingMetadata>
175 <pluginExecutions>
176 <pluginExecution>
177 <pluginExecutionFilter>
178 <groupId>org.jfrog.buildinfo</groupId>
179 <artifactId>artifactory-maven-plugin</artifactId>
180 <versionRange>[1.0.0,)</versionRange>
181 <goals>
182 <goal>publish</goal>
183 </goals>
184 </pluginExecutionFilter>
185 <action>
186 <ignore />
187 </action>
188 </pluginExecution>
189 </pluginExecutions>
190 </lifecycleMappingMetadata>
191 </configuration>
192 </plugin>
193 </plugins>
194 </pluginManagement>
195
196
197 </build>
198</project>
Note: See TracBrowser for help on using the repository browser.