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