You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Frank Cornelis (JIRA)" <ji...@codehaus.org> on 2007/02/01 09:28:44 UTC

[jira] Created: (MDEP-60) Multiple plugin execution sections not correctly executed

Multiple plugin execution sections not correctly executed
---------------------------------------------------------

                 Key: MDEP-60
                 URL: http://jira.codehaus.org/browse/MDEP-60
             Project: Maven 2.x Dependency Plugin
          Issue Type: Bug
    Affects Versions: 2.0-alpha-1
         Environment: Maven 2.0.4
            Reporter: Frank Cornelis
         Assigned To: Brian Fox


I have a JAR project that is using the dependency:unpack-dependencies to package all dependencies into one big applet JAR.
This applet JAR also needs to be signed. I have another JAR containing the JKS for this (via keytool-maven-plugin).
What I want to do now is to first unpack the JKS JAR into target/keystore (generate-sources phase) and then to also unpack all the other dependencies except the JKS JAR into target/classes (generate-resources phase).
And afterwards to sign via maven-jar-plugin using the JKS from target/keystore (package phase).
For this I use two execution sections within the maven-dependency-plugin section.
And this is where the maven-dependency-plugin completely fails if you give each execution section its own configuration.

-- 
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: (MDEP-60) Multiple plugin execution sections not correctly executed

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MDEP-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86514 ] 

Brian Fox commented on MDEP-60:
-------------------------------

Ok I see what happened. The include,exclude by artifactId is a new feature in alpha-2


> Multiple plugin execution sections not correctly executed
> ---------------------------------------------------------
>
>                 Key: MDEP-60
>                 URL: http://jira.codehaus.org/browse/MDEP-60
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-alpha-1
>         Environment: Maven 2.0.4
>            Reporter: Frank Cornelis
>         Assigned To: Brian Fox
>             Fix For: 2.0-alpha-2
>
>         Attachments: MDEP-60.zip
>
>
> I have a JAR project that is using the dependency:unpack-dependencies to package all dependencies into one big applet JAR.
> This applet JAR also needs to be signed. I have another JAR containing the JKS for this (via keytool-maven-plugin).
> What I want to do now is to first unpack the JKS JAR into target/keystore (generate-sources phase) and then to also unpack all the other dependencies except the JKS JAR into target/classes (generate-resources phase).
> And afterwards to sign via maven-jar-plugin using the JKS from target/keystore (package phase).
> For this I use two execution sections within the maven-dependency-plugin section.
> And this is where the maven-dependency-plugin completely fails if you give each execution section its own configuration.

-- 
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: (MDEP-60) Multiple plugin execution sections not correctly executed

Posted by "Brian Fox (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MDEP-60?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_86505 ] 

Brian Fox commented on MDEP-60:
-------------------------------

Can you attach or paste your pom? I'm not sure what in alpha-2 would have to do with this but I can add the pom as an IT.

> Multiple plugin execution sections not correctly executed
> ---------------------------------------------------------
>
>                 Key: MDEP-60
>                 URL: http://jira.codehaus.org/browse/MDEP-60
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-alpha-1
>         Environment: Maven 2.0.4
>            Reporter: Frank Cornelis
>         Assigned To: Brian Fox
>             Fix For: 2.0-alpha-2
>
>
> I have a JAR project that is using the dependency:unpack-dependencies to package all dependencies into one big applet JAR.
> This applet JAR also needs to be signed. I have another JAR containing the JKS for this (via keytool-maven-plugin).
> What I want to do now is to first unpack the JKS JAR into target/keystore (generate-sources phase) and then to also unpack all the other dependencies except the JKS JAR into target/classes (generate-resources phase).
> And afterwards to sign via maven-jar-plugin using the JKS from target/keystore (package phase).
> For this I use two execution sections within the maven-dependency-plugin section.
> And this is where the maven-dependency-plugin completely fails if you give each execution section its own configuration.

-- 
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] Closed: (MDEP-60) Multiple plugin execution sections not correctly executed

Posted by "Frank Cornelis (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MDEP-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Cornelis closed MDEP-60.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-alpha-2

This seems be have been fixed in the 2.0-alpha-2-SNAPSHOT version of the maven-dependency-plugin.

> Multiple plugin execution sections not correctly executed
> ---------------------------------------------------------
>
>                 Key: MDEP-60
>                 URL: http://jira.codehaus.org/browse/MDEP-60
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-alpha-1
>         Environment: Maven 2.0.4
>            Reporter: Frank Cornelis
>         Assigned To: Brian Fox
>             Fix For: 2.0-alpha-2
>
>
> I have a JAR project that is using the dependency:unpack-dependencies to package all dependencies into one big applet JAR.
> This applet JAR also needs to be signed. I have another JAR containing the JKS for this (via keytool-maven-plugin).
> What I want to do now is to first unpack the JKS JAR into target/keystore (generate-sources phase) and then to also unpack all the other dependencies except the JKS JAR into target/classes (generate-resources phase).
> And afterwards to sign via maven-jar-plugin using the JKS from target/keystore (package phase).
> For this I use two execution sections within the maven-dependency-plugin section.
> And this is where the maven-dependency-plugin completely fails if you give each execution section its own configuration.

-- 
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] Updated: (MDEP-60) Multiple plugin execution sections not correctly executed

Posted by "Frank Cornelis (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MDEP-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Frank Cornelis updated MDEP-60:
-------------------------------

    Attachment: MDEP-60.zip

The zip MDEP-60.ZIP contains an example project demonstrating the usage of multiple execution sections.

> Multiple plugin execution sections not correctly executed
> ---------------------------------------------------------
>
>                 Key: MDEP-60
>                 URL: http://jira.codehaus.org/browse/MDEP-60
>             Project: Maven 2.x Dependency Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0-alpha-1
>         Environment: Maven 2.0.4
>            Reporter: Frank Cornelis
>         Assigned To: Brian Fox
>             Fix For: 2.0-alpha-2
>
>         Attachments: MDEP-60.zip
>
>
> I have a JAR project that is using the dependency:unpack-dependencies to package all dependencies into one big applet JAR.
> This applet JAR also needs to be signed. I have another JAR containing the JKS for this (via keytool-maven-plugin).
> What I want to do now is to first unpack the JKS JAR into target/keystore (generate-sources phase) and then to also unpack all the other dependencies except the JKS JAR into target/classes (generate-resources phase).
> And afterwards to sign via maven-jar-plugin using the JKS from target/keystore (package phase).
> For this I use two execution sections within the maven-dependency-plugin section.
> And this is where the maven-dependency-plugin completely fails if you give each execution section its own configuration.

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