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"
|
type="poms"
|
||||||
artifact="${projectFilename}"
|
artifact="${projectFilename}"
|
||||||
targetFilename="${pomFilename}"
|
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
|
<deploy:artifact
|
||||||
assureDirectoryCommand="mkdir -p"
|
assureDirectoryCommand="mkdir -p"
|
||||||
@ -103,7 +103,7 @@
|
|||||||
handler="${typeHandler}"
|
handler="${typeHandler}"
|
||||||
artifact="${artifact}"
|
artifact="${artifact}"
|
||||||
targetFilename="${filename}"
|
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:when>
|
||||||
<j:otherwise>
|
<j:otherwise>
|
||||||
@ -158,7 +158,7 @@
|
|||||||
type="poms"
|
type="poms"
|
||||||
artifact="${projectFilename}"
|
artifact="${projectFilename}"
|
||||||
targetFilename="${pomFilename}"
|
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
|
<deploy:artifact
|
||||||
assureDirectoryCommand="mkdir -p"
|
assureDirectoryCommand="mkdir -p"
|
||||||
@ -166,7 +166,7 @@
|
|||||||
handler="${typeHandler}"
|
handler="${typeHandler}"
|
||||||
targetFilename="${timestampName}"
|
targetFilename="${timestampName}"
|
||||||
artifact="${artifact}"
|
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:when>
|
||||||
<j:otherwise>
|
<j:otherwise>
|
||||||
|
|||||||
@ -26,6 +26,7 @@
|
|||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
<release version="1.5-SNAPSHOT" date="in SVN">
|
<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="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>
|
<action dev="brett" type="update" issue="MAVEN-1396">Replace bulk of code with Wagon</action>
|
||||||
</release>
|
</release>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user