jar:deploy does this:

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


I don't see anywhere that does a chmod a+rx ${maven.jar.to.deploy}, and 
that sounds like a bug to me.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/



[EMAIL PROTECTED] wrote on 16/12/2003 01:06:51 PM:

> I checked the permissions on the directories created and it turns out 
that 
> all the directories are set to drwxrwx---.  So I decided to just 
download 
> the JAR from a web browser, and sure enough Apache wouldn't let me 
download 
> it.  So I can solve this problem by manually changing perms on the 
> directories created, but is there a better way?
> 
> Yoway Buorn
> Software Engineer
> Imagery Systems Engineering
> 
> GENERAL DYNAMICS
> Advanced Information Systems
> 
> "Make me a fire and I'm warm for a night.  Set me on fire and I'm warm 
for 
> the rest of my life." -- Ancient Didactical Saying
> 
> 
> 
> -----Original Message-----
> From: Buorn, Yoway 
> Sent: Monday, December 15, 2003 5:35 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Problem with jar:deploy-snapshot
> 
> 
> Oh, there's one more problem I encountered with jar:deploy-snapshot. 
Once
> the snapshot has been deployed (which I can do by deleting the last 
symbolic
> link), I can't seem to downloaded the JAR.  Here's the error message:
> 
> Attempting to download djdan-SNAPSHOT.jar.
> Error retrieving artifact from
> [http://dj.dan.gd-ais.com/maven/djdan/jars/djdan-SNAPSHOT.jar]:
> java.lang.Exception: Can't get djdan-SNAPSHOT.jar to C:\Documents and
> Settings\buorny\.maven\repository\djdan\jars\djdan-SNAPSHOT.jar 
> WARNING: Failed to download djdan-SNAPSHOT.jar.
> The build cannot continue because of the following unsatisfied 
dependency:
> 
> messagebusclient-SNAPSHOT.jar (no download url specified)
> 
> Please help.  Thank you.
> 
> Yoway Buorn
> Software Engineer
> Imagery Systems Engineering
> 
> GENERAL DYNAMICS
> Advanced Information Systems
> 
> "Make me a fire and I'm warm for a night.  Set me on fire and I'm warm 
for
> the rest of my life." -- Ancient Didactical Saying
> 
> 
> >  -----Original Message-----
> > From:    Buorn, Yoway 
> > Sent:   Monday, December 15, 2003 3:18 PM
> > To:   '[EMAIL PROTECTED]'
> > Subject:   Problem with jar:deploy-snapshot
> > 
> > After having already deployed a snapshot, when I run 
jar:deploy-snapshot
> > again, I get the following error:
> > 
> >     [echo]
> >           Executing cd /usr/apache/htdocs/maven/distributed/jars; 
chmod
> > g+w distributed-20031215.231511.jar; chgrp staff
> > distributed-20031215.231511.jar; ln -sf
> >  distributed-20031215.231511.jar distributed-SNAPSHOT.jar; echo
> > 20031215.231511 > distributed-snapshot-version with the username 
yoway
> > on zurg
> > 
> >     [exec] ln: cannot create distributed-SNAPSHOT.jar: File exists
> > 
> > When I check the repository, distributed-SNAPSHOT.jar is still 
pointing to
> > the previous snapshot.  This is a bug, right?  Shouldn't the link 
maybe be
> > deleted first?
> > 
> > Yoway Buorn
> > Software Engineer
> > Imagery Systems Engineering
> > 
> > GENERAL DYNAMICS
> > Advanced Information Systems
> > 
> > "Make me a fire and I'm warm for a night.  Set me on fire and I'm warm 
for
> > the rest of my life." -- Ancient Didactical Saying
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to