You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "David Jencks (JIRA)" <ji...@codehaus.org> on 2009/05/12 02:42:45 UTC

[jira] Created: (MASSEMBLY-405) "project" predefined dependencyRef really doesn't work in 2.2-beta-3

"project" predefined dependencyRef really doesn't work in 2.2-beta-3
--------------------------------------------------------------------

                 Key: MASSEMBLY-405
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-405
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.2-beta-3
            Reporter: David Jencks


"project" dependencyRef uses bizarre paths in the zip etc archives, e.g. 

portlet-api_1.0_spec-1.0-SNAPSHOT/Users/david/projects/jetspeed/portlet-spec/trunk/portlet-api-1.0/target/classes/javax/portlet/UnavailableException.class

2.2-beta-2 seems to work OK.

-- 
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

        

[jira] (MASSEMBLY-405) "project" predefined dependencyRef really doesn't work in 2.2-beta-3

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MASSEMBLY-405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MASSEMBLY-405.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2-beta-4
    
> "project" predefined dependencyRef really doesn't work in 2.2-beta-3
> --------------------------------------------------------------------
>
>                 Key: MASSEMBLY-405
>                 URL: https://jira.codehaus.org/browse/MASSEMBLY-405
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-3
>            Reporter: David Jencks
>             Fix For: 2.2-beta-4
>
>         Attachments: massembly-405-sample.jar
>
>
> "project" dependencyRef uses bizarre paths in the zip etc archives, e.g. 
> portlet-api_1.0_spec-1.0-SNAPSHOT/Users/david/projects/jetspeed/portlet-spec/trunk/portlet-api-1.0/target/classes/javax/portlet/UnavailableException.class
> 2.2-beta-2 seems to work OK.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (MASSEMBLY-405) "project" predefined dependencyRef really doesn't work in 2.2-beta-3

Posted by "David Jencks (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MASSEMBLY-405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks updated MASSEMBLY-405:
-----------------------------------

    Attachment: massembly-405-sample.jar

portals portlet-api_1.0_spec project showing what happens with 2.2-beta-3 "project" descriptorRef.

> "project" predefined dependencyRef really doesn't work in 2.2-beta-3
> --------------------------------------------------------------------
>
>                 Key: MASSEMBLY-405
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-405
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-3
>            Reporter: David Jencks
>         Attachments: massembly-405-sample.jar
>
>
> "project" dependencyRef uses bizarre paths in the zip etc archives, e.g. 
> portlet-api_1.0_spec-1.0-SNAPSHOT/Users/david/projects/jetspeed/portlet-spec/trunk/portlet-api-1.0/target/classes/javax/portlet/UnavailableException.class
> 2.2-beta-2 seems to work OK.

-- 
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

        

[jira] Commented: (MASSEMBLY-405) "project" predefined dependencyRef really doesn't work in 2.2-beta-3

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=177026#action_177026 ] 

Brian Fox commented on MASSEMBLY-405:
-------------------------------------

This was caused by 

Revision: 696859
Author: jdcasey
Date: 7:57:39 PM, Thursday, September 18, 2008
Message:
cleaning up built-in descriptor refs, and documentation of these refs.
----
Modified : /maven/plugins/trunk/maven-assembly-plugin/src/main/resources/assemblies/bin.xml
Modified : /maven/plugins/trunk/maven-assembly-plugin/src/main/resources/assemblies/jar-with-dependencies.xml
Modified : /maven/plugins/trunk/maven-assembly-plugin/src/main/resources/assemblies/project.xml
Modified : /maven/plugins/trunk/maven-assembly-plugin/src/main/resources/assemblies/src.xml
Modified : /maven/plugins/trunk/maven-assembly-plugin/src/site/apt/descriptor-refs.apt

{noformat}
Index: project.xml
===================================================================
--- project.xml	(revision 696858)
+++ project.xml	(revision 696859)
@@ -27,12 +27,10 @@
   </formats>
   <fileSets>
     <fileSet>
-      <!-- TODO: use expresssions instead: ${project.build.sourceDirectory}, etc -->
-      <directory>.</directory>
-      <outputDirectory></outputDirectory>
+      <directory>${project.basedir}</directory>
       <useDefaultExcludes>true</useDefaultExcludes>
       <excludes>
-        <exclude>**/target/**</exclude>
+        <exclude>**/${project.build.directory}/**</exclude>
       </excludes>
     </fileSet>
   </fileSets>
{noformat}




> "project" predefined dependencyRef really doesn't work in 2.2-beta-3
> --------------------------------------------------------------------
>
>                 Key: MASSEMBLY-405
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-405
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-3
>            Reporter: David Jencks
>         Attachments: massembly-405-sample.jar
>
>
> "project" dependencyRef uses bizarre paths in the zip etc archives, e.g. 
> portlet-api_1.0_spec-1.0-SNAPSHOT/Users/david/projects/jetspeed/portlet-spec/trunk/portlet-api-1.0/target/classes/javax/portlet/UnavailableException.class
> 2.2-beta-2 seems to work OK.

-- 
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