<?xml version="1.0" encoding="UTF-8"?>
<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">
    <parent>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>nbm-maven</artifactId>
        <version>1.2</version>
    </parent>
    <modelVersion>4.0.0</modelVersion>

    <artifactId>nb-shared</artifactId>
    <version>1.2</version>
    <packaging>jar</packaging>

    <name>NBM Plugins Utilities</name>
    <description>Maven plugin for creating Maven Repository out of a NetBeans installation (and other sources) for consumption by the projects using nbm-maven-plugin.
    </description>
    <inceptionYear>2005</inceptionYear>
    <url>http://mojo.codehaus.org/nbm-maven/nbm-maven-plugin/</url>
    <issueManagement>
        <system>jira</system>
        <url>http://jira.codehaus.org/browse/MNBMODULE</url>
    </issueManagement>
    <prerequisites>
        <maven>3.0.4</maven>
    </prerequisites>
    <licenses>
        <license>
            <name>Apache License 2</name>
            <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
            <distribution>repo</distribution>
        </license>
    </licenses>
    <scm>
        <connection>scm:svn:http://svn.codehaus.org/mojo/tags/nb-shared-1.2</connection>
        <developerConnection>scm:svn:https://svn.codehaus.org/mojo/tags/nb-shared-1.2</developerConnection>
        <url>http://fisheye.codehaus.org/browse/mojo/tags/nb-shared-1.2</url>
    </scm>
    <developers>
        <developer>
            <id>mkleint</id>
            <name>Milos Kleint</name>
            <email>mkleint@codehaus.org</email>
            <organization>Codehaus</organization>
            <roles>
                <role>Developer</role>
            </roles>
        </developer>
        <developer>
            <id>jglick</id>
            <name>Jesse Glick</name>
            <email>jglick@codehaus.org</email>
            <organization>Codehaus</organization>
            <roles>
                <role>Developer</role>
            </roles>
        </developer>
    </developers>
    <contributors>
        <contributor>
            <name>Johan Andrén</name>
            <email>protected</email>
            <roles>
                <role>Patch Contributor</role>
                <role>Goal Contributor</role>
            </roles>
        </contributor>
        <contributor>
            <name>Mykola Nikishov</name>
            <email>mn@mn.com.ua</email>
            <roles>
                <role>Patch Contributor</role>
            </roles>
        </contributor>
        <contributor>
            <name>Frantisek Mantlik</name>
            <email>frantisek@mantlik.cz</email>
            <roles>
                <role>Goal Contributor</role>
            </roles>
        </contributor>
    </contributors>
    

   <!-- TODO need to override parent version value... I suppose this will eventually end up in mojo parent pom, check regularly -->
    <mailingLists>
        <mailingList>
            <name>Development List</name>
            <subscribe>dev-subscribe@mojo.codehaus.org</subscribe>
            <unsubscribe>dev-unsubscribe@mojo.codehaus.org</unsubscribe>
            <post>dev@mojo.codehaus.org</post>
            <archive>http://old.nabble.com/mojo---dev-f11981.html</archive>
            <otherArchives>
                <otherArchive>http://markmail.org/list/org.codehaus.mojo.dev</otherArchive>
            </otherArchives>
        </mailingList>
        <mailingList>
            <name>User List</name>
            <subscribe>user-subscribe@mojo.codehaus.org</subscribe>
            <unsubscribe>user-unsubscribe@mojo.codehaus.org</unsubscribe>
            <post>user@mojo.codehaus.org</post>
            <archive>http://old.nabble.com/mojo---user-f11980.html</archive>
            <otherArchives>
                <otherArchive>http://markmail.org/list/org.codehaus.mojo.user</otherArchive>
            </otherArchives>
        </mailingList>
        <mailingList>
            <name>Commits List</name>
            <subscribe>scm-subscribe@mojo.codehaus.org</subscribe>
            <unsubscribe>scm-unsubscribe@mojo.codehaus.org</unsubscribe>
            <archive>http://markmail.org/list/org.codehaus.mojo.scm</archive>
        </mailingList>
        <mailingList>
            <name>Announcements List</name>
            <subscribe>announce-subscribe@mojo.codehaus.org</subscribe>
            <unsubscribe>announce-unsubscribe@mojo.codehaus.org</unsubscribe>
            <post>announce@mojo.codehaus.org</post>
            <archive>http://old.nabble.com/mojo---announce-f11982.html</archive>
            <otherArchives>
                <otherArchive>http://markmail.org/list/org.codehaus.mojo.announce</otherArchive>
            </otherArchives>
        </mailingList>
    </mailingLists>

    <build>
        <plugins>
            <plugin>
   <!-- TODO need to override parent version value... I suppose this will eventually end up in mojo parent pom, check regularly -->
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-plugin-plugin</artifactId>
                <version>3.1</version>
                <configuration>
                    <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
                 </configuration>
                <executions>
                    <execution>
                        <id>mojo-descriptor</id>
                        <phase>process-classes</phase>
                        <goals>
                            <goal>descriptor</goal>
                        </goals>
                    </execution>
                    <execution>
                        <id>help-goal</id>
                        <goals>
                            <goal>helpmojo</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>animal-sniffer-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                           <goal>check</goal>
                        </goals>
                        <configuration>
                            <signature>
                                <groupId>org.codehaus.mojo.signature</groupId>
                                <artifactId>java16</artifactId>
                                <version>1.0</version>
                            </signature>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-site-plugin</artifactId>
                <version>3.1</version>
                <configuration> 
                    <reportPlugins>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-project-info-reports-plugin</artifactId>
                            <version>2.4</version>
                            <reports>
                                <report>dependencies</report>
                                <report>dependency-management</report>
                                <report>issue-tracking</report>
                                <report>plugin-management</report>
                                <report>plugins</report>
                                <report>project-team</report>
                                <report>scm</report>
                                <report>summary</report>
                                <!-- <report>cim</report> -->
                                <report>mailing-list</report>
                
                                <report>license</report>
                            </reports>
                        </plugin>
                        <!-- <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-plugin-plugin</artifactId>
                        <version>3.1</version></plugin>-->
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-changes-plugin</artifactId>
                            <version>2.7.1</version>
                            <reports>
                                <report>jira-report</report>
                            </reports>
                            <configuration>

                                <onlyCurrentVersion>true</onlyCurrentVersion>

                            </configuration>
       
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-checkstyle-plugin</artifactId>
                            <version>2.9.1</version>
                            <reports>
                                <report>checkstyle</report>
                            </reports>
                            <configuration>
                                <configLocation>config/maven_checks.xml</configLocation>
                                <headerLocation>config/maven-header.txt</headerLocation>
                            </configuration>
                        </plugin>
                        
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-javadoc-plugin</artifactId>
                            <version>2.8.1</version>
                            <configuration>
                                <quiet>true</quiet>
                                <links>
                                    <!--<link>http://download-llnw.oracle.com/javaee/1.4/api/</link>-->
                                    <link>http://commons.apache.org/collections/apidocs-COLLECTIONS_3_0/</link>
                                    <link>http://commons.apache.org/dbcp/apidocs/</link>
                                    <link>http://commons.apache.org/fileupload/apidocs/</link>
                                    <link>http://commons.apache.org/logging/apidocs/</link>
                                    <link>http://commons.apache.org/pool/apidocs/</link>
                                    <link>http://junit.sourceforge.net/javadoc/</link>
                                    <link>http://logging.apache.org/log4j/1.2/apidocs/</link>
                                    <link>http://jakarta.apache.org/regexp/apidocs/</link>
                                    <link>http://velocity.apache.org/engine/releases/velocity-1.5/apidocs/</link>
                                    <link>http://maven.apache.org/ref/${mojo.javadoc.mavenVersion}/maven-artifact/apidocs/</link>
                                    <link>http://maven.apache.org/ref/${mojo.javadoc.mavenVersion}/maven-artifact-manager/apidocs/</link>
                                    <link>http://maven.apache.org/ref/${mojo.javadoc.mavenVersion}/maven-model/apidocs/</link>
                                    <link>http://maven.apache.org/ref/${mojo.javadoc.mavenVersion}/maven-plugin-api/apidocs/</link>
                                    <link>http://maven.apache.org/ref/${mojo.javadoc.mavenVersion}/maven-project/apidocs/</link>
                                    <link>http://maven.apache.org/ref/${mojo.javadoc.mavenVersion}/maven-reporting/maven-reporting-api/apidocs/</link>
                                    <link>http://maven.apache.org/ref/${mojo.javadoc.mavenVersion}/maven-settings/apidocs/</link>
                                </links>
                                <tagletArtifacts>
                                    <tagletArtifact>
                                        <groupId>org.apache.maven.plugin-tools</groupId>
                                        <artifactId>maven-plugin-tools-javadoc</artifactId>
                                        <version>2.8</version>
                                    </tagletArtifact>
                                    <tagletArtifact>
                                        <groupId>org.codehaus.plexus</groupId>
                                        <artifactId>plexus-component-javadoc</artifactId>
                                        <version>1.5.5</version>
                                    </tagletArtifact>
                                </tagletArtifacts>
                            </configuration>
                            <reportSets>
                                <reportSet>
                                    <reports>
                                        <report>javadoc</report>
                                        <report>test-javadoc</report>
                                    </reports>
                                </reportSet>
                            </reportSets>
                        </plugin>
                        
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-jxr-plugin</artifactId>
                            <version>2.3</version>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-plugin-plugin</artifactId>
                            <version>3.1</version>
                            <configuration>
                                <requirements>
                                    <!--
                                    NOTE: Maven 2.x does not interpolate properties of the form project.*|pom.* so the Maven Plugin Plugin
                                    gets garbage when manually examining the config of the Maven Compiler Plugin.
                                    -->
                                    <jdk>${mojo.java.target}</jdk>
                                </requirements>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-pmd-plugin</artifactId>
                            <version>2.7.1</version>
                            <configuration>
                                <targetJdk>1.5</targetJdk>
                            </configuration>
                        </plugin>
                        <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-linkcheck-plugin</artifactId>
                            <version>1.1</version>
                            <configuration>
                                <excludedLinks>
                                    <excludedLink>../../images/codehaus-small.png</excludedLink>
                                    <excludedLink>../../images/mojo_logo.png</excludedLink>
                                    <excludedLink>plugin-info.html</excludedLink>
                                </excludedLinks>
                                <!--<excludedPages>
                                    <excludedPage>dependencies.html</excludedPage> 
                                </excludedPages>-->
                            </configuration>	       
                        </plugin>                        
                        <plugin>
                            <groupId>org.codehaus.mojo</groupId>
                            <artifactId>cobertura-maven-plugin</artifactId>
                            <version>2.5.1</version>
                            <configuration>
                                <instrumentation>
                                    <excludes>
                                        <exclude>**/HelpMojo.class</exclude>
                                    </excludes>
                                </instrumentation>    
                            </configuration>
                        </plugin>
                        
                       
                        <plugin>
                            
                            <groupId>org.codehaus.mojo</groupId>
                            <artifactId>taglist-maven-plugin</artifactId>
                            <version>2.4</version>
                        </plugin>
                        
                    </reportPlugins>
                </configuration>
            </plugin>
        </plugins>
    </build>

    <!--profiles>
        <profile>
            <id>tools.jar</id>
            <activation>
                <file>
                    <exists>${java.home}/../lib/tools.jar</exists>
                </file>
            </activation>
            <dependencies>
                <dependency>
                    <groupId>com.sun</groupId>
                    <artifactId>tools</artifactId>
                    <version>1.5.0</version>
                    <scope>system</scope>
                    <systemPath>${java.home}/../lib/tools.jar</systemPath>
                </dependency>
            </dependencies>
        </profile>
    </profiles-->

    <dependencies>
        <dependency>
            <groupId>org.apache.maven</groupId>
            <artifactId>maven-plugin-api</artifactId>
            <version>3.0.4</version>
        </dependency>
        <dependency>
            <groupId>org.codehaus.plexus</groupId>
            <artifactId>plexus-utils</artifactId>
            <version>3.0</version>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.maven.plugin-testing</groupId>
            <artifactId>maven-plugin-testing-harness</artifactId>
            <version>2.1</version>
            <scope>test</scope>
        </dependency>
        <dependency>
            <groupId>org.apache.ant</groupId>
            <artifactId>ant</artifactId>
            <version>1.8.2</version>
            <scope>compile</scope>
            <type>jar</type>
        </dependency>
        <dependency>
            <groupId>${project.groupId}</groupId>
            <artifactId>nbm-maven-harness</artifactId>
            <version>7.2</version>
        </dependency>
        
    </dependencies>
    <properties>
        <mojo.java.target>1.6</mojo.java.target>
    </properties>
</project>
