You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "TAKATA, Satoshi (JIRA)" <ji...@codehaus.org> on 2007/05/23 18:52:58 UTC

[jira] Created: (MASSEMBLY-213) jar-with-dependencies and signed jars issue again

jar-with-dependencies and signed jars issue again
-------------------------------------------------

                 Key: MASSEMBLY-213
                 URL: http://jira.codehaus.org/browse/MASSEMBLY-213
             Project: Maven 2.x Assembly Plugin
          Issue Type: Bug
    Affects Versions: 2.2-beta-1
            Reporter: TAKATA, Satoshi


/META-INF/*.RSA
/META-INF/*.SF
/META-INF/*.rsa
/META-INF/*.sf

These files are not excluded with the configuration below.

<plugin>
	<artifactId>maven-assembly-plugin</artifactId>
	<configuration>
		<descriptorRefs>
			 <descriptorRef>jar-with-dependencies</descriptorRef>
		</descriptorRefs>
		<archive>
			<manifest>
				<mainClass>my.MainClass</mainClass>
				<packageName>my</packageName>
			</manifest>
		</archive>
	</configuration>
</plugin>




-- 
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: (MASSEMBLY-213) jar-with-dependencies and signed jars issue again

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

Mike Cumings updated MASSEMBLY-213:
-----------------------------------

    Attachment: alpha9.patch

Changes to adhere to newinterface methods in alpha-9-SNAPSHOT

> jar-with-dependencies and signed jars issue again
> -------------------------------------------------
>
>                 Key: MASSEMBLY-213
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-213
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: TAKATA, Satoshi
>         Attachments: alpha9.patch
>
>
> /META-INF/*.RSA
> /META-INF/*.SF
> /META-INF/*.rsa
> /META-INF/*.sf
> These files are not excluded with the configuration below.
> <plugin>
> 	<artifactId>maven-assembly-plugin</artifactId>
> 	<configuration>
> 		<descriptorRefs>
> 			 <descriptorRef>jar-with-dependencies</descriptorRef>
> 		</descriptorRefs>
> 		<archive>
> 			<manifest>
> 				<mainClass>my.MainClass</mainClass>
> 				<packageName>my</packageName>
> 			</manifest>
> 		</archive>
> 	</configuration>
> </plugin>

-- 
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-213) jar-with-dependencies and signed jars issue again

Posted by "Mike Cumings (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99536 ] 

Mike Cumings commented on MASSEMBLY-213:
----------------------------------------

The dependency on PLXCOMP-68 has been resolved:
   "committed in rev 6551.
    Snapshot deployed : plexus-archiver-1.0-alpha-9-20070614.192733-6.jar ."

This patch can now be applied and the plugin revised to reflect the use
of plexus-archiver-1.0-alpha-9 instead of ...-alpha-8.

Can someone please push these changes through to make them available
more broadly (ideally in a 2.2-beta-2 deployment)?  TIA...

> jar-with-dependencies and signed jars issue again
> -------------------------------------------------
>
>                 Key: MASSEMBLY-213
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-213
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: TAKATA, Satoshi
>         Attachments: alpha9.patch
>
>
> /META-INF/*.RSA
> /META-INF/*.SF
> /META-INF/*.rsa
> /META-INF/*.sf
> These files are not excluded with the configuration below.
> <plugin>
> 	<artifactId>maven-assembly-plugin</artifactId>
> 	<configuration>
> 		<descriptorRefs>
> 			 <descriptorRef>jar-with-dependencies</descriptorRef>
> 		</descriptorRefs>
> 		<archive>
> 			<manifest>
> 				<mainClass>my.MainClass</mainClass>
> 				<packageName>my</packageName>
> 			</manifest>
> 		</archive>
> 	</configuration>
> </plugin>

-- 
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: (MASSEMBLY-213) jar-with-dependencies and signed jars issue again

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

John Casey closed MASSEMBLY-213.
--------------------------------

      Assignee: John Casey
    Resolution: Fixed

we're using plexus-archiver 1.0-alpha-11-SNAPSHOT in the latest 2.2-beta-3-SNAPSHOT versions of maven-assembly-plugin, so the fix for this should be included.

Can someone take a look and verify? Better yet, can anyone provide a test case that would express the problem, so I can adapt it to our integration-tests tree and prevent the problem from coming back?

> jar-with-dependencies and signed jars issue again
> -------------------------------------------------
>
>                 Key: MASSEMBLY-213
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-213
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: TAKATA, Satoshi
>            Assignee: John Casey
>             Fix For: 2.2-beta-3
>
>         Attachments: alpha9.patch
>
>
> /META-INF/*.RSA
> /META-INF/*.SF
> /META-INF/*.rsa
> /META-INF/*.sf
> These files are not excluded with the configuration below.
> <plugin>
> 	<artifactId>maven-assembly-plugin</artifactId>
> 	<configuration>
> 		<descriptorRefs>
> 			 <descriptorRef>jar-with-dependencies</descriptorRef>
> 		</descriptorRefs>
> 		<archive>
> 			<manifest>
> 				<mainClass>my.MainClass</mainClass>
> 				<packageName>my</packageName>
> 			</manifest>
> 		</archive>
> 	</configuration>
> </plugin>

-- 
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: (MASSEMBLY-213) jar-with-dependencies and signed jars issue again

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

John Casey updated MASSEMBLY-213:
---------------------------------

    Fix Version/s: 2.2-beta-2

I'll update the dependency and re-deploy the 2.2-beta-2-SNAPSHOT plugin in just a couple minutes...can you retry with this new version, or (much preferred, actually) attach a failing test project, so I can incorporate it into the plugin's integration-tests?

> jar-with-dependencies and signed jars issue again
> -------------------------------------------------
>
>                 Key: MASSEMBLY-213
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-213
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: TAKATA, Satoshi
>             Fix For: 2.2-beta-2
>
>         Attachments: alpha9.patch
>
>
> /META-INF/*.RSA
> /META-INF/*.SF
> /META-INF/*.rsa
> /META-INF/*.sf
> These files are not excluded with the configuration below.
> <plugin>
> 	<artifactId>maven-assembly-plugin</artifactId>
> 	<configuration>
> 		<descriptorRefs>
> 			 <descriptorRef>jar-with-dependencies</descriptorRef>
> 		</descriptorRefs>
> 		<archive>
> 			<manifest>
> 				<mainClass>my.MainClass</mainClass>
> 				<packageName>my</packageName>
> 			</manifest>
> 		</archive>
> 	</configuration>
> </plugin>

-- 
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-213) jar-with-dependencies and signed jars issue again

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102229 ] 

John Casey commented on MASSEMBLY-213:
--------------------------------------

This is going to take more work than I realized, since there are new methods and classes involved. I have a specialized archiver proxy implementation in the assembly plugin that adds a prefix root to everything, and I'll need to make that work before I can turn this loose.

> jar-with-dependencies and signed jars issue again
> -------------------------------------------------
>
>                 Key: MASSEMBLY-213
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-213
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: TAKATA, Satoshi
>             Fix For: 2.2-beta-2
>
>         Attachments: alpha9.patch
>
>
> /META-INF/*.RSA
> /META-INF/*.SF
> /META-INF/*.rsa
> /META-INF/*.sf
> These files are not excluded with the configuration below.
> <plugin>
> 	<artifactId>maven-assembly-plugin</artifactId>
> 	<configuration>
> 		<descriptorRefs>
> 			 <descriptorRef>jar-with-dependencies</descriptorRef>
> 		</descriptorRefs>
> 		<archive>
> 			<manifest>
> 				<mainClass>my.MainClass</mainClass>
> 				<packageName>my</packageName>
> 			</manifest>
> 		</archive>
> 	</configuration>
> </plugin>

-- 
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-213) jar-with-dependencies and signed jars issue again

Posted by "Mike Cumings (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MASSEMBLY-213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_99390 ] 

Mike Cumings commented on MASSEMBLY-213:
----------------------------------------

Looks to be caused by http://jira.codehaus.org/browse/PLXCOMP-68

I've submitted a patch and a request to have plexus-archiver 1.0-alpha-9 built
for use by the assembly plugin.  I'm also attaching a patch to this issue which
adds some required methods which are required to work with the new code
in 1.0-alpha-9.  As you can see in the patch, the changes are quite transparent
to functional operation.

Once PLXCOMP-68 is integrated into a non-SNAPSHOT, I cordially request a
new release of the assembly plugin as well, if possible.  Thanks in advance.

> jar-with-dependencies and signed jars issue again
> -------------------------------------------------
>
>                 Key: MASSEMBLY-213
>                 URL: http://jira.codehaus.org/browse/MASSEMBLY-213
>             Project: Maven 2.x Assembly Plugin
>          Issue Type: Bug
>    Affects Versions: 2.2-beta-1
>            Reporter: TAKATA, Satoshi
>         Attachments: alpha9.patch
>
>
> /META-INF/*.RSA
> /META-INF/*.SF
> /META-INF/*.rsa
> /META-INF/*.sf
> These files are not excluded with the configuration below.
> <plugin>
> 	<artifactId>maven-assembly-plugin</artifactId>
> 	<configuration>
> 		<descriptorRefs>
> 			 <descriptorRef>jar-with-dependencies</descriptorRef>
> 		</descriptorRefs>
> 		<archive>
> 			<manifest>
> 				<mainClass>my.MainClass</mainClass>
> 				<packageName>my</packageName>
> 			</manifest>
> 		</archive>
> 	</configuration>
> </plugin>

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