nb-repository-plugin
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.netbeans.utilities</groupId> <artifactId>nb-repository-plugin</artifactId> <version>14.3</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.netbeans.utilities</groupId> <artifactId>utilities-parent</artifactId> <version>14.3</version> </parent> <artifactId>nb-repository-plugin</artifactId> <packaging>maven-plugin</packaging> <name>Apache NetBeans Maven Utilities - NB Repository Plugin</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> <prerequisites> <maven>3.2.5</maven> </prerequisites> <!--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>${maven.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-tools</groupId> <artifactId>maven-plugin-annotations</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-utils</artifactId> </dependency> <dependency> <groupId>org.codehaus.plexus</groupId> <artifactId>plexus-xml</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-model</artifactId> <version>${maven.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-core</artifactId> <version>${maven.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.inject</groupId> <artifactId>javax.inject</artifactId> <version>${javax.inject.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-compat</artifactId> <version>${maven.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.maven.plugin-testing</groupId> <artifactId>maven-plugin-testing-harness</artifactId> <version>3.3.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-simple</artifactId> <version>2.0.17</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.ant</groupId> <artifactId>ant</artifactId> <type>jar</type> <scope>compile</scope> </dependency> <dependency> <groupId>${project.groupId}</groupId> <artifactId>nb-shared</artifactId> <version>${project.version}</version> </dependency> </dependencies> <!-- TODO need to override parent version value... I suppose this will eventually end up in mojo parent pom, check regularly --> <build> <plugins> <plugin> <artifactId>maven-enforcer-plugin</artifactId> <executions> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>${maven.minimum.version}</version> </requireMavenVersion> </rules> </configuration> </execution> </executions> </plugin> <plugin><!-- TODO need to override parent version value... I suppose this will eventually end up in mojo parent pom, check regularly --> <artifactId>maven-plugin-plugin</artifactId> <configuration> <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> <goalPrefix>nb-repository</goalPrefix> </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> <artifactId>maven-compiler-plugin</artifactId> <configuration> <showDeprecation>true</showDeprecation> </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>java18</artifactId> <version>1.0</version> </signature> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-site-plugin</artifactId> </plugin> </plugins> </build> <reporting> <plugins> <plugin> <artifactId>maven-project-info-reports-plugin</artifactId> <reportSets> <reportSet> <reports> <report>plugins</report> <!-- <report>cim</report> --> </reports> </reportSet> </reportSets> </plugin> <plugin> <artifactId>maven-checkstyle-plugin</artifactId> </plugin> <plugin> <artifactId>maven-jxr-plugin</artifactId> </plugin> <plugin> <artifactId>maven-plugin-report-plugin</artifactId> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <quiet>true</quiet> <source>8</source> <links> <!--<link>http://download-llnw.oracle.com/javaee/1.4/api/</link>--> <link>https://commons.apache.org/proper/commons-collections/javadocs/api-3.2.2/</link> <link>https://commons.apache.org/proper/commons-dbcp/apidocs/</link> <link>https://commons.apache.org/proper/commons-fileupload/apidocs/</link> <link>https://commons.apache.org/proper/commons-logging/apidocs/</link> <link>https://commons.apache.org/proper/commons-pool/apidocs/</link> <link>https://junit.org/junit4/javadoc/latest/</link> <link>https://logging.apache.org/log4j/1.x/apidocs/</link> <!-- unreachable site <link>http://jakarta.apache.org/regexp/apidocs/</link> --> <link>https://velocity.apache.org/engine/1.5/apidocs/</link> <link>https://maven.apache.org/ref/${maven.version}/maven-artifact/apidocs/</link> <link>https://maven.apache.org/ref/${maven.version}/maven-model/apidocs/</link> <link>https://maven.apache.org/ref/${maven.version}/maven-plugin-api/apidocs/</link> <link>https://maven.apache.org/shared/maven-reporting-api/apidocs/</link> <link>https://maven.apache.org/ref/${maven.version}/maven-settings/apidocs/</link> </links> </configuration> </plugin> <plugin> <artifactId>maven-pmd-plugin</artifactId> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>taglist-maven-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.rat</groupId> <artifactId>apache-rat-plugin</artifactId> </plugin> </plugins> </reporting> <profiles> <profile> <id>run-its</id> <build> <plugins> <plugin> <artifactId>maven-invoker-plugin</artifactId> <configuration> <debug>false</debug> <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo> <pomIncludes> <pomInclude>*/pom.xml</pomInclude> </pomIncludes> <postBuildHookScript>verify</postBuildHookScript> <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> <settingsFile>src/it/settings.xml</settingsFile> <goals> <!-- default build in netbeans IDE --> <goal>clean</goal> <goal>install</goal> </goals> <filterProperties> <netbeans.version>${netbeans.version.it}</netbeans.version> </filterProperties> </configuration> <executions> <execution> <id>integration-test</id> <goals> <goal>install</goal> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>