Hmm this might be a bug in xdoclet and the way we use it ... if you moved your local maven repository to a directory without spaces in it, I'd bet it'd work.

On May 10, 2009, at 5:43 AM, pltchuong wrote:



Hi all.
I tried to build magnolia trunk, everything seems ok, but
magnolia-taglib-cms isn't. I got this message, and I don't know how to fix
it. Anybody can help me ?

[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building CMS Tag Library
[INFO]    task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] [enforcer:enforce {execution: enforce}]
[WARNING] Attempting to build MavenProject instance for Artifact
(org.codehaus.xdoclet:maven2-xdoclet2-plugin: 2.0.7-20090427.164453-14) of
type: maven-plugin; constructing POM arti
[INFO] [2-xdoclet2:xdoclet {execution: xdoclet-tld}]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] XDoclet plugin failed: Failed to set property restrictedpath to
file://C:\Users\Phan Le Thanh Chuong\.m2\repository: null

The filename, directory name, or volume label syntax is incorrect
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: XDoclet plugin
failed: Failed to set property restrictedpath to file://C:\Users \Phan Le
Thanh Chuong\.m2\repository: null
       at
org .apache .maven .lifecycle .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 583)
       at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
       at
org .apache .maven .lifecycle .DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java: 478)
       at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
       at
org .apache .maven .lifecycle .DefaultLifecycleExecutor .executeTaskSegments(DefaultLifecycleExecutor.java:291)
       at
org .apache .maven .lifecycle .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java: 336)
       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
       at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at
sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
       at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
       at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
       at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: XDoclet plugin failed: Failed to set property restrictedpath to file://C:\Users \Phan Le
Thanh Chuong\.m2\repository: null
at org.codehaus.xdoclet.XDocletMojo.execute(XDocletMojo.java: 260)
       at
org .apache .maven .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java: 451)
       at
org .apache .maven .lifecycle .DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java: 558)
       ... 16 more
Caused by: org.picocontainer.PicoInitializationException: Failed to set
property restrictedpath to file://C:\Users\Phan Le Thanh
Chuong\.m2\repository: null
       at
org .picocontainer .defaults .BeanPropertyComponentAdapter .getComponentInstance(BeanPropertyComponentAdapter.java:79)
       at
org .picocontainer .defaults .DefaultPicoContainer .getComponentInstancesOfType(DefaultPicoContainer.java:274)
       at
org .picocontainer .defaults .DefaultPicoContainer .getComponentInstancesOfTypeWithContainerAdaptersLast (DefaultPicoContainer.java:377)
       at
org .picocontainer .defaults.DefaultPicoContainer.start(DefaultPicoContainer.java:347)
       at
org .nanocontainer .integrationkit .LifecycleContainerBuilder.autoStart(LifecycleContainerBuilder.java: 52)
       at
org .nanocontainer .integrationkit .LifecycleContainerBuilder .buildContainer(LifecycleContainerBuilder.java:45) at org.codehaus.xdoclet.XDocletMojo.execute(XDocletMojo.java: 251)
       ... 18 more
Caused by: java.lang.reflect.InvocationTargetException
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at
sun .reflect .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at
sun .reflect .DelegatingMethodAccessorImpl .invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:585)
       at
org .picocontainer .defaults .BeanPropertyComponentAdapter .getComponentInstance(BeanPropertyComponentAdapter.java:77)
       ... 24 more
Caused by: java.io.IOException: The filename, directory name, or volume
label syntax is incorrect
       at java.io.WinNTFileSystem.canonicalize0(Native Method)
at java.io.Win32FileSystem.canonicalize(Win32FileSystem.java: 395)
       at java.io.File.getCanonicalPath(File.java:531)
       at
org.generama.defaults.QDoxPlugin.setRestrictedpath(QDoxPlugin.java:43)
       ... 29 more
--
View this message in context: 
http://www.nabble.com/Build-CMS-Tag-Library-failed-tp23466890p23466890.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to