source: logging/pom.xml@ 1407

Last change on this file since 1407 was 1114, checked in by wouter, 3 months ago

fix jfrog artifact

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