We have to publish the artifact-plugin-1.7 and plugin-plugin-1.7 first to satisfy the dependency chain. Problem is that in the current state, these are maven-1.1 plugins only.

-Lukas



Joshua Smith wrote:
Carlos (and others)-

I installed the plugin using the command below, but when I build my project
I get the following error message:

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2


BUILD FAILED
File...... C:\Documents and
Settings\joshua.smith\.maven\cache\maven-xdoc-plugin
-1.8\plugin.jelly
Element... attainGoal
Line...... 694
Column.... 60
C:\Documents and Settings\joshua.smith\.maven\cache\maven-
checkstyle-plugin-3.0-
SNAPSHOT\plugin.jelly:38:134: <assert:assertPluginAvailable>
java.lang.NullPoint
erException
Total time: 5 seconds
Finished at: Fri Dec 02 11:59:28 EST 2005

I've looked at line 38 of plugin.jelly and found the following:
  <j:if test="${bootstrapping == null}">
    <!-- fake test because the assert:assertPluginAvailable tag is avalaible
in the maven-plugin-plugin 1.7 and newer. Thus maven will break if it's not
present. -->
    <assert:assertPluginAvailable groupId="maven"
artifactId="maven-plugin-plugin" minRelease="1.7" neededBy="${
plugin.artifactId}"/>
    <assert:assertPluginAvailable groupId="maven"
artifactId="maven-xdoc-plugin" minRelease="1.10" neededBy="${
plugin.artifactId}"/>
  </j:if>

The assertion for 1.7 of maven-plugin-plugin is line 38. Version 1.6 is the
latest in the repository. Is 1.7 required for the snapshot of the checkstyle
plugin to work?

Have others got the snapshot of the checkstyle plugin to work? I'm running
Maven 1.0.2.

Thanks,
Josh

On 12/1/05, Carlos Sanchez <[EMAIL PROTECTED]> wrote:

Hi,

For those of you interested, there's a snapshot of the maven 1
checkstyle plugin that is using the latest just released checkstyle
4.0, which among other features provides Java 5 support.

I'm not using this plugin actively so if you guys can test it and
provide feedback checking that everything is working as expected I'll
try to make an official release asap.

You can install the plugin with the following line

maven plugin:download -DartifactId=maven-checkstyle-plugin
-DgroupId=maven -Dversion=3.0-SNAPSHOT
-Dmaven.repo.remote=http://cvs.apache.org/repository

Regards






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to