Bug 305802 - Unnecessary packaging of project dependencies
Summary: Unnecessary packaging of project dependencies
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: IAM (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-14 17:27 EDT by Ralf Taugerbeck CLA
Modified: 2012-01-05 13:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Taugerbeck CLA 2010-03-14 17:27:11 EDT
When using a platform classifier for the maven-jar-plugin, like:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-jar-plugin</artifactId>
  <version>2.3</version>
  <configuration>
    <classifier>jboss42</classifier>
  </configuration>
</plugin>

IAM performs a lot of unnecessary package operations because the classifier is ignored when calculating the name of the generated artifact file in 
EclipseMaven#getGeneratedArtifactFile()

I am working on a complex J2EE project with about 30 modules and a lot of dependencies. If I perform a full build the most lowlevel module is packaged over 100 times! A build with IAM takes more than half an hour. With "mvn install" it takes about 4 minutes.