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