source: exampleparties/linear/pom.xml@ 21

Last change on this file since 21 was 21, checked in by bart, 4 years ago

Version 1.5.

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>geniusweb.exampleparties</groupId>
7 <artifactId>linear</artifactId>
8 <version>1.5.0</version> <!-- must equal ${geniusweb.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 <jackson-2-version>2.9.10</jackson-2-version>
19 <geniusweb.version>1.5.0</geniusweb.version>
20 </properties>
21
22 <distributionManagement>
23 <repository>
24 <id>artifactory.ewi.tudelft.nl</id>
25 <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
26 </repository>
27 </distributionManagement>
28
29
30 <dependencies>
31
32
33 <dependency>
34 <groupId>geniusweb.exampleparties</groupId>
35 <artifactId>timedependentparty</artifactId>
36 <version>${geniusweb.version}</version>
37 </dependency>
38 <dependency>
39 <groupId>tudelft.utilities</groupId>
40 <artifactId>logging</artifactId>
41 <version>1.0.0</version>
42 </dependency>
43
44 </dependencies>
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>https://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.8.0</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 <executions>
82 <execution>
83 <id>attach-sources</id>
84 <goals>
85 <goal>jar</goal>
86 </goals>
87 </execution>
88 </executions>
89 </plugin>
90
91 <plugin>
92 <groupId>org.apache.maven.plugins</groupId>
93 <artifactId>maven-jar-plugin</artifactId>
94 <configuration>
95 <archive>
96 <manifest>
97 <mainClass>geniusweb.exampleparties.linear.Linear</mainClass>
98 </manifest>
99 </archive>
100 </configuration>
101 </plugin>
102
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-javadoc-plugin</artifactId>
106 <version>2.10.1</version>
107 <executions>
108 <execution>
109 <id>attach-javadocs</id>
110 <goals>
111 <goal>jar</goal>
112 </goals>
113 <configuration>
114 <additionalparam>${javadoc.opts}</additionalparam>
115 <additionalparam>-Xdoclint:none</additionalparam>
116 </configuration>
117 </execution>
118 </executions>
119 </plugin>
120
121 <plugin>
122 <groupId>org.jfrog.buildinfo</groupId>
123 <artifactId>artifactory-maven-plugin</artifactId>
124 <version>2.6.1</version>
125 <executions>
126 <execution>
127 <id>build-info</id>
128 <goals>
129 <goal>publish</goal>
130 </goals>
131 <configuration>
132 <publisher>
133 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
134 <repoKey>libs-release</repoKey>
135 <username>wouter</username>
136 <password>${passwd}</password>
137 </publisher>
138 </configuration>
139 </execution>
140 </executions>
141 </plugin>
142
143 <plugin>
144 <groupId>org.apache.maven.plugins</groupId>
145 <artifactId>maven-assembly-plugin</artifactId>
146 <version>2.4.1</version>
147 <configuration>
148 <!-- get all project dependencies -->
149 <descriptorRefs>
150 <descriptorRef>jar-with-dependencies</descriptorRef>
151 </descriptorRefs>
152 <archive>
153 <manifest>
154 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
155 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
156 <mainClass>geniusweb.exampleparties.linear.Linear</mainClass>
157 </manifest>
158 </archive>
159 </configuration>
160 <executions>
161 <execution>
162 <id>make-assembly</id>
163 <!-- bind to the packaging phase -->
164 <phase>package</phase>
165 <goals>
166 <goal>single</goal>
167 </goals>
168 </execution>
169 </executions>
170 </plugin>
171
172
173 </plugins>
174
175 <pluginManagement>
176 <plugins>
177 <plugin>
178 <groupId>org.eclipse.m2e</groupId>
179 <artifactId>lifecycle-mapping</artifactId>
180 <version>1.0.0</version>
181 <configuration>
182 <lifecycleMappingMetadata>
183 <pluginExecutions>
184 <pluginExecution>
185 <pluginExecutionFilter>
186 <groupId>org.jfrog.buildinfo</groupId>
187 <artifactId>artifactory-maven-plugin</artifactId>
188 <versionRange>[1.0.0,)</versionRange>
189 <goals>
190 <goal>publish</goal>
191 </goals>
192 </pluginExecutionFilter>
193 <action>
194 <ignore />
195 </action>
196 </pluginExecution>
197 </pluginExecutions>
198 </lifecycleMappingMetadata>
199 </configuration>
200 </plugin>
201 </plugins>
202 </pluginManagement>
203
204
205 </build>
206</project>
Note: See TracBrowser for help on using the repository browser.