[ https://issues.apache.org/jira/browse/ARCHETYPE-636?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bert Brecht updated ARCHETYPE-636: ---------------------------------- Description: Basically, I followed the instructions on https://maven.apache.org/archetype/maven-archetype-plugin/examples/create-multi-module-project.html * unpack poc.tar.bz2, * change directory into poc (cd poc) folder * mvn archetype:create-from-project -Darchetype.filteredExtensions=java * change into generated archetype project (cd target/generated-sources/archetype/) * mvn install (for installing the archetype) leads to: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.1:integration-test (default-integration-test) on project poc-parent-archetype: [ERROR] Archetype IT 'basic' failed: Error merging velocity templates: Unable to find resource 'archetype-resources/one/pom.xml' looks like the directory name of the submodule is ignored and the artifactId is being used to reference the content of the submodule? was: * unpack poc.tar.bz2, * change directory into poc (cd poc) folder * mvn archetype:create-from-project -Darchetype.filteredExtensions=java * change into generated archetype project (cd target/generated-sources/archetype/) * mvn install (for installing the archetype) leads to: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-archetype-plugin:3.2.1:integration-test (default-integration-test) on project poc-parent-archetype: [ERROR] Archetype IT 'basic' failed: Error merging velocity templates: Unable to find resource 'archetype-resources/one/pom.xml' looks like the directory name of the submodule is ignored and the artifactId is being used to reference the content of the submodule? > mvn archetype:create-from-project creates a broken archetype project > -------------------------------------------------------------------- > > Key: ARCHETYPE-636 > URL: https://issues.apache.org/jira/browse/ARCHETYPE-636 > Project: Maven Archetype > Issue Type: Bug > Components: Plugin > Affects Versions: 3.2.1 > Environment: Apache Maven 3.8.6 > (84538c9988a25aec085021c365c560670ad80f63) > Java version: 17.0.6, vendor: Debian, runtime: > /usr/lib/jvm/java-17-openjdk-amd64 > Default locale: en_US, platform encoding: UTF-8 > OS name: "linux", version: "5.10.0-21-amd64", arch: "amd64", family: "unix" > Reporter: Bert Brecht > Priority: Major > Attachments: poc.tar.bz2 > > > Basically, I followed the instructions on > https://maven.apache.org/archetype/maven-archetype-plugin/examples/create-multi-module-project.html > * unpack poc.tar.bz2, > * change directory into poc (cd poc) folder > * mvn archetype:create-from-project -Darchetype.filteredExtensions=java > * change into generated archetype project (cd > target/generated-sources/archetype/) > * mvn install (for installing the archetype) > leads to: > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-archetype-plugin:3.2.1:integration-test > (default-integration-test) on project poc-parent-archetype: > [ERROR] Archetype IT 'basic' failed: Error merging velocity templates: Unable > to find resource 'archetype-resources/one/pom.xml' > looks like the directory name of the submodule is ignored and the artifactId > is being used to reference the content of the submodule? -- This message was sent by Atlassian Jira (v8.20.10#820010)