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

[jira] Created: (MRRESOURCES-12) It should be possible to use something other than "project.name" for the header

It should be possible to use something other than  "project.name" for the header
--------------------------------------------------------------------------------

                 Key: MRRESOURCES-12
                 URL: http://jira.codehaus.org/browse/MRRESOURCES-12
             Project: Maven 2.x Remote Resources Plugin
          Issue Type: Improvement
    Affects Versions: 1.0-alpha-1, 1.0-alpha-2
            Reporter: Daniel Kulp



"Adam Lally" <al...@alum.rpi.edu>:
However, is there a way to override the name of
the project that is written to the NOTICES and DISCLAIMER files?
Currently each jar file uses its own artifact name (e.g. "Apache UIMA
Java Framework Core") when really we want just the name of our project
("Apache UIMA").




-- 
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: (MRRESOURCES-12) It should be possible to use something other than "project.name" for the header

Posted by "Daniel Kulp (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRRESOURCES-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp closed MRRESOURCES-12.
----------------------------------

    Resolution: Fixed

> It should be possible to use something other than  "project.name" for the header
> --------------------------------------------------------------------------------
>
>                 Key: MRRESOURCES-12
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-12
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2
>            Reporter: Daniel Kulp
>         Assigned To: Daniel Kulp
>             Fix For: 1.0-alpha-3
>
>
> "Adam Lally" <al...@alum.rpi.edu>:
> However, is there a way to override the name of
> the project that is written to the NOTICES and DISCLAIMER files?
> Currently each jar file uses its own artifact name (e.g. "Apache UIMA
> Java Framework Core") when really we want just the name of our project
> ("Apache UIMA").

-- 
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: (MRRESOURCES-12) It should be possible to use something other than "project.name" for the header

Posted by "Daniel Kulp (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MRRESOURCES-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_87671 ] 

Daniel Kulp commented on MRRESOURCES-12:
----------------------------------------


Forgot to mention, this is technically a problem in the apache-jar-resource-bundle, not maven-remote-resources-plugin.   Just not sure where to log the bug.

The fix is to change the template to allow an optional project_name property:
===================================================================
--- src/main/resources/META-INF/NOTICE.vm       (revision 507977)
+++ src/main/resources/META-INF/NOTICE.vm       (working copy)
@@ -1,9 +1,11 @@
 // ------------------------------------------------------------------
 // NOTICE file corresponding to the section 4d of The Apache License,
-// Version 2.0, in this case for ${project.name}
+// Version 2.0, in this case for #if ($project_name)$project_name#else${project.name}#end
+
 // ------------------------------------------------------------------

-${project.name}
+#if ($project_name)$project_name#else${project.name}#end
+
 Copyright ${projectTimespan} The Apache Software Foundation

 This product includes software developed at


> It should be possible to use something other than  "project.name" for the header
> --------------------------------------------------------------------------------
>
>                 Key: MRRESOURCES-12
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-12
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2
>            Reporter: Daniel Kulp
>         Assigned To: Daniel Kulp
>
> "Adam Lally" <al...@alum.rpi.edu>:
> However, is there a way to override the name of
> the project that is written to the NOTICES and DISCLAIMER files?
> Currently each jar file uses its own artifact name (e.g. "Apache UIMA
> Java Framework Core") when really we want just the name of our project
> ("Apache UIMA").

-- 
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: (MRRESOURCES-12) It should be possible to use something other than "project.name" for the header

Posted by "Daniel Kulp (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MRRESOURCES-12?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp updated MRRESOURCES-12:
-----------------------------------

    Fix Version/s: 1.0-alpha-3

> It should be possible to use something other than  "project.name" for the header
> --------------------------------------------------------------------------------
>
>                 Key: MRRESOURCES-12
>                 URL: http://jira.codehaus.org/browse/MRRESOURCES-12
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2
>            Reporter: Daniel Kulp
>         Assigned To: Daniel Kulp
>             Fix For: 1.0-alpha-3
>
>
> "Adam Lally" <al...@alum.rpi.edu>:
> However, is there a way to override the name of
> the project that is written to the NOTICES and DISCLAIMER files?
> Currently each jar file uses its own artifact name (e.g. "Apache UIMA
> Java Framework Core") when really we want just the name of our project
> ("Apache UIMA").

-- 
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: (MRRESOURCES-12) It should be possible to use something other than "project.name" for the header

Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
    [ https://jira.codehaus.org/browse/MRRESOURCES-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277826#comment-277826 ] 

Herve Boutemy commented on MRRESOURCES-12:
------------------------------------------

https://issues.apache.org/jira/browse/MPOM-30

> It should be possible to use something other than  "project.name" for the header
> --------------------------------------------------------------------------------
>
>                 Key: MRRESOURCES-12
>                 URL: https://jira.codehaus.org/browse/MRRESOURCES-12
>             Project: Maven 2.x Remote Resources Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.0-alpha-1, 1.0-alpha-2
>            Reporter: Daniel Kulp
>            Assignee: Daniel Kulp
>             Fix For: 1.0-alpha-3
>
>
> "Adam Lally" <al...@alum.rpi.edu>:
> However, is there a way to override the name of
> the project that is written to the NOTICES and DISCLAIMER files?
> Currently each jar file uses its own artifact name (e.g. "Apache UIMA
> Java Framework Core") when really we want just the name of our project
> ("Apache UIMA").

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira