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.6.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.6.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.1</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 | </repositories>
|
---|
56 |
|
---|
57 | <pluginRepositories>
|
---|
58 | <pluginRepository>
|
---|
59 | <id>central</id>
|
---|
60 | <url>https://repo1.maven.org/</url>
|
---|
61 | </pluginRepository>
|
---|
62 | <pluginRepository>
|
---|
63 | <id>jfrog-plugins-release</id>
|
---|
64 | <name>plugins-release</name>
|
---|
65 | <url>https://oss.jfrog.org/artifactory/plugins-release</url>
|
---|
66 | </pluginRepository>
|
---|
67 | </pluginRepositories>
|
---|
68 |
|
---|
69 | <build>
|
---|
70 |
|
---|
71 | <plugins>
|
---|
72 | <plugin>
|
---|
73 | <groupId>org.apache.maven.plugins</groupId>
|
---|
74 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
75 | <version>3.8.0</version>
|
---|
76 | <configuration>
|
---|
77 | <source>1.8</source>
|
---|
78 | <target>1.8</target>
|
---|
79 | </configuration>
|
---|
80 | </plugin>
|
---|
81 | <plugin>
|
---|
82 | <groupId>org.apache.maven.plugins</groupId>
|
---|
83 | <artifactId>maven-source-plugin</artifactId>
|
---|
84 | <executions>
|
---|
85 | <execution>
|
---|
86 | <id>attach-sources</id>
|
---|
87 | <goals>
|
---|
88 | <goal>jar</goal>
|
---|
89 | </goals>
|
---|
90 | </execution>
|
---|
91 | </executions>
|
---|
92 | </plugin>
|
---|
93 |
|
---|
94 | <plugin>
|
---|
95 | <groupId>org.apache.maven.plugins</groupId>
|
---|
96 | <artifactId>maven-jar-plugin</artifactId>
|
---|
97 | <version>3.2.0</version>
|
---|
98 | <configuration>
|
---|
99 | <archive>
|
---|
100 | <manifest>
|
---|
101 | <mainClass>geniusweb.exampleparties.linear.Linear</mainClass>
|
---|
102 | </manifest>
|
---|
103 | </archive>
|
---|
104 | </configuration>
|
---|
105 | </plugin>
|
---|
106 |
|
---|
107 | <plugin>
|
---|
108 | <groupId>org.apache.maven.plugins</groupId>
|
---|
109 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
110 | <version>3.2.0</version>
|
---|
111 | <executions>
|
---|
112 | <execution>
|
---|
113 | <id>attach-javadocs</id>
|
---|
114 | <goals>
|
---|
115 | <goal>jar</goal>
|
---|
116 | </goals>
|
---|
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>
|
---|