This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 188440

Summary: Direct support for secondary artifacts
Product: projects Reporter: Antonin Nebuzelsky <anebuzelsky>
Component: MavenAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal CC: gtzabari, kawazu428
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 204546    
Bug Blocks:    

Description Antonin Nebuzelsky 2010-07-07 11:22:48 UTC
Secondary artifacts are now only listed in the artifact details view, without a possibility to add dependencies on some of them from the UI.

The user needs to add manually several entries in his pom, with <classifier> parameter for each secondary artifact dependency.

An example: net.sourceforge.saxon : saxon, 9.1.0.8 and its s9api secondary artifact.
Comment 1 Jesse Glick 2010-08-24 20:44:00 UTC
Beware that for test-to-test dependencies you should use <type>test-jar</> rather than <classifier>tests</>: http://maven.apache.org/guides/mini/guide-attached-tests.html
Comment 2 Jesse Glick 2011-08-25 18:31:26 UTC
core-main #09b5b994b3d2
Comment 3 Jesse Glick 2011-08-25 18:53:20 UTC
(In reply to comment #1)
> for test-to-test dependencies you should use <type>test-jar</>
> rather than <classifier>tests</>

Appears to be obsolete advice: http://jira.codehaus.org/browse/MNG-4056
Comment 4 Quality Engineering 2011-08-26 14:40:41 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/09b5b994b3d2
User: Jesse Glick <jglick@netbeans.org>
Log: #188440: Direct support for secondary artifacts
Comment 5 Jesse Glick 2012-02-22 23:37:55 UTC
*** Bug 154931 has been marked as a duplicate of this bug. ***
Comment 6 Jesse Glick 2012-03-30 21:59:09 UTC
*** Bug 200802 has been marked as a duplicate of this bug. ***