Just copy the .m2 directory to from C:\Documents and Settings\...\.m2 to
some other location 

give the path of  repository in maven/conf/settings.xml (uncomment local
repository)
 <localRepository>/path/to/local/repo</localRepository>

give the full path like D:/MyRepo/.m2/repository

set the path in system environmental variables too.

it might work now


Suresh Indukuri


Ebenezer, Daniel wrote:
> 
>  
> 
> I am trying to setup my development to Struts2 + Hibernate + Spring +
> MySQL and I used the archetype for spring MVC Basic 
> 
>  
> 
> 1)      mvn archetype:create -DarchetypeGroupId=org.appfuse.archetypes
> -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=
> http://static.appfuse.org/releases  -DarchetypeVersion=2.0.2
> -DgroupId=com.mycompany.app -DartifactId=myproject
> 
> 2)     I tried mvn appfuse:full-source to get the source but I am
> getting the following error,
> 
>  
> 
> I am not sure why it is creating a .m2 folder which I do not like and
> then I feel that 1.x seemed to be relatively simple
> 
>  
> 
>  
> 
>  
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [ERROR] FATAL ERROR
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] null
> 
> Illegal character in path at index 18: file:/C:/Documents and
> Settings/debenezer/.m2/repository/org/apache/ant/ant/1.7.0
> 
> /ant-1.7.0.jar
> 
> [INFO]
> ------------------------------------------------------------------------
> 
> [INFO] Trace
> 
> java.lang.IllegalArgumentException
> 
>         at java.net.URI.create(URI.java:842)
> 
>  
> 
> please advice?
> 
> Thanks,
> 
> Daniel Ebenezer. 
> 
> 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/Appfuse-2.x-issues-tp18100453s2369p18108873.html
Sent from the AppFuse - User mailing list archive at Nabble.com.


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

Reply via email to