pom.xml 13.4 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<parent>
		<groupId>org.ow2</groupId>
		<artifactId>ow2</artifactId>
		<version>1.5</version>
	</parent>
	<groupId>org.ow2.sat4j</groupId>
	<artifactId>org.ow2.sat4j.pom</artifactId>
	<packaging>pom</packaging>
	<version>2.3.6-SNAPSHOT</version>
	<name>SAT4J</name>
	<url>http://www.sat4j.org/</url>
	<description>
17
Sat4j is a full featured boolean reasoning library designed to bring state-of-the-art SAT technologies to the Java Virtual Machine.
Daniel Le Berre's avatar
Daniel Le Berre committed
18
  </description>
19
	<scm>
20 21 22
		<connection>scm:git:https://gitlab.ow2.org/sat4j/sat4j/</connection>
		<url>https://gitlab.ow2.org/sat4j/sat4j/</url>
		<developerConnection>scm:git:https://gitlab.ow2.org/sat4j/sat4j/</developerConnection>
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
	</scm>
	<licenses>
		<license>
			<name>Eclipse Public License 1.0</name>
			<url>http://www.eclipse.org/org/documents/epl-v10.php</url>
			<distribution>Manual</distribution>
		</license>
		<license>
			<name>GNU Lesser GPL 2.1</name>
			<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html</url>
			<distribution>manual</distribution>
		</license>
	</licenses>
	<organization>
		<name>Centre de Recherche en Informatique de Lens (CRIL)</name>
		<url>http://www.cril.univ-artois.fr/</url>
	</organization>
	<issueManagement>
		<system>OW2 Jira</system>
		<url>http://jira.ow2.org/browse/SAT</url>
	</issueManagement>
	<mailingLists>
		<mailingList>
			<name>Developer List</name>
47 48 49 50
			<subscribe>sat4j-dev-subscribe@ow2.org</subscribe>
			<unsubscribe>sat4j-dev-unsubscribe@ow2.org</unsubscribe>
			<post>sat4j-dev@ow2.org</post>
			<archive>http://mail-archive.ow2.org/sat4j-dev/index.html</archive>
51 52 53
		</mailingList>
		<mailingList>
			<name>Commits List</name>
54 55 56 57
			<subscribe>sat4j-commits-subscribe@ow2.org</subscribe>
			<unsubscribe>sat4j-commits-unsubscribe@ow2.org</unsubscribe>
			<post>sat4j-commits@ow2.org</post>
			<archive>http://mail-archive.ow2.org/sat4j-commits/index.html</archive>
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
		</mailingList>
	</mailingLists>
	<developers>
		<developer>
			<id>leberre</id>
			<name>Daniel Le Berre</name>
			<email>daniel.leberre@sat4j.org</email>
			<url>http://www.sat4j.org/</url>
			<organization>CRIL CNRS 8188</organization>
			<organizationUrl>http://www.cril.fr</organizationUrl>
			<roles>
				<role>architect</role>
				<role>developer</role>
			</roles>
			<timezone>+1</timezone>
		</developer>
	</developers>
	<properties>
		<!-- compiler params -->
77 78 79 80
		<javaSource>1.7</javaSource>
		<javaTarget>1.7</javaTarget>
		<testSource>1.7</testSource>
		<testTarget>1.7</testTarget>
81 82 83 84 85 86 87 88
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<!-- common distribution locations -->
		<siteRepositoryId />
		<siteRepositoryUrl />
		<maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
		<sat4j.custom.version>${project.version}.v${maven.build.timestamp}</sat4j.custom.version>
		<next.eclipse.release.date>June, 2010</next.eclipse.release.date>
		<bundle-manifest>${project.build.directory}/META-INF/MANIFEST.MF</bundle-manifest>
89
		<sonar.java.source>${javaSource}</sonar.java.source>
90 91 92 93 94 95 96 97 98 99 100 101 102 103
	</properties>
	<pluginRepositories>
		<pluginRepository>
			<id>apache.snapshots</id>
			<url>http://repository.apache.org/snapshots/</url>
		</pluginRepository>
	</pluginRepositories>
	<modules>
		<module>org.sat4j.core</module>
		<module>org.sat4j.pb</module>
		<module>org.sat4j.maxsat</module>
		<module>org.sat4j.sat</module>
		<module>org.sat4j.csp.xmlparser</module>
	</modules>
Daniel Le Berre's avatar
Daniel Le Berre committed
104

105 106 107 108
	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
109
			<version>4.12</version>
110 111 112 113 114 115 116 117 118
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>org.mockito</groupId>
			<artifactId>mockito-all</artifactId>
			<version>1.9.5</version>
			<scope>test</scope>
		</dependency>
	</dependencies>
Daniel Le Berre's avatar
Daniel Le Berre committed
119

120 121 122 123 124 125 126 127 128 129 130 131 132 133
	<build>
		<defaultGoal>install</defaultGoal>
		<resources>
			<resource>
				<directory>src/main/resources</directory>
				<filtering>true</filtering>
			</resource>
		</resources>
		<extensions>
			<extension>
				<groupId>org.apache.maven.wagon</groupId>
				<artifactId>wagon-webdav</artifactId>
			</extension>
		</extensions>
Daniel Le Berre's avatar
Daniel Le Berre committed
134

135
		<plugins>
Daniel Le Berre's avatar
Daniel Le Berre committed
136 137
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
138 139 140 141 142 143 144 145 146 147 148 149 150 151
				<artifactId>maven-jar-plugin</artifactId>
				<version>2.3.1</version>
				<executions>
					<execution>
						<goals>
							<goal>test-jar</goal>
						</goals>
					</execution>
				</executions>
				<configuration>
					<archive>
						<manifestFile>${bundle-manifest}</manifestFile>
					</archive>
				</configuration>
Daniel Le Berre's avatar
Daniel Le Berre committed
152 153 154
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
155
				<artifactId>maven-surefire-plugin</artifactId>
156
				<version>2.19.1</version>
157
				<configuration>
158 159 160
					<forkCount>3</forkCount>
					<reuseForks>true</reuseForks>
					<enableAssertions>true</enableAssertions>
161 162 163 164 165
					<includes>
						<include>**/Bug*</include>
						<include>**/*Test*</include>
					</includes>
					<excludes>
lonca's avatar
lonca committed
166
						<exclude>**/AllTests*</exclude>
167 168 169 170 171 172 173 174 175
						<exclude>**/XplainTests*</exclude>
						<exclude>**/GoodOPBReaderTest*</exclude>
						<exclude>**/Abstract*Test*</exclude>
						<!-- those tests timeout -->
						<exclude>**/CompetPBResMinHTMixedConstraintsObjectiveLearningTest*</exclude>
						<exclude>**/CompetPBResHTMixedConstraintsObjectiveLearningTest*</exclude>
						<exclude>**/MiniOPBLongClauseCardMinLearningTest*</exclude>
						<exclude>**/PBCPMixedConstraintsCautiousTest*</exclude>
						<exclude>**/MultiObjectiveDependencyHelperTest*</exclude>
176
						<exclude>org.sat4j.pb.CardConstrFinderTest.class</exclude>
177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
					</excludes>
					<systemProperties>
						<property>
							<name>test.prefix</name>
							<value>${basedir}/src/test/testfiles/</value>
						</property>
						<property>
							<name>test.pbprefix</name>
							<value>${basedir}/src/test/testfiles/</value>
						</property>
					</systemProperties>
				</configuration>
			</plugin>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
192
				<version>3.6.2</version>
193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211
				<configuration>
					<source>${javaSource}</source>
					<target>${javaTarget}</target>
					<testSource>${testSource}</testSource>
					<testTarget>${testTarget}</testTarget>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
				<version>2.4</version>
				<executions>
					<execution>
						<id>clean</id>
						<goals>
							<goal>clean</goal>
						</goals>
					</execution>
				</executions>
Daniel Le Berre's avatar
Daniel Le Berre committed
212 213 214
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
215
				<artifactId>maven-javadoc-plugin</artifactId>
216
				<version>3.0.0-M1</version>
217
				<configuration>
218
					<source>${javaSource}</source>
219 220
					<!-- <doclet>org.umlgraph.doclet.UmlGraphDoc</doclet> <docletArtifact> 
						<groupId>org.umlgraph</groupId> <artifactId>doclet</artifactId> <version>5.1</version> 
221
						</docletArtifact> -->
222
					<additionalparam>-Xdoclint:none</additionalparam>
223
					<useStandardDocletOptions>true</useStandardDocletOptions>
224

225 226 227 228 229 230 231 232 233
				</configuration>
				<executions>
					<execution>
						<id>attach-javadocs</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
Daniel Le Berre's avatar
Daniel Le Berre committed
234 235 236
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256
				<artifactId>maven-source-plugin</artifactId>
				<version>2.1.2</version>
				<executions>
					<execution>
						<id>attach-sources</id>
						<goals>
							<goal>jar</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
			<!-- <plugin> <artifactId>maven-pdf-plugin</artifactId> <version>1.0</version> 
				<executions> <execution> <id>site-pdf</id> <phase>site</phase> <goals> <goal>pdf</goal> 
				</goals> <configuration> <outputDirectory>${project.reporting.outputDirectory}</outputDirectory> 
				</configuration> </execution> </executions> </plugin> -->
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-release-plugin</artifactId>
				<configuration>
					<tagBase>svn+ssh://leberre@svn.forge.objectweb.org/svnroot/sat4j/maven/tags</tagBase>
Daniel Le Berre's avatar
Daniel Le Berre committed
257 258 259 260
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
261 262 263 264 265 266 267 268 269
				<artifactId>maven-antrun-plugin</artifactId>
				<executions>
					<execution>
						<id>translate-qualifier</id>
						<phase>generate-resources</phase>
						<configuration>
							<tasks>
								<echo>Changing ${bundle-manifest}</echo>
								<copy file="META-INF/MANIFEST.MF" tofile="${bundle-manifest}"
270
									overwrite="true" failonerror="false" />
271 272 273 274 275 276 277 278 279 280
								<replace file="${bundle-manifest}" token="9.9.9.token"
									value="${sat4j.custom.version}">
								</replace>
							</tasks>
						</configuration>
						<goals>
							<goal>run</goal>
						</goals>
					</execution>
				</executions>
Daniel Le Berre's avatar
Daniel Le Berre committed
281 282
			</plugin>
			<plugin>
283 284 285
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-site-plugin</artifactId>
				<version>3.0</version>
Daniel Le Berre's avatar
Daniel Le Berre committed
286 287 288
				<configuration>
				</configuration>
			</plugin>
289 290
			<plugin>
				<groupId>org.jacoco</groupId>
291
				<artifactId>jacoco-maven-plugin</artifactId>
292
				<version>0.8.2</version>
293 294
				<executions>
					<execution>
295
						<phase>process-test-classes</phase>
296 297 298 299 300 301
						<goals>
							<goal>prepare-agent</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327
		</plugins>
		<pluginManagement>
			<plugins>
				<!--This plugin's configuration is used to store Eclipse m2e settings 
					only. It has no influence on the Maven build itself. -->
				<plugin>
					<groupId>org.eclipse.m2e</groupId>
					<artifactId>lifecycle-mapping</artifactId>
					<version>1.0.0</version>
					<configuration>
						<lifecycleMappingMetadata>
							<pluginExecutions>
								<pluginExecution>
									<pluginExecutionFilter>
										<groupId>
											org.apache.maven.plugins
										</groupId>
										<artifactId>
											maven-antrun-plugin
										</artifactId>
										<versionRange>[1.3,)</versionRange>
										<goals>
											<goal>run</goal>
										</goals>
									</pluginExecutionFilter>
									<action>
328 329 330
										<ignore />
									</action>
								</pluginExecution>
331 332 333 334 335 336 337
							</pluginExecutions>
						</lifecycleMappingMetadata>
					</configuration>
				</plugin>
			</plugins>
		</pluginManagement>
	</build>
338 339
	<reporting>
		<plugins>
340 341
			<plugin>
				<groupId>org.jacoco</groupId>
342
				<artifactId>jacoco-maven-plugin</artifactId>
343 344 345 346 347 348 349 350 351
				<reportSets>
					<reportSet>
						<reports>
							<!-- select non-aggregate reports -->
							<report>report</report>
						</reports>
					</reportSet>
				</reportSets>
			</plugin>
352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-project-info-reports-plugin</artifactId>
				<version>2.4</version>
				<reportSets>
					<reportSet>
						<reports>
							<report>index</report>
							<report>scm</report>
							<report>license</report>
							<report>issue-tracking</report>
							<report>mailing-list</report>
							<report>project-team</report>
							<report>dependencies</report>
						</reports>
					</reportSet>
				</reportSets>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-surefire-report-plugin</artifactId>
				<version>2.7</version>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jxr-plugin</artifactId>
				<version>2.2</version>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-pmd-plugin</artifactId>
				<version>2.5</version>
				<configuration>
					<targetJdk>1.5</targetJdk>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-checkstyle-plugin</artifactId>
				<version>2.6</version>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>findbugs-maven-plugin</artifactId>
				<version>2.3.1</version>
				<configuration>
					<threshold>Low</threshold>
					<onlyAnalyze>org.sat4j.-</onlyAnalyze>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-javadoc-plugin</artifactId>
				<version>2.8</version>
				<configuration>
					<groups>
						<group>
							<title>User level: stable public API</title>
							<packages>org.sat4j:org.sat4j.*</packages>
						</group>
						<group>
							<title>Developer level: internal API, subject to change</title>
							<packages>org.sat4j.minisat.*:org.sat4j.reader.csp:org.sat4j.pb.*</packages>
						</group>
					</groups>

				</configuration>
			</plugin>

			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>taglist-maven-plugin</artifactId>
				<version>2.4</version>
				<configuration>
					<tags>
						<tag>TODO</tag>
						<tag>@todo</tag>
						<tag>FIXME</tag>
						<tag>DLB</tag>
					</tags>
				</configuration>
			</plugin>
Daniel Le Berre's avatar
Daniel Le Berre committed
438 439
		</plugins>
	</reporting>
440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468
	<profiles>
		<profile>
			<id>release-sign-artifacts</id>
			<activation>
				<property>
					<name>performRelease</name>
					<value>true</value>
				</property>
			</activation>
			<build>
				<plugins>
					<plugin>
						<groupId>org.apache.maven.plugins</groupId>
						<artifactId>maven-gpg-plugin</artifactId>
						<version>1.0-alpha-4</version>
						<executions>
							<execution>
								<id>sign-artifacts</id>
								<phase>verify</phase>
								<goals>
									<goal>sign</goal>
								</goals>
							</execution>
						</executions>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
469
</project>