You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Davy Toch (JIRA)" <ji...@codehaus.org> on 2006/06/11 16:07:27 UTC

[jira] Created: (MNG-2358) Default value for 'file' attribute of install/deploy tasks should be available.

Default value for 'file' attribute of install/deploy tasks should be available.
-------------------------------------------------------------------------------

         Key: MNG-2358
         URL: http://jira.codehaus.org/browse/MNG-2358
     Project: Maven 2
        Type: Improvement

  Components: Ant tasks  
    Versions: 2.0.4    
 Environment: Not of importance.
    Reporter: Davy Toch


It would be useful to have a default value for the 'file' attribute in the install/deploy tasks of the M2 ant tasks, based on the POM settings.

<project name="test" default="test"
  xmlns:m="antlib:org.apache.maven.artifact.ant">

  <target name="test">

    ...

    <m:pom id="POM" file="pom.xml"/>

    <!-- 
     Problem e.g. when POM.packaging=ejb.
    -->
    <property name="artifact.url"
      value="${POM.build.directory}/${POM.artifactId}-${POM.version}.${POM.packaging}"/>

    ...

    <m:install file="${artifact.url}">
      <pom refId="POM"/>
    </m:install>

    <m:deploy file="${artifact.url}">
      <pom refId="POM"/>
    </m:deploy>

  </target>

</project>


-- 
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: (MNG-2358) Default value for 'file' attribute of install/deploy tasks should be available.

Posted by "Davy Toch (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2358?page=all ]

Davy Toch closed MNG-2358.
--------------------------

       Resolution: Won't Fix
    Fix Version/s:     (was: 2.1)

Closed because based I misinterpreted the documentation for the M2 ANT tasks.

> Default value for 'file' attribute of install/deploy tasks should be available.
> -------------------------------------------------------------------------------
>
>                 Key: MNG-2358
>                 URL: http://jira.codehaus.org/browse/MNG-2358
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Ant tasks
>    Affects Versions: 2.0.4
>         Environment: Not of importance.
>            Reporter: Davy Toch
>
> It would be useful to have a default value for the 'file' attribute in the install/deploy tasks of the M2 ant tasks, based on the POM settings.
> <project name="test" default="test"
>   xmlns:m="antlib:org.apache.maven.artifact.ant">
>   <target name="test">
>     ...
>     <m:pom id="POM" file="pom.xml"/>
>     <!-- 
>      Problem e.g. when POM.packaging=ejb.
>     -->
>     <property name="artifact.url"
>       value="${POM.build.directory}/${POM.artifactId}-${POM.version}.${POM.packaging}"/>
>     ...
>     <m:install file="${artifact.url}">
>       <pom refId="POM"/>
>     </m:install>
>     <m:deploy file="${artifact.url}">
>       <pom refId="POM"/>
>     </m:deploy>
>   </target>
> </project>

-- 
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-2358) Default value for 'file' attribute of install/deploy tasks should be available.

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-2358?page=all ]

John Casey updated MNG-2358:
----------------------------

    Fix Version: 2.1

> Default value for 'file' attribute of install/deploy tasks should be available.
> -------------------------------------------------------------------------------
>
>          Key: MNG-2358
>          URL: http://jira.codehaus.org/browse/MNG-2358
>      Project: Maven 2
>         Type: Improvement

>   Components: Ant tasks
>     Versions: 2.0.4
>  Environment: Not of importance.
>     Reporter: Davy Toch
>      Fix For: 2.1

>
>
> It would be useful to have a default value for the 'file' attribute in the install/deploy tasks of the M2 ant tasks, based on the POM settings.
> <project name="test" default="test"
>   xmlns:m="antlib:org.apache.maven.artifact.ant">
>   <target name="test">
>     ...
>     <m:pom id="POM" file="pom.xml"/>
>     <!-- 
>      Problem e.g. when POM.packaging=ejb.
>     -->
>     <property name="artifact.url"
>       value="${POM.build.directory}/${POM.artifactId}-${POM.version}.${POM.packaging}"/>
>     ...
>     <m:install file="${artifact.url}">
>       <pom refId="POM"/>
>     </m:install>
>     <m:deploy file="${artifact.url}">
>       <pom refId="POM"/>
>     </m:deploy>
>   </target>
> </project>

-- 
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: (MANTTASKS-138) Default value for 'file' attribute of install/deploy tasks should be available.

Posted by "Benjamin Bentmann (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MANTTASKS-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann moved MNG-2358 to MANTTASKS-138:
--------------------------------------------------

    Affects Version/s:     (was: 2.0.4)
                       2.0.4
          Component/s:     (was: Ant tasks)
                       install task
                       deploy task
                  Key: MANTTASKS-138  (was: MNG-2358)
              Project: Maven 2.x Ant Tasks  (was: Maven 2)

> Default value for 'file' attribute of install/deploy tasks should be available.
> -------------------------------------------------------------------------------
>
>                 Key: MANTTASKS-138
>                 URL: http://jira.codehaus.org/browse/MANTTASKS-138
>             Project: Maven 2.x Ant Tasks
>          Issue Type: Improvement
>          Components: deploy task, install task
>    Affects Versions: 2.0.4
>         Environment: Not of importance.
>            Reporter: Davy Toch
>
> It would be useful to have a default value for the 'file' attribute in the install/deploy tasks of the M2 ant tasks, based on the POM settings.
> <project name="test" default="test"
>   xmlns:m="antlib:org.apache.maven.artifact.ant">
>   <target name="test">
>     ...
>     <m:pom id="POM" file="pom.xml"/>
>     <!-- 
>      Problem e.g. when POM.packaging=ejb.
>     -->
>     <property name="artifact.url"
>       value="${POM.build.directory}/${POM.artifactId}-${POM.version}.${POM.packaging}"/>
>     ...
>     <m:install file="${artifact.url}">
>       <pom refId="POM"/>
>     </m:install>
>     <m:deploy file="${artifact.url}">
>       <pom refId="POM"/>
>     </m:deploy>
>   </target>
> </project>

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