source: listener/pom.xml@ 90

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

junit scope to test only

File size: 4.7 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>listener</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.2</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>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 <plugin>
79 <groupId>org.apache.maven.plugins</groupId>
80 <artifactId>maven-source-plugin</artifactId>
81 <version>3.1.0</version>
82 <executions>
83 <execution>
84 <id>attach-sources</id>
85 <goals>
86 <goal>jar</goal>
87 </goals>
88 </execution>
89 </executions>
90 </plugin>
91
92 <plugin>
93 <groupId>org.apache.maven.plugins</groupId>
94 <artifactId>maven-javadoc-plugin</artifactId>
95 <version>2.10.1</version>
96 <executions>
97 <execution>
98 <id>attach-javadocs</id>
99 <goals>
100 <goal>jar</goal>
101 </goals>
102 <configuration>
103 <additionalparam>${javadoc.opts}</additionalparam>
104 <additionalparam>-Xdoclint:none</additionalparam>
105 </configuration>
106 </execution>
107 </executions>
108 </plugin>
109
110 <plugin>
111 <groupId>org.jfrog.buildinfo</groupId>
112 <artifactId>artifactory-maven-plugin</artifactId>
113 <version>2.6.1</version>
114 <executions>
115 <execution>
116 <id>build-info</id>
117 <goals>
118 <goal>publish</goal>
119 </goals>
120 <configuration>
121 <publisher>
122 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
123 <repoKey>libs-release</repoKey>
124 <username>wouter</username>
125 <password>${passwd}</password>
126 </publisher>
127 </configuration>
128 </execution>
129 </executions>
130 </plugin>
131
132 <plugin>
133 <groupId>org.apache.maven.plugins</groupId>
134 <artifactId>maven-assembly-plugin</artifactId>
135 <version>2.4.1</version>
136 <configuration>
137 <!-- get all project dependencies -->
138 <descriptorRefs>
139 <descriptorRef>jar-with-dependencies</descriptorRef>
140 </descriptorRefs>
141 <archive>
142 <manifest>
143 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
144 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
145 </manifest>
146 </archive>
147 </configuration>
148 <executions>
149 <execution>
150 <id>make-assembly</id>
151 <!-- bind to the packaging phase -->
152 <phase>package</phase>
153 <goals>
154 <goal>single</goal>
155 </goals>
156 </execution>
157 </executions>
158 </plugin>
159
160
161 </plugins>
162
163 <pluginManagement>
164 <plugins>
165 <plugin>
166 <groupId>org.eclipse.m2e</groupId>
167 <artifactId>lifecycle-mapping</artifactId>
168 <version>1.0.0</version>
169 <configuration>
170 <lifecycleMappingMetadata>
171 <pluginExecutions>
172 <pluginExecution>
173 <pluginExecutionFilter>
174 <groupId>org.jfrog.buildinfo</groupId>
175 <artifactId>artifactory-maven-plugin</artifactId>
176 <versionRange>[1.0.0,)</versionRange>
177 <goals>
178 <goal>publish</goal>
179 </goals>
180 </pluginExecutionFilter>
181 <action>
182 <ignore />
183 </action>
184 </pluginExecution>
185 </pluginExecutions>
186 </lifecycleMappingMetadata>
187 </configuration>
188 </plugin>
189 </plugins>
190 </pluginManagement>
191
192
193 </build>
194
195</project>
Note: See TracBrowser for help on using the repository browser.