source: logging/pom.xml@ 36

Last change on this file since 36 was 36, checked in by wouter, 5 years ago

junit scope to test only

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