On Tue, 2003-05-27 at 17:47, Verma, Nitin (GECP, OTHER, 529706) wrote:
> But I get now get this error
> ---------------------------
> [exec] chgrp: invalid group name `maven'
> ---------------------------
> Do we have a property like "maven.usergroup"?
Not yet. Here's a internal info (in maven CVS, the property is
different!). If you like, I can also send you the patch file.
cu
Martin
--- attached info
For maven 1.0-beta-9, you need to patch a file to make maven jar:install
to work properly (1.0-beta-10 will contain this feature). Download file
plugin.jelly.patch to your home directory ($HOME), open a command shell
and execute
cd $MAVEN_HOME;
patch plugins/maven-jar-plugin-1.0/plugin.jelly <
$HOME/plugin.jelly.patch
If you prefer manual changing, change line 126 in file
$MAVEN_HOME/plugins/maven-jar-plugin-1.0/plugin.jelly from
siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy};
chgrp maven ${maven.jar.to.deploy};
ln -sf ${maven.jar.to.deploy} ${pom.artifactId}-SNAPSHOT.jar;
echo ${snapshotVersion} ${pom.artifactId}-snapshot-version"
to
siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy};
chgrp ${maven.remote.group} ${maven.jar.to.deploy};
ln -sf ${maven.jar.to.deploy} ${pom.artifactId}-SNAPSHOT.jar;
echo ${snapshotVersion} > ${pom.artifactId}-snapshot-version"
and change line 155 from
siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy};
chgrp maven ${maven.jar.to.deploy}"
to
siteCommand="cd @deployDirectory@; chmod g+w ${maven.jar.to.deploy};
chgrp ${maven.remote.group} ${maven.jar.to.deploy}"
--
Martin Skopp
Riege Software International GmbH
Support: mailto:[EMAIL PROTECTED], Information: http://www.riege.com
This email is intended to be viewed with a nonproportional font.
Public Key on http://www.keyserver.net, Key-ID: 3D4027B5
Fingerprint: 1970 C78D 9A1D 99FA 5CE4 5C0D 29E6 6A95 3D40 27B5
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]