POM文件内容: |
<?xml version="1.0"?>
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.jgrapht</groupId>
<artifactId>jgrapht</artifactId>
<version>1.3.1</version>
</parent>
<artifactId>jgrapht-core</artifactId>
<name>JGraphT - Core</name>
<properties>
<main.basedir>${project.parent.basedir}</main.basedir>
<excludedGroups>org.jgrapht.SlowTests,org.jgrapht.OptionalTests</excludedGroups>
</properties>
<licenses>
<license>
<name>GNU Lesser General Public License Version 2.1, February 1999</name>
<url>http://jgrapht.sourceforge.net/LGPL.html</url>
<distribution>repo</distribution>
</license>
<license>
<name>Eclipse Public License (EPL) 2.0</name>
<url>http://www.eclipse.org/legal/epl-v20.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<dependencies>
<dependency>
<groupId>org.jheaps</groupId>
<artifactId>jheaps</artifactId>
<version>0.10</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.googlecode.junit-toolbox</groupId>
<artifactId>junit-toolbox</artifactId>
<version>2.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>1.21</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>1.21</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<executions>
<execution>
<id>default-test</id>
<configuration>
<excludes>
<exclude>**/perf/**</exclude>
</excludes>
<excludedGroups>${excludedGroups}</excludedGroups>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
<groups>org.jgrapht.SlowTests</groups>
<excludedGroups>org.jgrapht.OptionalTests</excludedGroups>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Automatic-Module-Name>org.jgrapht.core</Automatic-Module-Name>
<Bundle-Vendor>Barak Naveh, John V. Sichi and contributors</Bundle-Vendor>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
|