POM文件内容: |
<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">
<parent>
<groupId>org.jboss</groupId>
<artifactId>jboss-parent</artifactId>
<version>3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.jboss</groupId>
<artifactId>jboss-vfs</artifactId>
<packaging>jar</packaging>
<version>2.0.0.Beta7</version>
<name>JBoss VFS</name>
<url>http://www.jboss.org</url>
<description>A VFS library</description>
<scm>
<connection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/vfs/tags/2.0.0.Beta7</connection>
<developerConnection>scm:svn:https://svn.jboss.org/repos/jbossas/projects/vfs/tags/2.0.0.Beta7</developerConnection>
<url>https://svn.jboss.org/repos/jbossas/projects/vfs/tags/2.0.0.Beta7</url>
</scm>
<licenses>
<license>
<name>lgpl</name>
<url>http://repository.jboss.org/licenses/lgpl.txt</url>
</license>
</licenses>
<organization>
<name>JBoss, A division of Red Hat, Inc</name>
<url>http://www.jboss.org</url>
</organization>
<properties>
<version.jboss.common.core>2.2.3.GA</version.jboss.common.core>
<version.jboss.logging>2.0.4.GA</version.jboss.logging>
<version.jboss.test>1.0.4.GA</version.jboss.test>
<version.junit>3.8.1</version.junit>
</properties>
<build>
<sourceDirectory>src/main/java</sourceDirectory>
<testSourceDirectory>src/test/java</testSourceDirectory>
<finalName>${artifactId}</finalName>
<testResources>
<testResource>
<directory>src/test/resources</directory>
</testResource>
</testResources>
<plugins>
<!-- define how we want compilation to take place
here, we accept most of the defaults but say that we want the
optimization flag set, and define the source and target to be 1.5,
these setting will be inherited by child projects -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0</version>
<configuration>
<debug>true</debug>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<!-- define that we wish to create src jars -->
<plugin>
<artifactId>maven-source-plugin</artifactId>
<inherited>true</inherited>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.3</version>
<configuration>
<testFailureIgnore>true</testFailureIgnore>
<disableXmlReport>false</disableXmlReport>
<forkMode>once</forkMode> <!-- required to correctly run the PojoServer tests -->
<useSystemClassLoader>true</useSystemClassLoader>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagBase>https://svn.jboss.org/repos/jbossas/projects/vfs/tags</tagBase>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jboss-common-core</artifactId>
<version>${version.jboss.common.core}</version>
</dependency>
<dependency>
<groupId>jboss</groupId>
<artifactId>jboss-common-logging-spi</artifactId>
<version>${version.jboss.logging}</version>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jboss-test</artifactId>
<exclusions>
<exclusion>
<groupId>jboss</groupId>
<artifactId>jboss-common-core</artifactId>
</exclusion>
</exclusions>
<version>${version.jboss.test}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${version.junit}</version>
<scope>test</scope>
</dependency>
</dependencies>
<repositories>
<repository>
<id>jboss</id>
<name>JBoss Repository</name>
<url>http://repository.jboss.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>jboss-snapshots</id>
<name>JBoss Snapshot Repository</name>
<url>http://snapshots.jboss.org/maven2</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>
|