[mevenide-dev] [jira] Commented: (MEVENIDE-653) Packaging type 'bundle' is unusable in NetBeans
"Hendy Irawan (JIRA)" <jira-yCVjj/[email protected]> Tue, 22 Jul 2008 21:05:26 -0500 (CDT)
| Newsgroups | gmane.comp.jakarta.turbine.maven.mevenide.devel |
|---|---|
| Message-ID | <29940676.1216778726996.JavaMail.haus-jira@codehaus01.managed.contegix.com> |
[ http://jira.codehaus.org/browse/MEVENIDE-653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=142822#action_142822 ]
Hendy Irawan commented on MEVENIDE-653:
---------------------------------------
Changing NetBeans Maven2 options to use external Maven (2.0.9) solves the "Build" problem, but Run/Debug is still unusable.
Below are the logs when I launch "Clean and Build" for a Maven2 project with packaging 'bundle'.
NETBEANS WITH EXTERNAL MAVEN 2.0.9
==================================
WARNING: You are running Maven builds externally, some UI functionality will not be available.
Executing:/opt/apache-maven-2.0.9/bin/mvn clean install
Warning: JAVA_HOME environment variable is not set.
Scanning for projects...
------------------------------------------------------------------------
Building com.x.x.api
[com.x.x]
task-segment: [clean, install]
------------------------------------------------------------------------
Deleting directory /home/ceefour/project/x/x/x-api/target
Using default encoding to copy filtered resources.
Compiling 63 source files to /home/ceefour/project/x/x/x-api/target/classes
Using default encoding to copy filtered resources.
No sources to compile
No tests to run.
[WARNING] Warning building bundle com.x.x:x-api:bundle:1.1-SNAPSHOT : Instructions for Export-Package that are never used: com\.x\.x\.internal\..*|com\.x\.x\.internal
[WARNING] Warning building bundle com.x.x:x-api:bundle:1.1-SNAPSHOT : Instructions for Private-Package that are never used: com\.x\.x\.internal\..*|com\.x\.x\.internal
Installing /home/ceefour/project/x/x/x-api/target/x-api-1.1-SNAPSHOT.jar to /home/ceefour/.m2/repository/com/x/x/x-api/1.1-SNAPSHOT/x-api-1.1-SNAPSHOT.jar
Parsing file:/home/ceefour/.m2/repository/repository.xml
Installing com/x/x/x-api/1.1-SNAPSHOT/x-api-1.1-SNAPSHOT.jar
Writing OBR metadata
------------------------------------------------------------------------
BUILD SUCCESSFUL
------------------------------------------------------------------------
Total time: 9 seconds
Finished at: Wed Jul 23 08:58:03 WIT 2008
Final Memory: 18M/81M
------------------------------------------------------------------------
NETBEANS 6.1 WITH INTERNAL MAVEN 2.1-SNAPSHOT
=============================================
Scanning for projects...
project-execute
[#clean]
[clean:clean]
Deleting directory /home/ceefour/project/x/x/x-api/target
------------------------------------------------------------------------
BUILD SUCCESSFUL
------------------------------------------------------------------------
Total time: < 1 second
Finished at: Wed Jul 23 09:02:03 WIT 2008
Final Memory: 50M/111M
------------------------------------------------------------------------
> Packaging type 'bundle' is unusable in NetBeans
> -----------------------------------------------
>
> Key: MEVENIDE-653
> URL: http://jira.codehaus.org/browse/MEVENIDE-653
> Project: mevenide
> Issue Type: Bug
> Components: mevenide-netbeans
> Affects Versions: NB_3.1
> Environment: NetBeans 6.1; Ubuntu 8.04.1
> Reporter: Hendy Irawan
> Assignee: Milos Kleint
> Fix For: NB_3.2
>
> Original Estimate: 1 minute
> Remaining Estimate: 1 minute
>
> Using packaging type = bundle as described here:
> http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html
> makes NetBeans Maven module non-functional:
> 1. Run & Debug actions are always disabled, even though proper actions has been specified
> 2. Build & Clean+Build is not working at all, although Build action ('install' goal) is specified
> Simply changing the packaging type to 'jar', these functions are back to normal again. However, maven-bundle-plugin is unusable without 'bundle' packaging type. (A maven-bundle-plugin workaround is possible for generation of OSGi manifest, but not for most other features like embedding dependencies)
> I presume a simple whitelist of 'bundle' packaging will do (i.e. treat it the same as 'jar').
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email