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>ch.qos.logback</groupId>
<artifactId>logback</artifactId>
<version>0.3</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>${parent.version}</version>
<packaging>jar</packaging>
<name>Logback Classic Module</name>
<url>http://logback.qos.ch/classic</url>
<description>
Logback: the generic, reliable, fast and flexible logging library for Java.
</description>
<licenses>
<license>
<name> GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl.html</url>
</license>
</licenses>
<dependencies>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<classifier>tests</classifier>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>bundle-test-jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<forkMode>once</forkMode>
<reportFormat>plain</reportFormat>
<trimStackTrace>false</trimStackTrace>
<excludes>
<exclude>**/AllTest.java</exclude>
<exclude>**/PackageTest.java</exclude>
<exclude>**/SerializationPerfsTest.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<tagBase>
https://svn.qos.ch/repos/logback/core/tags
</tagBase>
<preparationGoals>
clean, site, assembly:assembly
</preparationGoals>
<goals>
site, assembly:assembly site:deploy
</goals>
</configuration>
</plugin>
</plugins>
<testResources>
<testResource>
<directory>src/test/input</directory>
<targetPath>input</targetPath>
</testResource>
</testResources>
</build>
<scm>
<connection>
http://svn.qos.ch/repos/logback/classic/trunk/
</connection>
<developerConnection>
scm:svn:https://svn.qos.ch/repos/logback/classic/trunk/
</developerConnection>
<url>http://svn.qos.ch/viewcvs/logback/classic/trunk/</url>
</scm>
</project>
|