source: exampleparties/linear/pom.xml@ 28

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

minor fixes to improve extendability

File size: 5.0 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.7</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.7</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>3.2.0</version>
107 <executions>
108 <execution>
109 <id>attach-javadocs</id>
110 <goals>
111 <goal>jar</goal>
112 </goals>
113 </execution>
114 </executions>
115 </plugin>
116
117 <plugin>
118 <groupId>org.jfrog.buildinfo</groupId>
119 <artifactId>artifactory-maven-plugin</artifactId>
120 <version>2.6.1</version>
121 <executions>
122 <execution>
123 <id>build-info</id>
124 <goals>
125 <goal>publish</goal>
126 </goals>
127 <configuration>
128 <publisher>
129 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
130 <repoKey>libs-release</repoKey>
131 <username>wouter</username>
132 <password>${passwd}</password>
133 </publisher>
134 </configuration>
135 </execution>
136 </executions>
137 </plugin>
138
139 <plugin>
140 <groupId>org.apache.maven.plugins</groupId>
141 <artifactId>maven-assembly-plugin</artifactId>
142 <version>2.4.1</version>
143 <configuration>
144 <!-- get all project dependencies -->
145 <descriptorRefs>
146 <descriptorRef>jar-with-dependencies</descriptorRef>
147 </descriptorRefs>
148 <archive>
149 <manifest>
150 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
151 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
152 <mainClass>geniusweb.exampleparties.linear.Linear</mainClass>
153 </manifest>
154 </archive>
155 </configuration>
156 <executions>
157 <execution>
158 <id>make-assembly</id>
159 <!-- bind to the packaging phase -->
160 <phase>package</phase>
161 <goals>
162 <goal>single</goal>
163 </goals>
164 </execution>
165 </executions>
166 </plugin>
167
168
169 </plugins>
170
171 <pluginManagement>
172 <plugins>
173 <plugin>
174 <groupId>org.eclipse.m2e</groupId>
175 <artifactId>lifecycle-mapping</artifactId>
176 <version>1.0.0</version>
177 <configuration>
178 <lifecycleMappingMetadata>
179 <pluginExecutions>
180 <pluginExecution>
181 <pluginExecutionFilter>
182 <groupId>org.jfrog.buildinfo</groupId>
183 <artifactId>artifactory-maven-plugin</artifactId>
184 <versionRange>[1.0.0,)</versionRange>
185 <goals>
186 <goal>publish</goal>
187 </goals>
188 </pluginExecutionFilter>
189 <action>
190 <ignore />
191 </action>
192 </pluginExecution>
193 </pluginExecutions>
194 </lifecycleMappingMetadata>
195 </configuration>
196 </plugin>
197 </plugins>
198 </pluginManagement>
199
200
201 </build>
202</project>
Note: See TracBrowser for help on using the repository browser.