Hi folks,
I don't understand what is going on while generating a project
documentation using the maven 2 plugin site.
What I coded in the Xdoc is:
...
90%
td>
...
As you can see, I am missing the complete style definition in the td
tag.
Is this a bug or is there a proved way to add user defined styles.?
Regards Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi folks,
I tried to generate the site documentation from parent of a multi-project.
And I always get this message:
[ERROR] BUILD ERROR
[INFO]
[INFO] Error reading site descriptor
Embedded error: input contained no data
[INFO]
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error reading
site descriptor
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
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: Error reading
site descriptor
at
org.apache.maven.plugins.site.AbstractSiteRenderingMojo.readDecorationModel(AbstractSiteRenderingMojo.java:249)
at
org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getDecorationModel(AbstractSiteRenderingMojo.java:209)
at
org.apache.maven.plugins.site.AbstractSiteRenderingMojo.getDecorationModel(AbstractSiteRenderingMojo.java:490)
at
org.apache.maven.plugins.site.AbstractSiteRenderingMojo.createSiteRenderingContext(AbstractSiteRenderingMojo.java:429)
at
org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:108)
at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:92)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
... 16 more
Caused by: java.io.EOFException: input contained no data
at
org.codehaus.plexus.util.xml.pull.MXParser.fillBuf(MXParser.java:2979)
at
org.codehaus.plexus.util.xml.pull.MXParser.more(MXParser.java:3022)
at
org.codehaus.plexus.util.xml.pull.MXParser.parseProlog(MXParser.java:1407)
at
org.codehaus.plexus.util.xml.pull.MXParser.nextImpl(MXParser.java:1392)
at
org.codehaus.plexus.util.xml.pull.MXParser.next(MXParser.java:1090)
at
org.apache.maven.doxia.site.decoration.io.xpp3.DecorationXpp3Reader.read(DecorationXpp3Reader.java:1107)
at
org.apache.maven.doxia.site.decoration.io.xpp3.DecorationXpp3Reader.read(DecorationXpp3Reader.java:1121)
at
org.apache.maven.plugins.site.AbstractSiteRenderingMojo.readDecorationModel(AbstractSiteRenderingMojo.java:241)
... 23 more
The site.xml looks like:
Maven
http://maven.apache.org/images/apache-maven-project.png
http://maven.apache.org/
http://maven.apache.org/images/maven-small.gif
http://www.apache.org/"; />
http://maven.apache.org/"/>
http://maven.apache.org/maven2/"/>
${reports}
and in the parent I created this structure
src/
`-- site
|-- apt
| `-- index.apt
`-- site.xml
in the parent pom I added
[...]
org.apache.maven.plugins
maven-site-plugin
[...]
So where is my mistake?
Regards
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
found the error.
It may not be :cvs:@cvsserver: but :[EMAIL PROTECTED]: So I hab a : to much.
Mark Sudau schrieb:
Hi folks,
actually I moved my Project from maven 1 to maven 2. Now I want to
generate some reports. All are runing fine except the changelog. I
wonder why as I copied the configureation from the web into my pom.
Here is the configuration:
scm:cvs:pserver:cvs:@cvsserver:/home/cvs:test
scm:cvs:pserver:someuser:@cvsserver:/home/cvs:test
org.apache.maven.plugins
maven-changelog-plugin
2.0-SNAPSHOT
...
Using this configuration I receive the following message from
commandline:
...
[ERROR] BUILD ERROR
[INFO]
[INFO] Failed to resolve artifact.
GroupId: org.apache.maven.plugins
ArtifactId: maven-changelog-plugin
Version: 2.0-SNAPSHOT
Reason: Unable to download the artifact from any repository
org.apache.maven.plugins:maven-changelog-plugin:pom:2.0-SNAPSHOT
from the specified remote repositories:
ibiblio (http://www.ibiblio.org/maven2),
central (http://repo1.maven.org/maven2),
apache-repo (http://myfaces.zones.apache.org/dist/maven-repository),
codehaus (http://repository.codehaus.org)
...
The network is on and the compile works fine with downloading archives
from the web.
Thanks for helping
Mark
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi Raja,
to solve the problem of loosing CVS history you can create an new
Version of project and stopp usign the actual CVS module.
Depending on the size of your project this means a more or less long
production stopp as any developer should help elp in moving the projects
source.
After this I think best practise would be using the maven project structure
Mark
Arnaud HERITIER schrieb:
Please raja, CAN YOU STOP TO SEND THE SAME MAIL 3 TIMES IN 1 HOUR ??
It's better to migrate if you can.
It depends if it creates a problem for you. For example it's not easy to do
it if you use CVS as a SCM because you'll lost your history. With subversion
it's possible to move directories without to lost your history.
Arnaud
On 3/22/06, raja bangaru <[EMAIL PROTECTED]> wrote:
My project which is build in ant does'nt use maven standard directory
structure
src/main/java java source files
src/test/java - java test files
Now i want to migrate to maven
Which way of directory structure is bettter?
moving my files to the above directory structure?
OR
change my POM ?
Help me pls
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
|