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