The following comment has been added to this issue:
Author: Oliver Noelle
Created: Fri, 5 Sep 2003 8:30 AM
Body:
I still get the same wrong behaviour reproducible on my system.
Is it possible that the property "resolvedDirectory" once it is assigned does not
change on the next invocation of deploy:artifact?
Another example:
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>
and gave me as output:
[echo] Deleting SNAPSHOTS in /exports/maven/repository/errormanager/distributions on
dude
which was quite confusing for me! Where did the "jars" from the above assignment go?
After changing the variable name from "resolvedDirectory" to something else it seemed
to work!
=> How does maven handle properties that get set multiple times during one maven run.
Environment:
Maven beta10, win2k, calling the goals from "dos console" (not maven console)
Nobody else could reproduce the behaviour by calling
maven jar:deploy dist:deploy
(distribution gets deployed in jars directory)
or
maven dist:deploy jar:deploy
(jar gets deployed in distributions directory)
???
---------------------------------------------------------------------
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]