├── archetype-common └── src │ ├── test │ ├── resources │ │ ├── projects │ │ │ ├── generate-1 │ │ │ │ └── dummy │ │ │ ├── archetyper-generate-1 │ │ │ │ └── dummy │ │ │ ├── generate-2 │ │ │ │ └── archetype.properties.sample │ │ │ ├── generate-3 │ │ │ │ └── archetype.properties.sample │ │ │ └── generate-11 │ │ │ │ └── archetype.properties.sample │ │ ├── repositories │ │ │ ├── central │ │ │ │ └── dummy │ │ │ └── local │ │ │ │ └── dummy │ │ ├── META-INF │ │ │ └── maven │ │ │ │ └── org.apache.maven.archetype │ │ │ │ └── archetype-common │ │ │ │ └── pom.properties │ │ └── xdocs │ │ │ └── navigation.xml │ ├── archetypes │ │ ├── fileset_with_postscript-1.0 │ │ │ ├── archetype-resources │ │ │ │ ├── src │ │ │ │ │ ├── main │ │ │ │ │ │ ├── java │ │ │ │ │ │ │ ├── ToDelete.java │ │ │ │ │ │ │ ├── App.java │ │ │ │ │ │ │ ├── App.ogg │ │ │ │ │ │ │ └── inner │ │ │ │ │ │ │ │ └── package │ │ │ │ │ │ │ │ └── App2.java │ │ │ │ │ │ └── resources │ │ │ │ │ │ │ ├── App.properties │ │ │ │ │ │ │ ├── some-dir │ │ │ │ │ │ │ └── App.png │ │ │ │ │ │ │ ├── __artifactId__ │ │ │ │ │ │ │ └── touch.txt │ │ │ │ │ │ │ └── __rootArtifactId__ │ │ │ │ │ │ │ └── touch_root.txt │ │ │ │ │ └── site │ │ │ │ │ │ ├── site.xml │ │ │ │ │ │ └── apt │ │ │ │ │ │ └── usage.apt │ │ │ │ ├── .classpath │ │ │ │ ├── profiles.xml │ │ │ │ └── subproject │ │ │ │ │ ├── src │ │ │ │ │ └── main │ │ │ │ │ │ └── java │ │ │ │ │ │ └── App.java │ │ │ │ │ └── subsubproject │ │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ ├── App.java │ │ │ │ │ ├── ArbitraryProperty-__property-with-default-1__.java │ │ │ │ │ ├── SkipsUndefinedProperty-__undefined-property__-__property-with-default-2__.java │ │ │ │ │ └── __rootArtifactId__ │ │ │ │ │ └── inner │ │ │ │ │ └── __artifactId__ │ │ │ │ │ └── innest │ │ │ │ │ └── Some__rootArtifactId__Class__artifactId__.java │ │ │ └── META-INF │ │ │ │ └── archetype-post-generate.groovy │ │ ├── old-1.0 │ │ │ └── archetype-resources │ │ │ │ └── src │ │ │ │ ├── main │ │ │ │ ├── java │ │ │ │ │ └── App.java │ │ │ │ └── resources │ │ │ │ │ └── App.properties │ │ │ │ └── site │ │ │ │ └── site.xml │ │ ├── partial-1.0 │ │ │ └── archetype-resources │ │ │ │ └── src │ │ │ │ ├── main │ │ │ │ └── java │ │ │ │ │ └── App.java │ │ │ │ └── test │ │ │ │ └── java │ │ │ │ └── AppTest.java │ │ ├── basic-1.0 │ │ │ └── archetype-resources │ │ │ │ └── src │ │ │ │ ├── main │ │ │ │ ├── c │ │ │ │ │ └── App.c │ │ │ │ ├── java │ │ │ │ │ ├── App.java │ │ │ │ │ └── inner │ │ │ │ │ │ └── package │ │ │ │ │ │ └── App2.java │ │ │ │ ├── resources │ │ │ │ │ ├── App.properties │ │ │ │ │ └── inner │ │ │ │ │ │ └── dir │ │ │ │ │ │ └── App2.properties │ │ │ │ └── mdo │ │ │ │ │ └── App.mdo │ │ │ │ └── test │ │ │ │ ├── c │ │ │ │ └── AppTest.c │ │ │ │ ├── java │ │ │ │ └── AppTest.java │ │ │ │ ├── resources │ │ │ │ └── AppTest.properties │ │ │ │ └── mdo │ │ │ │ └── AppTest.mdo │ │ ├── site-1.0 │ │ │ └── archetype-resources │ │ │ │ └── src │ │ │ │ └── site │ │ │ │ ├── apt │ │ │ │ └── test.apt │ │ │ │ └── site.xml │ │ └── fileset-1.0 │ │ │ └── archetype-resources │ │ │ ├── .classpath │ │ │ ├── profiles.xml │ │ │ ├── src │ │ │ ├── site │ │ │ │ ├── site.xml │ │ │ │ └── apt │ │ │ │ │ └── usage.apt │ │ │ └── main │ │ │ │ ├── java │ │ │ │ ├── App.java │ │ │ │ ├── App.ogg │ │ │ │ └── inner │ │ │ │ │ └── package │ │ │ │ │ └── App2.java │ │ │ │ └── resources │ │ │ │ ├── App.properties │ │ │ │ ├── some-dir │ │ │ │ └── App.png │ │ │ │ ├── __artifactId__ │ │ │ │ └── touch.txt │ │ │ │ └── __rootArtifactId__ │ │ │ │ └── touch_root.txt │ │ │ └── subproject │ │ │ ├── src │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── App.java │ │ │ └── subsubproject │ │ │ └── src │ │ │ └── main │ │ │ └── java │ │ │ ├── App.java │ │ │ ├── ArbitraryProperty-__property-with-default-1__.java │ │ │ ├── SkipsUndefinedProperty-__undefined-property__-__property-with-default-2__.java │ │ │ ├── __rootArtifactId__ │ │ │ └── inner │ │ │ │ └── __artifactId__ │ │ │ │ └── innest │ │ │ │ └── Some__rootArtifactId__Class__artifactId__.java │ │ │ └── M___artifactId_____property_underscored_1__Test__property_underscored-2____property-with-default-1__.java │ └── repository │ │ └── org │ │ └── apache │ │ └── maven │ │ ├── archetypes │ │ └── maven-archetype-quickstart │ │ │ └── 1.0-alpha-1-SNAPSHOT │ │ │ └── maven-archetype-quickstart-1.0-alpha-1-SNAPSHOT.jar │ │ └── maven-archetype │ │ └── 1.0-alpha-1-SNAPSHOT │ │ └── maven-archetype-1.0-alpha-1-SNAPSHOT.pom │ └── main │ └── resources │ └── org │ └── apache │ └── maven │ └── archetype │ └── creator │ ├── goal.txt │ ├── archetype.properties │ └── pom-prototype.xml ├── archetype-samples ├── quickstart │ ├── archetype.properties │ └── src │ │ ├── main │ │ └── java │ │ │ └── org │ │ │ └── apache │ │ │ └── maven │ │ │ └── App.java │ │ └── test │ │ └── java │ │ └── org │ │ └── apache │ │ └── maven │ │ └── AppTest.java ├── webapp │ └── src │ │ └── main │ │ └── webapp │ │ ├── index.jsp │ │ └── WEB-INF │ │ └── web.xml ├── mojo │ ├── README.txt │ └── src │ │ ├── test │ │ ├── java │ │ │ └── org │ │ │ │ └── apache │ │ │ │ └── maven │ │ │ │ └── plugins │ │ │ │ └── HelloMojoTest.java │ │ └── resources │ │ │ └── unit │ │ │ └── project-to-test │ │ │ └── pom.xml │ │ └── main │ │ └── java │ │ └── org │ │ └── apache │ │ └── maven │ │ └── plugins │ │ └── HelloMojo.java └── pom.xml ├── maven-archetype-plugin └── src │ ├── it │ └── projects │ │ ├── roundtrip-multi │ │ ├── .checkstyle │ │ ├── proficio-api │ │ │ ├── .checkstyle │ │ │ ├── .classpath │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── company │ │ │ │ └── proficio │ │ │ │ └── api │ │ │ │ └── Api.java │ │ ├── proficio-cli │ │ │ ├── .checkstyle │ │ │ ├── .classpath │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── company │ │ │ │ └── proficio │ │ │ │ └── cli │ │ │ │ └── Cli.java │ │ ├── proficio-core │ │ │ ├── .checkstyle │ │ │ ├── .classpath │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── company │ │ │ │ └── proficio │ │ │ │ └── core │ │ │ │ └── Core.java │ │ ├── proficio-model │ │ │ ├── .checkstyle │ │ │ ├── .classpath │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── company │ │ │ │ └── proficio │ │ │ │ └── model │ │ │ │ └── Model.java │ │ ├── proficio-stores │ │ │ ├── proficio-store-memory │ │ │ │ ├── .checkstyle │ │ │ │ ├── .classpath │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ └── java │ │ │ │ │ └── com │ │ │ │ │ └── company │ │ │ │ │ └── proficio │ │ │ │ │ └── store │ │ │ │ │ └── memory │ │ │ │ │ └── Memory.java │ │ │ └── proficio-store-xstream │ │ │ │ ├── .checkstyle │ │ │ │ ├── .classpath │ │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── company │ │ │ │ └── proficio │ │ │ │ └── store │ │ │ │ └── xstream │ │ │ │ └── XStream.java │ │ ├── .classpath │ │ ├── src │ │ │ └── site │ │ │ │ └── site.xml │ │ └── archetype.properties │ │ ├── create-6 │ │ ├── src │ │ │ └── main │ │ │ │ └── webapp │ │ │ │ └── resources │ │ │ │ └── create-6 │ │ │ │ ├── a.gif │ │ │ │ └── a.jsp │ │ ├── invoker.properties │ │ └── archetype.properties │ │ ├── create-3 │ │ ├── src │ │ │ └── site │ │ │ │ ├── resources │ │ │ │ └── site.png │ │ │ │ ├── apt │ │ │ │ └── index.apt │ │ │ │ └── site.xml │ │ ├── application │ │ │ └── src │ │ │ │ ├── main │ │ │ │ ├── resources │ │ │ │ │ ├── splash.png │ │ │ │ │ ├── META-INF │ │ │ │ │ │ └── MANIFEST.MF │ │ │ │ │ ├── log4j.properties │ │ │ │ │ └── org │ │ │ │ │ │ └── apache │ │ │ │ │ │ └── maven │ │ │ │ │ │ └── archetype │ │ │ │ │ │ └── test │ │ │ │ │ │ └── application │ │ │ │ │ │ └── some │ │ │ │ │ │ └── Gro.groovy │ │ │ │ └── java │ │ │ │ │ ├── org │ │ │ │ │ └── apache │ │ │ │ │ │ └── maven │ │ │ │ │ │ └── archetype │ │ │ │ │ │ └── test │ │ │ │ │ │ └── application │ │ │ │ │ │ ├── audios │ │ │ │ │ │ └── Application.ogg │ │ │ │ │ │ ├── images │ │ │ │ │ │ └── Application.png │ │ │ │ │ │ └── Application.java │ │ │ │ │ └── Main.java │ │ │ │ ├── it-test │ │ │ │ ├── resources │ │ │ │ │ └── ItTest1Result.txt │ │ │ │ └── java │ │ │ │ │ ├── ItTestAll.java │ │ │ │ │ └── org │ │ │ │ │ └── apache │ │ │ │ │ └── maven │ │ │ │ │ └── archetype │ │ │ │ │ └── test │ │ │ │ │ └── ItTest1.java │ │ │ │ └── test │ │ │ │ └── java │ │ │ │ ├── TestAll.java │ │ │ │ └── org │ │ │ │ └── apache │ │ │ │ └── maven │ │ │ │ └── archetype │ │ │ │ └── test │ │ │ │ └── application │ │ │ │ └── ApplicationTest.java │ │ ├── invoker.properties │ │ └── libs │ │ │ ├── prj-a │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── mdo │ │ │ │ └── descriptor.xml │ │ │ └── prj-b │ │ │ └── src │ │ │ ├── main │ │ │ └── java │ │ │ │ └── org │ │ │ │ └── apache │ │ │ │ └── maven │ │ │ │ └── archetype │ │ │ │ └── test │ │ │ │ └── com │ │ │ │ ├── package.html │ │ │ │ └── Component.java │ │ │ └── test │ │ │ └── java │ │ │ └── org │ │ │ └── apache │ │ │ └── maven │ │ │ └── archetype │ │ │ └── test │ │ │ └── common │ │ │ └── ComponentTest.java │ │ ├── property-setting-cli │ │ ├── src │ │ │ └── test │ │ │ │ └── resources │ │ │ │ └── projects │ │ │ │ └── basic │ │ │ │ ├── goal.txt │ │ │ │ └── verify.groovy │ │ ├── invoker.properties │ │ └── archetype.properties │ │ ├── build-and-run-its │ │ ├── src │ │ │ └── test │ │ │ │ └── resources │ │ │ │ └── projects │ │ │ │ ├── basic │ │ │ │ ├── goal.txt │ │ │ │ ├── verify.groovy │ │ │ │ └── archetype.properties │ │ │ │ ├── archetype.properties │ │ │ │ └── archetype.pom.properties │ │ ├── invoker.properties │ │ └── archetype.properties │ │ ├── build-archetype │ │ ├── src │ │ │ └── test │ │ │ │ └── resources │ │ │ │ └── projects │ │ │ │ └── basic │ │ │ │ └── goal.txt │ │ ├── invoker.properties │ │ └── archetype.properties │ │ ├── build-ignore-eol │ │ ├── src │ │ │ └── test │ │ │ │ └── resources │ │ │ │ └── projects │ │ │ │ └── basic │ │ │ │ ├── goal.txt │ │ │ │ └── reference │ │ │ │ └── src │ │ │ │ └── site │ │ │ │ └── build │ │ │ │ └── archetype │ │ │ │ └── apt │ │ │ │ └── basic.apt │ │ ├── archetype.properties │ │ └── invoker.properties │ │ ├── ARCHETYPE-606_include-gitignore │ │ ├── src │ │ │ └── test │ │ │ │ └── resources │ │ │ │ └── projects │ │ │ │ ├── basic │ │ │ │ ├── goal.txt │ │ │ │ └── archetype.properties │ │ │ │ ├── archetype.properties │ │ │ │ └── archetype.pom.properties │ │ ├── invoker.properties │ │ └── archetype.properties │ │ ├── ARCHETYPE-622_main_build_settings │ │ ├── src │ │ │ └── test │ │ │ │ └── resources │ │ │ │ └── projects │ │ │ │ └── basic │ │ │ │ ├── goal.txt │ │ │ │ ├── verify.groovy │ │ │ │ └── archetype.properties │ │ └── invoker.properties │ │ ├── ARCHETYPE-574_default-value-should-be-used-in-integration-test │ │ ├── src │ │ │ ├── test │ │ │ │ └── resources │ │ │ │ │ └── projects │ │ │ │ │ └── it1 │ │ │ │ │ ├── goal.txt │ │ │ │ │ └── archetype.properties │ │ │ └── main │ │ │ │ └── resources │ │ │ │ └── archetype-resources │ │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── SomeClass.java │ │ └── invoker.properties │ │ ├── create-5 │ │ ├── dummy.file │ │ ├── invoker.properties │ │ ├── archetype.properties │ │ └── verify.groovy │ │ ├── exclude-patterns-2 │ │ ├── .sonar │ │ │ └── file.txt │ │ ├── folder │ │ │ ├── file.txt │ │ │ └── .sonar │ │ │ │ └── file.txt │ │ └── invoker.properties │ │ ├── create-from-project-exclude-patterns │ │ ├── toexclude │ │ │ ├── file.xml │ │ │ └── file.txt │ │ ├── src │ │ │ ├── toexclude │ │ │ │ ├── file.xml │ │ │ │ └── file.txt │ │ │ └── main │ │ │ │ ├── resources │ │ │ │ ├── file.xml │ │ │ │ ├── toexclude │ │ │ │ │ ├── file.xml │ │ │ │ │ └── file.txt │ │ │ │ └── file.txt │ │ │ │ └── toexclude │ │ │ │ ├── file.xml │ │ │ │ └── file.txt │ │ ├── archetype.properties │ │ └── invoker.properties │ │ ├── exclude-patterns │ │ ├── nottoexclude │ │ │ └── dummy.file │ │ └── invoker.properties │ │ ├── include-file-with-no-extension │ │ ├── src │ │ │ └── main │ │ │ │ └── csharp │ │ │ │ └── filewithnoextension │ │ ├── invoker.properties │ │ └── verify.groovy │ │ ├── include-resource-file-with-no-extension │ │ ├── res │ │ │ └── txt │ │ │ │ └── filewithnoextension │ │ ├── invoker.properties │ │ └── verify.groovy │ │ ├── create-1 │ │ ├── src │ │ │ ├── main │ │ │ │ ├── resources │ │ │ │ │ └── log4j.properties │ │ │ │ ├── java │ │ │ │ │ └── archetype │ │ │ │ │ │ ├── subfolder2 │ │ │ │ │ │ └── App.java │ │ │ │ │ │ └── subfolder1 │ │ │ │ │ │ └── App.java │ │ │ │ └── webapp │ │ │ │ │ └── WEB-INF │ │ │ │ │ └── web.xml │ │ │ ├── test │ │ │ │ ├── resources │ │ │ │ │ └── log4j.properties │ │ │ │ └── java │ │ │ │ │ └── archetype │ │ │ │ │ └── test │ │ │ │ │ └── AppTest.java │ │ │ └── site │ │ │ │ └── site.xml │ │ └── invoker.properties │ │ ├── create-2 │ │ ├── src │ │ │ ├── it-test │ │ │ │ ├── resources │ │ │ │ │ └── log4j.properties │ │ │ │ └── java │ │ │ │ │ └── org │ │ │ │ │ └── apache │ │ │ │ │ └── maven │ │ │ │ │ └── archetype │ │ │ │ │ ├── subfolder2 │ │ │ │ │ └── App.java │ │ │ │ │ └── subfolder1 │ │ │ │ │ └── App.java │ │ │ ├── main │ │ │ │ ├── resources │ │ │ │ │ └── log4j.properties │ │ │ │ ├── webapp │ │ │ │ │ └── WEB-INF │ │ │ │ │ │ └── web.xml │ │ │ │ └── java │ │ │ │ │ └── org │ │ │ │ │ └── apache │ │ │ │ │ └── maven │ │ │ │ │ └── archetype │ │ │ │ │ ├── subfolder2 │ │ │ │ │ └── App.java │ │ │ │ │ └── subfolder1 │ │ │ │ │ └── App.java │ │ │ ├── test │ │ │ │ ├── resources │ │ │ │ │ └── log4j.properties │ │ │ │ └── java │ │ │ │ │ └── org │ │ │ │ │ └── apache │ │ │ │ │ └── maven │ │ │ │ │ └── archetype │ │ │ │ │ └── test │ │ │ │ │ └── AppTest.java │ │ │ └── site │ │ │ │ └── site.xml │ │ └── invoker.properties │ │ ├── generate-basic │ │ ├── archetype.properties │ │ └── verify.bsh │ │ ├── ARCHETYPE-520_mirror │ │ ├── archetype.properties │ │ ├── invoker.properties │ │ └── verify.groovy │ │ ├── ARCHETYPE-517_failing-goals │ │ ├── archetype.properties │ │ ├── invoker.properties │ │ ├── verify.groovy │ │ └── setup.groovy │ │ ├── ARCHETYPE-536_groovy-grape │ │ ├── archetype.properties │ │ ├── invoker.properties │ │ └── verify.groovy │ │ ├── ARCHETYPE-241_filter-directory │ │ ├── archetype.properties │ │ ├── verify.groovy │ │ └── invoker.properties │ │ ├── ARCHETYPE-521_archetype-repo │ │ ├── archetype.properties │ │ ├── invoker.properties │ │ └── test.properties │ │ ├── ARCHETYPE-679_groovy-modules │ │ ├── archetype.properties │ │ └── invoker.properties │ │ ├── change-file-with-property │ │ ├── src │ │ │ └── main │ │ │ │ └── java │ │ │ │ └── App.java │ │ └── invoker.properties │ │ ├── create-from-project │ │ ├── archetype.properties │ │ └── invoker.properties │ │ ├── ARCHETYPE-274_conditional_filesets │ │ ├── archetype.properties │ │ ├── archetype │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── resources │ │ │ │ └── archetype-resources │ │ │ │ └── src │ │ │ │ └── main │ │ │ │ └── resources │ │ │ │ ├── exclude-with-filter.txt │ │ │ │ ├── exclude-without-filter.txt │ │ │ │ ├── include-with-filter.txt │ │ │ │ └── include-without-filter.txt │ │ └── invoker.properties │ │ ├── create-4 │ │ └── invoker.properties │ │ ├── roundtrip-1-project │ │ └── archetype.properties │ │ ├── included-system-properties │ │ ├── invoker.properties │ │ └── verify.groovy │ │ └── ARCHETYPE-531_ear-modules │ │ └── invoker.properties │ ├── site │ ├── apt │ │ └── archetype-overview.odg │ └── resources │ │ └── images │ │ └── archetype-overview.png │ └── main │ └── java │ └── org │ └── apache │ └── maven │ └── archetype │ └── ui │ ├── package.html │ ├── creation │ └── package.html │ └── generation │ └── package.html ├── NOTICE.txt ├── .gitignore ├── .git-blame-ignore-revs ├── .github ├── release-drafter.yml ├── workflows │ ├── maven-verify.yml │ └── release-drafter.yml └── dependabot.yml ├── deploySite.sh ├── Jenkinsfile └── src └── site └── resources └── download.cgi /archetype-common/src/test/resources/projects/generate-1/dummy: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archetype-common/src/test/resources/repositories/central/dummy: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archetype-common/src/test/resources/repositories/local/dummy: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archetype-common/src/test/resources/projects/archetyper-generate-1/dummy: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archetype-samples/quickstart/archetype.properties: -------------------------------------------------------------------------------- 1 | to_whom = World 2 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/.checkstyle: -------------------------------------------------------------------------------- 1 | azae -------------------------------------------------------------------------------- /archetype-common/src/main/resources/org/apache/maven/archetype/creator/goal.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-api/.checkstyle: -------------------------------------------------------------------------------- 1 | azae -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-cli/.checkstyle: -------------------------------------------------------------------------------- 1 | azae -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-6/src/main/webapp/resources/create-6/a.gif: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-core/.checkstyle: -------------------------------------------------------------------------------- 1 | azae -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-model/.checkstyle: -------------------------------------------------------------------------------- 1 | azae -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/src/site/resources/site.png: -------------------------------------------------------------------------------- 1 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/property-setting-cli/src/test/resources/projects/basic/goal.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-and-run-its/src/test/resources/projects/basic/goal.txt: -------------------------------------------------------------------------------- 1 | compile -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-archetype/src/test/resources/projects/basic/goal.txt: -------------------------------------------------------------------------------- 1 | compile -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-ignore-eol/src/test/resources/projects/basic/goal.txt: -------------------------------------------------------------------------------- 1 | compile -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-stores/proficio-store-memory/.checkstyle: -------------------------------------------------------------------------------- 1 | azae -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/application/src/main/resources/splash.png: -------------------------------------------------------------------------------- 1 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/.checkstyle: -------------------------------------------------------------------------------- 1 | azae -------------------------------------------------------------------------------- /NOTICE.txt: -------------------------------------------------------------------------------- 1 | This product includes software developed by 2 | The Apache Software Foundation (http://www.apache.org/). 3 | -------------------------------------------------------------------------------- /archetype-samples/webapp/src/main/webapp/index.jsp: -------------------------------------------------------------------------------- 1 | 2 | 3 |

Hello World!

4 | 5 | 6 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-606_include-gitignore/src/test/resources/projects/basic/goal.txt: -------------------------------------------------------------------------------- 1 | compile -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-622_main_build_settings/src/test/resources/projects/basic/goal.txt: -------------------------------------------------------------------------------- 1 | compile -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/.classpath: -------------------------------------------------------------------------------- 1 | org/apache/maven/archetype/test 2 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-api/.classpath: -------------------------------------------------------------------------------- 1 | org/apache/maven/archetype/test 2 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-cli/.classpath: -------------------------------------------------------------------------------- 1 | org/apache/maven/archetype/test 2 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-core/.classpath: -------------------------------------------------------------------------------- 1 | org/apache/maven/archetype/test 2 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-model/.classpath: -------------------------------------------------------------------------------- 1 | org/apache/maven/archetype/test 2 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-574_default-value-should-be-used-in-integration-test/src/test/resources/projects/it1/goal.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archetype-samples/mojo/README.txt: -------------------------------------------------------------------------------- 1 | One should define org.apache.maven.archetypes as a pluginGroup in its settings.xml in order to run this plugin. -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/application/src/main/resources/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | org/apache/maven/archetype/test 2 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/application/src/main/java/org/apache/maven/archetype/test/application/audios/Application.ogg: -------------------------------------------------------------------------------- 1 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/application/src/main/java/org/apache/maven/archetype/test/application/images/Application.png: -------------------------------------------------------------------------------- 1 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-stores/proficio-store-memory/.classpath: -------------------------------------------------------------------------------- 1 | org/apache/maven/archetype/test 2 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/.classpath: -------------------------------------------------------------------------------- 1 | org/apache/maven/archetype/test 2 | A String to search for -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/src/main/java/ToDelete.java: -------------------------------------------------------------------------------- 1 | This file must be deleted by the post-create script. 2 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/site/apt/archetype-overview.odg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/maven-archetype/HEAD/maven-archetype-plugin/src/site/apt/archetype-overview.odg -------------------------------------------------------------------------------- /archetype-common/src/main/resources/org/apache/maven/archetype/creator/archetype.properties: -------------------------------------------------------------------------------- 1 | groupId=archetype.it 2 | artifactId=basic 3 | version=0.1-SNAPSHOT 4 | package=it.pkg 5 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/old-1.0/archetype-resources/src/main/java/App.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/old-1.0/archetype-resources/src/site/site.xml: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/partial-1.0/archetype-resources/src/main/java/App.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/partial-1.0/archetype-resources/src/test/java/AppTest.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/old-1.0/archetype-resources/src/main/resources/App.properties: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} -------------------------------------------------------------------------------- /maven-archetype-plugin/src/site/resources/images/archetype-overview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/maven-archetype/HEAD/maven-archetype-plugin/src/site/resources/images/archetype-overview.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | #maven 2 | target 3 | 4 | #idea 5 | *.iml 6 | .idea 7 | 8 | #eclipse 9 | .project 10 | .classpath 11 | .settings 12 | .checkstyle 13 | 14 | # OSX 15 | .DS_Store 16 | 17 | .java-version 18 | *.versionsBackup 19 | 20 | -------------------------------------------------------------------------------- /archetype-samples/quickstart/src/main/java/org/apache/maven/App.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven; 2 | 3 | public class App 4 | { 5 | public static void main(String[] args) 6 | { 7 | System.out.println(new App().sayHello()); 8 | } 9 | public String sayHello() 10 | { 11 | return "Hello World!"; 12 | } 13 | } -------------------------------------------------------------------------------- /archetype-samples/quickstart/src/test/java/org/apache/maven/AppTest.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven; 2 | 3 | import org.junit.Test; 4 | import static junit.framework.Assert.*; 5 | 6 | public class AppTest { 7 | 8 | @Test 9 | public void sayHello() 10 | { 11 | assertEquals("Hello World!", new App().sayHello()); 12 | } 13 | } -------------------------------------------------------------------------------- /archetype-common/src/test/repository/org/apache/maven/archetypes/maven-archetype-quickstart/1.0-alpha-1-SNAPSHOT/maven-archetype-quickstart-1.0-alpha-1-SNAPSHOT.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/maven-archetype/HEAD/archetype-common/src/test/repository/org/apache/maven/archetypes/maven-archetype-quickstart/1.0-alpha-1-SNAPSHOT/maven-archetype-quickstart-1.0-alpha-1-SNAPSHOT.jar -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/META-INF/archetype-post-generate.groovy: -------------------------------------------------------------------------------- 1 | println "Executing the archetype-post-generate.groovy script..."; 2 | 3 | def outputDirectory = new File( request.getOutputDirectory() ); 4 | 5 | def packageFolder = request.getPackage().replace( '.', '/' ); 6 | 7 | def toDelete = new File( outputDirectory, request.getArtifactId() + "/src/main/java/${packageFolder}/ToDelete.java" ); 8 | 9 | println "Removing file: " + toDelete; 10 | assert toDelete.delete(); 11 | -------------------------------------------------------------------------------- /archetype-samples/webapp/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | Archetype Created Web Application 8 | 9 | index.jsp 10 | 11 | 12 | -------------------------------------------------------------------------------- /archetype-samples/mojo/src/test/java/org/apache/maven/plugins/HelloMojoTest.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.plugins; 2 | 3 | import org.apache.maven.plugin.testing.AbstractMojoTestCase; 4 | 5 | /** 6 | * 7 | * @author raphaelpieroni 8 | */ 9 | public class HelloMojoTest extends AbstractMojoTestCase 10 | { 11 | 12 | public void testExecute() 13 | throws Exception 14 | { 15 | HelloMojo mojo = (HelloMojo) lookupMojo( 16 | "hello", 17 | getTestFile( "src/test/resources/unit/project-to-test/pom.xml" ) ); 18 | assertNotNull(mojo); 19 | mojo.execute(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/basic-1.0/archetype-resources/src/main/c/App.c: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | property-without-default-1=${property-without-default-1} 6 | property-without-default-2=${property-without-default-2} 7 | property-without-default-3=${property-without-default-3} 8 | property-without-default-4=${property-without-default-4} 9 | property-with-default-1=${property-with-default-1} 10 | property-with-default-2=${property-with-default-2} 11 | property-with-default-3=${property-with-default-3} 12 | property-with-default-4=${property-with-default-4} 13 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/basic-1.0/archetype-resources/src/main/java/App.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | property-without-default-1=${property-without-default-1} 6 | property-without-default-2=${property-without-default-2} 7 | property-without-default-3=${property-without-default-3} 8 | property-without-default-4=${property-without-default-4} 9 | property-with-default-1=${property-with-default-1} 10 | property-with-default-2=${property-with-default-2} 11 | property-with-default-3=${property-with-default-3} 12 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/basic-1.0/archetype-resources/src/test/c/AppTest.c: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | property-without-default-1=${property-without-default-1} 6 | property-without-default-2=${property-without-default-2} 7 | property-without-default-3=${property-without-default-3} 8 | property-without-default-4=${property-without-default-4} 9 | property-with-default-1=${property-with-default-1} 10 | property-with-default-2=${property-with-default-2} 11 | property-with-default-3=${property-with-default-3} 12 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/site-1.0/archetype-resources/src/site/apt/test.apt: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | property-without-default-1=${property-without-default-1} 6 | property-without-default-2=${property-without-default-2} 7 | property-without-default-3=${property-without-default-3} 8 | property-without-default-4=${property-without-default-4} 9 | property-with-default-1=${property-with-default-1} 10 | property-with-default-2=${property-with-default-2} 11 | property-with-default-3=${property-with-default-3} 12 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/basic-1.0/archetype-resources/src/test/java/AppTest.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | property-without-default-1=${property-without-default-1} 6 | property-without-default-2=${property-without-default-2} 7 | property-without-default-3=${property-without-default-3} 8 | property-without-default-4=${property-without-default-4} 9 | property-with-default-1=${property-with-default-1} 10 | property-with-default-2=${property-with-default-2} 11 | property-with-default-3=${property-with-default-3} 12 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-samples/mojo/src/main/java/org/apache/maven/plugins/HelloMojo.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.plugins; 2 | 3 | import org.apache.maven.plugin.AbstractMojo; 4 | import org.apache.maven.plugin.MojoExecutionException; 5 | 6 | /** 7 | * Says Hello to someone. 8 | * @goal hello 9 | */ 10 | public class HelloMojo extends AbstractMojo { 11 | 12 | /** 13 | * Someone to whom the plugin says hello. 14 | * @parameter expression="${toWhom}" default-value="World" 15 | */ 16 | String toWhom; 17 | 18 | public void execute() throws MojoExecutionException { 19 | getLog().info("Hello " + toWhom + "!"); 20 | } 21 | } -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/basic-1.0/archetype-resources/src/main/java/inner/package/App2.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | property-without-default-1=${property-without-default-1} 6 | property-without-default-2=${property-without-default-2} 7 | property-without-default-3=${property-without-default-3} 8 | property-without-default-4=${property-without-default-4} 9 | property-with-default-1=${property-with-default-1} 10 | property-with-default-2=${property-with-default-2} 11 | property-with-default-3=${property-with-default-3} 12 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/basic-1.0/archetype-resources/src/main/resources/App.properties: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | property-without-default-1=${property-without-default-1} 6 | property-without-default-2=${property-without-default-2} 7 | property-without-default-3=${property-without-default-3} 8 | property-without-default-4=${property-without-default-4} 9 | property-with-default-1=${property-with-default-1} 10 | property-with-default-2=${property-with-default-2} 11 | property-with-default-3=${property-with-default-3} 12 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/basic-1.0/archetype-resources/src/test/resources/AppTest.properties: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | property-without-default-1=${property-without-default-1} 6 | property-without-default-2=${property-without-default-2} 7 | property-without-default-3=${property-without-default-3} 8 | property-without-default-4=${property-without-default-4} 9 | property-with-default-1=${property-with-default-1} 10 | property-with-default-2=${property-with-default-2} 11 | property-with-default-3=${property-with-default-3} 12 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/basic-1.0/archetype-resources/src/main/mdo/App.mdo: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | property-without-default-1=${property-without-default-1} 6 | property-without-default-2=${property-without-default-2} 7 | property-without-default-3=${property-without-default-3} 8 | property-without-default-4=${property-without-default-4} 9 | property-with-default-1=${property-with-default-1} 10 | property-with-default-2=${property-with-default-2} 11 | property-with-default-3=${property-with-default-3} 12 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/site-1.0/archetype-resources/src/site/site.xml: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | property-without-default-1=${property-without-default-1} 6 | property-without-default-2=${property-without-default-2} 7 | property-without-default-3=${property-without-default-3} 8 | property-without-default-4=${property-without-default-4} 9 | property-with-default-1=${property-with-default-1} 10 | property-with-default-2=${property-with-default-2} 11 | property-with-default-3=${property-with-default-3} 12 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/basic-1.0/archetype-resources/src/main/resources/inner/dir/App2.properties: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | property-without-default-1=${property-without-default-1} 6 | property-without-default-2=${property-without-default-2} 7 | property-without-default-3=${property-without-default-3} 8 | property-without-default-4=${property-without-default-4} 9 | property-with-default-1=${property-with-default-1} 10 | property-with-default-2=${property-with-default-2} 11 | property-with-default-3=${property-with-default-3} 12 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/basic-1.0/archetype-resources/src/test/mdo/AppTest.mdo: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | property-without-default-1=${property-without-default-1} 6 | property-without-default-2=${property-without-default-2} 7 | property-without-default-3=${property-without-default-3} 8 | property-without-default-4=${property-without-default-4} 9 | property-with-default-1=${property-with-default-1} 10 | property-with-default-2=${property-with-default-2} 11 | property-with-default-3=${property-with-default-3} 12 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/.classpath: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/profiles.xml: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/src/site/site.xml: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/src/main/java/App.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/src/main/java/App.ogg: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/src/site/apt/usage.apt: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/.classpath: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/src/main/java/inner/package/App2.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/src/main/resources/App.properties: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/subproject/src/main/java/App.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/profiles.xml: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} 14 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/src/main/resources/some-dir/App.png: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} 14 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/src/site/site.xml: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} 14 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/src/main/resources/__artifactId__/touch.txt: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/subproject/subsubproject/src/main/java/App.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/src/main/java/App.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} 14 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/src/main/java/App.ogg: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} 14 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/src/site/apt/usage.apt: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} 14 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/src/main/resources/__rootArtifactId__/touch_root.txt: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/src/main/resources/App.properties: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} 14 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/src/main/resources/some-dir/App.png: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} 14 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/subproject/src/main/java/App.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} 14 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/src/main/java/inner/package/App2.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} 14 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/src/main/resources/__artifactId__/touch.txt: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} 14 | -------------------------------------------------------------------------------- /archetype-common/src/main/resources/org/apache/maven/archetype/creator/pom-prototype.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | 7 | 8 | 9 | maven-archetype 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/subproject/subsubproject/src/main/java/App.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} 14 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/src/main/resources/__rootArtifactId__/touch_root.txt: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | artifactId=${artifactId} 3 | version=${version} 4 | package=${package} 5 | packageInPathFormat=${packageInPathFormat} 6 | property-without-default-1=${property-without-default-1} 7 | property-without-default-2=${property-without-default-2} 8 | property-without-default-3=${property-without-default-3} 9 | property-without-default-4=${property-without-default-4} 10 | property-with-default-1=${property-with-default-1} 11 | property-with-default-2=${property-with-default-2} 12 | property-with-default-3=${property-with-default-3} 13 | property-with-default-4=${property-with-default-4} 14 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/subproject/subsubproject/src/main/java/ArbitraryProperty-__property-with-default-1__.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | rootArtifactId=${rootArtifactId} 3 | artifactId=${artifactId} 4 | version=${version} 5 | package=${package} 6 | packageInPathFormat=${packageInPathFormat} 7 | property-without-default-1=${property-without-default-1} 8 | property-without-default-2=${property-without-default-2} 9 | property-without-default-3=${property-without-default-3} 10 | property-without-default-4=${property-without-default-4} 11 | property-with-default-1=${property-with-default-1} 12 | property-with-default-2=${property-with-default-2} 13 | property-with-default-3=${property-with-default-3} 14 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/subproject/subsubproject/src/main/java/ArbitraryProperty-__property-with-default-1__.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | rootArtifactId=${rootArtifactId} 3 | artifactId=${artifactId} 4 | version=${version} 5 | package=${package} 6 | packageInPathFormat=${packageInPathFormat} 7 | property-without-default-1=${property-without-default-1} 8 | property-without-default-2=${property-without-default-2} 9 | property-without-default-3=${property-without-default-3} 10 | property-without-default-4=${property-without-default-4} 11 | property-with-default-1=${property-with-default-1} 12 | property-with-default-2=${property-with-default-2} 13 | property-with-default-3=${property-with-default-3} 14 | property-with-default-4=${property-with-default-4} 15 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/subproject/subsubproject/src/main/java/SkipsUndefinedProperty-__undefined-property__-__property-with-default-2__.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | rootArtifactId=${rootArtifactId} 3 | artifactId=${artifactId} 4 | version=${version} 5 | package=${package} 6 | packageInPathFormat=${packageInPathFormat} 7 | property-without-default-1=${property-without-default-1} 8 | property-without-default-2=${property-without-default-2} 9 | property-without-default-3=${property-without-default-3} 10 | property-without-default-4=${property-without-default-4} 11 | property-with-default-1=${property-with-default-1} 12 | property-with-default-2=${property-with-default-2} 13 | property-with-default-3=${property-with-default-3} 14 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/subproject/subsubproject/src/main/java/__rootArtifactId__/inner/__artifactId__/innest/Some__rootArtifactId__Class__artifactId__.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | rootArtifactId=${rootArtifactId} 3 | artifactId=${artifactId} 4 | version=${version} 5 | package=${package} 6 | packageInPathFormat=${packageInPathFormat} 7 | property-without-default-1=${property-without-default-1} 8 | property-without-default-2=${property-without-default-2} 9 | property-without-default-3=${property-without-default-3} 10 | property-without-default-4=${property-without-default-4} 11 | property-with-default-1=${property-with-default-1} 12 | property-with-default-2=${property-with-default-2} 13 | property-with-default-3=${property-with-default-3} 14 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/subproject/subsubproject/src/main/java/SkipsUndefinedProperty-__undefined-property__-__property-with-default-2__.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | rootArtifactId=${rootArtifactId} 3 | artifactId=${artifactId} 4 | version=${version} 5 | package=${package} 6 | packageInPathFormat=${packageInPathFormat} 7 | property-without-default-1=${property-without-default-1} 8 | property-without-default-2=${property-without-default-2} 9 | property-without-default-3=${property-without-default-3} 10 | property-without-default-4=${property-without-default-4} 11 | property-with-default-1=${property-with-default-1} 12 | property-with-default-2=${property-with-default-2} 13 | property-with-default-3=${property-with-default-3} 14 | property-with-default-4=${property-with-default-4} 15 | -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset-1.0/archetype-resources/subproject/subsubproject/src/main/java/M___artifactId_____property_underscored_1__Test__property_underscored-2____property-with-default-1__.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | rootArtifactId=${rootArtifactId} 3 | artifactId=${artifactId} 4 | version=${version} 5 | package=${package} 6 | packageInPathFormat=${packageInPathFormat} 7 | property-without-default-1=${property-without-default-1} 8 | property-without-default-2=${property-without-default-2} 9 | property-without-default-3=${property-without-default-3} 10 | property-without-default-4=${property-without-default-4} 11 | property-with-default-1=${property-with-default-1} 12 | property-with-default-2=${property-with-default-2} 13 | property-with-default-3=${property-with-default-3} 14 | property-with-default-4=${property-with-default-4} -------------------------------------------------------------------------------- /archetype-common/src/test/archetypes/fileset_with_postscript-1.0/archetype-resources/subproject/subsubproject/src/main/java/__rootArtifactId__/inner/__artifactId__/innest/Some__rootArtifactId__Class__artifactId__.java: -------------------------------------------------------------------------------- 1 | groupId=${groupId} 2 | rootArtifactId=${rootArtifactId} 3 | artifactId=${artifactId} 4 | version=${version} 5 | package=${package} 6 | packageInPathFormat=${packageInPathFormat} 7 | property-without-default-1=${property-without-default-1} 8 | property-without-default-2=${property-without-default-2} 9 | property-without-default-3=${property-without-default-3} 10 | property-without-default-4=${property-without-default-4} 11 | property-with-default-1=${property-with-default-1} 12 | property-with-default-2=${property-with-default-2} 13 | property-with-default-3=${property-with-default-3} 14 | property-with-default-4=${property-with-default-4} 15 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-5/dummy.file: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/exclude-patterns-2/.sonar/file.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/exclude-patterns-2/folder/file.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/toexclude/file.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/exclude-patterns-2/folder/.sonar/file.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/exclude-patterns/nottoexclude/dummy.file: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/src/toexclude/file.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/src/main/resources/file.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/src/main/toexclude/file.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/src/main/resources/toexclude/file.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/include-file-with-no-extension/src/main/csharp/filewithnoextension: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/include-resource-file-with-no-extension/res/txt/filewithnoextension: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-1/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | #archetype 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-1/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | #archetype 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/toexclude/file.txt: -------------------------------------------------------------------------------- 1 | ~~ Licensed to the Apache Software Foundation (ASF) under one 2 | ~~ or more contributor license agreements. See the NOTICE file 3 | ~~ distributed with this work for additional information 4 | ~~ regarding copyright ownership. The ASF licenses this file 5 | ~~ to you under the Apache License, Version 2.0 (the 6 | ~~ "License"); you may not use this file except in compliance 7 | ~~ with the License. You may obtain a copy of the License at 8 | ~~ 9 | ~~ http://www.apache.org/licenses/LICENSE-2.0 10 | ~~ 11 | ~~ Unless required by applicable law or agreed to in writing, 12 | ~~ software distributed under the License is distributed on an 13 | ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | ~~ KIND, either express or implied. See the License for the 15 | ~~ specific language governing permissions and limitations 16 | ~~ under the License. -------------------------------------------------------------------------------- /archetype-samples/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 4.0.0 5 | 6 | 7 | maven-archetype 8 | org.apache.maven.archetype 9 | 2.0-alpha-5-SNAPSHOT 10 | 11 | 12 | org.apache.maven.archetypes 13 | archetype-samples 14 | 15 | 16 | Maven Archetype Samples 17 | pom 18 | 19 | 24 | 25 | 26 | archetype.properties 27 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/src/toexclude/file.txt: -------------------------------------------------------------------------------- 1 | ~~ Licensed to the Apache Software Foundation (ASF) under one 2 | ~~ or more contributor license agreements. See the NOTICE file 3 | ~~ distributed with this work for additional information 4 | ~~ regarding copyright ownership. The ASF licenses this file 5 | ~~ to you under the Apache License, Version 2.0 (the 6 | ~~ "License"); you may not use this file except in compliance 7 | ~~ with the License. You may obtain a copy of the License at 8 | ~~ 9 | ~~ http://www.apache.org/licenses/LICENSE-2.0 10 | ~~ 11 | ~~ Unless required by applicable law or agreed to in writing, 12 | ~~ software distributed under the License is distributed on an 13 | ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | ~~ KIND, either express or implied. See the License for the 15 | ~~ specific language governing permissions and limitations 16 | ~~ under the License. -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/src/main/resources/file.txt: -------------------------------------------------------------------------------- 1 | ~~ Licensed to the Apache Software Foundation (ASF) under one 2 | ~~ or more contributor license agreements. See the NOTICE file 3 | ~~ distributed with this work for additional information 4 | ~~ regarding copyright ownership. The ASF licenses this file 5 | ~~ to you under the Apache License, Version 2.0 (the 6 | ~~ "License"); you may not use this file except in compliance 7 | ~~ with the License. You may obtain a copy of the License at 8 | ~~ 9 | ~~ http://www.apache.org/licenses/LICENSE-2.0 10 | ~~ 11 | ~~ Unless required by applicable law or agreed to in writing, 12 | ~~ software distributed under the License is distributed on an 13 | ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | ~~ KIND, either express or implied. See the License for the 15 | ~~ specific language governing permissions and limitations 16 | ~~ under the License. -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/src/main/toexclude/file.txt: -------------------------------------------------------------------------------- 1 | ~~ Licensed to the Apache Software Foundation (ASF) under one 2 | ~~ or more contributor license agreements. See the NOTICE file 3 | ~~ distributed with this work for additional information 4 | ~~ regarding copyright ownership. The ASF licenses this file 5 | ~~ to you under the Apache License, Version 2.0 (the 6 | ~~ "License"); you may not use this file except in compliance 7 | ~~ with the License. You may obtain a copy of the License at 8 | ~~ 9 | ~~ http://www.apache.org/licenses/LICENSE-2.0 10 | ~~ 11 | ~~ Unless required by applicable law or agreed to in writing, 12 | ~~ software distributed under the License is distributed on an 13 | ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | ~~ KIND, either express or implied. See the License for the 15 | ~~ specific language governing permissions and limitations 16 | ~~ under the License. -------------------------------------------------------------------------------- /.git-blame-ignore-revs: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # http://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | # 19 | 20 | # Change maven code style 21 | 4c80e9a3ece1aa6b9c38ece1d0fb65f54155e165 22 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-and-run-its/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = clean integration-test 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-archetype/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = clean integration-test 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-2/src/it-test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | #org.apache.maven.archetype 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-2/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | #org.apache.maven.archetype 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-2/src/test/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | #org.apache.maven.archetype 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/src/main/resources/toexclude/file.txt: -------------------------------------------------------------------------------- 1 | ~~ Licensed to the Apache Software Foundation (ASF) under one 2 | ~~ or more contributor license agreements. See the NOTICE file 3 | ~~ distributed with this work for additional information 4 | ~~ regarding copyright ownership. The ASF licenses this file 5 | ~~ to you under the Apache License, Version 2.0 (the 6 | ~~ "License"); you may not use this file except in compliance 7 | ~~ with the License. You may obtain a copy of the License at 8 | ~~ 9 | ~~ http://www.apache.org/licenses/LICENSE-2.0 10 | ~~ 11 | ~~ Unless required by applicable law or agreed to in writing, 12 | ~~ software distributed under the License is distributed on an 13 | ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | ~~ KIND, either express or implied. See the License for the 15 | ~~ specific language governing permissions and limitations 16 | ~~ under the License. -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/property-setting-cli/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | invoker.goals = clean integration-test 18 | -------------------------------------------------------------------------------- /.github/release-drafter.yml: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | _extends: maven-gh-actions-shared 19 | tag-template: maven-archetype-$RESOLVED_VERSION 20 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-606_include-gitignore/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = clean verify 19 | -------------------------------------------------------------------------------- /deploySite.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # 4 | # Licensed to the Apache Software Foundation (ASF) under one 5 | # or more contributor license agreements. See the NOTICE file 6 | # distributed with this work for additional information 7 | # regarding copyright ownership. The ASF licenses this file 8 | # to you under the Apache License, Version 2.0 (the 9 | # "License"); you may not use this file except in compliance 10 | # with the License. You may obtain a copy of the License at 11 | # 12 | # http://www.apache.org/licenses/LICENSE-2.0 13 | # 14 | # Unless required by applicable law or agreed to in writing, 15 | # software distributed under the License is distributed on an 16 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | # KIND, either express or implied. See the License for the 18 | # specific language governing permissions and limitations 19 | # under the License. 20 | # 21 | 22 | mvn package site site:stage -Preporting $@ 23 | mvn scm-publish:publish-scm $@ 24 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-api/src/main/java/com/company/proficio/api/Api.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-cli/src/main/java/com/company/proficio/cli/Cli.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ -------------------------------------------------------------------------------- /maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | User Interaction tooling for command-line use. 21 | -------------------------------------------------------------------------------- /archetype-common/src/test/resources/META-INF/maven/org.apache.maven.archetype/archetype-common/pom.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | version=${project.version} -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-and-run-its/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,verify.groovy 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-archetype/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,verify.groovy 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-ignore-eol/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,verify.groovy 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/generate-basic/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,verify.groovy 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-core/src/main/java/com/company/proficio/core/Core.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ -------------------------------------------------------------------------------- /archetype-common/src/test/resources/projects/generate-2/archetype.properties.sample: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | archetype.groupId=archetypes 19 | archetype.version=1.0 20 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-520_mirror/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,verify.groovy 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-1/src/site/site.xml: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-1/src/test/java/archetype/test/AppTest.java: -------------------------------------------------------------------------------- 1 | package archetype.test; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/property-setting-cli/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,verify.groovy 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-model/src/main/java/org/company/proficio/model/Model.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-517_failing-goals/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,verify.groovy 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-536_groovy-grape/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,verify.groovy 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/src/site/apt/index.apt: -------------------------------------------------------------------------------- 1 | ~~ Licensed to the Apache Software Foundation (ASF) under one 2 | ~~ or more contributor license agreements. See the NOTICE file 3 | ~~ distributed with this work for additional information 4 | ~~ regarding copyright ownership. The ASF licenses this file 5 | ~~ to you under the Apache License, Version 2.0 (the 6 | ~~ "License"); you may not use this file except in compliance 7 | ~~ with the License. You may obtain a copy of the License at 8 | ~~ 9 | ~~ http://www.apache.org/licenses/LICENSE-2.0 10 | ~~ 11 | ~~ Unless required by applicable law or agreed to in writing, 12 | ~~ software distributed under the License is distributed on an 13 | ~~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | ~~ KIND, either express or implied. See the License for the 15 | ~~ specific language governing permissions and limitations 16 | ~~ under the License. 17 | 18 | org/apache/maven/archetype/test 19 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-241_filter-directory/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,verify.groovy 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-521_archetype-repo/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,verify.groovy 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-574_default-value-should-be-used-in-integration-test/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = clean verify 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-606_include-gitignore/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,verify.groovy 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-679_groovy-modules/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,verify.groovy 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/change-file-with-property/src/main/java/App.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | class App 21 | { 22 | 23 | } 24 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-1/src/main/java/archetype/subfolder2/App.java: -------------------------------------------------------------------------------- 1 | package archetype.subfolder2; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-1/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/application/src/main/resources/log4j.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | org/apache/maven/archetype/test 19 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | AppName App 19 | excludePatterns=build.log,invoker.properties,verify.groovy -------------------------------------------------------------------------------- /maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/creation/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | User Interaction for archetype creation from a project. 21 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/main/java/org/apache/maven/archetype/ui/generation/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | User Interaction for project creation from an archetype. 21 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-274_conditional_filesets/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,verify.groovy 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-2/src/site/site.xml: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/src/site/site.xml: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /Jenkinsfile: -------------------------------------------------------------------------------- 1 | /** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | asfMavenTlpPlgnBuild(tmpWs: true, archives: ['archetype-plugin-its' : 'maven-archetype-plugin/target/it/projects']) 21 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/application/src/it-test/resources/ItTest1Result.txt: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | A String to search for 19 | 20 | org/apache/maven/archetype/test -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-520_mirror/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:generate -------------------------------------------------------------------------------- /archetype-common/src/test/resources/projects/generate-3/archetype.properties.sample: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | archetype.groupId=archetypes 19 | archetype.artifactId=basic 20 | archetype.version=1.0 -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-1/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-2/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-2/src/main/webapp/WEB-INF/web.xml: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/application/src/main/java/Main.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | org/apache/maven/archetype/test 21 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-4/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-5/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-6/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=**/toexclude/**,build.log,invoker.properties,verify.groovy -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-1-project/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,project.pom,test-generate.properties,verify.groovy -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | excludePatterns=build.log,invoker.properties,project.pom,test-generate.properties,verify.groovy -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-stores/proficio-store-memory/src/main/java/com/company/proficio/store/memory/Memory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/roundtrip-multi/proficio-stores/proficio-store-xstream/src/main/java/com/company/proficio/store/xstream/XStream.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-2/src/test/java/org/apache/maven/archetype/test/AppTest.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.archetype.test; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/application/src/test/java/TestAll.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | org/apache/maven/archetype/test 21 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-521_archetype-repo/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:generate -Pacme -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/application/src/it-test/java/ItTestAll.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | org/apache/maven/archetype/test 21 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/src/site/site.xml: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/exclude-patterns-2/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/exclude-patterns/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-1/src/main/java/archetype/subfolder1/App.java: -------------------------------------------------------------------------------- 1 | package archetype.subfolder1; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ 21 | 22 | // A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-2/src/it-test/java/org/apache/maven/archetype/subfolder2/App.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.archetype.subfolder2; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-2/src/main/java/org/apache/maven/archetype/subfolder2/App.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.archetype.subfolder2; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-5/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | archetype.groupId=archetypes 18 | archetype.version=1.0 19 | excludePatterns=build.log,invoker.properties,verify.groovy 20 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/change-file-with-property/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/included-system-properties/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-531_ear-modules/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = clean org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/include-file-with-no-extension/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-517_failing-goals/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:generate 18 | invoker.buildResult=failure -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-and-run-its/src/test/resources/projects/basic/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | println( 'Yeah Baby, it rocks!' ) 21 | System.out.flush() 22 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/libs/prj-a/src/main/mdo/descriptor.xml: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/include-resource-file-with-no-extension/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project 19 | -------------------------------------------------------------------------------- /archetype-common/src/test/repository/org/apache/maven/maven-archetype/1.0-alpha-1-SNAPSHOT/maven-archetype-1.0-alpha-1-SNAPSHOT.pom: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 4.0.0 19 | maven-archetype 20 | org.apache.maven 21 | 1.0-alpha-1-SNAPSHOT 22 | pom 23 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-and-run-its/src/test/resources/projects/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | groupId=com.company 19 | artifactId=project 20 | version=1.0-SNAPSHOT 21 | package=com.company.project 22 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-and-run-its/src/test/resources/projects/basic/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | version=0.1-SNAPSHOT 19 | groupId=archetype.it 20 | artifactId=basic 21 | package=build.archetype 22 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-6/src/main/webapp/resources/create-6/a.jsp: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 |

Hello World!

22 | 23 | 24 | -------------------------------------------------------------------------------- /src/site/resources/download.cgi: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Licensed to the Apache Software Foundation (ASF) under one 4 | # or more contributor license agreements. See the NOTICE file 5 | # distributed with this work for additional information 6 | # regarding copyright ownership. The ASF licenses this file 7 | # to you under the Apache License, Version 2.0 (the 8 | # "License"); you may not use this file except in compliance 9 | # with the License. You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | # 20 | # Just call the standard mirrors.cgi script. It will use download.html 21 | # as the input template. 22 | exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $* -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-622_main_build_settings/src/test/resources/projects/basic/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | println( 'Archetype tests executed!' ) 21 | System.out.flush() 22 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-2/src/main/java/org/apache/maven/archetype/subfolder1/App.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.archetype.subfolder1; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ 21 | 22 | // A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-606_include-gitignore/src/test/resources/projects/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | groupId=com.company 19 | artifactId=project 20 | version=1.0-SNAPSHOT 21 | package=com.company.project 22 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-606_include-gitignore/src/test/resources/projects/basic/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | version=0.1-SNAPSHOT 19 | groupId=archetype.it 20 | artifactId=basic 21 | package=build.archetype 22 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-622_main_build_settings/src/test/resources/projects/basic/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | version=0.1-SNAPSHOT 19 | groupId=archetype.it 20 | artifactId=basic 21 | package=build.archetype 22 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-2/src/it-test/java/org/apache/maven/archetype/subfolder1/App.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.archetype.subfolder1; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ 21 | 22 | // A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-274_conditional_filesets/archetype/src/main/resources/archetype-resources/src/main/resources/exclude-with-filter.txt: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | this should be excluded: ${package} -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-274_conditional_filesets/archetype/src/main/resources/archetype-resources/src/main/resources/exclude-without-filter.txt: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | this should be excluded: ${package} -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-274_conditional_filesets/archetype/src/main/resources/archetype-resources/src/main/resources/include-with-filter.txt: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | this should be included: ${package} -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-274_conditional_filesets/archetype/src/main/resources/archetype-resources/src/main/resources/include-without-filter.txt: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | this should be included: ${package} -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-6/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | groupId=com.test 18 | artifactId=create-6 19 | archetype.groupId=archetypes 20 | archetype.version=1.0 21 | excludePatterns=build.log,invoker.properties,verify.groovy 22 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-ignore-eol/src/test/resources/projects/basic/reference/src/site/build/archetype/apt/basic.apt: -------------------------------------------------------------------------------- 1 | ~~ 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. test: - non-filtered: ${artifactId} stays intact (not replaced by Velocity) - packaged: package directory will be added - __artifactId__ is replaced (even if non-filtered) -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/application/src/main/resources/org/apache/maven/archetype/test/application/some/Gro.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | org/apache/maven/archetype/test 21 | A String to search for 22 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/libs/prj-b/src/main/java/org/apache/maven/archetype/test/com/package.html: -------------------------------------------------------------------------------- 1 | 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = clean org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project -Darchetype.properties=archetype.properties 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-622_main_build_settings/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = clean integration-test 19 | invoker.settingsFile = ${basedir}/target/it/projects/ARCHETYPE-622_main_build_settings/test-settings.xml 20 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-574_default-value-should-be-used-in-integration-test/src/test/resources/projects/it1/archetype.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | artifactId=demo 19 | groupId=com.example 20 | version=1.0.0-SNAPSHOT 21 | package=com.example 22 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-from-project-exclude-patterns/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals = clean org.apache.maven.plugins:maven-archetype-plugin:${project.version}:create-from-project -Darchetype.properties=archetype.properties 19 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-517_failing-goals/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | buildLog = new File( basedir, "../../logs/ARCHETYPE-517_failing-goals/build.log" ) 21 | assert buildLog.text.contains( "Failed to invoke goals" ) -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-520_mirror/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | buildLog = new File( basedir, "../../logs/ARCHETYPE-520_mirror/build.log" ) 21 | assert !buildLog.text.contains( "://repo.maven.apache.org/maven2/" ) -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/application/src/it-test/java/org/apache/maven/archetype/test/ItTest1.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.archetype.test; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ 21 | 22 | org/apache/maven/archetype/test 23 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-241_filter-directory/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | assert new File( basedir, "myArtifactId/myName-test2" ).exists() 21 | assert false == new File( basedir, "myArtifactId/__projectName__-test2" ).exists() -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-and-run-its/src/test/resources/projects/archetype.pom.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | # https://github.com/mojohaus/pom-root, creates simple pom with packaging pom 19 | groupId=org.codehaus.mojo.archetypes 20 | artifactId=pom-root 21 | version=1.1 22 | -------------------------------------------------------------------------------- /archetype-common/src/test/resources/xdocs/navigation.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 19 | 20 | Maven 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/libs/prj-b/src/main/java/org/apache/maven/archetype/test/com/Component.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.archetype.test.com; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ 21 | 22 | org/apache/maven/archetype/test/com 23 | A String to search for -------------------------------------------------------------------------------- /archetype-samples/mojo/src/test/resources/unit/project-to-test/pom.xml: -------------------------------------------------------------------------------- 1 | 5 | 4.0.0 6 | 7 | org.apache.maven.plugin.hello.unit 8 | project-to-test 9 | 1.0-SNAPSHOT 10 | jar 11 | Test HelloMojo 12 | 13 | 14 | 15 | junit 16 | junit 17 | 3.8.1 18 | test 19 | 20 | 21 | 22 | 23 | 24 | 25 | maven-mojo 26 | 27 | 28 | Master 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-574_default-value-should-be-used-in-integration-test/src/main/resources/archetype-resources/src/main/java/SomeClass.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package ${groupId}; 20 | 21 | public class SomeClass { 22 | String name; 23 | } 24 | -------------------------------------------------------------------------------- /.github/workflows/maven-verify.yml: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | name: Verify 19 | 20 | on: 21 | push: 22 | pull_request: 23 | 24 | jobs: 25 | build: 26 | name: Verify 27 | uses: apache/maven-gh-actions-shared/.github/workflows/maven-verify.yml@v4 28 | with: 29 | maven4-enabled: true 30 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-606_include-gitignore/src/test/resources/projects/archetype.pom.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | # https://github.com/mojohaus/pom-root, creates simple pom with packaging pom 19 | groupId=org.codehaus.mojo.archetypes 20 | artifactId=pom-root 21 | version=1.1 22 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/build-ignore-eol/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals.1 = clean integration-test 19 | invoker.buildResult.1 = failure 20 | 21 | invoker.goals.2 = clean integration-test -Darchetype.test.ignoreEOLStyle=true 22 | invoker.buildResult.2 = success 23 | 24 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/libs/prj-b/src/test/java/org/apache/maven/archetype/test/common/ComponentTest.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.archetype.test.common; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ 21 | 22 | org/apache/maven/archetype/test/common 23 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-5/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | def templateDir = new File(basedir,'target/generated-sources/archetype/src/main/resources/archetype-resources') 21 | 22 | template = new File(templateDir,'dummy.file') 23 | assert template.exists() -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/included-system-properties/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | def templateDir = new File(basedir, 'target/generated-sources/archetype/src/main/resources/archetype-resources') 21 | 22 | assert new File(templateDir, 'src/main/java/App.java').exists() -------------------------------------------------------------------------------- /.github/workflows/release-drafter.yml: -------------------------------------------------------------------------------- 1 | 2 | 3 | # Licensed to the Apache Software Foundation (ASF) under one 4 | # or more contributor license agreements. See the NOTICE file 5 | # distributed with this work for additional information 6 | # regarding copyright ownership. The ASF licenses this file 7 | # to you under the Apache License, Version 2.0 (the 8 | # "License"); you may not use this file except in compliance 9 | # with the License. You may obtain a copy of the License at 10 | # 11 | # http://www.apache.org/licenses/LICENSE-2.0 12 | # 13 | # Unless required by applicable law or agreed to in writing, 14 | # software distributed under the License is distributed on an 15 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | # KIND, either express or implied. See the License for the 17 | # specific language governing permissions and limitations 18 | # under the License. 19 | 20 | name: Release Drafter 21 | on: 22 | push: 23 | branches: 24 | - master 25 | workflow_dispatch: 26 | 27 | jobs: 28 | update_release_draft: 29 | uses: apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml@v4 30 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/application/src/main/java/org/apache/maven/archetype/test/application/Application.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.archetype.test.application; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ 21 | 22 | org/apache/maven/archetype/test/application 23 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/create-3/application/src/test/java/org/apache/maven/archetype/test/application/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package org.apache.maven.archetype.test.application; 2 | 3 | /* 4 | * Licensed to the Apache Software Foundation (ASF) under one 5 | * or more contributor license agreements. See the NOTICE file 6 | * distributed with this work for additional information 7 | * regarding copyright ownership. The ASF licenses this file 8 | * to you under the Apache License, Version 2.0 (the 9 | * "License"); you may not use this file except in compliance 10 | * with the License. You may obtain a copy of the License at 11 | * 12 | * http://www.apache.org/licenses/LICENSE-2.0 13 | * 14 | * Unless required by applicable law or agreed to in writing, 15 | * software distributed under the License is distributed on an 16 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 17 | * KIND, either express or implied. See the License for the 18 | * specific language governing permissions and limitations 19 | * under the License. 20 | */ 21 | 22 | org/apache/maven/archetype/test/application 23 | A String to search for -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/property-setting-cli/src/test/resources/projects/basic/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | assert new File(context.projectDir, 'pom.xml').exists(); 21 | content = new File(context.projectDir, 'pom.xml').text; 22 | assert content.contains( 'bar' ); -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-274_conditional_filesets/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals.1 = install 19 | invoker.project.1 = archetype 20 | 21 | invoker.goals.2 = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:generate 22 | invoker.userPropertiesFile = project.properties 23 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-517_failing-goals/setup.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | // We can't run "mvn clean" as there is no pom. So we need to remove any already 21 | // created project before executing. 22 | directory = new File( basedir, "project" ) 23 | directory.deleteDir() 24 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-536_groovy-grape/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals.1 = install 19 | invoker.project.1 = archetype 20 | 21 | invoker.goals.2 = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:generate 22 | invoker.userPropertiesFile = project.properties 23 | 24 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-536_groovy-grape/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | def textFile = new File(basedir, "myArtifactId/test.txt") 21 | 22 | assert textFile.exists() 23 | 24 | def hexString = textFile.getText("UTF-8") 25 | assert hexString == "546573742054657874" 26 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-241_filter-directory/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals.1 = install 19 | invoker.project.1 = archetype 20 | 21 | invoker.goals.2 = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:generate 22 | invoker.userPropertiesFile = project.properties 23 | 24 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-521_archetype-repo/test.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | archetypeGroupId=org.apache.maven.archetypes.its 19 | archetypeArtifactId=3rdparty-archetype 20 | archetypeVersion=1.0 21 | 22 | groupId=com.company 23 | artifactId=project 24 | version=1.0-SNAPSHOT 25 | package=com.company.project -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/ARCHETYPE-679_groovy-modules/invoker.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | invoker.goals.1 = install 19 | invoker.project.1 = archetype 20 | 21 | invoker.goals.2 = org.apache.maven.plugins:maven-archetype-plugin:${project.version}:generate 22 | invoker.userPropertiesFile = project.properties 23 | 24 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Licensed to the Apache Software Foundation (ASF) under one or more 3 | # contributor license agreements. See the NOTICE file distributed with 4 | # this work for additional information regarding copyright ownership. 5 | # The ASF licenses this file to You under the Apache License, Version 2.0 6 | # (the "License"); you may not use this file except in compliance with 7 | # the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | version: 2 18 | updates: 19 | - package-ecosystem: maven 20 | directory: "/" 21 | schedule: 22 | interval: daily 23 | open-pull-requests-limit: 10 24 | 25 | - package-ecosystem: github-actions 26 | directory: "/" 27 | schedule: 28 | interval: "daily" 29 | -------------------------------------------------------------------------------- /archetype-common/src/test/resources/projects/generate-11/archetype.properties.sample: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | # 19 | #Tue Jan 23 23:34:16 CET 2007 20 | archetype.groupId=archetypes 21 | archetype.artifactId=old 22 | archetype.version=1.0 23 | groupId=file-value 24 | artifactId=file-value 25 | version=file-value 26 | package=file.value.package 27 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/generate-basic/verify.bsh: -------------------------------------------------------------------------------- 1 | 2 | /* 3 | * Licensed to the Apache Software Foundation (ASF) under one 4 | * or more contributor license agreements. See the NOTICE file 5 | * distributed with this work for additional information 6 | * regarding copyright ownership. The ASF licenses this file 7 | * to you under the Apache License, Version 2.0 (the 8 | * "License"); you may not use this file except in compliance 9 | * with the License. You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, 14 | * software distributed under the License is distributed on an 15 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 | * KIND, either express or implied. See the License for the 17 | * specific language governing permissions and limitations 18 | * under the License. 19 | */ 20 | 21 | import java.io.*; 22 | 23 | File pom = new File( basedir, "project/pom.xml" ); 24 | if ( !pom.isFile() ) 25 | { 26 | throw new Exception( "No project created from archetype." ); 27 | } 28 | 29 | return true; 30 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/include-file-with-no-extension/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | def templateDir = new File(basedir, 'target/generated-sources/archetype/src/main/resources/archetype-resources') 21 | 22 | assert new File(templateDir, 'src/main/csharp/filewithnoextension').exists() 23 | -------------------------------------------------------------------------------- /maven-archetype-plugin/src/it/projects/include-resource-file-with-no-extension/verify.groovy: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * http://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | 20 | def templateDir = new File(basedir, 'target/generated-sources/archetype/src/main/resources/archetype-resources') 21 | 22 | assert new File(templateDir, 'res/txt/filewithnoextension').exists() 23 | --------------------------------------------------------------------------------