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>
|
---|
8 | <version>2.0.2</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.12.3</jackson-2-version>
|
---|
19 | <geniusweb.version>2.0.2</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 |
|
---|
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-core</artifactId>
|
---|
54 | <version>3.11.2</version>
|
---|
55 | <scope>test</scope>
|
---|
56 | </dependency>
|
---|
57 | <dependency>
|
---|
58 | <groupId>tudelft.utilities</groupId>
|
---|
59 | <artifactId>junit</artifactId>
|
---|
60 | <version>1.0.5</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>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
71 | <snapshots>
|
---|
72 | <enabled>false</enabled>
|
---|
73 | </snapshots>
|
---|
74 | </repository>
|
---|
75 | </repositories>
|
---|
76 |
|
---|
77 | <pluginRepositories>
|
---|
78 | <pluginRepository>
|
---|
79 | <id>central</id>
|
---|
80 | <url>https://repo1.maven.org/maven2</url>
|
---|
81 | </pluginRepository>
|
---|
82 | <pluginRepository>
|
---|
83 | <id>artifactory.ewi.tudelft.nl</id>
|
---|
84 | <url>https://artifactory.ewi.tudelft.nl/artifactory/libs-release</url>
|
---|
85 | </pluginRepository>
|
---|
86 | </pluginRepositories>
|
---|
87 |
|
---|
88 | <build>
|
---|
89 |
|
---|
90 | <plugins>
|
---|
91 | <plugin>
|
---|
92 | <groupId>org.apache.maven.plugins</groupId>
|
---|
93 | <artifactId>maven-compiler-plugin</artifactId>
|
---|
94 | <version>3.8.0</version>
|
---|
95 | <configuration>
|
---|
96 | <source>1.8</source>
|
---|
97 | <target>1.8</target>
|
---|
98 | </configuration>
|
---|
99 | </plugin>
|
---|
100 | <plugin>
|
---|
101 | <groupId>org.apache.maven.plugins</groupId>
|
---|
102 | <artifactId>maven-source-plugin</artifactId>
|
---|
103 | <version>3.1.0</version>
|
---|
104 | <executions>
|
---|
105 | <execution>
|
---|
106 | <id>attach-sources</id>
|
---|
107 | <goals>
|
---|
108 | <goal>jar</goal>
|
---|
109 | </goals>
|
---|
110 | </execution>
|
---|
111 | </executions>
|
---|
112 | </plugin>
|
---|
113 |
|
---|
114 | <plugin>
|
---|
115 | <groupId>org.apache.maven.plugins</groupId>
|
---|
116 | <artifactId>maven-jar-plugin</artifactId>
|
---|
117 | <version>3.2.0</version>
|
---|
118 | <configuration>
|
---|
119 | <archive>
|
---|
120 | <manifest>
|
---|
121 | <mainClass>geniusweb.exampleparties.simpleboa.SimpleBoa</mainClass>
|
---|
122 | </manifest>
|
---|
123 | </archive>
|
---|
124 | </configuration>
|
---|
125 | </plugin>
|
---|
126 |
|
---|
127 | <plugin>
|
---|
128 | <groupId>org.apache.maven.plugins</groupId>
|
---|
129 | <artifactId>maven-javadoc-plugin</artifactId>
|
---|
130 | <version>3.2.0</version>
|
---|
131 | <executions>
|
---|
132 | <execution>
|
---|
133 | <id>attach-javadocs</id>
|
---|
134 | <goals>
|
---|
135 | <goal>jar</goal>
|
---|
136 | </goals>
|
---|
137 | </execution>
|
---|
138 | </executions>
|
---|
139 | </plugin>
|
---|
140 |
|
---|
141 | <plugin>
|
---|
142 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
143 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
144 | <version>3.2.3</version>
|
---|
145 | <executions>
|
---|
146 | <execution>
|
---|
147 | <id>build-info</id>
|
---|
148 | <goals>
|
---|
149 | <goal>publish</goal>
|
---|
150 | </goals>
|
---|
151 | <configuration>
|
---|
152 | <publisher>
|
---|
153 | <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
|
---|
154 | <repoKey>libs-release</repoKey>
|
---|
155 | <username>wouter</username>
|
---|
156 | <password>${passwd}</password>
|
---|
157 | </publisher>
|
---|
158 | </configuration>
|
---|
159 | </execution>
|
---|
160 | </executions>
|
---|
161 | </plugin>
|
---|
162 |
|
---|
163 | <plugin>
|
---|
164 | <groupId>org.apache.maven.plugins</groupId>
|
---|
165 | <artifactId>maven-assembly-plugin</artifactId>
|
---|
166 | <version>2.4.1</version>
|
---|
167 | <configuration>
|
---|
168 | <!-- get all project dependencies -->
|
---|
169 | <descriptorRefs>
|
---|
170 | <descriptorRef>jar-with-dependencies</descriptorRef>
|
---|
171 | </descriptorRefs>
|
---|
172 | <archive>
|
---|
173 | <manifest>
|
---|
174 | <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
---|
175 | <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
---|
176 | <mainClass>geniusweb.exampleparties.simpleboa.SimpleBoa</mainClass>
|
---|
177 | </manifest>
|
---|
178 | </archive>
|
---|
179 | </configuration>
|
---|
180 | <executions>
|
---|
181 | <execution>
|
---|
182 | <id>make-assembly</id>
|
---|
183 | <!-- bind to the packaging phase -->
|
---|
184 | <phase>package</phase>
|
---|
185 | <goals>
|
---|
186 | <goal>single</goal>
|
---|
187 | </goals>
|
---|
188 | </execution>
|
---|
189 | </executions>
|
---|
190 | </plugin>
|
---|
191 |
|
---|
192 |
|
---|
193 | </plugins>
|
---|
194 |
|
---|
195 | <pluginManagement>
|
---|
196 | <plugins>
|
---|
197 | <plugin>
|
---|
198 | <groupId>org.eclipse.m2e</groupId>
|
---|
199 | <artifactId>lifecycle-mapping</artifactId>
|
---|
200 | <version>1.0.0</version>
|
---|
201 | <configuration>
|
---|
202 | <lifecycleMappingMetadata>
|
---|
203 | <pluginExecutions>
|
---|
204 | <pluginExecution>
|
---|
205 | <pluginExecutionFilter>
|
---|
206 | <groupId>org.jfrog.buildinfo</groupId>
|
---|
207 | <artifactId>artifactory-maven-plugin</artifactId>
|
---|
208 | <versionRange>[1.0.0,)</versionRange>
|
---|
209 | <goals>
|
---|
210 | <goal>publish</goal>
|
---|
211 | </goals>
|
---|
212 | </pluginExecutionFilter>
|
---|
213 | <action>
|
---|
214 | <ignore />
|
---|
215 | </action>
|
---|
216 | </pluginExecution>
|
---|
217 | </pluginExecutions>
|
---|
218 | </lifecycleMappingMetadata>
|
---|
219 | </configuration>
|
---|
220 | </plugin>
|
---|
221 | </plugins>
|
---|
222 | </pluginManagement>
|
---|
223 |
|
---|
224 |
|
---|
225 | </build>
|
---|
226 | </project>
|
---|