The following comment has been added to this issue:

     Author: dion gillard
    Created: Fri, 5 Sep 2003 10:50 PM
       Body:
> Is it possible that the property "resolvedDirectory" once it is 
> assigned does not change on the next invocation of deploy:artifact?
Not given the tests I did above.

> I made a new plugin that tries to delete snapshots in the central
> repository, it contains these two lines (and more)


> <ant:property name="resolvedDirectory"
> value="${siteDirectory}/${pom.artifactDirectory}/jars/"/>
> <ant:echo>Deleting SNAPSHOTS in ${resolvedDirectory} on
> ${siteAddress}</ant:echo>
You understand that ant property doesn't change a variable if it's already set, right?

> => How does maven handle properties that get set multiple times 
> during one maven run.
By using j:set, not ant:property



> Environment:
> Maven beta10, win2k, calling the goals from "dos console" (not maven
> console)
I'm on HEAD rather than b10.

> Nobody else could reproduce the behaviour by calling

> maven jar:deploy dist:deploy
Tested above.

> (distribution gets deployed in jars directory)
> or
> maven dist:deploy jar:deploy
> (jar gets deployed in distributions directory)

   [echo]
         Executing cd /public/html/maven/maven/distributions;gunzip 
distributions.tar.gz;tar xUvf distributions.tar;chmod -R g+u *;rm
istributions.tar with the username dion on login.ibiblio.org

   [exec] chmod: changing permissions of `maven-1.0-beta-5.tar.gz': Operation not 
permitted
   [exec] maven-word2html-plugin-1.4-SNAPSHOT-src.tar.gz
   [exec] maven-word2html-plugin-1.4-SNAPSHOT-src.zip
   [exec] chmod: changing permissions of `maven-1.0-beta-5.zip': Operation not 
permitted
   [exec] chmod: changing permissions of `maven-1.0-beta-6.tar.gz': Operation not 
permitted
   [exec] maven-word2html-plugin-1.4-SNAPSHOT.tar.gz
   [exec] maven-word2html-plugin-1.4-SNAPSHOT.zip
   [exec] chmod: changing permissions of `maven-1.0-beta-6.zip': Operation not 
permitted
   [exec] chmod: changing permissions of `maven-1.0-beta-7.tar.gz': Operation not 
permitted
   [exec] chmod: changing permissions of `maven-1.0-beta-7.zip': Operation not 
permitted

ar:deploy:
ava:prepare-filesystem:

ava:compile:
   [echo] Compiling to C:\source\maven\src\plugins-build\word2html/target/classes
   [echo] No java source files to compile.

ava:jar-resources:

est:prepare-filesystem:

est:test-resources:

est:compile:
   [echo] No test source files to compile.

est:test:
   [echo] No tests to run.

ar:jar:

   [echo]
       Moving target/maven-word2html-plugin-1.4-SNAPSHOT.jar to the 
/public/html/maven/maven/jars on login.ibiblio.org

 

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-636


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-636
    Summary: distributions get deployed in the "jars" directory
       Type: Bug

     Status: Closed
   Priority: Minor
 Resolution: CANNOT REPRODUCE

 Time Spent: Unknown
  Remaining: 4 hours

    Project: maven
 Components: 
             plugin-dist
   Fix Fors:
             1.0-rc1

   Assignee: 
   Reporter: Oliver Noelle

    Created: Thu, 31 Jul 2003 7:38 AM
    Updated: Tue, 19 Aug 2003 6:26 PM
Environment: apparently appeared in beta-8, beta-9, beta-10

Description:
Calling maven with the following goals in that order

maven jar:deploy dist:deploy

results in the distribution files getting deployed in the "jars" directory of the 
project instead of the "distributions" directory.

Swapping the order seems to work as expected.


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to