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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>javax.jmdns</groupId>
<artifactId>jmdns</artifactId>
<version>3.4.0</version>
<name>JmDNS</name>
<packaging>jar</packaging>
<parent>
<groupId>org.sonatype.oss</groupId>
<artifactId>oss-parent</artifactId>
<version>4</version>
</parent>
<description>JmDNS is a Java implementation of multi-cast DNS and can be used for service registration and discovery in local area networks. JmDNS is fully compatible with Apple's Bonjour.
The project was originally started in December 2002 by Arthur van Hoff at Strangeberry. In November 2003 the project was moved to SourceForge, and the name was changed from JRendezvous to JmDNS for legal reasons.
Many thanks to Stuart Cheshire for help and moral support.</description>
<url>http://sourceforge.net/projects/jmdns/</url>
<inceptionYear>2002</inceptionYear>
<organization>
<name>JmDNS</name>
<url>http://jmdns.sourceforge.net/</url>
</organization>
<scm>
<connection>scm:svn:https://jmdns.svn.sourceforge.net/svnroot/jmdns/tags/jmdns-3.4.0</connection>
<developerConnection>scm:svn:https://jmdns.svn.sourceforge.net/svnroot/jmdns/tags/jmdns-3.4.0</developerConnection>
<url>scm:svn:https://jmdns.svn.sourceforge.net/svnroot/jmdns/tags/jmdns-3.4.0</url>
</scm>
<distributionManagement>
<site>
<id>jmdns.sf.net</id>
<url>scp://shell.sourceforge.net/home/groups/j/jm/jmdns/htdocs</url>
<!-- http://maven.apache.org/plugins/maven-site-plugin/examples/site-deploy-to-sourceforge.net.html -->
</site>
</distributionManagement>
<issueManagement>
<system>sourceforge</system>
<url>http://sourceforge.net/tracker/?group_id=93852</url>
</issueManagement>
<mailingLists>
<mailingList>
<name>JmDNS Announce Mailing list</name>
<subscribe>http://lists.sourceforge.net/mailman/listinfo/jmdns-announce</subscribe>
<unsubscribe>http://lists.sourceforge.net/mailman/listinfo/jmdns-announce</unsubscribe>
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=jmdns-announce</archive>
<post>jmdns-announce@lists.sourceforge.net</post>
</mailingList>
<mailingList>
<name>JmDNS User Mailing list</name>
<subscribe>http://lists.sourceforge.net/mailman/listinfo/jmdns-discuss</subscribe>
<unsubscribe>http://lists.sourceforge.net/mailman/listinfo/jmdns-discuss</unsubscribe>
<archive>http://sourceforge.net/mailarchive/forum.php?forum_name=jmdns-discuss</archive>
<post>jmdns-discuss@lists.sourceforge.net</post>
</mailingList>
</mailingLists>
<developers>
<developer>
<id>javanator</id>
<name>Arthur van Hoff</name>
<email>javanator@users.sourceforge.net</email>
<roles>
<role>Creator</role>
</roles>
</developer>
<developer>
<id>rickblair</id>
<name>Rich Blair</name>
<email>rickblair@users.sourceforge.net</email>
<roles>
<role>Administrator</role>
<role>Developer</role>
</roles>
<timezone>-9</timezone>
</developer>
<developer>
<id>spearway</id>
<name>Pierre Frisch</name>
<email>spearway@users.sourceforge.net</email>
<url>http://www.spearway.com</url>
<organization>sPearWay Ltd.</organization>
<organizationUrl>http://www.spearway.com</organizationUrl>
<roles>
<role>Architect</role>
<role>Developer</role>
</roles>
<timezone>-9</timezone>
</developer>
</developers>
<contributors>
<contributor>
<name>Melloware</name>
<email>info@melloware.com</email>
<url>http://www.melloware.com</url>
<organization>Melloware Tean</organization>
<organizationUrl>http://www.melloware.com</organizationUrl>
<roles>
<role>Maven Contributor</role>
</roles>
</contributor>
<contributor>
<name>Scott Lewis</name>
<email>slewis@users.sourceforge.net</email>
<roles>
<role>Contributor</role>
</roles>
</contributor>
<contributor>
<name>Werner Randelshofer</name>
<roles>
<role>Contributor</role>
</roles>
</contributor>
<contributor>
<name>Jeff Sonstein</name>
<roles>
<role>Contributor</role>
</roles>
</contributor>
<contributor>
<name>C茅drik Lime</name>
<roles>
<role>Contributor</role>
</roles>
</contributor>
<contributor>
<name>Markus Alexander Kuppe</name>
<roles>
<role>Contributor</role>
</roles>
</contributor>
<contributor>
<name>Jason LeBrun</name>
<roles>
<role>Contributor</role>
</roles>
</contributor>
</contributors>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<distribution>repo</distribution>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.1</version>
<type>jar</type>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>3.0</version>
<type>jar</type>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.1</version>
<configuration>
<source>${jvm.version}</source>
<target>${jvm.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.0-beta-4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
<revisionOnScmFailure>true</revisionOnScmFailure>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
<configuration>
<attach>true</attach>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<executions>
<execution>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<archive>
<addMavenDescriptor />
<compress />
<forced>true</forced>
<index>true</index>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<manifest>
<mainClass>javax.jmdns.impl.JmDNSImpl</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<Implementation-Build>${buildNumber}</Implementation-Build>
<Implementation-Date>${maven.build.timestamp}</Implementation-Date>
</manifestEntries>
</archive>
<excludes>
<!-- This fixes a bug in clover where it writes some instrumentation files where it should not JIAR: Clover/CLOV-943 -->
<exclude>groverconfig*/*.ser</exclude>
<exclude>groverconfig*</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>2.1.0</version>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>javax.jmdns</Export-Package>
<Private-Package>javax.jmdns.impl,javax.jmdns.impl.*,com.strangeberry.*,samples</Private-Package>
<Import-Package>!javax.swing.*</Import-Package>
<Bundle-RequiredExecutionEnvironment>JavaSE-${jvm.version}</Bundle-RequiredExecutionEnvironment>
<Bundle-Vendor>jmdns.sourceforge.net</Bundle-Vendor>
</instructions>
</configuration>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<configuration>
<locales>en</locales>
<!--<templateFile>src/site/site.vm</templateFile> -->
</configuration>
</plugin>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>maven-clover2-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<includes>
<include>javax/**/*.java</include>
</includes>
<excludes>
<exclude>com/**/tools/*.java</exclude>
<exclude>samples/*.java</exclude>
</excludes>
<licenseLocation>clover.license.txt</licenseLocation>
<contextFilters>try,static</contextFilters>
<flushPolicy>threaded</flushPolicy>
<flushInterval>5000</flushInterval>
<includesTestSourceRoots>true</includesTestSourceRoots>
<generatePdf>false</generatePdf>
<generateXml>true</generateXml>
<generateHtml>true</generateHtml>
<targetPercentage>70%</targetPercentage>
<failOnViolation>false</failOnViolation>
<fullRunEvery>1</fullRunEvery>
</configuration>
<executions>
<execution>
<id>site</id>
<phase>pre-site</phase>
<goals>
<goal>instrument</goal>
<goal>aggregate</goal>
<goal>clover</goal>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.0</version>
<configuration>
<tagBase>https://jmdns.svn.sourceforge.net/svnroot/jmdns/tags/</tagBase>
</configuration>
</plugin>
</plugins>
</build>
<reporting>
<outputDirectory>target/site</outputDirectory>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.2</version>
<configuration>
<linkJavadoc>true</linkJavadoc>
<includes>
<include>javax/**/*.java</include>
</includes>
<excludes>
<exclude>com/**/tools/*.java</exclude>
<exclude>samples/*.java</exclude>
</excludes>
</configuration>
</plugin>
<plugin>
<groupId>com.atlassian.maven.plugins</groupId>
<artifactId>maven-clover2-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<licenseLocation>clover.license.txt</licenseLocation>
<generatePdf>false</generatePdf>
<generateXml>true</generateXml>
<generateHtml>true</generateHtml>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.5</version>
<configuration>
<configLocation>${basedir}/checkstyle.xml</configLocation>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.0-beta-2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changelog-plugin</artifactId>
<version>2.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
<configuration>
<links>
<link>http://download.oracle.com/javase/6/docs/api/</link>
<link>http://logging.apache.org/log4j/1.2/apidocs/</link>
<link>http://junit.sourceforge.net/javadoc/</link>
</links>
<excludes>
<exclude>com/**/tools/*.java</exclude>
<exclude>samples/*.java</exclude>
</excludes>
<!-- additionalJOption>-J-Xmx512m</additionalJOption -->
<splitindex>true</splitindex>
<quiet />
<use>true</use>
<author>true</author>
<version>true</version>
<show>protected</show>
<keywords>true</keywords>
<verbose>true</verbose>
<locale>en_US</locale>
<maxmemory>512</maxmemory>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<windowtitle>JmDNS ${project.version} Reference</windowtitle>
<header><![CDATA[JmDNS ${project.version}]]></header>
<footer><![CDATA[<i>Last updated ${maven.build.timestamp}</i>]]></footer>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.5</version>
<configuration>
<rulesets>
<ruleset>/rulesets/basic.xml</ruleset>
<ruleset>/rulesets/imports.xml</ruleset>
<ruleset>/rulesets/unusedcode.xml</ruleset>
<ruleset>/rulesets/finalizers.xml</ruleset>
<ruleset>/rulesets/logging-jakarta-commons.xml</ruleset>
<ruleset>/rulesets/logging-java.xml</ruleset>
<ruleset>/rulesets/migrating_to_15.xml</ruleset>
<ruleset>/rulesets/design.xml</ruleset>
<ruleset>/rulesets/strings.xml</ruleset>
</rulesets>
<minimumTokens>150</minimumTokens>
<linkXref>true</linkXref>
<sourceEncoding>utf-8</sourceEncoding>
<targetJdk>${jvm.version}</targetJdk>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>taglist-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<tagListOptions>
<tagClasses>
<tagClass>
<displayName>To do</displayName>
<tags>
<tag>
<matchString>todo</matchString>
<matchType>ignoreCase</matchType>
</tag>
</tags>
</tagClass>
<tagClass>
<displayName>To be fixed</displayName>
<tags>
<tag>
<matchString>FIXME</matchString>
<matchType>ignoreCase</matchType>
</tag>
</tags>
</tagClass>
</tagClasses>
</tagListOptions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-changes-plugin</artifactId>
<version>2.3</version>
<reportSets>
<reportSet>
<reports>
<report>changes-report</report>
</reports>
</reportSet>
</reportSets>
<configuration>
<issueLinkTemplatePerSystem>
<sourceforge>http://sourceforge.net/support/tracker.php?aid=%ISSUE%</sourceforge>
</issueLinkTemplatePerSystem>
<publishDateFormat>yyyy-MM-dd HH:mm</publishDateFormat>
</configuration>
</plugin>
</plugins>
</reporting>
<properties>
<organization.logo>http://mirrorbrain.org/static/images/misc/sourceforge-logo.png</organization.logo>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.build.timestamp.format>yyyy-MM-dd HH:mm</maven.build.timestamp.format>
<jvm.version>1.6</jvm.version>
</properties>
</project>
|