You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Egan (JIRA)" <ji...@codehaus.org> on 2007/08/16 18:08:47 UTC

[jira] Created: (MJAR-81) Ability to list Class-Path: elements individually

Ability to list Class-Path: elements individually
-------------------------------------------------

                 Key: MJAR-81
                 URL: http://jira.codehaus.org/browse/MJAR-81
             Project: Maven 2.x Jar Plugin
          Issue Type: New Feature
         Environment: All
            Reporter: Robert Egan
            Priority: Minor


I'd like a method to list my classpath elements in a manner other than in one long string. For example, one of my production jars contains the following entry

Class-Path: plugins/framework plugins/checkservices plugins/transferse
 rvices plugins/alerts plugins/pr plugins/pr/achapps plugins/pr/wireap
 ps securityUtil-hotfix.jar securityUtil.jar wcmCache-hotfix.jar wcmCa
 che.jar wcmPrincipals-hotfix.jar wcmPrincipals.jar  lib/gnu/gnu-crypt
 o.jar lib/oracle/jdbc-10.2.0.1.0/ojdbc14.jar lib/oracle/jdbc-10.2.0.1
 .0/jdbc_rowset_tiger1.0.1mrel-ri/rowset.jar lib/jdom/jdom-1.0/jdom.ja
 r lib/emory.edu/backport-util-concurrent-2.2/backport-util-concurrent
 .jar lib/apache/jakarta-commons/commons-cli-1.0.jar lib/apache/jakart
 a-commons/commons-collections-3.1.jar lib/apache/jakarta-commons/comm
 ons-dbcp-1.2.1.jar lib/apache/jakarta-commons/commons-lang-2.1.jar li
 b/apache/jakarta-commons/commons-pool-1.2.jar lib/apache/jakarta-comm
 ons/commons-logging-1.0.4/commons-logging.jar lib/rsa/authapi.jar lib
 /apache/log4j/log4j-1.2.8.jar lib/jradius/jradius.jar lib/jradius/jra
 dius-dictionary.jar lib/httpclient/commons-codec-1.3.jar lib/httpclie
 nt/commons-httpclient-3.0.jar lib/apache/JCS/jcs-1.2.6.8.jar lib/oswe
 go.edu/util-concurrent-1.3.4.jar

And it sure would be nice to have something like

<classpath>
<entry>plugins/framework</entry>
<entry>plugins/checkservices</entry>
<entry>plugins/transferservices</entry>
<entry>...etc</entry>
</classpath>

-- 
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: (MNG-3345) Ability to list Class-Path: elements individually

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy updated MNG-3345:
------------------------------

    Affects Version/s: Reviewed Pending Version Assignment
        Fix Version/s: Reviewed Pending Version Assignment
          Component/s: maven-archiver

> Ability to list Class-Path: elements individually
> -------------------------------------------------
>
>                 Key: MNG-3345
>                 URL: http://jira.codehaus.org/browse/MNG-3345
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: maven-archiver
>    Affects Versions: Reviewed Pending Version Assignment
>         Environment: All
>            Reporter: Robert Egan
>            Priority: Minor
>             Fix For: Reviewed Pending Version Assignment
>
>
> I'd like a method to list my classpath elements in a manner other than in one long string. For example, one of my production jars contains the following entry
> Class-Path: plugins/framework plugins/checkservices plugins/transferse
>  rvices plugins/alerts plugins/pr plugins/pr/achapps plugins/pr/wireap
>  ps securityUtil-hotfix.jar securityUtil.jar wcmCache-hotfix.jar wcmCa
>  che.jar wcmPrincipals-hotfix.jar wcmPrincipals.jar  lib/gnu/gnu-crypt
>  o.jar lib/oracle/jdbc-10.2.0.1.0/ojdbc14.jar lib/oracle/jdbc-10.2.0.1
>  .0/jdbc_rowset_tiger1.0.1mrel-ri/rowset.jar lib/jdom/jdom-1.0/jdom.ja
>  r lib/emory.edu/backport-util-concurrent-2.2/backport-util-concurrent
>  .jar lib/apache/jakarta-commons/commons-cli-1.0.jar lib/apache/jakart
>  a-commons/commons-collections-3.1.jar lib/apache/jakarta-commons/comm
>  ons-dbcp-1.2.1.jar lib/apache/jakarta-commons/commons-lang-2.1.jar li
>  b/apache/jakarta-commons/commons-pool-1.2.jar lib/apache/jakarta-comm
>  ons/commons-logging-1.0.4/commons-logging.jar lib/rsa/authapi.jar lib
>  /apache/log4j/log4j-1.2.8.jar lib/jradius/jradius.jar lib/jradius/jra
>  dius-dictionary.jar lib/httpclient/commons-codec-1.3.jar lib/httpclie
>  nt/commons-httpclient-3.0.jar lib/apache/JCS/jcs-1.2.6.8.jar lib/oswe
>  go.edu/util-concurrent-1.3.4.jar
> And it sure would be nice to have something like
> <classpath>
> <entry>plugins/framework</entry>
> <entry>plugins/checkservices</entry>
> <entry>plugins/transferservices</entry>
> <entry>...etc</entry>
> </classpath>

-- 
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: (MNG-3345) Ability to list Class-Path: elements individually

Posted by "B. Garvelink (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=129545#action_129545 ] 

B. Garvelink commented on MNG-3345:
-----------------------------------

+1

An alternative to introducing a new {{<classpath>}} element to the archiver configuration would be to concatenate entries with the same key, instead of relying on the overwrite / use-last-inserted behaviour that's there now. This way, no new configuration element is required. It seems unlikely to me that anyone is deliberately relying on the current behaviour, but that could be awfully naive of me. I'm fine with either solution, really.

{code:xml}
<manifestEntries>
	<Class-Path>plugins/framework</Class-Path>
	<Class-Path>plugins/checkservices</Class-Path>
	<Class-Path>plugins/transferservices</Class-Path>
</manifestEntries>
{code}

> Ability to list Class-Path: elements individually
> -------------------------------------------------
>
>                 Key: MNG-3345
>                 URL: http://jira.codehaus.org/browse/MNG-3345
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: maven-archiver
>    Affects Versions: Reviewed Pending Version Assignment
>         Environment: All
>            Reporter: Robert Egan
>            Priority: Minor
>             Fix For: Reviewed Pending Version Assignment
>
>
> I'd like a method to list my classpath elements in a manner other than in one long string. For example, one of my production jars contains the following entry
> Class-Path: plugins/framework plugins/checkservices plugins/transferse
>  rvices plugins/alerts plugins/pr plugins/pr/achapps plugins/pr/wireap
>  ps securityUtil-hotfix.jar securityUtil.jar wcmCache-hotfix.jar wcmCa
>  che.jar wcmPrincipals-hotfix.jar wcmPrincipals.jar  lib/gnu/gnu-crypt
>  o.jar lib/oracle/jdbc-10.2.0.1.0/ojdbc14.jar lib/oracle/jdbc-10.2.0.1
>  .0/jdbc_rowset_tiger1.0.1mrel-ri/rowset.jar lib/jdom/jdom-1.0/jdom.ja
>  r lib/emory.edu/backport-util-concurrent-2.2/backport-util-concurrent
>  .jar lib/apache/jakarta-commons/commons-cli-1.0.jar lib/apache/jakart
>  a-commons/commons-collections-3.1.jar lib/apache/jakarta-commons/comm
>  ons-dbcp-1.2.1.jar lib/apache/jakarta-commons/commons-lang-2.1.jar li
>  b/apache/jakarta-commons/commons-pool-1.2.jar lib/apache/jakarta-comm
>  ons/commons-logging-1.0.4/commons-logging.jar lib/rsa/authapi.jar lib
>  /apache/log4j/log4j-1.2.8.jar lib/jradius/jradius.jar lib/jradius/jra
>  dius-dictionary.jar lib/httpclient/commons-codec-1.3.jar lib/httpclie
>  nt/commons-httpclient-3.0.jar lib/apache/JCS/jcs-1.2.6.8.jar lib/oswe
>  go.edu/util-concurrent-1.3.4.jar
> And it sure would be nice to have something like
> <classpath>
> <entry>plugins/framework</entry>
> <entry>plugins/checkservices</entry>
> <entry>plugins/transferservices</entry>
> <entry>...etc</entry>
> </classpath>

-- 
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] Moved: (MNG-3345) Ability to list Class-Path: elements individually

Posted by "Olivier Lamy (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy moved MJAR-81 to MNG-3345:
---------------------------------------

        Key: MNG-3345  (was: MJAR-81)
    Project: Maven 2  (was: Maven 2.x Jar Plugin)

> Ability to list Class-Path: elements individually
> -------------------------------------------------
>
>                 Key: MNG-3345
>                 URL: http://jira.codehaus.org/browse/MNG-3345
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: maven-archiver
>    Affects Versions: Reviewed Pending Version Assignment
>         Environment: All
>            Reporter: Robert Egan
>            Priority: Minor
>             Fix For: Reviewed Pending Version Assignment
>
>
> I'd like a method to list my classpath elements in a manner other than in one long string. For example, one of my production jars contains the following entry
> Class-Path: plugins/framework plugins/checkservices plugins/transferse
>  rvices plugins/alerts plugins/pr plugins/pr/achapps plugins/pr/wireap
>  ps securityUtil-hotfix.jar securityUtil.jar wcmCache-hotfix.jar wcmCa
>  che.jar wcmPrincipals-hotfix.jar wcmPrincipals.jar  lib/gnu/gnu-crypt
>  o.jar lib/oracle/jdbc-10.2.0.1.0/ojdbc14.jar lib/oracle/jdbc-10.2.0.1
>  .0/jdbc_rowset_tiger1.0.1mrel-ri/rowset.jar lib/jdom/jdom-1.0/jdom.ja
>  r lib/emory.edu/backport-util-concurrent-2.2/backport-util-concurrent
>  .jar lib/apache/jakarta-commons/commons-cli-1.0.jar lib/apache/jakart
>  a-commons/commons-collections-3.1.jar lib/apache/jakarta-commons/comm
>  ons-dbcp-1.2.1.jar lib/apache/jakarta-commons/commons-lang-2.1.jar li
>  b/apache/jakarta-commons/commons-pool-1.2.jar lib/apache/jakarta-comm
>  ons/commons-logging-1.0.4/commons-logging.jar lib/rsa/authapi.jar lib
>  /apache/log4j/log4j-1.2.8.jar lib/jradius/jradius.jar lib/jradius/jra
>  dius-dictionary.jar lib/httpclient/commons-codec-1.3.jar lib/httpclie
>  nt/commons-httpclient-3.0.jar lib/apache/JCS/jcs-1.2.6.8.jar lib/oswe
>  go.edu/util-concurrent-1.3.4.jar
> And it sure would be nice to have something like
> <classpath>
> <entry>plugins/framework</entry>
> <entry>plugins/checkservices</entry>
> <entry>plugins/transferservices</entry>
> <entry>...etc</entry>
> </classpath>

-- 
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: (MSHARED-41) Ability to list Class-Path: elements individually

Posted by "Romain Gossé (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MSHARED-41?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=176226#action_176226 ] 

Romain Gossé commented on MSHARED-41:
-------------------------------------

Maybe I should create a separate issue:

I Like the classpath + classpath prefix feature, but I'd like it to be a bit flexible. For example, being able to append a custom entry to a generated classpath (it is somehow related tothis request) like the "." folder which can be useful for an executable jar looking for external resources (log4j file, velocity template etc.)

Also, being able to limit the dependency transitivity, so that I don't have classpath entries I don't need at runtime...just a thought.

> Ability to list Class-Path: elements individually
> -------------------------------------------------
>
>                 Key: MSHARED-41
>                 URL: http://jira.codehaus.org/browse/MSHARED-41
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-archiver
>         Environment: All
>            Reporter: Robert Egan
>            Priority: Minor
>
> I'd like a method to list my classpath elements in a manner other than in one long string. For example, one of my production jars contains the following entry
> Class-Path: plugins/framework plugins/checkservices plugins/transferse
>  rvices plugins/alerts plugins/pr plugins/pr/achapps plugins/pr/wireap
>  ps securityUtil-hotfix.jar securityUtil.jar wcmCache-hotfix.jar wcmCa
>  che.jar wcmPrincipals-hotfix.jar wcmPrincipals.jar  lib/gnu/gnu-crypt
>  o.jar lib/oracle/jdbc-10.2.0.1.0/ojdbc14.jar lib/oracle/jdbc-10.2.0.1
>  .0/jdbc_rowset_tiger1.0.1mrel-ri/rowset.jar lib/jdom/jdom-1.0/jdom.ja
>  r lib/emory.edu/backport-util-concurrent-2.2/backport-util-concurrent
>  .jar lib/apache/jakarta-commons/commons-cli-1.0.jar lib/apache/jakart
>  a-commons/commons-collections-3.1.jar lib/apache/jakarta-commons/comm
>  ons-dbcp-1.2.1.jar lib/apache/jakarta-commons/commons-lang-2.1.jar li
>  b/apache/jakarta-commons/commons-pool-1.2.jar lib/apache/jakarta-comm
>  ons/commons-logging-1.0.4/commons-logging.jar lib/rsa/authapi.jar lib
>  /apache/log4j/log4j-1.2.8.jar lib/jradius/jradius.jar lib/jradius/jra
>  dius-dictionary.jar lib/httpclient/commons-codec-1.3.jar lib/httpclie
>  nt/commons-httpclient-3.0.jar lib/apache/JCS/jcs-1.2.6.8.jar lib/oswe
>  go.edu/util-concurrent-1.3.4.jar
> And it sure would be nice to have something like
> <classpath>
> <entry>plugins/framework</entry>
> <entry>plugins/checkservices</entry>
> <entry>plugins/transferservices</entry>
> <entry>...etc</entry>
> </classpath>

-- 
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] Moved: (MSHARED-41) Ability to list Class-Path: elements individually

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MSHARED-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter moved MNG-3345 to MSHARED-41:
------------------------------------------

    Affects Version/s:     (was: Reviewed Pending Version Assignment)
        Fix Version/s:     (was: Reviewed Pending Version Assignment)
          Component/s:     (was: maven-archiver)
                       maven-archiver
                  Key: MSHARED-41  (was: MNG-3345)
              Project: Maven Shared Components  (was: Maven 2)

> Ability to list Class-Path: elements individually
> -------------------------------------------------
>
>                 Key: MSHARED-41
>                 URL: http://jira.codehaus.org/browse/MSHARED-41
>             Project: Maven Shared Components
>          Issue Type: New Feature
>          Components: maven-archiver
>         Environment: All
>            Reporter: Robert Egan
>            Priority: Minor
>
> I'd like a method to list my classpath elements in a manner other than in one long string. For example, one of my production jars contains the following entry
> Class-Path: plugins/framework plugins/checkservices plugins/transferse
>  rvices plugins/alerts plugins/pr plugins/pr/achapps plugins/pr/wireap
>  ps securityUtil-hotfix.jar securityUtil.jar wcmCache-hotfix.jar wcmCa
>  che.jar wcmPrincipals-hotfix.jar wcmPrincipals.jar  lib/gnu/gnu-crypt
>  o.jar lib/oracle/jdbc-10.2.0.1.0/ojdbc14.jar lib/oracle/jdbc-10.2.0.1
>  .0/jdbc_rowset_tiger1.0.1mrel-ri/rowset.jar lib/jdom/jdom-1.0/jdom.ja
>  r lib/emory.edu/backport-util-concurrent-2.2/backport-util-concurrent
>  .jar lib/apache/jakarta-commons/commons-cli-1.0.jar lib/apache/jakart
>  a-commons/commons-collections-3.1.jar lib/apache/jakarta-commons/comm
>  ons-dbcp-1.2.1.jar lib/apache/jakarta-commons/commons-lang-2.1.jar li
>  b/apache/jakarta-commons/commons-pool-1.2.jar lib/apache/jakarta-comm
>  ons/commons-logging-1.0.4/commons-logging.jar lib/rsa/authapi.jar lib
>  /apache/log4j/log4j-1.2.8.jar lib/jradius/jradius.jar lib/jradius/jra
>  dius-dictionary.jar lib/httpclient/commons-codec-1.3.jar lib/httpclie
>  nt/commons-httpclient-3.0.jar lib/apache/JCS/jcs-1.2.6.8.jar lib/oswe
>  go.edu/util-concurrent-1.3.4.jar
> And it sure would be nice to have something like
> <classpath>
> <entry>plugins/framework</entry>
> <entry>plugins/checkservices</entry>
> <entry>plugins/transferservices</entry>
> <entry>...etc</entry>
> </classpath>

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