You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bruno Marti <br...@evard.ch> on 2009/01/22 23:51:42 UTC

[M2] maven-plugin-plugin does not compile with goal helpmojo

I've created a ant plugin on base of
http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html.
I updated the latest plugin version for usage with executions-goal =
helpmojo:
- maven-script-ant:2.1.0-M1
- maven-plugin-plugin:2.4.3

It compiles, but if I add:
<executions>
	<execution>
	<id>generate-helpmojo</id>
	<goals>
		<goal>helpmojo</goal>
	</goals>
	</execution>
</executions>

I'm getting a compiler error:
..\target\generated-sources\plugin\m2-plugin-ant\build\HelpMojo.java:[1,7]
<identifier> expected

There is a wrong package defintion on line 1:
package /m2-plugin-ant.build;

Is ther a way to define the package-separator char '.' or want I'm doing
wrong?

see:
http://www.nabble.com/file/p21615272/m2-plugin-ant.rar m2-plugin-ant.rar 


-- 
View this message in context: http://www.nabble.com/-M2--maven-plugin-plugin-does-not-compile-with-goal-helpmojo-tp21615272p21615272.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org