Build CMS Tag Library failed

View: New views
18 Messages — Rating Filter:   Alert me  

Build CMS Tag Library failed

by pltchuong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Build CMS Tag Library failed

by gregoryjoseph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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: <user-list-unsubscribe@...>
> ----------------------------------------------------------------


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


Re: Build CMS Tag Library failed

by pltchuong :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried to use another folder as repository (without space, of course), but it doesn't work.
After that, I delete and checkout all source again, this time it's work fine. I realy don't understand. Anyway, thanks your reply :)

2009/5/10 Grégory Joseph <gregory.joseph@...>

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: <user-list-unsubscribe@...>
----------------------------------------------------------------


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




--
Phan Lê Thanh Chương
Java development / WCM Team - eXo Platform SEA.
Add: Floor 7 - Thái Hà Building, number 11/18, Thái Hà street, Đống Đa District, Hà Nội City.
Email : chuong.phan@..., phan.le.thanh.chuong@....
Mobile: 097 898 6974
YM: phan_le_thanh_chuong
Skype: phan.le.thanh.chuong
Website: www.exoplatform.com

Re: Build CMS Tag Library failed

by rexhuang936 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I see the same error, does anyone knows what's going wrong?

Re: Build CMS Tag Library failed

by Alex* :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm getting the same error. I also tried to use a repository without spaces in the path, but unfortunately this doen't work too. Any ideas?

Best regards,
Alex


rexhuang936 wrote:
I see the same error, does anyone knows what's going wrong?

Re: Build CMS Tag Library failed

by Ryan Underwood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm having the same problem...anyone that was having this problem make this work?

Re: Build CMS Tag Library failed

by Jan Haderka-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I believe the original author "solved" the issue by deleting checked out
content and checking out everything again. You might want to give it a
try, tho I have no explanation as to what could be missing or corrupted
when checking out things for the first time. I was unable to reproduce
the problem myself.

HTH,
Jan

On Thu, 2009-07-09 at 05:47 -0700, Ryan Underwood wrote:
>
> I'm having the same problem...anyone that was having this problem make this
> work?
--
Best regards,

Jan Haderka
Magnolia International Ltd.

Meet us at the Magnolia Conference
http:/www.magnolia-cms.com/conference

Magnolia®  - Simple Open Source Content Management


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


Re: Build CMS Tag Library failed

by Ryan Underwood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I can't seem to find a release of maven2-xdoclet2-plugin version
2.0.7.  I downloaded 2.0.5 and added it to my maven repository but
like I said, the 2.0.7 doesn't seem to be found anywhere...
And I did delete and redownload things.  I'm using the Community
Edition tag of 4.1 (26146)
Thanks

On Thu, Jul 9, 2009 at 9:11 AM, Jan Haderka<jan.haderka@...> wrote:

>
> I believe the original author "solved" the issue by deleting checked out
> content and checking out everything again. You might want to give it a
> try, tho I have no explanation as to what could be missing or corrupted
> when checking out things for the first time. I was unable to reproduce
> the problem myself.
>
> HTH,
> Jan
>
> On Thu, 2009-07-09 at 05:47 -0700, Ryan Underwood wrote:
>>
>> I'm having the same problem...anyone that was having this problem make this
>> work?
> --
> Best regards,
>
> Jan Haderka
> Magnolia International Ltd.
>
> Meet us at the Magnolia Conference
> http:/www.magnolia-cms.com/conference
>
> Magnolia®  - Simple Open Source Content Management
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------
>
>

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


Re: Build CMS Tag Library failed

by Jan Haderka-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


You can find maven2-xdoclet2-plugin 2.0.7 in our repo
http://repo.magnolia-cms.com/m2/org/codehaus/xdoclet/maven2-xdoclet2-plugin/2.0.7-20090592-magnolia/

Jan

On Thu, 2009-07-09 at 09:55 -0400, Ryan Underwood wrote:

> I can't seem to find a release of maven2-xdoclet2-plugin version
> 2.0.7.  I downloaded 2.0.5 and added it to my maven repository but
> like I said, the 2.0.7 doesn't seem to be found anywhere...
> And I did delete and redownload things.  I'm using the Community
> Edition tag of 4.1 (26146)
> Thanks
>
> On Thu, Jul 9, 2009 at 9:11 AM, Jan Haderka<jan.haderka@...> wrote:
> >
> > I believe the original author "solved" the issue by deleting checked out
> > content and checking out everything again. You might want to give it a
> > try, tho I have no explanation as to what could be missing or corrupted
> > when checking out things for the first time. I was unable to reproduce
> > the problem myself.
> >
> > HTH,
> > Jan
> >
> > On Thu, 2009-07-09 at 05:47 -0700, Ryan Underwood wrote:
> >>
> >> I'm having the same problem...anyone that was having this problem make this
> >> work?
> > --
> > Best regards,
> >
> > Jan Haderka
> > Magnolia International Ltd.
> >
> > Meet us at the Magnolia Conference
> > http:/www.magnolia-cms.com/conference
> >
> > Magnolia®  - Simple Open Source Content Management
> >
> >
> > ----------------------------------------------------------------
> > For list details see
> > http://www.magnolia-cms.com/home/community/mailing-lists.html
> > To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> > ----------------------------------------------------------------
> >
> >
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------
--
Best regards,

Jan Haderka
Magnolia International Ltd.

Meet us at the Magnolia Conference
http:/www.magnolia-cms.com/conference

Magnolia®  - Simple Open Source Content Management


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


Re: Build CMS Tag Library failed

by Ryan Underwood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I added that repository to my maven.  I am still getting an error.  I
also tried moving my repository from 'Documents and Settings' to avoid
the " " in the file path.  Here is what I'm still getting...any ideas?
 Thanks

[INFO] [enforcer:enforce]
[INFO] [2-xdoclet2:xdoclet]
[INFO]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ------------------------------------------------------------------------
[INFO] magnolia-project ...................................... SUCCESS
[1:52.625s]
[INFO] magnolia-core ......................................... SUCCESS
[6:38.094s]
[INFO] magnolia-jaas ......................................... SUCCESS [2.937s]
[INFO] magnolia-gui .......................................... SUCCESS [6.547s]
[INFO] magnolia-module-exchange-simple ....................... SUCCESS [14.594s]
[INFO] magnolia-module-templating ............................ SUCCESS [11.281s]
[INFO] magnolia-module-admininterface ........................ SUCCESS [15.172s]
[INFO] magnolia-module-mail .................................. SUCCESS [23.110s]
[INFO] magnolia-module-workflow .............................. SUCCESS
[1:35.500s]
[INFO] magnolia-module-cache ................................. SUCCESS [32.109s]
[INFO] CMS Tag Library ....................................... FAILED
[4:41.484s]
[INFO] CMS Utility Tag Library ............................... NOT BUILT
[INFO] magnolia-module-fckeditor ............................. NOT BUILT
[INFO] magnolia-module-samples ............................... NOT BUILT
[INFO] magnolia-empty-webapp ................................. NOT BUILT
[INFO] ------------------------------------------------------------------------
[ERROR]

The following mojo encountered an error while executing:
Group-Id: org.codehaus.xdoclet
Artifact-Id: maven2-xdoclet2-plugin
Version: 2.0.7
Mojo: xdoclet
brought in via: POM

While building project:
Group-Id: info.magnolia
Artifact-Id: magnolia-taglib-cms
Version: 4.1
From file: C:\apps\eclipse\workspace\magnolia-4.1\magnolia-taglib-cms\pom.xml
Reason: XDoclet plugin failed: Failed to set property restrictedpath
to file://C:/repository: null



On Thu, Jul 9, 2009 at 10:15 AM, Jan
Haderka<jan.haderka@...> wrote:

>
> You can find maven2-xdoclet2-plugin 2.0.7 in our repo
> http://repo.magnolia-cms.com/m2/org/codehaus/xdoclet/maven2-xdoclet2-plugin/2.0.7-20090592-magnolia/
>
> Jan
>
> On Thu, 2009-07-09 at 09:55 -0400, Ryan Underwood wrote:
>> I can't seem to find a release of maven2-xdoclet2-plugin version
>> 2.0.7.  I downloaded 2.0.5 and added it to my maven repository but
>> like I said, the 2.0.7 doesn't seem to be found anywhere...
>> And I did delete and redownload things.  I'm using the Community
>> Edition tag of 4.1 (26146)
>> Thanks
>>
>> On Thu, Jul 9, 2009 at 9:11 AM, Jan Haderka<jan.haderka@...> wrote:
>> >
>> > I believe the original author "solved" the issue by deleting checked out
>> > content and checking out everything again. You might want to give it a
>> > try, tho I have no explanation as to what could be missing or corrupted
>> > when checking out things for the first time. I was unable to reproduce
>> > the problem myself.
>> >
>> > HTH,
>> > Jan
>> >
>> > On Thu, 2009-07-09 at 05:47 -0700, Ryan Underwood wrote:
>> >>
>> >> I'm having the same problem...anyone that was having this problem make this
>> >> work?
>> > --
>> > Best regards,
>> >
>> > Jan Haderka
>> > Magnolia International Ltd.
>> >
>> > Meet us at the Magnolia Conference
>> > http:/www.magnolia-cms.com/conference
>> >
>> > Magnolia®  - Simple Open Source Content Management
>> >
>> >
>> > ----------------------------------------------------------------
>> > For list details see
>> > http://www.magnolia-cms.com/home/community/mailing-lists.html
>> > To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>> > ----------------------------------------------------------------
>> >
>> >
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>> ----------------------------------------------------------------
> --
> Best regards,
>
> Jan Haderka
> Magnolia International Ltd.
>
> Meet us at the Magnolia Conference
> http:/www.magnolia-cms.com/conference
>
> Magnolia®  - Simple Open Source Content Management
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------
>
>

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


Re: Build CMS Tag Library failed

by gregoryjoseph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Jul 9, 2009, at 4:15 PM, Jan Haderka wrote:

>
> You can find maven2-xdoclet2-plugin 2.0.7 in our repo
> http://repo.magnolia-cms.com/m2/org/codehaus/xdoclet/maven2-xdoclet2-plugin/2.0.7-20090592-magnolia/

Erm, that is NOT 2.0.7.
The real 2.0.7 (as opposed to 2.0.7-20090592-magnolia) is on the  
central maven repository, so you should not have to download nor  
install anything.

Ryan, if you have installed this in your local maven repository as  
2.0.7, I suggest you just remove it from there. (remove the complete ~/
repository/.m2/org/codehaus/xdoclet/ and ~/.m2/repository/org/codehaus/
generama/

If you have exactly the same issue as the original author, I still  
suspect it could be due to a space character in the path to your local  
maven repository. (no clear feedback about that from the original  
poster) You might want to try and put your local maven repository  
somewhere else as explained here:
   http://confluence.magnolia-cms.com/display/DOCU/Guidelines

Cheers,

-g


> On Thu, 2009-07-09 at 09:55 -0400, Ryan Underwood wrote:
>> I can't seem to find a release of maven2-xdoclet2-plugin version
>> 2.0.7.  I downloaded 2.0.5 and added it to my maven repository but
>> like I said, the 2.0.7 doesn't seem to be found anywhere...
>> And I did delete and redownload things.  I'm using the Community
>> Edition tag of 4.1 (26146)
>> Thanks
>>
>> On Thu, Jul 9, 2009 at 9:11 AM, Jan Haderka<jan.haderka@...
>> > wrote:
>>>
>>> I believe the original author "solved" the issue by deleting  
>>> checked out
>>> content and checking out everything again. You might want to give  
>>> it a
>>> try, tho I have no explanation as to what could be missing or  
>>> corrupted
>>> when checking out things for the first time. I was unable to  
>>> reproduce
>>> the problem myself.
>>>
>>> HTH,
>>> Jan
>>>
>>> On Thu, 2009-07-09 at 05:47 -0700, Ryan Underwood wrote:
>>>>
>>>> I'm having the same problem...anyone that was having this problem  
>>>> make this
>>>> work?
>>> --
>>> Best regards,
>>>
>>> Jan Haderka
>>> Magnolia International Ltd.
>>>
>>> Meet us at the Magnolia Conference
>>> http:/www.magnolia-cms.com/conference
>>>
>>> Magnolia®  - Simple Open Source Content Management
>>>
>>>
>>> ----------------------------------------------------------------
>>> For list details see
>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>> ----------------------------------------------------------------
>>>
>>>
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>> ----------------------------------------------------------------
> --
> Best regards,
>
> Jan Haderka
> Magnolia International Ltd.
>
> Meet us at the Magnolia Conference
> http:/www.magnolia-cms.com/conference
>
> Magnolia®  - Simple Open Source Content Management
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------


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


Re: Build CMS Tag Library failed

by gregoryjoseph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Sorry Ryan, I hadn't seen this specific message.
Where's the output coming from here ? Could you try simply building  
from a regular command shell ? It might even be helpful to do so with  
the -X flag to get more debug output.

(just try to build from the magnolia-taglib-cms folder)

Cheers,

-g

On Jul 9, 2009, at 7:19 PM, Ryan Underwood wrote:

>
> I added that repository to my maven.  I am still getting an error.  I
> also tried moving my repository from 'Documents and Settings' to avoid
> the " " in the file path.  Here is what I'm still getting...any ideas?
> Thanks
>
> [INFO] [enforcer:enforce]
> [INFO] [2-xdoclet2:xdoclet]
> [INFO]
> [INFO]
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]  
> ------------------------------------------------------------------------
> [INFO] magnolia-project ...................................... SUCCESS
> [1:52.625s]
> [INFO] magnolia-core ......................................... SUCCESS
> [6:38.094s]
> [INFO] magnolia-jaas .........................................  
> SUCCESS [2.937s]
> [INFO] magnolia-gui ..........................................  
> SUCCESS [6.547s]
> [INFO] magnolia-module-exchange-simple .......................  
> SUCCESS [14.594s]
> [INFO] magnolia-module-templating ............................  
> SUCCESS [11.281s]
> [INFO] magnolia-module-admininterface ........................  
> SUCCESS [15.172s]
> [INFO] magnolia-module-mail ..................................  
> SUCCESS [23.110s]
> [INFO] magnolia-module-workflow .............................. SUCCESS
> [1:35.500s]
> [INFO] magnolia-module-cache .................................  
> SUCCESS [32.109s]
> [INFO] CMS Tag Library ....................................... FAILED
> [4:41.484s]
> [INFO] CMS Utility Tag Library ............................... NOT  
> BUILT
> [INFO] magnolia-module-fckeditor ............................. NOT  
> BUILT
> [INFO] magnolia-module-samples ............................... NOT  
> BUILT
> [INFO] magnolia-empty-webapp ................................. NOT  
> BUILT
> [INFO]  
> ------------------------------------------------------------------------
> [ERROR]
>
> The following mojo encountered an error while executing:
> Group-Id: org.codehaus.xdoclet
> Artifact-Id: maven2-xdoclet2-plugin
> Version: 2.0.7
> Mojo: xdoclet
> brought in via: POM
>
> While building project:
> Group-Id: info.magnolia
> Artifact-Id: magnolia-taglib-cms
> Version: 4.1
> From file: C:\apps\eclipse\workspace\magnolia-4.1\magnolia-taglib-cms
> \pom.xml
> Reason: XDoclet plugin failed: Failed to set property restrictedpath
> to file://C:/repository: null
>
>
>
> On Thu, Jul 9, 2009 at 10:15 AM, Jan
> Haderka<jan.haderka@...> wrote:
>>
>> You can find maven2-xdoclet2-plugin 2.0.7 in our repo
>> http://repo.magnolia-cms.com/m2/org/codehaus/xdoclet/maven2-xdoclet2-plugin/2.0.7-20090592-magnolia/
>>
>> Jan
>>
>> On Thu, 2009-07-09 at 09:55 -0400, Ryan Underwood wrote:
>>> I can't seem to find a release of maven2-xdoclet2-plugin version
>>> 2.0.7.  I downloaded 2.0.5 and added it to my maven repository but
>>> like I said, the 2.0.7 doesn't seem to be found anywhere...
>>> And I did delete and redownload things.  I'm using the Community
>>> Edition tag of 4.1 (26146)
>>> Thanks
>>>
>>> On Thu, Jul 9, 2009 at 9:11 AM, Jan Haderka<jan.haderka@...
>>> > wrote:
>>>>
>>>> I believe the original author "solved" the issue by deleting  
>>>> checked out
>>>> content and checking out everything again. You might want to give  
>>>> it a
>>>> try, tho I have no explanation as to what could be missing or  
>>>> corrupted
>>>> when checking out things for the first time. I was unable to  
>>>> reproduce
>>>> the problem myself.
>>>>
>>>> HTH,
>>>> Jan
>>>>
>>>> On Thu, 2009-07-09 at 05:47 -0700, Ryan Underwood wrote:
>>>>>
>>>>> I'm having the same problem...anyone that was having this  
>>>>> problem make this
>>>>> work?
>>>> --
>>>> Best regards,
>>>>
>>>> Jan Haderka
>>>> Magnolia International Ltd.
>>>>
>>>> Meet us at the Magnolia Conference
>>>> http:/www.magnolia-cms.com/conference
>>>>
>>>> Magnolia®  - Simple Open Source Content Management
>>>>
>>>>
>>>> ----------------------------------------------------------------
>>>> For list details see
>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>> ----------------------------------------------------------------
>>>>
>>>>
>>>
>>> ----------------------------------------------------------------
>>> For list details see
>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>> ----------------------------------------------------------------
>> --
>> Best regards,
>>
>> Jan Haderka
>> Magnolia International Ltd.
>>
>> Meet us at the Magnolia Conference
>> http:/www.magnolia-cms.com/conference
>>
>> Magnolia®  - Simple Open Source Content Management
>>
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>> ----------------------------------------------------------------
>>
>>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------


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


Re: Build CMS Tag Library failed

by Ryan Underwood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Touche Grégory, I did get an exception when I turned on debugging.
And I do get a similar error as the other person:

The following mojo encountered an error while executing:
Group-Id: org.codehaus.xdoclet
Artifact-Id: maven2-xdoclet2-plugin
Version: 2.0.7
Mojo: xdoclet
brought in via: POM

While building project:
Group-Id: info.magnolia
Artifact-Id: magnolia-taglib-cms
Version: 4.1
From file: C:\apps\eclipse\workspace\magnolia-4.1\magnolia-taglib-cms\pom.xml
Reason: XDoclet plugin failed: Failed to set property restrictedpath
to file://C:/repository: null

org.picocontainer.PicoInitializationException: Failed to set property
restrictedpath to file://C:/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)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
        at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
        at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
        at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
        at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
        at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
        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:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
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:597)
        at org.picocontainer.defaults.BeanPropertyComponentAdapter.getComponentInstance(BeanPropertyComponentAdapter.java:77)
        ... 28 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:396)
        at java.io.File.getCanonicalPath(File.java:559)
        at org.generama.defaults.QDoxPlugin.setRestrictedpath(QDoxPlugin.java:43)
        ... 33 more



Error stacktrace:
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
in the plugin manager executing goal
'org.codehaus.xdoclet:maven2-xdoclet2-plugin:2.0.7:xdoclet': Mojo
execution failed.
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:505)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
        at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
        at org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
        at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
        at org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
        at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
        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:597)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
execution failed.
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:601)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
        ... 20 more
Caused by: org.apache.maven.plugin.MojoExecutionException: XDoclet
plugin failed: Failed to set property restrictedpath to
file://C:/repository: null
        at org.codehaus.xdoclet.XDocletMojo.execute(XDocletMojo.java:260)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
        ... 21 more
Caused by: org.picocontainer.PicoInitializationException: Failed to
set property restrictedpath to file://C:/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)
        ... 22 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:597)
        at org.picocontainer.defaults.BeanPropertyComponentAdapter.getComponentInstance(BeanPropertyComponentAdapter.java:77)
        ... 28 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:396)
        at java.io.File.getCanonicalPath(File.java:559)
        at org.generama.defaults.QDoxPlugin.setRestrictedpath(QDoxPlugin.java:43)
        ... 33 more


Building it from the command line (mvn) produces the same error.  I've
deleted 'org' from my repository, that didn't change anything; I
deleted my repository and recreated it, that did the same thing.  I'm
fairly new to Maven so it's likely that I've configured something
wrong or there's an issue with the XDoclet plugin. I am using a
barebones settings.xml with only the additional repository mentioned
before.  The XDoclet plugin I have configured in eclipse is 1.2.1 I
think, but that shouldn't matter for this considering it fails with a
command line build outside of eclipse.

2009/7/10 Grégory Joseph <gregory.joseph@...>:

>
> Sorry Ryan, I hadn't seen this specific message.
> Where's the output coming from here ? Could you try simply building from a
> regular command shell ? It might even be helpful to do so with the -X flag
> to get more debug output.
>
> (just try to build from the magnolia-taglib-cms folder)
>
> Cheers,
>
> -g
>
> On Jul 9, 2009, at 7:19 PM, Ryan Underwood wrote:
>
>>
>> I added that repository to my maven.  I am still getting an error.  I
>> also tried moving my repository from 'Documents and Settings' to avoid
>> the " " in the file path.  Here is what I'm still getting...any ideas?
>> Thanks
>>
>> [INFO] [enforcer:enforce]
>> [INFO] [2-xdoclet2:xdoclet]
>> [INFO]
>> [INFO]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] magnolia-project ...................................... SUCCESS
>> [1:52.625s]
>> [INFO] magnolia-core ......................................... SUCCESS
>> [6:38.094s]
>> [INFO] magnolia-jaas ......................................... SUCCESS
>> [2.937s]
>> [INFO] magnolia-gui .......................................... SUCCESS
>> [6.547s]
>> [INFO] magnolia-module-exchange-simple ....................... SUCCESS
>> [14.594s]
>> [INFO] magnolia-module-templating ............................ SUCCESS
>> [11.281s]
>> [INFO] magnolia-module-admininterface ........................ SUCCESS
>> [15.172s]
>> [INFO] magnolia-module-mail .................................. SUCCESS
>> [23.110s]
>> [INFO] magnolia-module-workflow .............................. SUCCESS
>> [1:35.500s]
>> [INFO] magnolia-module-cache ................................. SUCCESS
>> [32.109s]
>> [INFO] CMS Tag Library ....................................... FAILED
>> [4:41.484s]
>> [INFO] CMS Utility Tag Library ............................... NOT BUILT
>> [INFO] magnolia-module-fckeditor ............................. NOT BUILT
>> [INFO] magnolia-module-samples ............................... NOT BUILT
>> [INFO] magnolia-empty-webapp ................................. NOT BUILT
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR]
>>
>> The following mojo encountered an error while executing:
>> Group-Id: org.codehaus.xdoclet
>> Artifact-Id: maven2-xdoclet2-plugin
>> Version: 2.0.7
>> Mojo: xdoclet
>> brought in via: POM
>>
>> While building project:
>> Group-Id: info.magnolia
>> Artifact-Id: magnolia-taglib-cms
>> Version: 4.1
>> From file:
>> C:\apps\eclipse\workspace\magnolia-4.1\magnolia-taglib-cms\pom.xml
>> Reason: XDoclet plugin failed: Failed to set property restrictedpath
>> to file://C:/repository: null
>>
>>
>>
>> On Thu, Jul 9, 2009 at 10:15 AM, Jan
>> Haderka<jan.haderka@...> wrote:
>>>
>>> You can find maven2-xdoclet2-plugin 2.0.7 in our repo
>>>
>>> http://repo.magnolia-cms.com/m2/org/codehaus/xdoclet/maven2-xdoclet2-plugin/2.0.7-20090592-magnolia/
>>>
>>> Jan
>>>
>>> On Thu, 2009-07-09 at 09:55 -0400, Ryan Underwood wrote:
>>>>
>>>> I can't seem to find a release of maven2-xdoclet2-plugin version
>>>> 2.0.7.  I downloaded 2.0.5 and added it to my maven repository but
>>>> like I said, the 2.0.7 doesn't seem to be found anywhere...
>>>> And I did delete and redownload things.  I'm using the Community
>>>> Edition tag of 4.1 (26146)
>>>> Thanks
>>>>
>>>> On Thu, Jul 9, 2009 at 9:11 AM, Jan
>>>> Haderka<jan.haderka@...> wrote:
>>>>>
>>>>> I believe the original author "solved" the issue by deleting checked
>>>>> out
>>>>> content and checking out everything again. You might want to give it a
>>>>> try, tho I have no explanation as to what could be missing or corrupted
>>>>> when checking out things for the first time. I was unable to reproduce
>>>>> the problem myself.
>>>>>
>>>>> HTH,
>>>>> Jan
>>>>>
>>>>> On Thu, 2009-07-09 at 05:47 -0700, Ryan Underwood wrote:
>>>>>>
>>>>>> I'm having the same problem...anyone that was having this problem make
>>>>>> this
>>>>>> work?
>>>>>
>>>>> --
>>>>> Best regards,
>>>>>
>>>>> Jan Haderka
>>>>> Magnolia International Ltd.
>>>>>
>>>>> Meet us at the Magnolia Conference
>>>>> http:/www.magnolia-cms.com/conference
>>>>>
>>>>> Magnolia®  - Simple Open Source Content Management
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------
>>>>> For list details see
>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>>> ----------------------------------------------------------------
>>>>>
>>>>>
>>>>
>>>> ----------------------------------------------------------------
>>>> For list details see
>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>> ----------------------------------------------------------------
>>>
>>> --
>>> Best regards,
>>>
>>> Jan Haderka
>>> Magnolia International Ltd.
>>>
>>> Meet us at the Magnolia Conference
>>> http:/www.magnolia-cms.com/conference
>>>
>>> Magnolia®  - Simple Open Source Content Management
>>>
>>>
>>> ----------------------------------------------------------------
>>> For list details see
>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>> ----------------------------------------------------------------
>>>
>>>
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>> ----------------------------------------------------------------
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------
>
>

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


Re: Build CMS Tag Library failed

by gregoryjoseph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I see...
Well if you edit the pom.xml file and replace <restrictedpath>file://$
{settings.localRepository}</restrictedpath>
  by <restrictedpath>${settings.localRepository}</restrictedpath>
.. the build will work.. but the 2nd taglib (magnolia-taglib-
utilities) will be generated with both the magnolia-taglib-cms and  
magnolia-taglib-utilities classes... not exactly sure why.

On Jul 10, 2009, at 3:41 PM, Ryan Underwood wrote:

>
> Touche Grégory, I did get an exception when I turned on debugging.
> And I do get a similar error as the other person:
>
> The following mojo encountered an error while executing:
> Group-Id: org.codehaus.xdoclet
> Artifact-Id: maven2-xdoclet2-plugin
> Version: 2.0.7
> Mojo: xdoclet
> brought in via: POM
>
> While building project:
> Group-Id: info.magnolia
> Artifact-Id: magnolia-taglib-cms
> Version: 4.1
> From file: C:\apps\eclipse\workspace\magnolia-4.1\magnolia-taglib-cms
> \pom.xml
> Reason: XDoclet plugin failed: Failed to set property restrictedpath
> to file://C:/repository: null
>
> org.picocontainer.PicoInitializationException: Failed to set property
> restrictedpath to file://C:/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)
> at  
> org
> .apache
> .maven
> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
> 579)
> at  
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
> at  
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
> at  
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeTaskSegments(DefaultLifecycleExecutor.java:191)
> at  
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
> at  
> org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:
> 223)
> at  
> org
> .apache
> .maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
> at  
> org
> .apache
> .maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:
> 904)
> at  
> org
> .apache
> .maven
> .embedder
> .MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
> at  
> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
> 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:597)
> at  
> org
> .codehaus
> .plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:
> 289)
> at  
> org
> .codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:
> 229)
> at  
> org
> .codehaus
> .plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:
> 408)
> at  
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
> 351)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
> 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:597)
> at  
> org
> .picocontainer
> .defaults
> .BeanPropertyComponentAdapter
> .getComponentInstance(BeanPropertyComponentAdapter.java:77)
> ... 28 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:396)
> at java.io.File.getCanonicalPath(File.java:559)
> at  
> org.generama.defaults.QDoxPlugin.setRestrictedpath(QDoxPlugin.java:43)
> ... 33 more
>
>
>
> Error stacktrace:
> org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
> in the plugin manager executing goal
> 'org.codehaus.xdoclet:maven2-xdoclet2-plugin:2.0.7:xdoclet': Mojo
> execution failed.
> at  
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:505)
> at  
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
> at  
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeTaskSegments(DefaultLifecycleExecutor.java:191)
> at  
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
> at  
> org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:
> 223)
> at  
> org
> .apache
> .maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
> at  
> org
> .apache
> .maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:
> 904)
> at  
> org
> .apache
> .maven
> .embedder
> .MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
> at  
> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
> 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:597)
> at  
> org
> .codehaus
> .plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:
> 289)
> at  
> org
> .codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:
> 229)
> at  
> org
> .codehaus
> .plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:
> 408)
> at  
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
> 351)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
> Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
> execution failed.
> at  
> org
> .apache
> .maven
> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
> 601)
> at  
> org
> .apache
> .maven
> .lifecycle
> .DefaultLifecycleExecutor
> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
> ... 20 more
> Caused by: org.apache.maven.plugin.MojoExecutionException: XDoclet
> plugin failed: Failed to set property restrictedpath to
> file://C:/repository: null
> at org.codehaus.xdoclet.XDocletMojo.execute(XDocletMojo.java:260)
> at  
> org
> .apache
> .maven
> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
> 579)
> ... 21 more
> Caused by: org.picocontainer.PicoInitializationException: Failed to
> set property restrictedpath to file://C:/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)
> ... 22 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:597)
> at  
> org
> .picocontainer
> .defaults
> .BeanPropertyComponentAdapter
> .getComponentInstance(BeanPropertyComponentAdapter.java:77)
> ... 28 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:396)
> at java.io.File.getCanonicalPath(File.java:559)
> at  
> org.generama.defaults.QDoxPlugin.setRestrictedpath(QDoxPlugin.java:43)
> ... 33 more
>
>
> Building it from the command line (mvn) produces the same error.  I've
> deleted 'org' from my repository, that didn't change anything; I
> deleted my repository and recreated it, that did the same thing.  I'm
> fairly new to Maven so it's likely that I've configured something
> wrong or there's an issue with the XDoclet plugin. I am using a
> barebones settings.xml with only the additional repository mentioned
> before.  The XDoclet plugin I have configured in eclipse is 1.2.1 I
> think, but that shouldn't matter for this considering it fails with a
> command line build outside of eclipse.
>
> 2009/7/10 Grégory Joseph <gregory.joseph@...>:
>>
>> Sorry Ryan, I hadn't seen this specific message.
>> Where's the output coming from here ? Could you try simply building  
>> from a
>> regular command shell ? It might even be helpful to do so with the -
>> X flag
>> to get more debug output.
>>
>> (just try to build from the magnolia-taglib-cms folder)
>>
>> Cheers,
>>
>> -g
>>
>> On Jul 9, 2009, at 7:19 PM, Ryan Underwood wrote:
>>
>>>
>>> I added that repository to my maven.  I am still getting an  
>>> error.  I
>>> also tried moving my repository from 'Documents and Settings' to  
>>> avoid
>>> the " " in the file path.  Here is what I'm still getting...any  
>>> ideas?
>>> Thanks
>>>
>>> [INFO] [enforcer:enforce]
>>> [INFO] [2-xdoclet2:xdoclet]
>>> [INFO]
>>> [INFO]
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Reactor Summary:
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] magnolia-project ......................................  
>>> SUCCESS
>>> [1:52.625s]
>>> [INFO] magnolia-core .........................................  
>>> SUCCESS
>>> [6:38.094s]
>>> [INFO] magnolia-jaas .........................................  
>>> SUCCESS
>>> [2.937s]
>>> [INFO] magnolia-gui ..........................................  
>>> SUCCESS
>>> [6.547s]
>>> [INFO] magnolia-module-exchange-simple .......................  
>>> SUCCESS
>>> [14.594s]
>>> [INFO] magnolia-module-templating ............................  
>>> SUCCESS
>>> [11.281s]
>>> [INFO] magnolia-module-admininterface ........................  
>>> SUCCESS
>>> [15.172s]
>>> [INFO] magnolia-module-mail ..................................  
>>> SUCCESS
>>> [23.110s]
>>> [INFO] magnolia-module-workflow ..............................  
>>> SUCCESS
>>> [1:35.500s]
>>> [INFO] magnolia-module-cache .................................  
>>> SUCCESS
>>> [32.109s]
>>> [INFO] CMS Tag Library .......................................  
>>> FAILED
>>> [4:41.484s]
>>> [INFO] CMS Utility Tag Library ............................... NOT  
>>> BUILT
>>> [INFO] magnolia-module-fckeditor ............................. NOT  
>>> BUILT
>>> [INFO] magnolia-module-samples ............................... NOT  
>>> BUILT
>>> [INFO] magnolia-empty-webapp ................................. NOT  
>>> BUILT
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR]
>>>
>>> The following mojo encountered an error while executing:
>>> Group-Id: org.codehaus.xdoclet
>>> Artifact-Id: maven2-xdoclet2-plugin
>>> Version: 2.0.7
>>> Mojo: xdoclet
>>> brought in via: POM
>>>
>>> While building project:
>>> Group-Id: info.magnolia
>>> Artifact-Id: magnolia-taglib-cms
>>> Version: 4.1
>>> From file:
>>> C:\apps\eclipse\workspace\magnolia-4.1\magnolia-taglib-cms\pom.xml
>>> Reason: XDoclet plugin failed: Failed to set property restrictedpath
>>> to file://C:/repository: null
>>>
>>>
>>>
>>> On Thu, Jul 9, 2009 at 10:15 AM, Jan
>>> Haderka<jan.haderka@...> wrote:
>>>>
>>>> You can find maven2-xdoclet2-plugin 2.0.7 in our repo
>>>>
>>>> http://repo.magnolia-cms.com/m2/org/codehaus/xdoclet/maven2-xdoclet2-plugin/2.0.7-20090592-magnolia/
>>>>
>>>> Jan
>>>>
>>>> On Thu, 2009-07-09 at 09:55 -0400, Ryan Underwood wrote:
>>>>>
>>>>> I can't seem to find a release of maven2-xdoclet2-plugin version
>>>>> 2.0.7.  I downloaded 2.0.5 and added it to my maven repository but
>>>>> like I said, the 2.0.7 doesn't seem to be found anywhere...
>>>>> And I did delete and redownload things.  I'm using the Community
>>>>> Edition tag of 4.1 (26146)
>>>>> Thanks
>>>>>
>>>>> On Thu, Jul 9, 2009 at 9:11 AM, Jan
>>>>> Haderka<jan.haderka@...> wrote:
>>>>>>
>>>>>> I believe the original author "solved" the issue by deleting  
>>>>>> checked
>>>>>> out
>>>>>> content and checking out everything again. You might want to  
>>>>>> give it a
>>>>>> try, tho I have no explanation as to what could be missing or  
>>>>>> corrupted
>>>>>> when checking out things for the first time. I was unable to  
>>>>>> reproduce
>>>>>> the problem myself.
>>>>>>
>>>>>> HTH,
>>>>>> Jan
>>>>>>
>>>>>> On Thu, 2009-07-09 at 05:47 -0700, Ryan Underwood wrote:
>>>>>>>
>>>>>>> I'm having the same problem...anyone that was having this  
>>>>>>> problem make
>>>>>>> this
>>>>>>> work?
>>>>>>
>>>>>> --
>>>>>> Best regards,
>>>>>>
>>>>>> Jan Haderka
>>>>>> Magnolia International Ltd.
>>>>>>
>>>>>> Meet us at the Magnolia Conference
>>>>>> http:/www.magnolia-cms.com/conference
>>>>>>
>>>>>> Magnolia®  - Simple Open Source Content Management
>>>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------
>>>>>> For list details see
>>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...
>>>>>> >
>>>>>> ----------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>
>>>>> ----------------------------------------------------------------
>>>>> For list details see
>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@magnolia-
>>>>> cms.com>
>>>>> ----------------------------------------------------------------
>>>>
>>>> --
>>>> Best regards,
>>>>
>>>> Jan Haderka
>>>> Magnolia International Ltd.
>>>>
>>>> Meet us at the Magnolia Conference
>>>> http:/www.magnolia-cms.com/conference
>>>>
>>>> Magnolia®  - Simple Open Source Content Management
>>>>
>>>>
>>>> ----------------------------------------------------------------
>>>> For list details see
>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>> ----------------------------------------------------------------
>>>>
>>>>
>>>
>>> ----------------------------------------------------------------
>>> For list details see
>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>> ----------------------------------------------------------------
>>
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>> ----------------------------------------------------------------
>>
>>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------


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


Re: Build CMS Tag Library failed

by Ryan Underwood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Temoving the file:// from the restrictedpath didn't change the
result--it still failed.  However after inspecting the plugin
properties the restrictedpath isn't required so I removed it and was
able to build everything.  I have no idea if there are side effects
from doing this but for now at least it's building.  Thanks for
everyone's help.  If some side effects do pop up, I'll reply to this
posting--or if anyone has any other ideas about this.  I hate to
modify the POM file of the project to get it to compile in case I ever
need to do updates...

2009/7/10 Grégory Joseph <gregory.joseph@...>:

>
> I see...
> Well if you edit the pom.xml file and replace
> <restrictedpath>file://${settings.localRepository}</restrictedpath>
>  by <restrictedpath>${settings.localRepository}</restrictedpath>
> .. the build will work.. but the 2nd taglib (magnolia-taglib-utilities) will
> be generated with both the magnolia-taglib-cms and magnolia-taglib-utilities
> classes... not exactly sure why.
>
> On Jul 10, 2009, at 3:41 PM, Ryan Underwood wrote:
>
>>
>> Touche Grégory, I did get an exception when I turned on debugging.
>> And I do get a similar error as the other person:
>>
>> The following mojo encountered an error while executing:
>> Group-Id: org.codehaus.xdoclet
>> Artifact-Id: maven2-xdoclet2-plugin
>> Version: 2.0.7
>> Mojo: xdoclet
>> brought in via: POM
>>
>> While building project:
>> Group-Id: info.magnolia
>> Artifact-Id: magnolia-taglib-cms
>> Version: 4.1
>> From file:
>> C:\apps\eclipse\workspace\magnolia-4.1\magnolia-taglib-cms\pom.xml
>> Reason: XDoclet plugin failed: Failed to set property restrictedpath
>> to file://C:/repository: null
>>
>> org.picocontainer.PicoInitializationException: Failed to set property
>> restrictedpath to file://C:/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)
>>        at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>>        at
>> org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
>>        at
>> org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>>        at
>> org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
>>        at
>> org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>>        at
>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>>        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
>>        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:597)
>>        at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>>        at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>        at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
>>        at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
>> 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:597)
>>        at
>> org.picocontainer.defaults.BeanPropertyComponentAdapter.getComponentInstance(BeanPropertyComponentAdapter.java:77)
>>        ... 28 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:396)
>>        at java.io.File.getCanonicalPath(File.java:559)
>>        at
>> org.generama.defaults.QDoxPlugin.setRestrictedpath(QDoxPlugin.java:43)
>>        ... 33 more
>>
>>
>>
>> Error stacktrace:
>> org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
>> in the plugin manager executing goal
>> 'org.codehaus.xdoclet:maven2-xdoclet2-plugin:2.0.7:xdoclet': Mojo
>> execution failed.
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:505)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>>        at
>> org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
>>        at
>> org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>>        at
>> org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
>>        at
>> org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>>        at
>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>>        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
>>        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:597)
>>        at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>>        at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>        at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
>>        at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
>> Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
>> execution failed.
>>        at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:601)
>>        at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
>>        ... 20 more
>> Caused by: org.apache.maven.plugin.MojoExecutionException: XDoclet
>> plugin failed: Failed to set property restrictedpath to
>> file://C:/repository: null
>>        at org.codehaus.xdoclet.XDocletMojo.execute(XDocletMojo.java:260)
>>        at
>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
>>        ... 21 more
>> Caused by: org.picocontainer.PicoInitializationException: Failed to
>> set property restrictedpath to file://C:/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)
>>        ... 22 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:597)
>>        at
>> org.picocontainer.defaults.BeanPropertyComponentAdapter.getComponentInstance(BeanPropertyComponentAdapter.java:77)
>>        ... 28 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:396)
>>        at java.io.File.getCanonicalPath(File.java:559)
>>        at
>> org.generama.defaults.QDoxPlugin.setRestrictedpath(QDoxPlugin.java:43)
>>        ... 33 more
>>
>>
>> Building it from the command line (mvn) produces the same error.  I've
>> deleted 'org' from my repository, that didn't change anything; I
>> deleted my repository and recreated it, that did the same thing.  I'm
>> fairly new to Maven so it's likely that I've configured something
>> wrong or there's an issue with the XDoclet plugin. I am using a
>> barebones settings.xml with only the additional repository mentioned
>> before.  The XDoclet plugin I have configured in eclipse is 1.2.1 I
>> think, but that shouldn't matter for this considering it fails with a
>> command line build outside of eclipse.
>>
>> 2009/7/10 Grégory Joseph <gregory.joseph@...>:
>>>
>>> Sorry Ryan, I hadn't seen this specific message.
>>> Where's the output coming from here ? Could you try simply building from
>>> a
>>> regular command shell ? It might even be helpful to do so with the -X
>>> flag
>>> to get more debug output.
>>>
>>> (just try to build from the magnolia-taglib-cms folder)
>>>
>>> Cheers,
>>>
>>> -g
>>>
>>> On Jul 9, 2009, at 7:19 PM, Ryan Underwood wrote:
>>>
>>>>
>>>> I added that repository to my maven.  I am still getting an error.  I
>>>> also tried moving my repository from 'Documents and Settings' to avoid
>>>> the " " in the file path.  Here is what I'm still getting...any ideas?
>>>> Thanks
>>>>
>>>> [INFO] [enforcer:enforce]
>>>> [INFO] [2-xdoclet2:xdoclet]
>>>> [INFO]
>>>> [INFO]
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] magnolia-project ...................................... SUCCESS
>>>> [1:52.625s]
>>>> [INFO] magnolia-core ......................................... SUCCESS
>>>> [6:38.094s]
>>>> [INFO] magnolia-jaas ......................................... SUCCESS
>>>> [2.937s]
>>>> [INFO] magnolia-gui .......................................... SUCCESS
>>>> [6.547s]
>>>> [INFO] magnolia-module-exchange-simple ....................... SUCCESS
>>>> [14.594s]
>>>> [INFO] magnolia-module-templating ............................ SUCCESS
>>>> [11.281s]
>>>> [INFO] magnolia-module-admininterface ........................ SUCCESS
>>>> [15.172s]
>>>> [INFO] magnolia-module-mail .................................. SUCCESS
>>>> [23.110s]
>>>> [INFO] magnolia-module-workflow .............................. SUCCESS
>>>> [1:35.500s]
>>>> [INFO] magnolia-module-cache ................................. SUCCESS
>>>> [32.109s]
>>>> [INFO] CMS Tag Library ....................................... FAILED
>>>> [4:41.484s]
>>>> [INFO] CMS Utility Tag Library ............................... NOT BUILT
>>>> [INFO] magnolia-module-fckeditor ............................. NOT BUILT
>>>> [INFO] magnolia-module-samples ............................... NOT BUILT
>>>> [INFO] magnolia-empty-webapp ................................. NOT BUILT
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR]
>>>>
>>>> The following mojo encountered an error while executing:
>>>> Group-Id: org.codehaus.xdoclet
>>>> Artifact-Id: maven2-xdoclet2-plugin
>>>> Version: 2.0.7
>>>> Mojo: xdoclet
>>>> brought in via: POM
>>>>
>>>> While building project:
>>>> Group-Id: info.magnolia
>>>> Artifact-Id: magnolia-taglib-cms
>>>> Version: 4.1
>>>> From file:
>>>> C:\apps\eclipse\workspace\magnolia-4.1\magnolia-taglib-cms\pom.xml
>>>> Reason: XDoclet plugin failed: Failed to set property restrictedpath
>>>> to file://C:/repository: null
>>>>
>>>>
>>>>
>>>> On Thu, Jul 9, 2009 at 10:15 AM, Jan
>>>> Haderka<jan.haderka@...> wrote:
>>>>>
>>>>> You can find maven2-xdoclet2-plugin 2.0.7 in our repo
>>>>>
>>>>>
>>>>> http://repo.magnolia-cms.com/m2/org/codehaus/xdoclet/maven2-xdoclet2-plugin/2.0.7-20090592-magnolia/
>>>>>
>>>>> Jan
>>>>>
>>>>> On Thu, 2009-07-09 at 09:55 -0400, Ryan Underwood wrote:
>>>>>>
>>>>>> I can't seem to find a release of maven2-xdoclet2-plugin version
>>>>>> 2.0.7.  I downloaded 2.0.5 and added it to my maven repository but
>>>>>> like I said, the 2.0.7 doesn't seem to be found anywhere...
>>>>>> And I did delete and redownload things.  I'm using the Community
>>>>>> Edition tag of 4.1 (26146)
>>>>>> Thanks
>>>>>>
>>>>>> On Thu, Jul 9, 2009 at 9:11 AM, Jan
>>>>>> Haderka<jan.haderka@...> wrote:
>>>>>>>
>>>>>>> I believe the original author "solved" the issue by deleting checked
>>>>>>> out
>>>>>>> content and checking out everything again. You might want to give it
>>>>>>> a
>>>>>>> try, tho I have no explanation as to what could be missing or
>>>>>>> corrupted
>>>>>>> when checking out things for the first time. I was unable to
>>>>>>> reproduce
>>>>>>> the problem myself.
>>>>>>>
>>>>>>> HTH,
>>>>>>> Jan
>>>>>>>
>>>>>>> On Thu, 2009-07-09 at 05:47 -0700, Ryan Underwood wrote:
>>>>>>>>
>>>>>>>> I'm having the same problem...anyone that was having this problem
>>>>>>>> make
>>>>>>>> this
>>>>>>>> work?
>>>>>>>
>>>>>>> --
>>>>>>> Best regards,
>>>>>>>
>>>>>>> Jan Haderka
>>>>>>> Magnolia International Ltd.
>>>>>>>
>>>>>>> Meet us at the Magnolia Conference
>>>>>>> http:/www.magnolia-cms.com/conference
>>>>>>>
>>>>>>> Magnolia®  - Simple Open Source Content Management
>>>>>>>
>>>>>>>
>>>>>>> ----------------------------------------------------------------
>>>>>>> For list details see
>>>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>>>>> ----------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------
>>>>>> For list details see
>>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>>>> ----------------------------------------------------------------
>>>>>
>>>>> --
>>>>> Best regards,
>>>>>
>>>>> Jan Haderka
>>>>> Magnolia International Ltd.
>>>>>
>>>>> Meet us at the Magnolia Conference
>>>>> http:/www.magnolia-cms.com/conference
>>>>>
>>>>> Magnolia®  - Simple Open Source Content Management
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------
>>>>> For list details see
>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>>> ----------------------------------------------------------------
>>>>>
>>>>>
>>>>
>>>> ----------------------------------------------------------------
>>>> For list details see
>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>> ----------------------------------------------------------------
>>>
>>>
>>> ----------------------------------------------------------------
>>> For list details see
>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>> ----------------------------------------------------------------
>>>
>>>
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>> ----------------------------------------------------------------
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------
>
>

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


Re: Build CMS Tag Library failed

by gregoryjoseph :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Jul 10, 2009, at 7:36 PM, Ryan Underwood wrote:

>
> Temoving the file:// from the restrictedpath didn't change the
> result--it still failed.  However after inspecting the plugin
> properties the restrictedpath isn't required so I removed it and was
> able to build everything.  I have no idea if there are side effects
> from doing this but for now at least it's building.  Thanks for
> everyone's help.  If some side effects do pop up, I'll reply to this
> posting--or if anyone has any other ideas about this.  I hate to
> modify the POM file of the project to get it to compile in case I ever
> need to do updates...

There *are* side-effects: the tld of magnolia-taglib-utilities will  
contain the tag declarations of magnolia-taglib-cms on top of its own.

-g


>
> 2009/7/10 Grégory Joseph <gregory.joseph@...>:
>>
>> I see...
>> Well if you edit the pom.xml file and replace
>> <restrictedpath>file://${settings.localRepository}</restrictedpath>
>>  by <restrictedpath>${settings.localRepository}</restrictedpath>
>> .. the build will work.. but the 2nd taglib (magnolia-taglib-
>> utilities) will
>> be generated with both the magnolia-taglib-cms and magnolia-taglib-
>> utilities
>> classes... not exactly sure why.
>>
>> On Jul 10, 2009, at 3:41 PM, Ryan Underwood wrote:
>>
>>>
>>> Touche Grégory, I did get an exception when I turned on debugging.
>>> And I do get a similar error as the other person:
>>>
>>> The following mojo encountered an error while executing:
>>> Group-Id: org.codehaus.xdoclet
>>> Artifact-Id: maven2-xdoclet2-plugin
>>> Version: 2.0.7
>>> Mojo: xdoclet
>>> brought in via: POM
>>>
>>> While building project:
>>> Group-Id: info.magnolia
>>> Artifact-Id: magnolia-taglib-cms
>>> Version: 4.1
>>> From file:
>>> C:\apps\eclipse\workspace\magnolia-4.1\magnolia-taglib-cms\pom.xml
>>> Reason: XDoclet plugin failed: Failed to set property restrictedpath
>>> to file://C:/repository: null
>>>
>>> org.picocontainer.PicoInitializationException: Failed to set  
>>> property
>>> restrictedpath to file://C:/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)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
>>> 579)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .lifecycle
>>> .DefaultLifecycleExecutor
>>> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .lifecycle
>>> .DefaultLifecycleExecutor
>>> .executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .lifecycle
>>> .DefaultLifecycleExecutor
>>> .executeTaskSegments(DefaultLifecycleExecutor.java:191)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .lifecycle
>>> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>>>        at
>>> org
>>> .apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:
>>> 223)
>>>        at
>>> org
>>> .apache
>>> .maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:
>>> 304)
>>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .embedder
>>> .MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>>>        at
>>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:
>>> 1)
>>>        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
>>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
>>>        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:597)
>>>        at
>>> org
>>> .codehaus
>>> .plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:
>>> 289)
>>>        at
>>> org
>>> .codehaus
>>> .plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>>        at
>>> org
>>> .codehaus
>>> .plexus
>>> .classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
>>>        at
>>> org
>>> .codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
>>> 351)
>>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
>>> 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:597)
>>>        at
>>> org
>>> .picocontainer
>>> .defaults
>>> .BeanPropertyComponentAdapter
>>> .getComponentInstance(BeanPropertyComponentAdapter.java:77)
>>>        ... 28 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:396)
>>>        at java.io.File.getCanonicalPath(File.java:559)
>>>        at
>>> org.generama.defaults.QDoxPlugin.setRestrictedpath(QDoxPlugin.java:
>>> 43)
>>>        ... 33 more
>>>
>>>
>>>
>>> Error stacktrace:
>>> org.apache.maven.lifecycle.LifecycleExecutionException: Internal  
>>> error
>>> in the plugin manager executing goal
>>> 'org.codehaus.xdoclet:maven2-xdoclet2-plugin:2.0.7:xdoclet': Mojo
>>> execution failed.
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .lifecycle
>>> .DefaultLifecycleExecutor
>>> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:505)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .lifecycle
>>> .DefaultLifecycleExecutor
>>> .executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .lifecycle
>>> .DefaultLifecycleExecutor
>>> .executeTaskSegments(DefaultLifecycleExecutor.java:191)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .lifecycle
>>> .DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>>>        at
>>> org
>>> .apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:
>>> 223)
>>>        at
>>> org
>>> .apache
>>> .maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:
>>> 304)
>>>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .embedder
>>> .MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>>>        at
>>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:
>>> 1)
>>>        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
>>>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
>>>        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:597)
>>>        at
>>> org
>>> .codehaus
>>> .plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:
>>> 289)
>>>        at
>>> org
>>> .codehaus
>>> .plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>>        at
>>> org
>>> .codehaus
>>> .plexus
>>> .classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
>>>        at
>>> org
>>> .codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:
>>> 351)
>>>        at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
>>> Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
>>> execution failed.
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
>>> 601)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .lifecycle
>>> .DefaultLifecycleExecutor
>>> .executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
>>>        ... 20 more
>>> Caused by: org.apache.maven.plugin.MojoExecutionException: XDoclet
>>> plugin failed: Failed to set property restrictedpath to
>>> file://C:/repository: null
>>>        at  
>>> org.codehaus.xdoclet.XDocletMojo.execute(XDocletMojo.java:260)
>>>        at
>>> org
>>> .apache
>>> .maven
>>> .plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
>>> 579)
>>>        ... 21 more
>>> Caused by: org.picocontainer.PicoInitializationException: Failed to
>>> set property restrictedpath to file://C:/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)
>>>        ... 22 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:597)
>>>        at
>>> org
>>> .picocontainer
>>> .defaults
>>> .BeanPropertyComponentAdapter
>>> .getComponentInstance(BeanPropertyComponentAdapter.java:77)
>>>        ... 28 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:396)
>>>        at java.io.File.getCanonicalPath(File.java:559)
>>>        at
>>> org.generama.defaults.QDoxPlugin.setRestrictedpath(QDoxPlugin.java:
>>> 43)
>>>        ... 33 more
>>>
>>>
>>> Building it from the command line (mvn) produces the same error.  
>>> I've
>>> deleted 'org' from my repository, that didn't change anything; I
>>> deleted my repository and recreated it, that did the same thing.  
>>> I'm
>>> fairly new to Maven so it's likely that I've configured something
>>> wrong or there's an issue with the XDoclet plugin. I am using a
>>> barebones settings.xml with only the additional repository mentioned
>>> before.  The XDoclet plugin I have configured in eclipse is 1.2.1 I
>>> think, but that shouldn't matter for this considering it fails  
>>> with a
>>> command line build outside of eclipse.
>>>
>>> 2009/7/10 Grégory Joseph <gregory.joseph@...>:
>>>>
>>>> Sorry Ryan, I hadn't seen this specific message.
>>>> Where's the output coming from here ? Could you try simply  
>>>> building from
>>>> a
>>>> regular command shell ? It might even be helpful to do so with  
>>>> the -X
>>>> flag
>>>> to get more debug output.
>>>>
>>>> (just try to build from the magnolia-taglib-cms folder)
>>>>
>>>> Cheers,
>>>>
>>>> -g
>>>>
>>>> On Jul 9, 2009, at 7:19 PM, Ryan Underwood wrote:
>>>>
>>>>>
>>>>> I added that repository to my maven.  I am still getting an  
>>>>> error.  I
>>>>> also tried moving my repository from 'Documents and Settings' to  
>>>>> avoid
>>>>> the " " in the file path.  Here is what I'm still getting...any  
>>>>> ideas?
>>>>> Thanks
>>>>>
>>>>> [INFO] [enforcer:enforce]
>>>>> [INFO] [2-xdoclet2:xdoclet]
>>>>> [INFO]
>>>>> [INFO]
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Reactor Summary:
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] magnolia-project ......................................  
>>>>> SUCCESS
>>>>> [1:52.625s]
>>>>> [INFO] magnolia-core .........................................  
>>>>> SUCCESS
>>>>> [6:38.094s]
>>>>> [INFO] magnolia-jaas .........................................  
>>>>> SUCCESS
>>>>> [2.937s]
>>>>> [INFO] magnolia-gui ..........................................  
>>>>> SUCCESS
>>>>> [6.547s]
>>>>> [INFO] magnolia-module-exchange-simple .......................  
>>>>> SUCCESS
>>>>> [14.594s]
>>>>> [INFO] magnolia-module-templating ............................  
>>>>> SUCCESS
>>>>> [11.281s]
>>>>> [INFO] magnolia-module-admininterface ........................  
>>>>> SUCCESS
>>>>> [15.172s]
>>>>> [INFO] magnolia-module-mail ..................................  
>>>>> SUCCESS
>>>>> [23.110s]
>>>>> [INFO] magnolia-module-workflow ..............................  
>>>>> SUCCESS
>>>>> [1:35.500s]
>>>>> [INFO] magnolia-module-cache .................................  
>>>>> SUCCESS
>>>>> [32.109s]
>>>>> [INFO] CMS Tag Library .......................................  
>>>>> FAILED
>>>>> [4:41.484s]
>>>>> [INFO] CMS Utility Tag Library ...............................  
>>>>> NOT BUILT
>>>>> [INFO] magnolia-module-fckeditor .............................  
>>>>> NOT BUILT
>>>>> [INFO] magnolia-module-samples ...............................  
>>>>> NOT BUILT
>>>>> [INFO] magnolia-empty-webapp .................................  
>>>>> NOT BUILT
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR]
>>>>>
>>>>> The following mojo encountered an error while executing:
>>>>> Group-Id: org.codehaus.xdoclet
>>>>> Artifact-Id: maven2-xdoclet2-plugin
>>>>> Version: 2.0.7
>>>>> Mojo: xdoclet
>>>>> brought in via: POM
>>>>>
>>>>> While building project:
>>>>> Group-Id: info.magnolia
>>>>> Artifact-Id: magnolia-taglib-cms
>>>>> Version: 4.1
>>>>> From file:
>>>>> C:\apps\eclipse\workspace\magnolia-4.1\magnolia-taglib-cms\pom.xml
>>>>> Reason: XDoclet plugin failed: Failed to set property  
>>>>> restrictedpath
>>>>> to file://C:/repository: null
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Jul 9, 2009 at 10:15 AM, Jan
>>>>> Haderka<jan.haderka@...> wrote:
>>>>>>
>>>>>> You can find maven2-xdoclet2-plugin 2.0.7 in our repo
>>>>>>
>>>>>>
>>>>>> http://repo.magnolia-cms.com/m2/org/codehaus/xdoclet/maven2-xdoclet2-plugin/2.0.7-20090592-magnolia/
>>>>>>
>>>>>> Jan
>>>>>>
>>>>>> On Thu, 2009-07-09 at 09:55 -0400, Ryan Underwood wrote:
>>>>>>>
>>>>>>> I can't seem to find a release of maven2-xdoclet2-plugin version
>>>>>>> 2.0.7.  I downloaded 2.0.5 and added it to my maven repository  
>>>>>>> but
>>>>>>> like I said, the 2.0.7 doesn't seem to be found anywhere...
>>>>>>> And I did delete and redownload things.  I'm using the Community
>>>>>>> Edition tag of 4.1 (26146)
>>>>>>> Thanks
>>>>>>>
>>>>>>> On Thu, Jul 9, 2009 at 9:11 AM, Jan
>>>>>>> Haderka<jan.haderka@...> wrote:
>>>>>>>>
>>>>>>>> I believe the original author "solved" the issue by deleting  
>>>>>>>> checked
>>>>>>>> out
>>>>>>>> content and checking out everything again. You might want to  
>>>>>>>> give it
>>>>>>>> a
>>>>>>>> try, tho I have no explanation as to what could be missing or
>>>>>>>> corrupted
>>>>>>>> when checking out things for the first time. I was unable to
>>>>>>>> reproduce
>>>>>>>> the problem myself.
>>>>>>>>
>>>>>>>> HTH,
>>>>>>>> Jan
>>>>>>>>
>>>>>>>> On Thu, 2009-07-09 at 05:47 -0700, Ryan Underwood wrote:
>>>>>>>>>
>>>>>>>>> I'm having the same problem...anyone that was having this  
>>>>>>>>> problem
>>>>>>>>> make
>>>>>>>>> this
>>>>>>>>> work?
>>>>>>>>
>>>>>>>> --
>>>>>>>> Best regards,
>>>>>>>>
>>>>>>>> Jan Haderka
>>>>>>>> Magnolia International Ltd.
>>>>>>>>
>>>>>>>> Meet us at the Magnolia Conference
>>>>>>>> http:/www.magnolia-cms.com/conference
>>>>>>>>
>>>>>>>> Magnolia®  - Simple Open Source Content Management
>>>>>>>>
>>>>>>>>
>>>>>>>> ----------------------------------------------------------------
>>>>>>>> For list details see
>>>>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...
>>>>>>>> >
>>>>>>>> ----------------------------------------------------------------
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ----------------------------------------------------------------
>>>>>>> For list details see
>>>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...
>>>>>>> >
>>>>>>> ----------------------------------------------------------------
>>>>>>
>>>>>> --
>>>>>> Best regards,
>>>>>>
>>>>>> Jan Haderka
>>>>>> Magnolia International Ltd.
>>>>>>
>>>>>> Meet us at the Magnolia Conference
>>>>>> http:/www.magnolia-cms.com/conference
>>>>>>
>>>>>> Magnolia®  - Simple Open Source Content Management
>>>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------
>>>>>> For list details see
>>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...
>>>>>> >
>>>>>> ----------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>
>>>>> ----------------------------------------------------------------
>>>>> For list details see
>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@magnolia-
>>>>> cms.com>
>>>>> ----------------------------------------------------------------
>>>>
>>>>
>>>> ----------------------------------------------------------------
>>>> For list details see
>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>> ----------------------------------------------------------------
>>>>
>>>>
>>>
>>> ----------------------------------------------------------------
>>> For list details see
>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>> ----------------------------------------------------------------
>>
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>> ----------------------------------------------------------------
>>
>>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------


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


Re: Build CMS Tag Library failed

by Ryan Underwood :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Can you explain how a restricted path that contains the name of my
maven repository causes that?  Is it possible that it should contain
something different?

2009/7/13 Grégory Joseph <gregory.joseph@...>:

>
>
> On Jul 10, 2009, at 7:36 PM, Ryan Underwood wrote:
>
>>
>> Temoving the file:// from the restrictedpath didn't change the
>> result--it still failed.  However after inspecting the plugin
>> properties the restrictedpath isn't required so I removed it and was
>> able to build everything.  I have no idea if there are side effects
>> from doing this but for now at least it's building.  Thanks for
>> everyone's help.  If some side effects do pop up, I'll reply to this
>> posting--or if anyone has any other ideas about this.  I hate to
>> modify the POM file of the project to get it to compile in case I ever
>> need to do updates...
>
> There *are* side-effects: the tld of magnolia-taglib-utilities will contain
> the tag declarations of magnolia-taglib-cms on top of its own.
>
> -g
>
>
>>
>> 2009/7/10 Grégory Joseph <gregory.joseph@...>:
>>>
>>> I see...
>>> Well if you edit the pom.xml file and replace
>>> <restrictedpath>file://${settings.localRepository}</restrictedpath>
>>>  by <restrictedpath>${settings.localRepository}</restrictedpath>
>>> .. the build will work.. but the 2nd taglib (magnolia-taglib-utilities)
>>> will
>>> be generated with both the magnolia-taglib-cms and
>>> magnolia-taglib-utilities
>>> classes... not exactly sure why.
>>>
>>> On Jul 10, 2009, at 3:41 PM, Ryan Underwood wrote:
>>>
>>>>
>>>> Touche Grégory, I did get an exception when I turned on debugging.
>>>> And I do get a similar error as the other person:
>>>>
>>>> The following mojo encountered an error while executing:
>>>> Group-Id: org.codehaus.xdoclet
>>>> Artifact-Id: maven2-xdoclet2-plugin
>>>> Version: 2.0.7
>>>> Mojo: xdoclet
>>>> brought in via: POM
>>>>
>>>> While building project:
>>>> Group-Id: info.magnolia
>>>> Artifact-Id: magnolia-taglib-cms
>>>> Version: 4.1
>>>> From file:
>>>> C:\apps\eclipse\workspace\magnolia-4.1\magnolia-taglib-cms\pom.xml
>>>> Reason: XDoclet plugin failed: Failed to set property restrictedpath
>>>> to file://C:/repository: null
>>>>
>>>> org.picocontainer.PicoInitializationException: Failed to set property
>>>> restrictedpath to file://C:/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)
>>>>       at
>>>>
>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
>>>>       at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
>>>>       at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
>>>>       at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
>>>>       at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>>>>       at
>>>> org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
>>>>       at
>>>>
>>>> org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>>>>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>>>>       at
>>>>
>>>> org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
>>>>       at
>>>>
>>>> org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>>>>       at
>>>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>>>>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
>>>>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
>>>>       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:597)
>>>>       at
>>>>
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>>>>       at
>>>>
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>>>       at
>>>>
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
>>>>       at
>>>>
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
>>>>       at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
>>>> 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:597)
>>>>       at
>>>>
>>>> org.picocontainer.defaults.BeanPropertyComponentAdapter.getComponentInstance(BeanPropertyComponentAdapter.java:77)
>>>>       ... 28 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:396)
>>>>       at java.io.File.getCanonicalPath(File.java:559)
>>>>       at
>>>> org.generama.defaults.QDoxPlugin.setRestrictedpath(QDoxPlugin.java:43)
>>>>       ... 33 more
>>>>
>>>>
>>>>
>>>> Error stacktrace:
>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Internal error
>>>> in the plugin manager executing goal
>>>> 'org.codehaus.xdoclet:maven2-xdoclet2-plugin:2.0.7:xdoclet': Mojo
>>>> execution failed.
>>>>       at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:505)
>>>>       at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
>>>>       at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
>>>>       at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
>>>>       at
>>>> org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
>>>>       at
>>>>
>>>> org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
>>>>       at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
>>>>       at
>>>>
>>>> org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
>>>>       at
>>>>
>>>> org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
>>>>       at
>>>> org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
>>>>       at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
>>>>       at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
>>>>       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:597)
>>>>       at
>>>>
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>>>>       at
>>>>
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>>>>       at
>>>>
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408)
>>>>       at
>>>>
>>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351)
>>>>       at org.codehaus.classworlds.Launcher.main(Launcher.java:31)
>>>> Caused by: org.apache.maven.plugin.PluginExecutionException: Mojo
>>>> execution failed.
>>>>       at
>>>>
>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:601)
>>>>       at
>>>>
>>>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
>>>>       ... 20 more
>>>> Caused by: org.apache.maven.plugin.MojoExecutionException: XDoclet
>>>> plugin failed: Failed to set property restrictedpath to
>>>> file://C:/repository: null
>>>>       at org.codehaus.xdoclet.XDocletMojo.execute(XDocletMojo.java:260)
>>>>       at
>>>>
>>>> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
>>>>       ... 21 more
>>>> Caused by: org.picocontainer.PicoInitializationException: Failed to
>>>> set property restrictedpath to file://C:/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)
>>>>       ... 22 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:597)
>>>>       at
>>>>
>>>> org.picocontainer.defaults.BeanPropertyComponentAdapter.getComponentInstance(BeanPropertyComponentAdapter.java:77)
>>>>       ... 28 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:396)
>>>>       at java.io.File.getCanonicalPath(File.java:559)
>>>>       at
>>>> org.generama.defaults.QDoxPlugin.setRestrictedpath(QDoxPlugin.java:43)
>>>>       ... 33 more
>>>>
>>>>
>>>> Building it from the command line (mvn) produces the same error.  I've
>>>> deleted 'org' from my repository, that didn't change anything; I
>>>> deleted my repository and recreated it, that did the same thing.  I'm
>>>> fairly new to Maven so it's likely that I've configured something
>>>> wrong or there's an issue with the XDoclet plugin. I am using a
>>>> barebones settings.xml with only the additional repository mentioned
>>>> before.  The XDoclet plugin I have configured in eclipse is 1.2.1 I
>>>> think, but that shouldn't matter for this considering it fails with a
>>>> command line build outside of eclipse.
>>>>
>>>> 2009/7/10 Grégory Joseph <gregory.joseph@...>:
>>>>>
>>>>> Sorry Ryan, I hadn't seen this specific message.
>>>>> Where's the output coming from here ? Could you try simply building
>>>>> from
>>>>> a
>>>>> regular command shell ? It might even be helpful to do so with the -X
>>>>> flag
>>>>> to get more debug output.
>>>>>
>>>>> (just try to build from the magnolia-taglib-cms folder)
>>>>>
>>>>> Cheers,
>>>>>
>>>>> -g
>>>>>
>>>>> On Jul 9, 2009, at 7:19 PM, Ryan Underwood wrote:
>>>>>
>>>>>>
>>>>>> I added that repository to my maven.  I am still getting an error.  I
>>>>>> also tried moving my repository from 'Documents and Settings' to avoid
>>>>>> the " " in the file path.  Here is what I'm still getting...any ideas?
>>>>>> Thanks
>>>>>>
>>>>>> [INFO] [enforcer:enforce]
>>>>>> [INFO] [2-xdoclet2:xdoclet]
>>>>>> [INFO]
>>>>>> [INFO]
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] Reactor Summary:
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [INFO] magnolia-project ...................................... SUCCESS
>>>>>> [1:52.625s]
>>>>>> [INFO] magnolia-core ......................................... SUCCESS
>>>>>> [6:38.094s]
>>>>>> [INFO] magnolia-jaas ......................................... SUCCESS
>>>>>> [2.937s]
>>>>>> [INFO] magnolia-gui .......................................... SUCCESS
>>>>>> [6.547s]
>>>>>> [INFO] magnolia-module-exchange-simple ....................... SUCCESS
>>>>>> [14.594s]
>>>>>> [INFO] magnolia-module-templating ............................ SUCCESS
>>>>>> [11.281s]
>>>>>> [INFO] magnolia-module-admininterface ........................ SUCCESS
>>>>>> [15.172s]
>>>>>> [INFO] magnolia-module-mail .................................. SUCCESS
>>>>>> [23.110s]
>>>>>> [INFO] magnolia-module-workflow .............................. SUCCESS
>>>>>> [1:35.500s]
>>>>>> [INFO] magnolia-module-cache ................................. SUCCESS
>>>>>> [32.109s]
>>>>>> [INFO] CMS Tag Library ....................................... FAILED
>>>>>> [4:41.484s]
>>>>>> [INFO] CMS Utility Tag Library ............................... NOT
>>>>>> BUILT
>>>>>> [INFO] magnolia-module-fckeditor ............................. NOT
>>>>>> BUILT
>>>>>> [INFO] magnolia-module-samples ............................... NOT
>>>>>> BUILT
>>>>>> [INFO] magnolia-empty-webapp ................................. NOT
>>>>>> BUILT
>>>>>> [INFO]
>>>>>>
>>>>>> ------------------------------------------------------------------------
>>>>>> [ERROR]
>>>>>>
>>>>>> The following mojo encountered an error while executing:
>>>>>> Group-Id: org.codehaus.xdoclet
>>>>>> Artifact-Id: maven2-xdoclet2-plugin
>>>>>> Version: 2.0.7
>>>>>> Mojo: xdoclet
>>>>>> brought in via: POM
>>>>>>
>>>>>> While building project:
>>>>>> Group-Id: info.magnolia
>>>>>> Artifact-Id: magnolia-taglib-cms
>>>>>> Version: 4.1
>>>>>> From file:
>>>>>> C:\apps\eclipse\workspace\magnolia-4.1\magnolia-taglib-cms\pom.xml
>>>>>> Reason: XDoclet plugin failed: Failed to set property restrictedpath
>>>>>> to file://C:/repository: null
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Thu, Jul 9, 2009 at 10:15 AM, Jan
>>>>>> Haderka<jan.haderka@...> wrote:
>>>>>>>
>>>>>>> You can find maven2-xdoclet2-plugin 2.0.7 in our repo
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> http://repo.magnolia-cms.com/m2/org/codehaus/xdoclet/maven2-xdoclet2-plugin/2.0.7-20090592-magnolia/
>>>>>>>
>>>>>>> Jan
>>>>>>>
>>>>>>> On Thu, 2009-07-09 at 09:55 -0400, Ryan Underwood wrote:
>>>>>>>>
>>>>>>>> I can't seem to find a release of maven2-xdoclet2-plugin version
>>>>>>>> 2.0.7.  I downloaded 2.0.5 and added it to my maven repository but
>>>>>>>> like I said, the 2.0.7 doesn't seem to be found anywhere...
>>>>>>>> And I did delete and redownload things.  I'm using the Community
>>>>>>>> Edition tag of 4.1 (26146)
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> On Thu, Jul 9, 2009 at 9:11 AM, Jan
>>>>>>>> Haderka<jan.haderka@...> wrote:
>>>>>>>>>
>>>>>>>>> I believe the original author "solved" the issue by deleting
>>>>>>>>> checked
>>>>>>>>> out
>>>>>>>>> content and checking out everything again. You might want to give
>>>>>>>>> it
>>>>>>>>> a
>>>>>>>>> try, tho I have no explanation as to what could be missing or
>>>>>>>>> corrupted
>>>>>>>>> when checking out things for the first time. I was unable to
>>>>>>>>> reproduce
>>>>>>>>> the problem myself.
>>>>>>>>>
>>>>>>>>> HTH,
>>>>>>>>> Jan
>>>>>>>>>
>>>>>>>>> On Thu, 2009-07-09 at 05:47 -0700, Ryan Underwood wrote:
>>>>>>>>>>
>>>>>>>>>> I'm having the same problem...anyone that was having this problem
>>>>>>>>>> make
>>>>>>>>>> this
>>>>>>>>>> work?
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Best regards,
>>>>>>>>>
>>>>>>>>> Jan Haderka
>>>>>>>>> Magnolia International Ltd.
>>>>>>>>>
>>>>>>>>> Meet us at the Magnolia Conference
>>>>>>>>> http:/www.magnolia-cms.com/conference
>>>>>>>>>
>>>>>>>>> Magnolia®  - Simple Open Source Content Management
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ----------------------------------------------------------------
>>>>>>>>> For list details see
>>>>>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>>>>>>> ----------------------------------------------------------------
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> ----------------------------------------------------------------
>>>>>>>> For list details see
>>>>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>>>>>> ----------------------------------------------------------------
>>>>>>>
>>>>>>> --
>>>>>>> Best regards,
>>>>>>>
>>>>>>> Jan Haderka
>>>>>>> Magnolia International Ltd.
>>>>>>>
>>>>>>> Meet us at the Magnolia Conference
>>>>>>> http:/www.magnolia-cms.com/conference
>>>>>>>
>>>>>>> Magnolia®  - Simple Open Source Content Management
>>>>>>>
>>>>>>>
>>>>>>> ----------------------------------------------------------------
>>>>>>> For list details see
>>>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>>>>> ----------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> ----------------------------------------------------------------
>>>>>> For list details see
>>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>>>> ----------------------------------------------------------------
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------
>>>>> For list details see
>>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>>> ----------------------------------------------------------------
>>>>>
>>>>>
>>>>
>>>> ----------------------------------------------------------------
>>>> For list details see
>>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>>> ----------------------------------------------------------------
>>>
>>>
>>> ----------------------------------------------------------------
>>> For list details see
>>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>>> ----------------------------------------------------------------
>>>
>>>
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
>> ----------------------------------------------------------------
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <user-list-unsubscribe@...>
> ----------------------------------------------------------------
>
>

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


Re: Build CMS Tag Library failed

by zpxocivuby :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all :
   Try to remove this line :
<<<plugin>
        <groupId>org.codehaus.xdoclet</groupId>
        <artifactId>maven2-xdoclet2-plugin</artifactId>
      </plugin>>>

    in that files :
<<magnolia-taglib-cms/pom.xml
   magnolia-taglib-utility/pom.xml
>>



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