cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: No apache-rat support for 3.1 candidate?
Date Sun, 21 Sep 2014 07:07:16 GMT
Hi Mike,

I recall Maven integration of rat was a bit of a pain to configure, so some time ago we removed
it. Now there's a simple script at the checkout root (which is a very thin wrapper around
'java -jar rat.jar'). E.g.:

./rat.sh ~/Desktop/apache-rat-0.9/apache-rat-0.9.jar  > report.txt

Andrus

On Sep 21, 2014, at 12:53 AM, Mike Kienenberger <mkienenb@gmail.com> wrote:

> I've checked the signatures and checksums and successfully built the
> source, but I can't get apache-rat to run.  I know I had it running
> for the 3.1RC1 candidate.
> 
> [ERROR] No plugin found for prefix 'apache-rat' in the current project
> and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo]
> available from the repositories [local
> (/home/mkienenb/.m2/repository), objectstyle
> (http://maven.objectstyle.org/nexus/content/groups/cayenne-deps),
> central (http://repo1.maven.org/maven2)] -> [Help 1]
> org.apache.maven.plugin.prefix.NoPluginFoundForPrefixException: No
> plugin found for prefix 'apache-rat' in the current project and in the
> plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available
> from the repositories [local (/home/mkienenb/.m2/repository),
> objectstyle (http://maven.objectstyle.org/nexus/content/groups/cayenne-deps),
> central (http://repo1.maven.org/maven2)]
>    at org.apache.maven.plugin.prefix.internal.DefaultPluginPrefixResolver.resolve(DefaultPluginPrefixResolver.java:94)
>    at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.findPluginForPrefix(MojoDescriptorCreator.java:262)
>    at org.apache.maven.lifecycle.internal.MojoDescriptorCreator.getMojoDescriptor(MojoDescriptorCreator.java:222)
>    at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:106)
>    at org.apache.maven.lifecycle.internal.DefaultLifecycleTaskSegmentCalculator.calculateTaskSegments(DefaultLifecycleTaskSegmentCalculator.java:86)
>    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:98)
>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319)
>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>    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:597)
>    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> 


Mime
View raw message