You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/06/13 10:52:06 UTC

[jira] Commented: (MPJAR-26) jar:deploy use artifact tags but consider we are under linux/unix system

The following comment has been added to this issue:

     Author: Emmanuel Boudrant
    Created: Sun, 13 Jun 2004 4:51 AM
       Body:
Is it possible to fix this before maven 1.0 final release ?

The only thing to do is replace the deploy/install goals by this (Am I wrong?) and remove goal jar:snapshot :

 <!--==================================================================-->
 <!-- Deploys the jar to the remote repository                         --> 
 <!--==================================================================-->     

 <goal name="jar:deploy"
       prereqs="jar:jar"
       description="Deploys the jar to the remote repository">

    <artifact:deploy
       artifact="${maven.build.dir}/${maven.final.name}.jar"
       type="jar"
       project="${pom}"/>         
 </goal>

<!--==================================================================-->
<!-- Deploys the snapshot of the jar to the remote repository         --> 
<!--==================================================================-->   
  
 <goal name="jar:deploy-snapshot"
       prereqs="jar:jar"
       description="Deploys the snapshot version of  the jar to remote repository">
    <artifact:deploy-snapshot
       artifact="${maven.build.dir}/${maven.final.name}.jar"
       type="jar"
       project="${pom}"/>          
 </goal>

 <!-- ================================================================== -->
 <!-- I N S T A L L   J A R                                              -->
 <!-- ================================================================== -->

 <goal name="jar:install" prereqs="jar:jar"
   description="Install the jar in the local repository">
      <artifact:install
       artifact="${maven.build.dir}/${maven.final.name}.jar"
       type="jar"
       project="${pom}"/>          
 </goal>

 <!-- ================================================================== -->
 <!-- I N S T A L L  S N A P S H O T                                       -->
 <!-- ================================================================== -->

 <goal
   name="jar:install-snapshot" prereqs="jar:snapshot"
   description="Install a snapshot jar in the local repository">

    <artifact:install-snapshot
       artifact="${maven.build.dir}/${maven.final.name}.jar"
       type="jar"
       project="${pom}"/>          
 </goal>


Thx,
emmanuel

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPJAR-26?page=comments#action_20587

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAR-26

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAR-26
    Summary: jar:deploy use artifact tags but consider we are under linux/unix system
       Type: Bug

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jar-plugin

   Assignee: Brett Porter
   Reporter: Emmanuel Boudrant

    Created: Tue, 1 Jun 2004 6:15 AM
    Updated: Sun, 13 Jun 2004 4:51 AM
Environment: maven-jar-plugin-1.5 + Windows deployement

Description:
The tag artifact is used like this in maven-jar-plugin-1.5 :

    <deploy:artifact
      artifact="${relativePath}"
      type="jars"
      assureDirectoryCommand="mkdir -p"
      siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy}; chgrp ${maven.remote.group} ${maven.jar.to.deploy}"
    />

Why the attribute siteCommand is setted ?
I want to use the property I setted for the artifact plugin, not the old properties : 

maven.remote...

Thx,
-emmanuel




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org