maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Michael.CTR.Taru...@faa.gov>
Subject RE: Specified destination directory cannot be created
Date Mon, 17 Aug 2015 14:43:09 GMT
Thanks Robert.

Using Maven 3.1.1 (required by COTS product vendor); can you define ancient :-)?

I suspect it is not permission related, because the build created other directories\sub-directories
located here (which is the same reason I concluded it is neither spaces in a directory name
nor directory name length as I mentioned in a previous post).

I think it might be time to see what the vendor of the software I'm trying to build has to
say!!!

But if anyone else has any other ideas, I'm open to hearing them.

Mike

Michael Tarullo
Contractor (Engility Corp)
Enterprise Architect
NSRR System Administrator
FAA WJH Technical Center
(609)485-5294

-----Original Message-----
From: Robert Scholte [mailto:rfscholte@apache.org] 
Sent: Friday, August 14, 2015 5:23 PM
To: Maven Users List
Subject: Re: Specified destination directory cannot be created

Hi,

I found https://issues.apache.org/jira/browse/WAGON-64 but that is rather old, I hope you're
not using an ancient version of Maven.
Other reason could be permission related, although that's weird if it was your user.home,
unless Maven is running as a different user.
Can you create these folders by hand?

thanks,
Robert

Op Fri, 14 Aug 2015 23:14:30 +0200 schreef <Michael.CTR.Tarullo@faa.gov>:

> Mirko,
>
> I gave your recommendation a try, since I was considering it myself.   
> Unfortunately the outcome was the same:
>
> Failed to execute goal
> org.apache.karaf.tooling:features-maven-plugin:2.4.0.redhat-620133:add
> -features-to-repo
> (add-features-to-repo) on project jboss-a-mq: Can't resolve bundle
> org.apache.karaf.management.mbeans:org.apache.karaf.management.mbeans.scr:jar:2.4.0.redhat-620133:
 
> Could not transfer artifact
> org.apache.karaf.management.mbeans:org.apache.karaf.management.mbeans.
> scr:jar:2.4.0.redhat-620133
> from/to jboss.fs.public
> (http://repository.jboss.org/nexus/content/repositories/fs-public/):
>
> Specified destination directory cannot be created:  
> C:\tmp\repo\org\apache\karaf\management\mbeans\org.apache.karaf.manage
> ment.mbeans.scr\2.4.0.redhat-620133
>
> So it appears that this is related to neither spaces in a folder name 
> (parent or otherwise) nor the length of the directory!!!
>
> Is it possible this error is misleading and has nothing to do with 
> creating the director but rather it has something to do with the other 
> error messages provided?
>
> Mike
>
> Michael Tarullo
> Contractor (Engility Corp)
> Enterprise Architect
> NSRR System Administrator
> FAA WJH Technical Center
> (609)485-5294
>
>
> -----Original Message-----
> From: Tarullo, Michael CTR (FAA)
> Sent: Friday, August 14, 2015 4:15 PM
> To: users@maven.apache.org
> Subject: RE: Specified destination directory cannot be created
>
> Mirko,
>
> Thanks for the reply.
>
> I thought about both of those myself.  I did not explore those 
> possibilities because other directories of equal length were created 
> and parent directories to these contained spaces, e.g.:
>
> C:\Users\Michael CTR
> Tarullo.FAA\.m2\repo\org\apache\karaf\management\mbeans\org.apache.kar
> af.management.mbeans.obr\2.4.0.redhat-620133
>
> Mike
>
> Michael Tarullo
> Contractor (Engility Corp)
> Enterprise Architect
> NSRR System Administrator
> FAA WJH Technical Center
> (609)485-5294
>
> -----Original Message-----
> From: Mirko Friedenhagen [mailto:mfriedenhagen@gmail.com]
> Sent: Friday, August 14, 2015 4:04 PM
> To: Maven Users List
> Subject: Re: Specified destination directory cannot be created
>
> Hello Michael,
>
> just guessing:
>
> - sometimes spaces in the path may lead to problems.
> - sometimes Windows encounters a problem when a path is too long.
>
> Could you try setting setting localRepository  as outlined in 
> http://maven.apache.org/settings.html to c:/tmp/m2.
>
> Regards
> Mirko
> --
> Sent from my mobile
> Am 14.08.2015 21:07 schrieb <Michael.CTR.Tarullo@faa.gov>:
>
>> Can anyone tell me why I'm getting the following error?
>>
>> Failed to execute goal
>> org.apache.karaf.tooling:features-maven-plugin:2.4.0.redhat-620133:ad
>> d
>> -features-to-repo
>> (add-features-to-repo) on project jboss-a-mq:
>> Can't resolve bundle
>> org.apache.karaf.management.mbeans:org.apache.karaf.management.mbeans.scr:jar:2.4.0.redhat-620133:
>> Could not transfer artifact
>> org.apache.karaf.management.mbeans:org.apache.karaf.management.mbeans.
>> scr:jar:2.4.0.redhat-620133
>> from/to jboss.fs.public (
>> http://repository.jboss.org/nexus/content/repositories/fs-public/):
>> Specified destination directory cannot be created: C:\Users\Michael 
>> CTR 
>> Tarullo.FAA\.m2\repo\org\apache\karaf\management\mbeans\org.apache.ka
>> r
>> af.management.mbeans.scr\2.4.0.redhat-620133
>>
>> Mike
>>
> %03B
> KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB
> %1B %1D[  X  ܚX K%08%19K[XZ[
>  %1D\ \  ][  X  ܚX P%1BX] [  \%18X %19K ܙ B  ܈%18Y%19%1A]%1A[ۘ[%08%18   
> [X[ %1C %08%19K[XZ[
>  %1D\ \  Z%19[%1C%10%1BX] [  \%18X %19K ܙ B
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

Mime
View raw message