It is most likely a problem with the shared config set up saying there are
local images to be processed.
On Friday, February 04, 2011, at 02:41 am, Emmanuel Bernard wrote:
I don't know the why but the consequences are minimal as
EntityManager's
doc does not contain specific images, only the standard images our docbook
skin uses.
On 4 févr. 2011, at 00:10, Gail Badner wrote:
> I'm getting this error:
>
> java.lang.IllegalStateException: basedir
> /NotBackedUp/gbadner/git/hibernate-core-3.6.1-Final/entitymanager/src/mai
> n/docbook/en/images does not exist
>
> After creating the missing directory, the doc builds successfully.
>
> I'm not sure where the bug is. Is it really because the directory is
> missing or does some plugin make an incorrect assumption.
>
> Here are the details:
>
> [gbadner@gbadner entitymanager]$ mvn -version
> Apache Maven 2.2.1 (r801777; 2009-08-06 12:16:01-0700)
> Java version: 1.5.0_16
> Java home: /NotBackedUp/gbadner/apps/jdk1.5.0_16/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.18-212.el5.bz573514" arch:
"i386" Family:
> "unix"
>
> I'm using the command:
>
> mvn org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.4:resources
> org.jboss.maven.plugins:maven-jdocbook-plugin:2.3.4:generate -P doc
> --settings ~/.m2/settings-3.6.1-Final.xml
>
> The failure:
>
> [INFO] Expanding:
> /home/gbadner/NotBackedUp/.m2/repository-3.6.1-Final/org/jboss/jbossorg-f
> onts/1.0.0/jbossorg-fonts-1.0.0.jdocbook-style into
> /NotBackedUp/gbadner/git/hibernate-core-3.6.1-Final/entitymanager/target/
> docbook/staging [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] basedir
> /NotBackedUp/gbadner/git/hibernate-core-3.6.1-Final/entitymanager/src/mai
> n/docbook/en/images does not exist
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.IllegalStateException: basedir
> /NotBackedUp/gbadner/git/hibernate-core-3.6.1-Final/entitymanager/src/mai
> n/docbook/en/images does not exist
>
> at
>
> org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:550)
>
> at
>
> org.jboss.maven.shared.resource.ResourceDelegate.collectFileNames(Resourc
> eDelegate.java:164)
>
> at
>
> org.jboss.maven.shared.resource.ResourceDelegate.process(ResourceDelegate
> .java:108)
>
> at
>
> org.jboss.maven.plugins.jdocbook.ResourceMojo.stageProjectResources(Resou
> rceMojo.java:114)
>
> at
>
> org.jboss.maven.plugins.jdocbook.ResourceMojo.process(ResourceMojo.java:6
> 3)
>
> at
>
> org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.doExecute(AbstractDo
> cBookMojo.java:295)
>
> at
>
> org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo.execute(AbstractDocB
> ookMojo.java:227)
>
> at
>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMan
> ager.java:490)
>
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultL
> ifecycleExecutor.java:694)
>
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal
> (DefaultLifecycleExecutor.java:569)
>
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLi
> fecycleExecutor.java:539)
>
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleF
> ailures(DefaultLifecycleExecutor.java:387)
>
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(D
> efaultLifecycleExecutor.java:348)
>
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecy
> cleExecutor.java:180)
>
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at
>
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
> :39)
>
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
> mpl.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)
>
> [
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/hibernate-dev
_______________________________________________
hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
---
Steve Ebersole <steve(a)hibernate.org>
http://hibernate.org