[
http://jira.codehaus.org/browse/XDP-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_122040
]
Ramon Havermans commented on XDP-225:
-------------------------------------
I typed the version wrong I'm using 2.0.5 of the plugin.
> Using plugin fails to compile
> -----------------------------
>
> Key: XDP-225
> URL: http://jira.codehaus.org/browse/XDP-225
> Project: XDoclet 2 Plugins
> Issue Type: Bug
> Affects Versions: 1.0.4
> Reporter: Ramon Havermans
>
> Using mvn install -Dwas.deploycode.skip=true
> give the following error:
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Compilation failure
> C:\work\OvereenkomstServiceEJB\target\generated-resources\xdoclet\org\xdoclet\plugin\null\qtags\TagLibrary.java:[1,27]
> <identifier> expected
> C:\work\OvereenkomstServiceEJB\target\generated-resources\xdoclet\org\xdoclet\plugin\null\qtags\TagLibrary.java:[3,20]
> package org.generama does not e
> xist
> C:\work\OvereenkomstServiceEJB\target\generated-resources\xdoclet\org\xdoclet\plugin\null\qtags\TagLibrary.java:[7,22]
> cannot resolve symbol
> symbol : class MetadataProvider
> location: class org.xdoclet.plugin.<error>.TagLibrary
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Compilation failure
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:41)
> at java.lang.reflect.Method.invoke(Method.java:386)
> 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.CompilationFailureException: Compilation
> failure
> at
> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
> at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
> ... 16 more
> Part of Pom:
> <plugins>
> <plugin>
> <groupId>nl.ohra.maven2.plugins</groupId>
> <artifactId>ohra-was5-plugin</artifactId>
> </plugin>
> <plugin>
> <groupId>xdoclet</groupId>
> <artifactId>maven2-xdoclet2-plugin</artifactId>
> <version>2.0.5</version>
> <executions>
> <execution>
> <id>xdoclet</id>
> <phase>generate-sources</phase>
> <goals>
> <goal>xdoclet</goal>
> </goals>
> </execution>
> </executions>
> <!--
> since maven plusgin does not specify dependencies
> on concrete xdoclet-2 plugins, you must specify them
> explicitely. as well as dependencies which may be needed by
> plugin itself
> -->
> <dependencies>
> <dependency>
> <groupId>xdoclet-plugins</groupId>
> <artifactId>xdoclet-plugin-qtags</artifactId>
> <version>1.0.4-SNAPSHOT</version>
> </dependency>
> <dependency>
> <groupId>xdoclet-plugins</groupId>
> <artifactId>xdoclet-taglib-qtags</artifactId>
> <version>1.0.4-SNAPSHOT</version>
> </dependency>
> </dependencies>
> <configuration>
> <configs>
> <!--
> each config defines single xdoclet2 run
> for some plugins. more than one run can be specified with
> different parameters
> -->
> <config>
> <components>
> <!--
> components are xdoclet2 plugins to be run
> and sometimes configuration objects
> -->
> <component>
> <!-- classname of the component -->
>
> <classname>org.xdoclet.plugin.qtags.impl.QTagImplPlugin</classname>
> </component>
> <component>
>
> <classname>org.xdoclet.plugin.qtags.impl.QTagLibraryPlugin</classname>
> <!--
> components can be configured with parameters
> configuration specified here overrides common
> configuration settings
> for config
> -->
> <params>
>
> <packagereplace>org.xdoclet.plugin.${xdoclet.plugin.namespace}.qtags</packagereplace>
> </params>
> </component>
> <component>
>
> <classname>org.xdoclet.plugin.qtags.doclipse.QTagDoclipsePlugin</classname>
> <params>
> <filereplace>qtags.xml</filereplace>
> <namespace>${xdoclet.plugin.namespace}</namespace>
> </params>
> </component>
> <component>
>
> <classname>org.xdoclet.plugin.qtags.confluence.QTagConfluencePlugin</classname>
> <params>
> <destdir>${project.build.directory}/tag-doc</destdir>
> <namespace>${xdoclet.plugin.namespace}</namespace>
>
> <filereplace>${xdoclet.plugin.namespace}.confluence</filereplace>
> </params>
> </component>
> </components>
> <includes>**/*.java</includes>
> <!--
> common parameters for all used plugins. individual plugins
> can override them.
> -->
> <params>
>
> <destdir>${project.build.directory}/generated-resources/xdoclet</destdir>
> </params>
> </config>
> </configs>
> </configuration>
> </plugin>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
xdoclet-plugins-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest