You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jan Mosig (Jira)" <ji...@apache.org> on 2022/08/19 16:39:00 UTC

[jira] [Commented] (ARCHETYPE-626) mvn install deploy does not work with 3.2.1 but worked with 3.2.0

    [ https://issues.apache.org/jira/browse/ARCHETYPE-626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17581954#comment-17581954 ] 

Jan Mosig commented on ARCHETYPE-626:
-------------------------------------

I finally had time to look into things and could identify the problematic commit: https://github.com/apache/maven-archetype/commit/02b30eafbbe877f395547c3ad1f2cbf91038205a

Somehow the revert messed up things. Need to have a look why. Any ideas?

> 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.10#820010)