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.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 | <jackson-2-version>2.9.10</jackson-2-version>
|
---|
19 | </properties>
|
---|
20 |
|
---|
21 | <distributionManagement>
|
---|
22 | <repository>
|
---|
23 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
24 | <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
25 | </repository>
|
---|
26 | </distributionManagement>
|
---|
27 |
|
---|
28 |
|
---|
29 | <dependencies>
|
---|
30 |
|
---|
31 |
|
---|
32 | <dependency>
|
---|
33 | <groupId>geniusweb.exampleparties</groupId>
|
---|
34 | <artifactId>timedependentparty</artifactId>
|
---|
35 | <version>1.1.0</version>
|
---|
36 | </dependency>
|
---|
37 | <dependency>
|
---|
38 | <groupId>tudelft.utilities</groupId>
|
---|
39 | <artifactId>logging</artifactId>
|
---|
40 | <version>1.0.0</version>
|
---|
41 | </dependency>
|
---|
42 |
|
---|
43 | </dependencies>
|
---|
44 |
|
---|
45 |
|
---|
46 | <repositories>
|
---|
47 | <repository>
|
---|
48 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
49 | <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
50 | <snapshots>
|
---|
51 | <enabled>false</enabled>
|
---|
52 | </snapshots>
|
---|
53 | </repository>
|
---|
54 |
|
---|
55 | </repositories>
|
---|
56 |
|
---|
57 | <pluginRepositories>
|
---|
58 | <pluginRepository>
|
---|
59 | <id>jcenter</id>
|
---|
60 | <url>http://jcenter.bintray.com</url>
|
---|
61 | </pluginRepository>
|
---|
62 | </pluginRepositories>
|
---|
63 |
|
---|
64 |
|
---|
65 | <build>
|
---|
66 |
|
---|
67 | <plugins>
|
---|
68 | <plugin>
|
---|
69 | <groupId>org.apache.maven.plugins</groupId>
|
---|
70 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
71 | <version>3.8.0</version>
|
---|
72 | <configuration>
|
---|
73 | <source>1.8</source>
|
---|
74 | <target>1.8</target>
|
---|
75 | </configuration>
|
---|
76 | </plugin>
|
---|
77 | <plugin>
|
---|
78 | <groupId>org.apache.maven.plugins</groupId>
|
---|
79 | <artifactId>maven-source-plugin</artifactId>
|
---|
80 | <executions>
|
---|
81 | <execution>
|
---|
82 | <id>attach-sources</id>
|
---|
83 | <goals>
|
---|
84 | <goal>jar</goal>
|
---|
85 | </goals>
|
---|
86 | </execution>
|
---|
87 | </executions>
|
---|
88 | </plugin>
|
---|
89 |
|
---|
90 | <plugin>
|
---|
91 | <groupId>org.apache.maven.plugins</groupId>
|
---|
92 | <artifactId>maven-jar-plugin</artifactId>
|
---|
93 | <configuration>
|
---|
94 | <archive>
|
---|
95 | <manifest>
|
---|
96 | <mainClass>geniusweb.exampleparties.linear.Linear</mainClass>
|
---|
97 | </manifest>
|
---|
98 | </archive>
|
---|
99 | </configuration>
|
---|
100 | </plugin>
|
---|
101 |
|
---|
102 | <plugin>
|
---|
103 | <groupId>org.apache.maven.plugins</groupId>
|
---|
104 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
105 | <version>2.10.1</version>
|
---|
106 | <executions>
|
---|
107 | <execution>
|
---|
108 | <id>attach-javadocs</id>
|
---|
109 | <goals>
|
---|
110 | <goal>jar</goal>
|
---|
111 | </goals>
|
---|
112 | <configuration>
|
---|
113 | <additionalparam>${javadoc.opts}</additionalparam>
|
---|
114 | <additionalparam>-Xdoclint:none</additionalparam>
|
---|
115 | </configuration>
|
---|
116 | </execution>
|
---|
117 | </executions>
|
---|
118 | </plugin>
|
---|
119 |
|
---|
120 | <plugin>
|
---|
121 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
122 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
123 | <version>2.6.1</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.linear.Linear</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>
|
---|