[
https://issues.apache.org/jira/browse/ARCHETYPE-626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jan Mosig updated ARCHETYPE-626:
--------------------------------
Description:
Hi there,
I've got an archetype build that used to work fine with 3.2.0 but fails with
3.2.1.
The problem with 3.2.1 is that all the files in
target/test-classes/projects/it-basic/project/basic-project do exist but are
all empty (0 bytes).
The build is run with {{mvn -U clean install deploy}}. If I run it with {{mvn
-U clean deploy}} it works. Although the install goal may be superfluous, I
guess there is something wrong there with version 3.2.1.
I attached the logs of a successful run and a failed one to this ticket.
You may find the failing project here (Branch archetype-plugin-321-bug):
https://github.com/itemis/fluffyj-archetype/tree/archetype-plugin-321-bug
was:
Hi there,
I've got an archetype build that used to work fine with 3.2.0 but fails with
3.2.1.
The problem with 3.2.1 is that all the files in
target/test-classes/projects/it-basic/project/basic-project do exist but are
alle empty (0 bytes).
The build is run with {{mvn -U clean install deploy}}. If I run it with {{mvn
-U clean deploy}} it works. Although the install goal may be superfluous, I
guess there is something wrong there with version 3.2.1.
I attached the logs of a successful run and a failed one to this ticket.
You may find the failing project here (Branch archetype-plugin-321-bug):
https://github.com/itemis/fluffyj-archetype/tree/archetype-plugin-321-bug
> mvn install deploy does not work with 3.2.1 but worked with 3.2.0
> -----------------------------------------------------------------
>
> Key: ARCHETYPE-626
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-626
> Project: Maven Archetype
> Issue Type: Bug
> Components: Plugin
> Affects Versions: 3.2.1
> Environment: * Linux machine (Kernel 3.10.0)
> * OpenJDK 11.0.13.0.8-1.el7_9.x86_64 (11.0.1)
> * Maven 3.8.4 (did also occur with 3.3.9)
> Reporter: Jan Mosig
> Priority: Major
> Attachments: archetype-plugin-failed-build.txt,
> archetype-plugin-successful-build.txt
>
>
> Hi there,
> I've got an archetype build that used to work fine with 3.2.0 but fails with
> 3.2.1.
> The problem with 3.2.1 is that all the files in
> target/test-classes/projects/it-basic/project/basic-project do exist but are
> all empty (0 bytes).
> The build is run with {{mvn -U clean install deploy}}. If I run it with {{mvn
> -U clean deploy}} it works. Although the install goal may be superfluous, I
> guess there is something wrong there with version 3.2.1.
> I attached the logs of a successful run and a failed one to this ticket.
> You may find the failing project here (Branch archetype-plugin-321-bug):
> https://github.com/itemis/fluffyj-archetype/tree/archetype-plugin-321-bug
--
This message was sent by Atlassian Jira
(v8.20.1#820001)