PR: MPARTIFACT-46
add -f flag to chmod and chgrp git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@179341 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d57b339831
commit
5c24e87bb2
@ -95,7 +95,7 @@
|
||||
type="poms"
|
||||
artifact="${projectFilename}"
|
||||
targetFilename="${pomFilename}"
|
||||
siteCommand="cd @deployDirectory@; chmod g+w ${pomFilename}; chgrp ${maven.remote.group} ${pomFilename}"
|
||||
siteCommand="cd @deployDirectory@; chmod -f g+w ${pomFilename}; chgrp -f ${maven.remote.group} ${pomFilename}"
|
||||
/>
|
||||
<deploy:artifact
|
||||
assureDirectoryCommand="mkdir -p"
|
||||
@ -103,7 +103,7 @@
|
||||
handler="${typeHandler}"
|
||||
artifact="${artifact}"
|
||||
targetFilename="${filename}"
|
||||
siteCommand="cd @deployDirectory@; chmod g+w ${filename}; chgrp ${maven.remote.group} ${filename}"
|
||||
siteCommand="cd @deployDirectory@; chmod -f g+w ${filename}; chgrp -f ${maven.remote.group} ${filename}"
|
||||
/>
|
||||
</j:when>
|
||||
<j:otherwise>
|
||||
@ -158,7 +158,7 @@
|
||||
type="poms"
|
||||
artifact="${projectFilename}"
|
||||
targetFilename="${pomFilename}"
|
||||
siteCommand="cd @deployDirectory@; chmod g+w ${pomFilename}; chgrp ${maven.remote.group} ${pomFilename}; rm -f ${pomSnapshotName}; ln -s ${pomFilename} ${pomSnapshotName}; echo ${snapshotVersion} > ${pom.artifactId}-snapshot-version"
|
||||
siteCommand="cd @deployDirectory@; chmod -f g+w ${pomFilename}; chgrp -f ${maven.remote.group} ${pomFilename}; rm -f ${pomSnapshotName}; ln -s ${pomFilename} ${pomSnapshotName}; echo ${snapshotVersion} > ${pom.artifactId}-snapshot-version"
|
||||
/>
|
||||
<deploy:artifact
|
||||
assureDirectoryCommand="mkdir -p"
|
||||
@ -166,7 +166,7 @@
|
||||
handler="${typeHandler}"
|
||||
targetFilename="${timestampName}"
|
||||
artifact="${artifact}"
|
||||
siteCommand="cd @deployDirectory@; chmod g+w ${timestampName}; chgrp ${maven.remote.group} ${timestampName}; rm -f ${snapshotName}; ln -s ${timestampName} ${snapshotName}; echo ${snapshotVersion} > ${pom.artifactId}-snapshot-version"
|
||||
siteCommand="cd @deployDirectory@; chmod -f g+w ${timestampName}; chgrp -f ${maven.remote.group} ${timestampName}; rm -f ${snapshotName}; ln -s ${timestampName} ${snapshotName}; echo ${snapshotVersion} > ${pom.artifactId}-snapshot-version"
|
||||
/>
|
||||
</j:when>
|
||||
<j:otherwise>
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
</properties>
|
||||
<body>
|
||||
<release version="1.5-SNAPSHOT" date="in SVN">
|
||||
<action dev="brett" type="update" issue="MPARTIFACT-46">Add -f flag to chmod and chgrp as they may fail even in a successful state</action>
|
||||
<action dev="brett" type="update" issue="MPARTIFACT-48">Legacy method not executing from the correct directory</action>
|
||||
<action dev="brett" type="update" issue="MAVEN-1396">Replace bulk of code with Wagon</action>
|
||||
</release>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user