source: exampleparties/simpleboa/pom.xml@ 22

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

Minor fixes

File size: 5.6 KB
RevLine 
[20]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>simpleboaparty</artifactId>
[22]8 <version>1.5.1</version> <!-- must equal ${geniusweb.version} -->
[20]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.6</jackson-2-version>
[22]19 <geniusweb.version>1.5.1</geniusweb.version>
[20]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</groupId>
35 <artifactId>boa</artifactId>
36 <version>${geniusweb.version}</version>
37 </dependency>
38
39 <dependency>
40 <groupId>geniusweb</groupId>
41 <artifactId>opponentmodel</artifactId>
42 <version>${geniusweb.version}</version>
43 </dependency>
44
45 <dependency>
46 <groupId>junit</groupId>
47 <artifactId>junit</artifactId>
48 <version>4.12</version>
49 <scope>test</scope>
50 </dependency>
51 <dependency>
52 <groupId>org.mockito</groupId>
53 <artifactId>mockito-all</artifactId>
54 <version>1.9.5</version>
55 <scope>test</scope>
56 </dependency>
57 <dependency>
58 <groupId>tudelft.utilities</groupId>
59 <artifactId>junit</artifactId>
60 <version>1.0.1</version>
61 <scope>test</scope>
62 </dependency>
63
64 </dependencies>
65
66
67 <repositories>
68 <repository>
69 <id>artifactory.ewi.tudelft.nl</id>
70 <url>http://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
71 <snapshots>
72 <enabled>false</enabled>
73 </snapshots>
74 </repository>
75
76 </repositories>
77
78 <pluginRepositories>
79 <pluginRepository>
80 <id>jcenter</id>
81 <url>https://jcenter.bintray.com</url>
82 </pluginRepository>
83 </pluginRepositories>
84
85
86 <build>
87
88 <plugins>
89 <plugin>
90 <groupId>org.apache.maven.plugins</groupId>
91 <artifactId>maven-compiler-plugin</artifactId>
92 <version>3.8.0</version>
93 <configuration>
94 <source>1.8</source>
95 <target>1.8</target>
96 </configuration>
97 </plugin>
98 <plugin>
99 <groupId>org.apache.maven.plugins</groupId>
100 <artifactId>maven-source-plugin</artifactId>
101 <version>3.1.0</version>
102 <executions>
103 <execution>
104 <id>attach-sources</id>
105 <goals>
106 <goal>jar</goal>
107 </goals>
108 </execution>
109 </executions>
110 </plugin>
111
112 <plugin>
113 <groupId>org.apache.maven.plugins</groupId>
114 <artifactId>maven-jar-plugin</artifactId>
115 <configuration>
116 <archive>
117 <manifest>
118 <mainClass>geniusweb.exampleparties.simpleboa.SimpleBoa</mainClass>
119 </manifest>
120 </archive>
121 </configuration>
122 </plugin>
123
124 <plugin>
125 <groupId>org.apache.maven.plugins</groupId>
126 <artifactId>maven-javadoc-plugin</artifactId>
127 <version>2.10.1</version>
128 <executions>
129 <execution>
130 <id>attach-javadocs</id>
131 <goals>
132 <goal>jar</goal>
133 </goals>
134 <configuration>
135 <additionalparam>${javadoc.opts}</additionalparam>
136 <additionalparam>-Xdoclint:none</additionalparam>
137 </configuration>
138 </execution>
139 </executions>
140 </plugin>
141
142 <plugin>
143 <groupId>org.jfrog.buildinfo</groupId>
144 <artifactId>artifactory-maven-plugin</artifactId>
145 <version>2.6.1</version>
146 <executions>
147 <execution>
148 <id>build-info</id>
149 <goals>
150 <goal>publish</goal>
151 </goals>
152 <configuration>
153 <publisher>
154 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
155 <repoKey>libs-release</repoKey>
156 <username>wouter</username>
157 <password>${passwd}</password>
158 </publisher>
159 </configuration>
160 </execution>
161 </executions>
162 </plugin>
163
164 <plugin>
165 <groupId>org.apache.maven.plugins</groupId>
166 <artifactId>maven-assembly-plugin</artifactId>
167 <version>2.4.1</version>
168 <configuration>
169 <!-- get all project dependencies -->
170 <descriptorRefs>
171 <descriptorRef>jar-with-dependencies</descriptorRef>
172 </descriptorRefs>
173 <archive>
174 <manifest>
175 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
176 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
177 <mainClass>geniusweb.exampleparties.simpleboa.SimpleBoa</mainClass>
178 </manifest>
179 </archive>
180 </configuration>
181 <executions>
182 <execution>
183 <id>make-assembly</id>
184 <!-- bind to the packaging phase -->
185 <phase>package</phase>
186 <goals>
187 <goal>single</goal>
188 </goals>
189 </execution>
190 </executions>
191 </plugin>
192
193
194 </plugins>
195
196 <pluginManagement>
197 <plugins>
198 <plugin>
199 <groupId>org.eclipse.m2e</groupId>
200 <artifactId>lifecycle-mapping</artifactId>
201 <version>1.0.0</version>
202 <configuration>
203 <lifecycleMappingMetadata>
204 <pluginExecutions>
205 <pluginExecution>
206 <pluginExecutionFilter>
207 <groupId>org.jfrog.buildinfo</groupId>
208 <artifactId>artifactory-maven-plugin</artifactId>
209 <versionRange>[1.0.0,)</versionRange>
210 <goals>
211 <goal>publish</goal>
212 </goals>
213 </pluginExecutionFilter>
214 <action>
215 <ignore />
216 </action>
217 </pluginExecution>
218 </pluginExecutions>
219 </lifecycleMappingMetadata>
220 </configuration>
221 </plugin>
222 </plugins>
223 </pluginManagement>
224
225
226 </build>
227</project>
Note: See TracBrowser for help on using the repository browser.