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