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.management.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.karaf.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:mfriedenha...@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.taru...@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: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:\Users\Michael 
> CTR 
> Tarullo.FAA\.m2\repo\org\apache\karaf\management\mbeans\org.apache.kar
> af.management.mbeans.scr\2.4.0.redhat-620133
>
> Mike
>
B KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKCB  [  
X  ܚX KK[XZ[
 \ \  ][  X  ܚX PX] [  \X K ܙ B  ܈Y][ۘ[  [X[  K[XZ[
 \ \  Z[X] [  \X K ܙ B

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

Reply via email to