This is an automated email from the ASF dual-hosted git repository. hboutemy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-archetype.git
The following commit(s) were added to refs/heads/master by this push: new a09b055 fixed newlines broken in 35fdcafac67420f9062bfe9042e78d62276e93b2 a09b055 is described below commit a09b055bd68854e80de8386746bed1327fa7add0 Author: Hervé Boutemy <hbout...@apache.org> AuthorDate: Sun Apr 5 15:11:03 2020 +0200 fixed newlines broken in 35fdcafac67420f9062bfe9042e78d62276e93b2 --- archetype-common/pom.xml | 836 +++++++++++++------------- archetype-models/archetype-catalog/pom.xml | 118 ++-- archetype-models/archetype-descriptor/pom.xml | 120 ++-- archetype-models/pom.xml | 148 ++--- archetype-packaging/pom.xml | 70 +-- maven-archetype-plugin/pom.xml | 630 +++++++++---------- pom.xml | 688 ++++++++++----------- 7 files changed, 1305 insertions(+), 1305 deletions(-) diff --git a/archetype-common/pom.xml b/archetype-common/pom.xml index ea212ef..e4c714b 100644 --- a/archetype-common/pom.xml +++ b/archetype-common/pom.xml @@ -1,418 +1,418 @@ -<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>maven-archetype</artifactId> - <version>3.1.3-SNAPSHOT</version> - </parent> - - <artifactId>archetype-common</artifactId> - <packaging>jar</packaging> - - <name>Maven Archetype Common</name> - <description>Core Archetype classes.</description> - - <properties> - <cargoVersion>1.0-alpha-6</cargoVersion> - <checkstyle.violation.ignore>RedundantThrows,NewlineAtEndOfFile,ParameterNumber,MethodLength,FileLength,javadoc,EmptyBlock,InterfaceIsType</checkstyle.violation.ignore> - <checkstyle.excludes>**/MavenJDOMWriter.java,**/XMLOutputter.java,**/Format.java,**/NamespaceStack.java</checkstyle.excludes> - </properties> - - <dependencies> - <dependency> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>archetype-catalog</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>archetype-descriptor</artifactId> - </dependency> - <dependency> - <groupId>org.codehaus.groovy</groupId> - <artifactId>groovy</artifactId> - <version>2.4.16</version> - <scope>compile</scope> - </dependency> - <dependency> - <groupId>org.apache.ivy</groupId> - <artifactId>ivy</artifactId> - <version>2.4.0</version> - <scope>runtime</scope> - <exclusions> - <exclusion> - <groupId>*</groupId> - <artifactId>*</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>net.sourceforge.jchardet</groupId> - <artifactId>jchardet</artifactId> - </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-annotations</artifactId> - <version>1.5.5</version> - </dependency> - <dependency> - <groupId>jdom</groupId> - <artifactId>jdom</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-model</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-core</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-artifact</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-settings</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-settings-builder</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven.shared</groupId> - <artifactId>maven-invoker</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven.shared</groupId> - <artifactId>maven-artifact-transfer</artifactId> - </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - </dependency> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-velocity</artifactId> - </dependency> - <dependency> - <groupId>org.apache.velocity</groupId> - <artifactId>velocity</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven.wagon</groupId> - <artifactId>wagon-provider-api</artifactId> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-compat</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.maven.plugin-testing</groupId> - <artifactId>maven-plugin-testing-harness</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.sonatype.aether</groupId> - <artifactId>aether-connector-file</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.sonatype.aether</groupId> - <artifactId>aether-connector-wagon</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.apache.maven.wagon</groupId> - <artifactId>wagon-http</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.xmlunit</groupId> - <artifactId>xmlunit-matchers</artifactId> - <scope>test</scope> - </dependency> - </dependencies> - - <build> - <testResources> - <testResource> - <directory>src/test/resources</directory> - <filtering>true</filtering> - </testResource> - </testResources> - <plugins> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <configuration> - <excludes combine.children="append"> - <exclude>src/test/archetypes/**</exclude> - <exclude>src/test/repository/**/*.jar</exclude> - <exclude>src/test/resources/**/dummy</exclude> - </excludes> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.modello</groupId> - <artifactId>modello-maven-plugin</artifactId> - <configuration> - <version>1.0.0</version> - <models> - <model>src/main/mdo/archetype.mdo</model> - </models> - </configuration> - <executions> - <execution> - <id>default</id> - <goals> - <goal>java</goal> - <goal>xpp3-reader</goal> - <goal>xpp3-writer</goal> - <goal>xsd</goal> - </goals> - </execution> - <execution> - <id>site-docs</id> - <phase>pre-site</phase> - <goals> - <goal>xdoc</goal> - </goals> - </execution> - <execution> - <id>site-xsd</id> - <phase>pre-site</phase> - <goals> - <goal>xsd</goal> - </goals> - <configuration> - <outputDirectory>${basedir}/target/generated-site/resources/xsd</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-antrun-plugin</artifactId> - <dependencies> - <dependency> - <groupId>ant</groupId> - <artifactId>ant-antlr</artifactId> - <version>1.6.5</version> - </dependency> - </dependencies> - - <executions> - <execution> - <id>archetype-test</id> - <phase>process-test-resources</phase> - <configuration> - <target> - <property name="test.archetype.name" value="basic" /> - <property name="test.archetype.version" value="1.0" /> - - <property name="test.projects.repository" value="repositories/central" /> - <property name="test.archetype.name-version" value="${test.archetype.name}-${test.archetype.version}" /> - <property name="test.source.directory" value="${project.basedir}/src/test/archetypes/${test.archetype.name-version}" /> - <property name="test.target.directory" value="${project.build.directory}/test-classes/${test.projects.repository}/archetypes/${test.archetype.name}/${test.archetype.version}" /> - - <mkdir dir="${test.target.directory}" /> - - <jar destfile="${test.target.directory}/${test.archetype.name-version}.jar" basedir="${test.source.directory}/" /> - - <copy tofile="${test.target.directory}/${test.archetype.name-version}.pom" file="${test.source.directory}/META-INF/maven/archetypes/${test.archetype.name}/pom.xml" /> - </target> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - - <execution> - <id>archetype-test-partial</id> - <phase>process-test-resources</phase> - <configuration> - <target> - <property name="test.archetype.name" value="partial" /> - <property name="test.archetype.version" value="1.0" /> - - <property name="test.projects.repository" value="repositories/central" /> - <property name="test.archetype.name-version" value="${test.archetype.name}-${test.archetype.version}" /> - <property name="test.source.directory" value="${project.basedir}/src/test/archetypes/${test.archetype.name-version}" /> - <property name="test.target.directory" value="${project.build.directory}/test-classes/${test.projects.repository}/archetypes/${test.archetype.name}/${test.archetype.version}" /> - - <mkdir dir="${test.target.directory}" /> - - <jar destfile="${test.target.directory}/${test.archetype.name-version}.jar" basedir="${test.source.directory}/" /> - - <copy tofile="${test.target.directory}/${test.archetype.name-version}.pom" file="${test.source.directory}/META-INF/maven/archetypes/${test.archetype.name}/pom.xml" /> - </target> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - - <execution> - <id>archetype-test-site</id> - <phase>process-test-resources</phase> - <configuration> - <target> - <property name="test.archetype.name" value="site" /> - <property name="test.archetype.version" value="1.0" /> - - <property name="test.projects.repository" value="repositories/central" /> - <property name="test.archetype.name-version" value="${test.archetype.name}-${test.archetype.version}" /> - <property name="test.source.directory" value="${project.basedir}/src/test/archetypes/${test.archetype.name-version}" /> - <property name="test.target.directory" value="${project.build.directory}/test-classes/${test.projects.repository}/archetypes/${test.archetype.name}/${test.archetype.version}" /> - - <mkdir dir="${test.target.directory}" /> - - <jar destfile="${test.target.directory}/${test.archetype.name-version}.jar" basedir="${test.source.directory}/" /> - - <copy tofile="${test.target.directory}/${test.archetype.name-version}.pom" file="${test.source.directory}/META-INF/maven/archetypes/${test.archetype.name}/pom.xml" /> - </target> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - - <execution> - <id>archetype-test-old</id> - <phase>process-test-resources</phase> - <configuration> - <target> - <property name="test.archetype.name" value="old" /> - <property name="test.archetype.version" value="1.0" /> - - <property name="test.projects.repository" value="repositories/central" /> - <property name="test.archetype.name-version" value="${test.archetype.name}-${test.archetype.version}" /> - <property name="test.source.directory" value="${project.basedir}/src/test/archetypes/${test.archetype.name-version}" /> - <property name="test.target.directory" value="${project.build.directory}/test-classes/${test.projects.repository}/archetypes/${test.archetype.name}/${test.archetype.version}" /> - - <mkdir dir="${test.target.directory}" /> - - <jar destfile="${test.target.directory}/${test.archetype.name-version}.jar" basedir="${test.source.directory}/" /> - - <copy tofile="${test.target.directory}/${test.archetype.name-version}.pom" file="${test.source.directory}/META-INF/maven/archetypes/${test.archetype.name}/pom.xml" /> - </target> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - - <execution> - <id>archetype-test-fileset</id> - <phase>process-test-resources</phase> - <configuration> - <target> - <property name="test.archetype.name" value="fileset" /> - <property name="test.archetype.version" value="1.0" /> - - <property name="test.projects.repository" value="repositories/central" /> - <property name="test.archetype.name-version" value="${test.archetype.name}-${test.archetype.version}" /> - <property name="test.source.directory" value="${project.basedir}/src/test/archetypes/${test.archetype.name-version}" /> - <property name="test.target.directory" value="${project.build.directory}/test-classes/${test.projects.repository}/archetypes/${test.archetype.name}/${test.archetype.version}" /> - - <mkdir dir="${test.target.directory}" /> - - <jar destfile="${test.target.directory}/${test.archetype.name-version}.jar" basedir="${test.source.directory}/" /> - - <copy tofile="${test.target.directory}/${test.archetype.name-version}.pom" file="${test.source.directory}/META-INF/maven/archetypes/${test.archetype.name}/pom.xml" /> - </target> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - <execution> - <id>archetype-test-fileset-with-postscript</id> - <phase>process-test-resources</phase> - <configuration> - <target> - <property name="test.archetype.name" value="fileset_with_postscript" /> - <property name="test.archetype.version" value="1.0" /> - - <property name="test.projects.repository" value="repositories/central" /> - <property name="test.archetype.name-version" value="${test.archetype.name}-${test.archetype.version}" /> - <property name="test.source.directory" value="${project.basedir}/src/test/archetypes/${test.archetype.name-version}" /> - <property name="test.target.directory" value="${project.build.directory}/test-classes/${test.projects.repository}/archetypes/${test.archetype.name}/${test.archetype.version}" /> - - <mkdir dir="${test.target.directory}" /> - - <jar destfile="${test.target.directory}/${test.archetype.name-version}.jar" basedir="${test.source.directory}/" /> - - <copy tofile="${test.target.directory}/${test.archetype.name-version}.pom" file="${test.source.directory}/META-INF/maven/archetypes/${test.archetype.name}/pom.xml" /> - </target> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - <execution> - <id>repository-metadata</id> - <phase>process-test-resources</phase> - <configuration> - <target> - <property name="test.projects.source.directory" value="${test.projects.archetype}" /> - <property name="test.projects.target.directory" value="archetypes" /> - <property name="test.projects.repository" value="repositories/central" /> - - <mkdir dir="${project.build.directory}/test-classes/${test.projects.repository}/${test.projects.target.directory}" /> - </target> - </configuration> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-plugin</artifactId> - <configuration> - <trimStackTrace>false</trimStackTrace> - <systemPropertyVariables> - <maven.home>${maven.home}</maven.home> - <java.io.tmpdir>${project.build.outputDirectory}</java.io.tmpdir> - </systemPropertyVariables> - </configuration> - </plugin> - </plugins> - </build> -</project> +<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>maven-archetype</artifactId> + <version>3.1.3-SNAPSHOT</version> + </parent> + + <artifactId>archetype-common</artifactId> + <packaging>jar</packaging> + + <name>Maven Archetype Common</name> + <description>Core Archetype classes.</description> + + <properties> + <cargoVersion>1.0-alpha-6</cargoVersion> + <checkstyle.violation.ignore>RedundantThrows,NewlineAtEndOfFile,ParameterNumber,MethodLength,FileLength,javadoc,EmptyBlock,InterfaceIsType</checkstyle.violation.ignore> + <checkstyle.excludes>**/MavenJDOMWriter.java,**/XMLOutputter.java,**/Format.java,**/NamespaceStack.java</checkstyle.excludes> + </properties> + + <dependencies> + <dependency> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>archetype-catalog</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>archetype-descriptor</artifactId> + </dependency> + <dependency> + <groupId>org.codehaus.groovy</groupId> + <artifactId>groovy</artifactId> + <version>2.4.16</version> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.apache.ivy</groupId> + <artifactId>ivy</artifactId> + <version>2.4.0</version> + <scope>runtime</scope> + <exclusions> + <exclusion> + <groupId>*</groupId> + <artifactId>*</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>net.sourceforge.jchardet</groupId> + <artifactId>jchardet</artifactId> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-annotations</artifactId> + <version>1.5.5</version> + </dependency> + <dependency> + <groupId>jdom</groupId> + <artifactId>jdom</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-model</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-artifact</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-settings</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-settings-builder</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.shared</groupId> + <artifactId>maven-invoker</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.shared</groupId> + <artifactId>maven-artifact-transfer</artifactId> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-velocity</artifactId> + </dependency> + <dependency> + <groupId>org.apache.velocity</groupId> + <artifactId>velocity</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-provider-api</artifactId> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-compat</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.maven.plugin-testing</groupId> + <artifactId>maven-plugin-testing-harness</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.sonatype.aether</groupId> + <artifactId>aether-connector-file</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.sonatype.aether</groupId> + <artifactId>aether-connector-wagon</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-http</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.xmlunit</groupId> + <artifactId>xmlunit-matchers</artifactId> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <testResources> + <testResource> + <directory>src/test/resources</directory> + <filtering>true</filtering> + </testResource> + </testResources> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes combine.children="append"> + <exclude>src/test/archetypes/**</exclude> + <exclude>src/test/repository/**/*.jar</exclude> + <exclude>src/test/resources/**/dummy</exclude> + </excludes> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.modello</groupId> + <artifactId>modello-maven-plugin</artifactId> + <configuration> + <version>1.0.0</version> + <models> + <model>src/main/mdo/archetype.mdo</model> + </models> + </configuration> + <executions> + <execution> + <id>default</id> + <goals> + <goal>java</goal> + <goal>xpp3-reader</goal> + <goal>xpp3-writer</goal> + <goal>xsd</goal> + </goals> + </execution> + <execution> + <id>site-docs</id> + <phase>pre-site</phase> + <goals> + <goal>xdoc</goal> + </goals> + </execution> + <execution> + <id>site-xsd</id> + <phase>pre-site</phase> + <goals> + <goal>xsd</goal> + </goals> + <configuration> + <outputDirectory>${basedir}/target/generated-site/resources/xsd</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <dependencies> + <dependency> + <groupId>ant</groupId> + <artifactId>ant-antlr</artifactId> + <version>1.6.5</version> + </dependency> + </dependencies> + + <executions> + <execution> + <id>archetype-test</id> + <phase>process-test-resources</phase> + <configuration> + <target> + <property name="test.archetype.name" value="basic" /> + <property name="test.archetype.version" value="1.0" /> + + <property name="test.projects.repository" value="repositories/central" /> + <property name="test.archetype.name-version" value="${test.archetype.name}-${test.archetype.version}" /> + <property name="test.source.directory" value="${project.basedir}/src/test/archetypes/${test.archetype.name-version}" /> + <property name="test.target.directory" value="${project.build.directory}/test-classes/${test.projects.repository}/archetypes/${test.archetype.name}/${test.archetype.version}" /> + + <mkdir dir="${test.target.directory}" /> + + <jar destfile="${test.target.directory}/${test.archetype.name-version}.jar" basedir="${test.source.directory}/" /> + + <copy tofile="${test.target.directory}/${test.archetype.name-version}.pom" file="${test.source.directory}/META-INF/maven/archetypes/${test.archetype.name}/pom.xml" /> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + + <execution> + <id>archetype-test-partial</id> + <phase>process-test-resources</phase> + <configuration> + <target> + <property name="test.archetype.name" value="partial" /> + <property name="test.archetype.version" value="1.0" /> + + <property name="test.projects.repository" value="repositories/central" /> + <property name="test.archetype.name-version" value="${test.archetype.name}-${test.archetype.version}" /> + <property name="test.source.directory" value="${project.basedir}/src/test/archetypes/${test.archetype.name-version}" /> + <property name="test.target.directory" value="${project.build.directory}/test-classes/${test.projects.repository}/archetypes/${test.archetype.name}/${test.archetype.version}" /> + + <mkdir dir="${test.target.directory}" /> + + <jar destfile="${test.target.directory}/${test.archetype.name-version}.jar" basedir="${test.source.directory}/" /> + + <copy tofile="${test.target.directory}/${test.archetype.name-version}.pom" file="${test.source.directory}/META-INF/maven/archetypes/${test.archetype.name}/pom.xml" /> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + + <execution> + <id>archetype-test-site</id> + <phase>process-test-resources</phase> + <configuration> + <target> + <property name="test.archetype.name" value="site" /> + <property name="test.archetype.version" value="1.0" /> + + <property name="test.projects.repository" value="repositories/central" /> + <property name="test.archetype.name-version" value="${test.archetype.name}-${test.archetype.version}" /> + <property name="test.source.directory" value="${project.basedir}/src/test/archetypes/${test.archetype.name-version}" /> + <property name="test.target.directory" value="${project.build.directory}/test-classes/${test.projects.repository}/archetypes/${test.archetype.name}/${test.archetype.version}" /> + + <mkdir dir="${test.target.directory}" /> + + <jar destfile="${test.target.directory}/${test.archetype.name-version}.jar" basedir="${test.source.directory}/" /> + + <copy tofile="${test.target.directory}/${test.archetype.name-version}.pom" file="${test.source.directory}/META-INF/maven/archetypes/${test.archetype.name}/pom.xml" /> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + + <execution> + <id>archetype-test-old</id> + <phase>process-test-resources</phase> + <configuration> + <target> + <property name="test.archetype.name" value="old" /> + <property name="test.archetype.version" value="1.0" /> + + <property name="test.projects.repository" value="repositories/central" /> + <property name="test.archetype.name-version" value="${test.archetype.name}-${test.archetype.version}" /> + <property name="test.source.directory" value="${project.basedir}/src/test/archetypes/${test.archetype.name-version}" /> + <property name="test.target.directory" value="${project.build.directory}/test-classes/${test.projects.repository}/archetypes/${test.archetype.name}/${test.archetype.version}" /> + + <mkdir dir="${test.target.directory}" /> + + <jar destfile="${test.target.directory}/${test.archetype.name-version}.jar" basedir="${test.source.directory}/" /> + + <copy tofile="${test.target.directory}/${test.archetype.name-version}.pom" file="${test.source.directory}/META-INF/maven/archetypes/${test.archetype.name}/pom.xml" /> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + + <execution> + <id>archetype-test-fileset</id> + <phase>process-test-resources</phase> + <configuration> + <target> + <property name="test.archetype.name" value="fileset" /> + <property name="test.archetype.version" value="1.0" /> + + <property name="test.projects.repository" value="repositories/central" /> + <property name="test.archetype.name-version" value="${test.archetype.name}-${test.archetype.version}" /> + <property name="test.source.directory" value="${project.basedir}/src/test/archetypes/${test.archetype.name-version}" /> + <property name="test.target.directory" value="${project.build.directory}/test-classes/${test.projects.repository}/archetypes/${test.archetype.name}/${test.archetype.version}" /> + + <mkdir dir="${test.target.directory}" /> + + <jar destfile="${test.target.directory}/${test.archetype.name-version}.jar" basedir="${test.source.directory}/" /> + + <copy tofile="${test.target.directory}/${test.archetype.name-version}.pom" file="${test.source.directory}/META-INF/maven/archetypes/${test.archetype.name}/pom.xml" /> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + <execution> + <id>archetype-test-fileset-with-postscript</id> + <phase>process-test-resources</phase> + <configuration> + <target> + <property name="test.archetype.name" value="fileset_with_postscript" /> + <property name="test.archetype.version" value="1.0" /> + + <property name="test.projects.repository" value="repositories/central" /> + <property name="test.archetype.name-version" value="${test.archetype.name}-${test.archetype.version}" /> + <property name="test.source.directory" value="${project.basedir}/src/test/archetypes/${test.archetype.name-version}" /> + <property name="test.target.directory" value="${project.build.directory}/test-classes/${test.projects.repository}/archetypes/${test.archetype.name}/${test.archetype.version}" /> + + <mkdir dir="${test.target.directory}" /> + + <jar destfile="${test.target.directory}/${test.archetype.name-version}.jar" basedir="${test.source.directory}/" /> + + <copy tofile="${test.target.directory}/${test.archetype.name-version}.pom" file="${test.source.directory}/META-INF/maven/archetypes/${test.archetype.name}/pom.xml" /> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + <execution> + <id>repository-metadata</id> + <phase>process-test-resources</phase> + <configuration> + <target> + <property name="test.projects.source.directory" value="${test.projects.archetype}" /> + <property name="test.projects.target.directory" value="archetypes" /> + <property name="test.projects.repository" value="repositories/central" /> + + <mkdir dir="${project.build.directory}/test-classes/${test.projects.repository}/${test.projects.target.directory}" /> + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <trimStackTrace>false</trimStackTrace> + <systemPropertyVariables> + <maven.home>${maven.home}</maven.home> + <java.io.tmpdir>${project.build.outputDirectory}</java.io.tmpdir> + </systemPropertyVariables> + </configuration> + </plugin> + </plugins> + </build> +</project> diff --git a/archetype-models/archetype-catalog/pom.xml b/archetype-models/archetype-catalog/pom.xml index 03dd947..1195dce 100644 --- a/archetype-models/archetype-catalog/pom.xml +++ b/archetype-models/archetype-catalog/pom.xml @@ -1,59 +1,59 @@ -<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>archetype-models</artifactId> - <version>3.1.3-SNAPSHOT</version> - </parent> - - <artifactId>archetype-catalog</artifactId> - <packaging>jar</packaging> - - <name>Maven Archetype Catalog Model</name> - <description>Core Archetype Catalog Model.</description> - - <dependencies> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>org.codehaus.modello</groupId> - <artifactId>modello-maven-plugin</artifactId> - <configuration> - <models> - <model>src/main/mdo/archetype-catalog.mdo</model> - </models> - </configuration> - </plugin> - </plugins> - </build> - -</project> +<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>archetype-models</artifactId> + <version>3.1.3-SNAPSHOT</version> + </parent> + + <artifactId>archetype-catalog</artifactId> + <packaging>jar</packaging> + + <name>Maven Archetype Catalog Model</name> + <description>Core Archetype Catalog Model.</description> + + <dependencies> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.modello</groupId> + <artifactId>modello-maven-plugin</artifactId> + <configuration> + <models> + <model>src/main/mdo/archetype-catalog.mdo</model> + </models> + </configuration> + </plugin> + </plugins> + </build> + +</project> diff --git a/archetype-models/archetype-descriptor/pom.xml b/archetype-models/archetype-descriptor/pom.xml index 9f70a83..f5339d9 100644 --- a/archetype-models/archetype-descriptor/pom.xml +++ b/archetype-models/archetype-descriptor/pom.xml @@ -1,60 +1,60 @@ -<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>archetype-models</artifactId> - <version>3.1.3-SNAPSHOT</version> - </parent> - - <artifactId>archetype-descriptor</artifactId> - <packaging>jar</packaging> - - <name>Maven Archetype Descriptor Model</name> - <description>Core Archetype Descriptor Model.</description> - - <dependencies> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>org.codehaus.modello</groupId> - <artifactId>modello-maven-plugin</artifactId> - <configuration> - <version>1.1.0</version> - <models> - <model>src/main/mdo/archetype-descriptor.mdo</model> - </models> - </configuration> - </plugin> - </plugins> - </build> - -</project> +<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>archetype-models</artifactId> + <version>3.1.3-SNAPSHOT</version> + </parent> + + <artifactId>archetype-descriptor</artifactId> + <packaging>jar</packaging> + + <name>Maven Archetype Descriptor Model</name> + <description>Core Archetype Descriptor Model.</description> + + <dependencies> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.modello</groupId> + <artifactId>modello-maven-plugin</artifactId> + <configuration> + <version>1.1.0</version> + <models> + <model>src/main/mdo/archetype-descriptor.mdo</model> + </models> + </configuration> + </plugin> + </plugins> + </build> + +</project> diff --git a/archetype-models/pom.xml b/archetype-models/pom.xml index 031c991..3cb50a7 100644 --- a/archetype-models/pom.xml +++ b/archetype-models/pom.xml @@ -1,74 +1,74 @@ -<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>maven-archetype</artifactId> - <version>3.1.3-SNAPSHOT</version> - </parent> - - <artifactId>archetype-models</artifactId> - <packaging>pom</packaging> - - <name>Maven Archetype Models</name> - <description>Core Archetype Models.</description> - - <modules> - <module>archetype-catalog</module> - <module>archetype-descriptor</module> - </modules> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.codehaus.modello</groupId> - <artifactId>modello-maven-plugin</artifactId> - <configuration> - <version>1.0.0</version> - <useJava5>true</useJava5> - </configuration> - <executions> - <execution> - <id>default</id> - <goals> - <goal>java</goal> - <goal>xpp3-reader</goal> - <goal>xpp3-writer</goal> - <goal>xsd</goal> - </goals> - </execution> - <execution> - <id>site-docs</id> - <phase>pre-site</phase> - <goals> - <goal>xdoc</goal> - </goals> - </execution> - <execution> - <id>site-xsd</id> - <phase>pre-site</phase> - <goals> - <goal>xsd</goal> - </goals> - <configuration> - <outputDirectory>${basedir}/target/generated-site/resources/xsd</outputDirectory> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </pluginManagement> - </build> -</project> +<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>maven-archetype</artifactId> + <version>3.1.3-SNAPSHOT</version> + </parent> + + <artifactId>archetype-models</artifactId> + <packaging>pom</packaging> + + <name>Maven Archetype Models</name> + <description>Core Archetype Models.</description> + + <modules> + <module>archetype-catalog</module> + <module>archetype-descriptor</module> + </modules> + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.codehaus.modello</groupId> + <artifactId>modello-maven-plugin</artifactId> + <configuration> + <version>1.0.0</version> + <useJava5>true</useJava5> + </configuration> + <executions> + <execution> + <id>default</id> + <goals> + <goal>java</goal> + <goal>xpp3-reader</goal> + <goal>xpp3-writer</goal> + <goal>xsd</goal> + </goals> + </execution> + <execution> + <id>site-docs</id> + <phase>pre-site</phase> + <goals> + <goal>xdoc</goal> + </goals> + </execution> + <execution> + <id>site-xsd</id> + <phase>pre-site</phase> + <goals> + <goal>xsd</goal> + </goals> + <configuration> + <outputDirectory>${basedir}/target/generated-site/resources/xsd</outputDirectory> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </pluginManagement> + </build> +</project> diff --git a/archetype-packaging/pom.xml b/archetype-packaging/pom.xml index 2fe9081..dafd5c5 100644 --- a/archetype-packaging/pom.xml +++ b/archetype-packaging/pom.xml @@ -1,36 +1,36 @@ -<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>maven-archetype</artifactId> - <version>3.1.3-SNAPSHOT</version> - </parent> - - <artifactId>archetype-packaging</artifactId> - - <name>Maven Archetype Packaging</name> - <description>'maven-archetype' packaging configuration for archetypes.</description> - +<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>maven-archetype</artifactId> + <version>3.1.3-SNAPSHOT</version> + </parent> + + <artifactId>archetype-packaging</artifactId> + + <name>Maven Archetype Packaging</name> + <description>'maven-archetype' packaging configuration for archetypes.</description> + </project> \ No newline at end of file diff --git a/maven-archetype-plugin/pom.xml b/maven-archetype-plugin/pom.xml index b3eff3c..570e02c 100644 --- a/maven-archetype-plugin/pom.xml +++ b/maven-archetype-plugin/pom.xml @@ -1,315 +1,315 @@ -<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>maven-archetype</artifactId> - <version>3.1.3-SNAPSHOT</version> - </parent> - - <!-- - The purpose of having groupId different from other - modules is to call mvn archetype:* - w/out the need to add a plugin group in settings - --> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-archetype-plugin</artifactId> - <packaging>maven-plugin</packaging> - - <name>Maven Archetype Plugin</name> - - <properties> - <checkstyle.violation.ignore>RedundantThrows,NewlineAtEndOfFile,ParameterNumber,MethodLength,FileLength,javadoc,LineLength</checkstyle.violation.ignore> - </properties> - - <prerequisites> - <maven>${mavenVersion}</maven> - </prerequisites> - - <dependencies> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-compat</artifactId> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>archetype-catalog</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>archetype-descriptor</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>archetype-common</artifactId> - </dependency> - <!-- Required for the integration tests, dependency is only to define build order --> - <dependency> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>archetype-packaging</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-interactivity-api</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-plugin-api</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-core</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-model</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-settings</artifactId> - </dependency> - <!-- dependencies to annotations --> - <dependency> - <groupId>org.apache.maven.plugin-tools</groupId> - <artifactId>maven-plugin-annotations</artifactId> - <optional>true</optional> - </dependency> - <dependency> - <groupId>org.apache.maven.shared</groupId> - <artifactId>maven-invoker</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven.shared</groupId> - <artifactId>maven-artifact-transfer</artifactId> - </dependency> - <dependency> - <groupId>easymock</groupId> - <artifactId>easymock</artifactId> - <version>1.2_Java1.3</version><!-- with 2.0 compilation failure --> - <scope>test</scope> - </dependency> - <dependency> - <groupId>commons-collections</groupId> - <artifactId>commons-collections</artifactId> - </dependency> - <dependency> - <groupId>org.apache.maven.shared</groupId> - <artifactId>maven-script-interpreter</artifactId> - <version>1.0</version> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <scope>test</scope> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <configuration> - <excludes combine.children="append"> - <exclude>src/it/projects/**/.checkstyle</exclude> - <exclude>src/it/projects/**/.classpath</exclude> - <exclude>src/it/projects/**/dummy</exclude> - <exclude>src/it/projects/**/META-INF/MANIFEST.MF</exclude> - <exclude>src/it/projects/**/*.ogg</exclude> - </excludes> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-plugin-plugin</artifactId> - <executions> - <execution> - <id>default-descriptor</id> - <phase>process-classes</phase> - </execution> - <execution> - <id>generate-helpmojo</id> - <goals> - <goal>helpmojo</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-plugin-plugin</artifactId> - <reportSets> - <reportSet> - <reports> - <report>report</report> - </reports> - </reportSet> - </reportSets> - </plugin> - </plugins> - </reporting> - - <profiles> - <profile> - <id>run-its</id> - <properties> - <maven.it.failure.ignore>false</maven.it.failure.ignore> - </properties> - <build> - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>mrm-maven-plugin</artifactId> - <version>1.2.0</version> - <executions> - <execution> - <id>mirror</id> - <goals> - <goal>start</goal> - <goal>stop</goal> - </goals> - <configuration> - <repositories> - <mockRepo> - <source>src/it/mrm/repository</source> - <cloneTo>target/mock-repo</cloneTo> - </mockRepo> - <proxyRepo /> - </repositories> - </configuration> - </execution> - <execution> - <id>archetype-repository</id> - <goals> - <goal>start</goal> - <goal>stop</goal> - </goals> - <configuration> - <propertyName>archetype-repo.proxy.url</propertyName> - <repositories> - <mockRepo> - <source>src/it/mrm/archetype-repository</source> - <cloneTo>target/archetype-repo</cloneTo> - </mockRepo> - </repositories> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-invoker-plugin</artifactId> - <version>3.2.0</version> - <executions> - <execution> - <id>invoker-install</id> - <goals> - <goal>install</goal> - </goals> - </execution> - <execution> - <id>invoker-it</id> - <goals> - <goal>integration-test</goal> - </goals> - <configuration> - <showErrors>true</showErrors> - <debug>true</debug> - <projectsDirectory>src/it/projects</projectsDirectory> - <cloneClean>true</cloneClean> - <cloneProjectsTo>${project.build.directory}/it/projects</cloneProjectsTo> - <pomIncludes> - <pomInclude>*</pomInclude> - </pomIncludes> - <preBuildHookScript>setup</preBuildHookScript> - <postBuildHookScript>verify</postBuildHookScript> - <settingsFile>src/it/mrm/settings.xml</settingsFile> - <filterProperties> - <repository.proxy.url>${mrm.repository.url}</repository.proxy.url> - <archetype-repo.proxy.url>${archetype-repo.proxy.url}</archetype-repo.proxy.url> - </filterProperties> - <properties> - <maven.compiler.source>${maven.compiler.source}</maven.compiler.source> - <maven.compiler.target>${maven.compiler.target}</maven.compiler.target> - <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central --> - <https.protocols>${https.protocols}</https.protocols> - </properties> - </configuration> - </execution> - <execution> - <id>invoker-verify</id> - <goals> - <goal>verify</goal> - </goals> - <configuration> - <ignoreFailures>${maven.it.failure.ignore}</ignoreFailures> - </configuration> - </execution> - </executions> - <configuration> - <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> - </configuration> - </plugin> - </plugins> - </build> - </profile> - <profile> - <id>ciProfile</id> - <activation> - <property> - <name>enableCiProfile</name> - <value>true</value> - </property> - </activation> - <build> - <plugins> - <plugin> - <artifactId>maven-docck-plugin</artifactId> - <version>1.0-beta-2</version> - <executions> - <execution> - <goals> - <goal>check</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> -</project> +<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>maven-archetype</artifactId> + <version>3.1.3-SNAPSHOT</version> + </parent> + + <!-- + The purpose of having groupId different from other + modules is to call mvn archetype:* + w/out the need to add a plugin group in settings + --> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-archetype-plugin</artifactId> + <packaging>maven-plugin</packaging> + + <name>Maven Archetype Plugin</name> + + <properties> + <checkstyle.violation.ignore>RedundantThrows,NewlineAtEndOfFile,ParameterNumber,MethodLength,FileLength,javadoc,LineLength</checkstyle.violation.ignore> + </properties> + + <prerequisites> + <maven>${mavenVersion}</maven> + </prerequisites> + + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-compat</artifactId> + <scope>test</scope> + </dependency> + + <dependency> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>archetype-catalog</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>archetype-descriptor</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>archetype-common</artifactId> + </dependency> + <!-- Required for the integration tests, dependency is only to define build order --> + <dependency> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>archetype-packaging</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-interactivity-api</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-core</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-model</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-settings</artifactId> + </dependency> + <!-- dependencies to annotations --> + <dependency> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-annotations</artifactId> + <optional>true</optional> + </dependency> + <dependency> + <groupId>org.apache.maven.shared</groupId> + <artifactId>maven-invoker</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.shared</groupId> + <artifactId>maven-artifact-transfer</artifactId> + </dependency> + <dependency> + <groupId>easymock</groupId> + <artifactId>easymock</artifactId> + <version>1.2_Java1.3</version><!-- with 2.0 compilation failure --> + <scope>test</scope> + </dependency> + <dependency> + <groupId>commons-collections</groupId> + <artifactId>commons-collections</artifactId> + </dependency> + <dependency> + <groupId>org.apache.maven.shared</groupId> + <artifactId>maven-script-interpreter</artifactId> + <version>1.0</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes combine.children="append"> + <exclude>src/it/projects/**/.checkstyle</exclude> + <exclude>src/it/projects/**/.classpath</exclude> + <exclude>src/it/projects/**/dummy</exclude> + <exclude>src/it/projects/**/META-INF/MANIFEST.MF</exclude> + <exclude>src/it/projects/**/*.ogg</exclude> + </excludes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-plugin-plugin</artifactId> + <executions> + <execution> + <id>default-descriptor</id> + <phase>process-classes</phase> + </execution> + <execution> + <id>generate-helpmojo</id> + <goals> + <goal>helpmojo</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-plugin-plugin</artifactId> + <reportSets> + <reportSet> + <reports> + <report>report</report> + </reports> + </reportSet> + </reportSets> + </plugin> + </plugins> + </reporting> + + <profiles> + <profile> + <id>run-its</id> + <properties> + <maven.it.failure.ignore>false</maven.it.failure.ignore> + </properties> + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>mrm-maven-plugin</artifactId> + <version>1.2.0</version> + <executions> + <execution> + <id>mirror</id> + <goals> + <goal>start</goal> + <goal>stop</goal> + </goals> + <configuration> + <repositories> + <mockRepo> + <source>src/it/mrm/repository</source> + <cloneTo>target/mock-repo</cloneTo> + </mockRepo> + <proxyRepo /> + </repositories> + </configuration> + </execution> + <execution> + <id>archetype-repository</id> + <goals> + <goal>start</goal> + <goal>stop</goal> + </goals> + <configuration> + <propertyName>archetype-repo.proxy.url</propertyName> + <repositories> + <mockRepo> + <source>src/it/mrm/archetype-repository</source> + <cloneTo>target/archetype-repo</cloneTo> + </mockRepo> + </repositories> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-invoker-plugin</artifactId> + <version>3.2.0</version> + <executions> + <execution> + <id>invoker-install</id> + <goals> + <goal>install</goal> + </goals> + </execution> + <execution> + <id>invoker-it</id> + <goals> + <goal>integration-test</goal> + </goals> + <configuration> + <showErrors>true</showErrors> + <debug>true</debug> + <projectsDirectory>src/it/projects</projectsDirectory> + <cloneClean>true</cloneClean> + <cloneProjectsTo>${project.build.directory}/it/projects</cloneProjectsTo> + <pomIncludes> + <pomInclude>*</pomInclude> + </pomIncludes> + <preBuildHookScript>setup</preBuildHookScript> + <postBuildHookScript>verify</postBuildHookScript> + <settingsFile>src/it/mrm/settings.xml</settingsFile> + <filterProperties> + <repository.proxy.url>${mrm.repository.url}</repository.proxy.url> + <archetype-repo.proxy.url>${archetype-repo.proxy.url}</archetype-repo.proxy.url> + </filterProperties> + <properties> + <maven.compiler.source>${maven.compiler.source}</maven.compiler.source> + <maven.compiler.target>${maven.compiler.target}</maven.compiler.target> + <!-- e.g. ensure that Java7 picks up TLSv1.2 when connecting with Central --> + <https.protocols>${https.protocols}</https.protocols> + </properties> + </configuration> + </execution> + <execution> + <id>invoker-verify</id> + <goals> + <goal>verify</goal> + </goals> + <configuration> + <ignoreFailures>${maven.it.failure.ignore}</ignoreFailures> + </configuration> + </execution> + </executions> + <configuration> + <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> + </configuration> + </plugin> + </plugins> + </build> + </profile> + <profile> + <id>ciProfile</id> + <activation> + <property> + <name>enableCiProfile</name> + <value>true</value> + </property> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-docck-plugin</artifactId> + <version>1.0-beta-2</version> + <executions> + <execution> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> +</project> diff --git a/pom.xml b/pom.xml index 0172fda..d3a9af0 100644 --- a/pom.xml +++ b/pom.xml @@ -1,344 +1,344 @@ -<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - - <parent> - <groupId>org.apache.maven</groupId> - <artifactId>maven-parent</artifactId> - <version>34</version> - <relativePath /> - </parent> - - <groupId>org.apache.maven.archetype</groupId> - <artifactId>maven-archetype</artifactId> - <version>3.1.3-SNAPSHOT</version> - <packaging>pom</packaging> - - <name>Maven Archetype</name> - <description>Maven Archetype is a set of tools to deal with archetypes, i.e. an abstract representation of a kind of project - that can be instantiated into a concrete customized Maven project. - An archetype knows which files will be part of the instantiated project and which properties to fill to properly customize - the project. - </description> - <url>https://maven.apache.org/archetype</url> - <inceptionYear>2007</inceptionYear> - - <modules> - <module>archetype-models</module> - <module>archetype-common</module> - <module>maven-archetype-plugin</module> - <module>archetype-packaging</module> - </modules> - - <scm> - <connection>${maven.archetype.scm.devConnection}</connection> - <developerConnection>${maven.archetype.scm.devConnection}</developerConnection> - <url>https://github.com/apache/maven-archetype/tree/${project.scm.tag}</url> - <tag>master</tag> - </scm> - <issueManagement> - <system>jira</system> - <url>https://issues.apache.org/jira/browse/ARCHETYPE</url> - </issueManagement> - <ciManagement> - <system>Jenkins</system> - <url>https://builds.apache.org/job/maven-box/job/maven-archetype/</url> - </ciManagement> - - <distributionManagement> - <site> - <id>apache.website</id> - <url>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/${maven.site.path}</url> - </site> - </distributionManagement> - - <properties> - <maven.archetype.scm.devConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-archetype.git</maven.archetype.scm.devConnection> - <mavenVersion>3.0</mavenVersion> - <javaVersion>7</javaVersion> - <netbeans.hint.useExternalMaven>true</netbeans.hint.useExternalMaven> - <wagonVersion>3.3.3</wagonVersion> - <surefire.version>2.21.0</surefire.version> - <maven.site.path>archetype-archives/archetype-LATEST</maven.site.path> - <project.build.outputTimestamp>2020-02-02T18:03:59Z</project.build.outputTimestamp> - </properties> - - <dependencyManagement> - <dependencies> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-compat</artifactId> - <version>${mavenVersion}</version> - </dependency> - <dependency> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>archetype-catalog</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>archetype-descriptor</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>archetype-common</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.maven.archetype</groupId> - <artifactId>archetype-packaging</artifactId> - <version>${project.version}</version> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-artifact</artifactId> - <version>${mavenVersion}</version> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-core</artifactId> - <version>${mavenVersion}</version> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-model</artifactId> - <version>${mavenVersion}</version> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-plugin-api</artifactId> - <version>${mavenVersion}</version> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-settings</artifactId> - <version>${mavenVersion}</version> - </dependency> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-settings-builder</artifactId> - <version>${mavenVersion}</version> - </dependency> - <dependency> - <groupId>org.apache.maven.shared</groupId> - <artifactId>maven-invoker</artifactId> - <version>3.0.1</version> - </dependency> - <dependency> - <groupId>org.apache.maven.shared</groupId> - <artifactId>maven-artifact-transfer</artifactId> - <version>0.11.0</version> - </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - <version>3.2.0</version> - </dependency> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>2.2</version> - </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-interactivity-api</artifactId> - <version>1.0-alpha-6</version> - <exclusions> - <exclusion> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-api</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-velocity</artifactId> - <version>1.1.8</version> - <exclusions> - <exclusion> - <groupId>velocity</groupId> - <artifactId>velocity</artifactId> - </exclusion> - <exclusion> - <groupId>velocity</groupId> - <artifactId>velocity-api</artifactId> - </exclusion> - <exclusion> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-container-default</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>jdom</groupId> - <artifactId>jdom</artifactId> - <version>1.0</version> - </dependency> - <dependency> - <groupId>org.apache.velocity</groupId> - <artifactId>velocity</artifactId> - <version>1.7</version> - </dependency> - <dependency> - <groupId>net.sourceforge.jchardet</groupId> - <artifactId>jchardet</artifactId> - <version>1.0</version> - </dependency> - <dependency> - <groupId>commons-collections</groupId> - <artifactId>commons-collections</artifactId> - <version>3.2.1</version> - </dependency> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</version> - </dependency> - <dependency> - <groupId>org.apache.maven.plugin-testing</groupId> - <artifactId>maven-plugin-testing-harness</artifactId> - <version>2.1</version> - </dependency> - <dependency> - <groupId>org.apache.maven.wagon</groupId> - <artifactId>wagon-provider-api</artifactId> - <version>${wagonVersion}</version> - </dependency> - <dependency> - <groupId>org.apache.maven.wagon</groupId> - <artifactId>wagon-http</artifactId> - <version>${wagonVersion}</version> - </dependency> - <dependency> - <groupId>org.sonatype.aether</groupId> - <artifactId>aether-connector-file</artifactId> - <version>1.7</version> - </dependency> - <dependency> - <groupId>org.sonatype.aether</groupId> - <artifactId>aether-connector-wagon</artifactId> - <version>1.7</version> - </dependency> - - <dependency> - <groupId>org.xmlunit</groupId> - <artifactId>xmlunit-matchers</artifactId> - <version>2.6.0</version> - </dependency> - </dependencies> - </dependencyManagement> - - <build> - <pluginManagement> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-site-plugin</artifactId> - <configuration> - <topSiteURL>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/${maven.site.path}</topSiteURL> - </configuration> - </plugin> - <plugin> - <groupId>org.codehaus.modello</groupId> - <artifactId>modello-maven-plugin</artifactId> - <version>1.9.1</version> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-release-plugin</artifactId> - <configuration> - <preparationGoals>clean install</preparationGoals> - </configuration> - </plugin> - <plugin> - <groupId>org.mortbay.jetty</groupId> - <artifactId>maven-jetty-plugin</artifactId> - <version>6.1.6</version> - </plugin> - </plugins> - </pluginManagement> - <plugins> - <plugin> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-component-metadata</artifactId> - <executions> - <execution> - <goals> - <goal>generate-metadata</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <configuration> - <excludes combine.children="append"> - <exclude>README.txt</exclude> - <exclude>*.sh</exclude> - <exclude>archetype-samples/**</exclude> - <exclude>**/*.sha1</exclude> - <!-- exclude template files for generated content --> - <exclude>src/main/resources/org/apache/maven/archetype/creator/*</exclude> - <!-- exclude some classes coming from dom4j --> - <exclude>**/Format.java</exclude> - <exclude>**/NamespaceStack.java</exclude> - <exclude>**/XMLOutputter.java</exclude> - <!-- disable test directories --> - <exclude>src/it/**/goal.txt</exclude> - <exclude>.repository/**</exclude><!-- for CI --> - <!-- Used by JEnv --> - <exclude>.java-version</exclude> - </excludes> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-enforcer-plugin</artifactId> - <dependencies> - <dependency> - <groupId>org.codehaus.mojo</groupId> - <artifactId>extra-enforcer-rules</artifactId> - <version>1.0-beta-6</version> - </dependency> - </dependencies> - </plugin> - </plugins> - </build> - - <profiles> - <profile> - <id>reporting</id> - <reporting> - <plugins> - <plugin> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-maven-plugin</artifactId> - <version>1.3.8</version> - </plugin> - </plugins> - </reporting> - </profile> - </profiles> -</project> +<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.maven</groupId> + <artifactId>maven-parent</artifactId> + <version>34</version> + <relativePath /> + </parent> + + <groupId>org.apache.maven.archetype</groupId> + <artifactId>maven-archetype</artifactId> + <version>3.1.3-SNAPSHOT</version> + <packaging>pom</packaging> + + <name>Maven Archetype</name> + <description>Maven Archetype is a set of tools to deal with archetypes, i.e. an abstract representation of a kind of project + that can be instantiated into a concrete customized Maven project. + An archetype knows which files will be part of the instantiated project and which properties to fill to properly customize + the project. + </description> + <url>https://maven.apache.org/archetype</url> + <inceptionYear>2007</inceptionYear> + + <modules> + <module>archetype-models</module> + <module>archetype-common</module> + <module>maven-archetype-plugin</module> + <module>archetype-packaging</module> + </modules> + + <scm> + <connection>${maven.archetype.scm.devConnection}</connection> + <developerConnection>${maven.archetype.scm.devConnection}</developerConnection> + <url>https://github.com/apache/maven-archetype/tree/${project.scm.tag}</url> + <tag>master</tag> + </scm> + <issueManagement> + <system>jira</system> + <url>https://issues.apache.org/jira/browse/ARCHETYPE</url> + </issueManagement> + <ciManagement> + <system>Jenkins</system> + <url>https://builds.apache.org/job/maven-box/job/maven-archetype/</url> + </ciManagement> + + <distributionManagement> + <site> + <id>apache.website</id> + <url>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/${maven.site.path}</url> + </site> + </distributionManagement> + + <properties> + <maven.archetype.scm.devConnection>scm:git:https://gitbox.apache.org/repos/asf/maven-archetype.git</maven.archetype.scm.devConnection> + <mavenVersion>3.0</mavenVersion> + <javaVersion>7</javaVersion> + <netbeans.hint.useExternalMaven>true</netbeans.hint.useExternalMaven> + <wagonVersion>3.3.3</wagonVersion> + <surefire.version>2.21.0</surefire.version> + <maven.site.path>archetype-archives/archetype-LATEST</maven.site.path> + <project.build.outputTimestamp>2020-02-02T18:03:59Z</project.build.outputTimestamp> + </properties> + + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-compat</artifactId> + <version>${mavenVersion}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>archetype-catalog</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>archetype-descriptor</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>archetype-common</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.archetype</groupId> + <artifactId>archetype-packaging</artifactId> + <version>${project.version}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-artifact</artifactId> + <version>${mavenVersion}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-core</artifactId> + <version>${mavenVersion}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-model</artifactId> + <version>${mavenVersion}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-plugin-api</artifactId> + <version>${mavenVersion}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-settings</artifactId> + <version>${mavenVersion}</version> + </dependency> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-settings-builder</artifactId> + <version>${mavenVersion}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.shared</groupId> + <artifactId>maven-invoker</artifactId> + <version>3.0.1</version> + </dependency> + <dependency> + <groupId>org.apache.maven.shared</groupId> + <artifactId>maven-artifact-transfer</artifactId> + <version>0.11.0</version> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + <version>3.2.0</version> + </dependency> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>2.2</version> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-interactivity-api</artifactId> + <version>1.0-alpha-6</version> + <exclusions> + <exclusion> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-api</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-velocity</artifactId> + <version>1.1.8</version> + <exclusions> + <exclusion> + <groupId>velocity</groupId> + <artifactId>velocity</artifactId> + </exclusion> + <exclusion> + <groupId>velocity</groupId> + <artifactId>velocity-api</artifactId> + </exclusion> + <exclusion> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-container-default</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> + <groupId>jdom</groupId> + <artifactId>jdom</artifactId> + <version>1.0</version> + </dependency> + <dependency> + <groupId>org.apache.velocity</groupId> + <artifactId>velocity</artifactId> + <version>1.7</version> + </dependency> + <dependency> + <groupId>net.sourceforge.jchardet</groupId> + <artifactId>jchardet</artifactId> + <version>1.0</version> + </dependency> + <dependency> + <groupId>commons-collections</groupId> + <artifactId>commons-collections</artifactId> + <version>3.2.1</version> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</version> + </dependency> + <dependency> + <groupId>org.apache.maven.plugin-testing</groupId> + <artifactId>maven-plugin-testing-harness</artifactId> + <version>2.1</version> + </dependency> + <dependency> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-provider-api</artifactId> + <version>${wagonVersion}</version> + </dependency> + <dependency> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-http</artifactId> + <version>${wagonVersion}</version> + </dependency> + <dependency> + <groupId>org.sonatype.aether</groupId> + <artifactId>aether-connector-file</artifactId> + <version>1.7</version> + </dependency> + <dependency> + <groupId>org.sonatype.aether</groupId> + <artifactId>aether-connector-wagon</artifactId> + <version>1.7</version> + </dependency> + + <dependency> + <groupId>org.xmlunit</groupId> + <artifactId>xmlunit-matchers</artifactId> + <version>2.6.0</version> + </dependency> + </dependencies> + </dependencyManagement> + + <build> + <pluginManagement> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-site-plugin</artifactId> + <configuration> + <topSiteURL>scm:svn:https://svn.apache.org/repos/asf/maven/website/components/${maven.site.path}</topSiteURL> + </configuration> + </plugin> + <plugin> + <groupId>org.codehaus.modello</groupId> + <artifactId>modello-maven-plugin</artifactId> + <version>1.9.1</version> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-release-plugin</artifactId> + <configuration> + <preparationGoals>clean install</preparationGoals> + </configuration> + </plugin> + <plugin> + <groupId>org.mortbay.jetty</groupId> + <artifactId>maven-jetty-plugin</artifactId> + <version>6.1.6</version> + </plugin> + </plugins> + </pluginManagement> + <plugins> + <plugin> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-component-metadata</artifactId> + <executions> + <execution> + <goals> + <goal>generate-metadata</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <configuration> + <excludes combine.children="append"> + <exclude>README.txt</exclude> + <exclude>*.sh</exclude> + <exclude>archetype-samples/**</exclude> + <exclude>**/*.sha1</exclude> + <!-- exclude template files for generated content --> + <exclude>src/main/resources/org/apache/maven/archetype/creator/*</exclude> + <!-- exclude some classes coming from dom4j --> + <exclude>**/Format.java</exclude> + <exclude>**/NamespaceStack.java</exclude> + <exclude>**/XMLOutputter.java</exclude> + <!-- disable test directories --> + <exclude>src/it/**/goal.txt</exclude> + <exclude>.repository/**</exclude><!-- for CI --> + <!-- Used by JEnv --> + <exclude>.java-version</exclude> + </excludes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-enforcer-plugin</artifactId> + <dependencies> + <dependency> + <groupId>org.codehaus.mojo</groupId> + <artifactId>extra-enforcer-rules</artifactId> + <version>1.0-beta-6</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </build> + + <profiles> + <profile> + <id>reporting</id> + <reporting> + <plugins> + <plugin> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-maven-plugin</artifactId> + <version>1.3.8</version> + </plugin> + </plugins> + </reporting> + </profile> + </profiles> +</project>