source: exampleparties/simpleboa/pom.xml@ 28

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

minor fixes to improve extendability

File size: 5.5 KB
Line 
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>1.5.7</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.6</jackson-2-version>
19 <geniusweb.version>1.5.7</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</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>3.2.0</version>
128 <executions>
129 <execution>
130 <id>attach-javadocs</id>
131 <goals>
132 <goal>jar</goal>
133 </goals>
134 </execution>
135 </executions>
136 </plugin>
137
138 <plugin>
139 <groupId>org.jfrog.buildinfo</groupId>
140 <artifactId>artifactory-maven-plugin</artifactId>
141 <version>2.6.1</version>
142 <executions>
143 <execution>
144 <id>build-info</id>
145 <goals>
146 <goal>publish</goal>
147 </goals>
148 <configuration>
149 <publisher>
150 <contextUrl>http://artifactory.ewi.tudelft.nl/artifactory</contextUrl>
151 <repoKey>libs-release</repoKey>
152 <username>wouter</username>
153 <password>${passwd}</password>
154 </publisher>
155 </configuration>
156 </execution>
157 </executions>
158 </plugin>
159
160 <plugin>
161 <groupId>org.apache.maven.plugins</groupId>
162 <artifactId>maven-assembly-plugin</artifactId>
163 <version>2.4.1</version>
164 <configuration>
165 <!-- get all project dependencies -->
166 <descriptorRefs>
167 <descriptorRef>jar-with-dependencies</descriptorRef>
168 </descriptorRefs>
169 <archive>
170 <manifest>
171 <addDefaultImplementationEntries>true</addDefaultImplementationEntries>
172 <addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
173 <mainClass>geniusweb.exampleparties.simpleboa.SimpleBoa</mainClass>
174 </manifest>
175 </archive>
176 </configuration>
177 <executions>
178 <execution>
179 <id>make-assembly</id>
180 <!-- bind to the packaging phase -->
181 <phase>package</phase>
182 <goals>
183 <goal>single</goal>
184 </goals>
185 </execution>
186 </executions>
187 </plugin>
188
189
190 </plugins>
191
192 <pluginManagement>
193 <plugins>
194 <plugin>
195 <groupId>org.eclipse.m2e</groupId>
196 <artifactId>lifecycle-mapping</artifactId>
197 <version>1.0.0</version>
198 <configuration>
199 <lifecycleMappingMetadata>
200 <pluginExecutions>
201 <pluginExecution>
202 <pluginExecutionFilter>
203 <groupId>org.jfrog.buildinfo</groupId>
204 <artifactId>artifactory-maven-plugin</artifactId>
205 <versionRange>[1.0.0,)</versionRange>
206 <goals>
207 <goal>publish</goal>
208 </goals>
209 </pluginExecutionFilter>
210 <action>
211 <ignore />
212 </action>
213 </pluginExecution>
214 </pluginExecutions>
215 </lifecycleMappingMetadata>
216 </configuration>
217 </plugin>
218 </plugins>
219 </pluginManagement>
220
221
222 </build>
223</project>
Note: See TracBrowser for help on using the repository browser.