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>conceder</artifactId>
|
---|
8 | <version>2.2.1</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 | <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 | <version>3.1.0</version>
|
---|
82 | <executions>
|
---|
83 | <execution>
|
---|
84 | <id>attach-sources</id>
|
---|
85 | <goals>
|
---|
86 | <goal>jar</goal>
|
---|
87 | </goals>
|
---|
88 | </execution>
|
---|
89 | </executions>
|
---|
90 | </plugin>
|
---|
91 |
|
---|
92 | <plugin>
|
---|
93 | <groupId>org.apache.maven.plugins</groupId>
|
---|
94 | <artifactId>maven-jar-plugin</artifactId>
|
---|
95 | <version>3.2.0</version>
|
---|
96 | <configuration>
|
---|
97 | <archive>
|
---|
98 | <manifest>
|
---|
99 | <mainClass>geniusweb.exampleparties.conceder.Conceder</mainClass>
|
---|
100 | </manifest>
|
---|
101 | </archive>
|
---|
102 | </configuration>
|
---|
103 | </plugin>
|
---|
104 |
|
---|
105 | <plugin>
|
---|
106 | <groupId>org.apache.maven.plugins</groupId>
|
---|
107 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
108 | <version>3.2.0</version>
|
---|
109 | <executions>
|
---|
110 | <execution>
|
---|
111 | <id>attach-javadocs</id>
|
---|
112 | <goals>
|
---|
113 | <goal>jar</goal>
|
---|
114 | </goals>
|
---|
115 | </execution>
|
---|
116 | </executions>
|
---|
117 | </plugin>
|
---|
118 |
|
---|
119 | <plugin>
|
---|
120 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
121 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
122 | <version>3.2.3</version>
|
---|
123 | <executions>
|
---|
124 | <execution>
|
---|
125 | <id>build-info</id>
|
---|
126 | <goals>
|
---|
127 | <goal>publish</goal>
|
---|
128 | </goals>
|
---|
129 | <configuration>
|
---|
130 | <publisher>
|
---|
131 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
132 | <repoKey>libs-release</repoKey>
|
---|
133 | <username>wouter</username>
|
---|
134 | <password>${passwd}</password>
|
---|
135 | </publisher>
|
---|
136 | </configuration>
|
---|
137 | </execution>
|
---|
138 | </executions>
|
---|
139 | </plugin>
|
---|
140 |
|
---|
141 | <plugin>
|
---|
142 | <groupId>org.apache.maven.plugins</groupId>
|
---|
143 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
144 | <version>2.4.1</version>
|
---|
145 | <configuration>
|
---|
146 | <!-- get all project dependencies -->
|
---|
147 | <descriptorRefs>
|
---|
148 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
149 | </descriptorRefs>
|
---|
150 | <archive>
|
---|
151 | <manifest>
|
---|
152 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
153 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
154 | <mainClass>geniusweb.exampleparties.conceder.Conceder</mainClass>
|
---|
155 | </manifest>
|
---|
156 | </archive>
|
---|
157 | </configuration>
|
---|
158 | <executions>
|
---|
159 | <execution>
|
---|
160 | <id>make-assembly</id>
|
---|
161 | <!-- bind to the packaging phase -->
|
---|
162 | <phase>package</phase>
|
---|
163 | <goals>
|
---|
164 | <goal>single</goal>
|
---|
165 | </goals>
|
---|
166 | </execution>
|
---|
167 | </executions>
|
---|
168 | </plugin>
|
---|
169 |
|
---|
170 |
|
---|
171 | </plugins>
|
---|
172 |
|
---|
173 | <pluginManagement>
|
---|
174 | <plugins>
|
---|
175 | <plugin>
|
---|
176 | <groupId>org.eclipse.m2e</groupId>
|
---|
177 | <artifactId>lifecycle-mapping</artifactId>
|
---|
178 | <version>1.0.0</version>
|
---|
179 | <configuration>
|
---|
180 | <lifecycleMappingMetadata>
|
---|
181 | <pluginExecutions>
|
---|
182 | <pluginExecution>
|
---|
183 | <pluginExecutionFilter>
|
---|
184 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
185 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
186 | <versionRange>[1.0.0,)</versionRange>
|
---|
187 | <goals>
|
---|
188 | <goal>publish</goal>
|
---|
189 | </goals>
|
---|
190 | </pluginExecutionFilter>
|
---|
191 | <action>
|
---|
192 | <ignore />
|
---|
193 | </action>
|
---|
194 | </pluginExecution>
|
---|
195 | </pluginExecutions>
|
---|
196 | </lifecycleMappingMetadata>
|
---|
197 | </configuration>
|
---|
198 | </plugin>
|
---|
199 | </plugins>
|
---|
200 | </pluginManagement>
|
---|
201 |
|
---|
202 |
|
---|
203 | </build>
|
---|
204 | </project>
|
---|