maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MASSEMBLY-875) Maven 3.x is about 10x slower than 2.6
Date Mon, 29 Jan 2018 18:55:00 GMT

     [ https://issues.apache.org/jira/browse/MASSEMBLY-875?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stu updated MASSEMBLY-875:
--------------------------
    Description: 
In all our java projects, we have a fairly basic assembly configuration, something like this:
{code:java}
<plugin>
    <artifactId>maven-assembly-plugin</artifactId>
    <version>2.6</version>
    <configuration>
        <archive>
            <manifest>
                <mainClass>org.x.x.x</mainClass>
            </manifest>
        </archive>
        <descriptorRefs>
            <descriptorRef>jar-with-dependencies</descriptorRef>
        </descriptorRefs>
    </configuration>
    <executions>
        <execution>
            <id>make-assembly</id>
            <phase>package</phase>
            <goals>
                <goal>single</goal>
            </goals>
        </execution>
    </executions>
</plugin>{code}
They all take about 10x longer with any 3.x.x version of the maven assembly plugin than the
2.6 version.

This has been noticed by others:

[https://stackoverflow.com/questions/9009232/what-sort-of-configuration-issues-or-problems-might-make-maven-assembly-plugin-g/24519615#24519615]

But not reported as a bug that I could find.

Although I could only justify "Minor" for the priority, this is really is a blocker for us
moving to 3.x.x

The upgrade is just not worth taking your build from < 10 sec to > 50 sec.

(For this particular build, it went from about ~ 7 sec to ~ 57 sec.

  was:
In all our java projects, we have a fairly basic assembly configuration, something like this:
{code:java}
<plugin>
    <artifactId>maven-assembly-plugin</artifactId>
    <version>2.6</version>
    <configuration>
        <archive>
            <manifest>
                <mainClass>org.x.x.x</mainClass>
            </manifest>
        </archive>
        <descriptorRefs>
            <descriptorRef>jar-with-dependencies</descriptorRef>
        </descriptorRefs>
    </configuration>
    <executions>
        <execution>
            <id>make-assembly</id>
            <phase>package</phase>
            <goals>
                <goal>single</goal>
            </goals>
        </execution>
    </executions>
</plugin>{code}
They all take about 10x longer with any 3.x.x version of the maven assembly plugin than the
2.6 version.

This has been noticed by others:

[https://stackoverflow.com/questions/9009232/what-sort-of-configuration-issues-or-problems-might-make-maven-assembly-plugin-g/24519615#24519615]

But not reported as a bug that I could find.

Although I could only justify "Minor" for the priority, this is really is a blocker for us
moving to 3.x.x

The upgrade is just not worth taking your build from < 10 sec to > 50 sec.


> Maven 3.x is about 10x slower than 2.6
> --------------------------------------
>
>                 Key: MASSEMBLY-875
>                 URL: https://issues.apache.org/jira/browse/MASSEMBLY-875
>             Project: Maven Assembly Plugin
>          Issue Type: Bug
>            Reporter: Stu
>            Priority: Minor
>
> In all our java projects, we have a fairly basic assembly configuration, something like
this:
> {code:java}
> <plugin>
>     <artifactId>maven-assembly-plugin</artifactId>
>     <version>2.6</version>
>     <configuration>
>         <archive>
>             <manifest>
>                 <mainClass>org.x.x.x</mainClass>
>             </manifest>
>         </archive>
>         <descriptorRefs>
>             <descriptorRef>jar-with-dependencies</descriptorRef>
>         </descriptorRefs>
>     </configuration>
>     <executions>
>         <execution>
>             <id>make-assembly</id>
>             <phase>package</phase>
>             <goals>
>                 <goal>single</goal>
>             </goals>
>         </execution>
>     </executions>
> </plugin>{code}
> They all take about 10x longer with any 3.x.x version of the maven assembly plugin than
the 2.6 version.
> This has been noticed by others:
> [https://stackoverflow.com/questions/9009232/what-sort-of-configuration-issues-or-problems-might-make-maven-assembly-plugin-g/24519615#24519615]
> But not reported as a bug that I could find.
> Although I could only justify "Minor" for the priority, this is really is a blocker for
us moving to 3.x.x
> The upgrade is just not worth taking your build from < 10 sec to > 50 sec.
> (For this particular build, it went from about ~ 7 sec to ~ 57 sec.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message