source: tree/pom.xml@ 61

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

junit scope to test only

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