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>boulware</artifactId>
|
---|
8 | <version>2.1.2</version> <!-- equals the 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.12.3</jackson-2-version>
|
---|
19 | <geniusweb.version>${project.version}</geniusweb.version>
|
---|
20 | </properties>
|
---|
21 |
|
---|
22 | <distributionManagement>
|
---|
23 | <repository>
|
---|
24 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
25 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
26 | </repository>
|
---|
27 | </distributionManagement>
|
---|
28 |
|
---|
29 |
|
---|
30 | <dependencies>
|
---|
31 | <dependency>
|
---|
32 | <groupId>geniusweb.exampleparties</groupId>
|
---|
33 | <artifactId>timedependentparty</artifactId>
|
---|
34 | <version>${geniusweb.version}</version>
|
---|
35 | </dependency>
|
---|
36 | <dependency>
|
---|
37 | <groupId>tudelft.utilities</groupId>
|
---|
38 | <artifactId>logging</artifactId>
|
---|
39 | <version>1.0.1</version>
|
---|
40 | </dependency>
|
---|
41 |
|
---|
42 | </dependencies>
|
---|
43 |
|
---|
44 |
|
---|
45 | <repositories>
|
---|
46 | <repository>
|
---|
47 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
48 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
49 | <snapshots>
|
---|
50 | <enabled>false</enabled>
|
---|
51 | </snapshots>
|
---|
52 | </repository>
|
---|
53 | </repositories>
|
---|
54 |
|
---|
55 | <pluginRepositories>
|
---|
56 | <pluginRepository>
|
---|
57 | <id>central</id>
|
---|
58 | <url>https://repo1.maven.org/maven2</url>
|
---|
59 | </pluginRepository>
|
---|
60 | <pluginRepository>
|
---|
61 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
62 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
63 | </pluginRepository>
|
---|
64 | </pluginRepositories>
|
---|
65 |
|
---|
66 |
|
---|
67 | <build>
|
---|
68 |
|
---|
69 | <plugins>
|
---|
70 | <plugin>
|
---|
71 | <groupId>org.apache.maven.plugins</groupId>
|
---|
72 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
73 | <version>3.8.0</version>
|
---|
74 | <configuration>
|
---|
75 | <source>1.8</source>
|
---|
76 | <target>1.8</target>
|
---|
77 | </configuration>
|
---|
78 | </plugin>
|
---|
79 | <plugin>
|
---|
80 | <groupId>org.apache.maven.plugins</groupId>
|
---|
81 | <artifactId>maven-source-plugin</artifactId>
|
---|
82 | <version>3.1.0</version>
|
---|
83 | <executions>
|
---|
84 | <execution>
|
---|
85 | <id>attach-sources</id>
|
---|
86 | <goals>
|
---|
87 | <goal>jar</goal>
|
---|
88 | </goals>
|
---|
89 | </execution>
|
---|
90 | </executions>
|
---|
91 | </plugin>
|
---|
92 |
|
---|
93 | <plugin>
|
---|
94 | <groupId>org.apache.maven.plugins</groupId>
|
---|
95 | <artifactId>maven-jar-plugin</artifactId>
|
---|
96 | <version>3.2.0</version>
|
---|
97 | <configuration>
|
---|
98 | <archive>
|
---|
99 | <manifest>
|
---|
100 | <mainClass>geniusweb.exampleparties.boulware.Boulware</mainClass>
|
---|
101 | </manifest>
|
---|
102 | </archive>
|
---|
103 | </configuration>
|
---|
104 | </plugin>
|
---|
105 |
|
---|
106 | <plugin>
|
---|
107 | <groupId>org.apache.maven.plugins</groupId>
|
---|
108 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
109 | <version>3.2.0</version>
|
---|
110 | <executions>
|
---|
111 | <execution>
|
---|
112 | <id>attach-javadocs</id>
|
---|
113 | <goals>
|
---|
114 | <goal>jar</goal>
|
---|
115 | </goals>
|
---|
116 | </execution>
|
---|
117 | </executions>
|
---|
118 | </plugin>
|
---|
119 |
|
---|
120 | <plugin>
|
---|
121 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
122 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
123 | <version>3.2.3</version>
|
---|
124 | <executions>
|
---|
125 | <execution>
|
---|
126 | <id>build-info</id>
|
---|
127 | <goals>
|
---|
128 | <goal>publish</goal>
|
---|
129 | </goals>
|
---|
130 | <configuration>
|
---|
131 | <publisher>
|
---|
132 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
133 | <repoKey>libs-release</repoKey>
|
---|
134 | <username>wouter</username>
|
---|
135 | <password>${passwd}</password>
|
---|
136 | </publisher>
|
---|
137 | </configuration>
|
---|
138 | </execution>
|
---|
139 | </executions>
|
---|
140 | </plugin>
|
---|
141 |
|
---|
142 | <plugin>
|
---|
143 | <groupId>org.apache.maven.plugins</groupId>
|
---|
144 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
145 | <version>2.4.1</version>
|
---|
146 | <configuration>
|
---|
147 | <!-- get all project dependencies -->
|
---|
148 | <descriptorRefs>
|
---|
149 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
150 | </descriptorRefs>
|
---|
151 | <archive>
|
---|
152 | <manifest>
|
---|
153 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
154 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
155 | <mainClass>geniusweb.exampleparties.boulware.Boulware</mainClass>
|
---|
156 | </manifest>
|
---|
157 | </archive>
|
---|
158 | </configuration>
|
---|
159 | <executions>
|
---|
160 | <execution>
|
---|
161 | <id>make-assembly</id>
|
---|
162 | <!-- bind to the packaging phase -->
|
---|
163 | <phase>package</phase>
|
---|
164 | <goals>
|
---|
165 | <goal>single</goal>
|
---|
166 | </goals>
|
---|
167 | </execution>
|
---|
168 | </executions>
|
---|
169 | </plugin>
|
---|
170 |
|
---|
171 |
|
---|
172 | </plugins>
|
---|
173 |
|
---|
174 | <pluginManagement>
|
---|
175 | <plugins>
|
---|
176 | <plugin>
|
---|
177 | <groupId>org.eclipse.m2e</groupId>
|
---|
178 | <artifactId>lifecycle-mapping</artifactId>
|
---|
179 | <version>1.0.0</version>
|
---|
180 | <configuration>
|
---|
181 | <lifecycleMappingMetadata>
|
---|
182 | <pluginExecutions>
|
---|
183 | <pluginExecution>
|
---|
184 | <pluginExecutionFilter>
|
---|
185 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
186 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
187 | <versionRange>[1.0.0,)</versionRange>
|
---|
188 | <goals>
|
---|
189 | <goal>publish</goal>
|
---|
190 | </goals>
|
---|
191 | </pluginExecutionFilter>
|
---|
192 | <action>
|
---|
193 | <ignore />
|
---|
194 | </action>
|
---|
195 | </pluginExecution>
|
---|
196 | </pluginExecutions>
|
---|
197 | </lifecycleMappingMetadata>
|
---|
198 | </configuration>
|
---|
199 | </plugin>
|
---|
200 | </plugins>
|
---|
201 | </pluginManagement>
|
---|
202 |
|
---|
203 |
|
---|
204 | </build>
|
---|
205 | </project>
|
---|