You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Rob Tompkins <ch...@gmail.com> on 2018/05/15 11:58:07 UTC

[build-plugin] Animal Sniffer Failures

Hey Gary,

I’ve been fiddling around with the build plugin and the animal-sniffer seems to be failing for me. Have you seen this?

[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.16:check (checkAPIcompatibility) on project commons-build-plugin: Failed to obtain signature: org.codehaus.mojo.signature:java19:1.0: Failure to find org.codehaus.mojo.signature:java19:signature:1.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced
[ERROR] 
[ERROR] Try downloading the file manually from the project website.
[ERROR] 
[ERROR] Then, install it using the command: 
[ERROR]     mvn install:install-file -DgroupId=org.codehaus.mojo.signature -DartifactId=java19 -Dversion=1.0 -Dpackaging=signature -Dfile=/path/to/file
[ERROR] 
[ERROR] Alternatively, if you host your own repository you can deploy the file there: 
[ERROR]     mvn deploy:deploy-file -DgroupId=org.codehaus.mojo.signature -DartifactId=java19 -Dversion=1.0 -Dpackaging=signature -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] 
[ERROR]   org.codehaus.mojo.signature:java19:signature:1.0
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR]   apache.snapshots (https://repository.apache.org/snapshots, releases=false, snapshots=true),
[ERROR]   central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.16:check (checkAPIcompatibility) on project commons-build-plugin: Failed to obtain signature: org.codehaus.mojo.signature:java19:1.0
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:213)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to obtain signature: org.codehaus.mojo.signature:java19:1.0
    at org.codehaus.mojo.animal_sniffer.maven.CheckSignatureMojo.execute (CheckSignatureMojo.java:275)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke (Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)


-Rob
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [build-plugin] Animal Sniffer Failures

Posted by Gilles <gi...@harfang.homelinux.org>.
On Tue, 15 May 2018 08:28:22 -0400, Rob Tompkins wrote:
>> On May 15, 2018, at 8:19 AM, Gilles <gi...@harfang.homelinux.org> 
>> wrote:
>>
>> On Tue, 15 May 2018 07:58:07 -0400, Rob Tompkins wrote:
>>> Hey Gary,
>>>
>>> I’ve been fiddling around with the build plugin and the
>>> animal-sniffer seems to be failing for me. Have you seen this?
>>
>> Yes.  FTR:
>>  https://markmail.org/message/633rbuu27e243b5v 
>> <https://markmail.org/message/633rbuu27e243b5v>
>
> What module was that on, a pom module? I’m wondering if it only works
> in modules that house java code.

I don't seem to get the problem (due to a plugin update?).
How can I check that it runs?

Gilles

>> [...]


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: [build-plugin] Animal Sniffer Failures

Posted by Rob Tompkins <ch...@gmail.com>.

> On May 15, 2018, at 8:19 AM, Gilles <gi...@harfang.homelinux.org> wrote:
> 
> On Tue, 15 May 2018 07:58:07 -0400, Rob Tompkins wrote:
>> Hey Gary,
>> 
>> I’ve been fiddling around with the build plugin and the
>> animal-sniffer seems to be failing for me. Have you seen this?
> 
> Yes.  FTR:
>  https://markmail.org/message/633rbuu27e243b5v <https://markmail.org/message/633rbuu27e243b5v>

What module was that on, a pom module? I’m wondering if it only works in modules that house java code.

-Rob

> 
> Gilles
> 
>> 
>> [ERROR] Failed to execute goal
>> org.codehaus.mojo:animal-sniffer-maven-plugin:1.16:check
>> (checkAPIcompatibility) on project commons-build-plugin: Failed to
>> obtain signature: org.codehaus.mojo.signature:java19:1.0: Failure to
>> find org.codehaus.mojo.signature:java19:signature:1.0 in
>> https://repo.maven.apache.org/maven2 was cached in the local
>> repository, resolution will not be reattempted until the update
>> interval of central has elapsed or updates are forced
>> [ERROR]
>> [ERROR] Try downloading the file manually from the project website.
>> [ERROR]
>> [ERROR] Then, install it using the command:
>> [ERROR]     mvn install:install-file
>> -DgroupId=org.codehaus.mojo.signature -DartifactId=java19
>> -Dversion=1.0 -Dpackaging=signature -Dfile=/path/to/file
>> [ERROR]
>> [ERROR] Alternatively, if you host your own repository you can deploy
>> the file there:
>> [ERROR]     mvn deploy:deploy-file
>> -DgroupId=org.codehaus.mojo.signature -DartifactId=java19
>> -Dversion=1.0 -Dpackaging=signature -Dfile=/path/to/file -Durl=[url]
>> -DrepositoryId=[id]
>> [ERROR]
>> [ERROR]
>> [ERROR]   org.codehaus.mojo.signature:java19:signature:1.0
>> [ERROR]
>> [ERROR] from the specified remote repositories:
>> [ERROR]   apache.snapshots (https://repository.apache.org/snapshots,
>> releases=false, snapshots=true),
>> [ERROR]   central (https://repo.maven.apache.org/maven2,
>> releases=true, snapshots=false)
>> [ERROR] -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.16:check
>> (checkAPIcompatibility) on project commons-build-plugin: Failed to
>> obtain signature: org.codehaus.mojo.signature:java19:1.0
>>    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:213)
>>    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:154)
>>    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:146)
>>    at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>> (LifecycleModuleBuilder.java:117)
>>    at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>> (LifecycleModuleBuilder.java:81)
>>    at
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>> (SingleThreadedBuilder.java:56)
>>    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
>> (LifecycleStarter.java:128)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>>    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>>    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
>>    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
>>    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
>>    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>>    at sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:62)
>>    at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:43)
>>    at java.lang.reflect.Method.invoke (Method.java:498)
>>    at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
>> (Launcher.java:289)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
>> (Launcher.java:229)
>>    at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
>> (Launcher.java:415)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.main
>> (Launcher.java:356)
>> Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to
>> obtain signature: org.codehaus.mojo.signature:java19:1.0
>>    at
>> org.codehaus.mojo.animal_sniffer.maven.CheckSignatureMojo.execute
>> (CheckSignatureMojo.java:275)
>>    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
>> (DefaultBuildPluginManager.java:137)
>>    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:208)
>>    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:154)
>>    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:146)
>>    at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>> (LifecycleModuleBuilder.java:117)
>>    at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>> (LifecycleModuleBuilder.java:81)
>>    at
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>> (SingleThreadedBuilder.java:56)
>>    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
>> (LifecycleStarter.java:128)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>>    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>>    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
>>    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
>>    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
>>    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>>    at sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:62)
>>    at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:43)
>>    at java.lang.reflect.Method.invoke (Method.java:498)
>>    at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
>> (Launcher.java:289)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
>> (Launcher.java:229)
>>    at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
>> (Launcher.java:415)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.main
>> (Launcher.java:356)
>> 
>> 
>> -Rob
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 


Re: [build-plugin] Animal Sniffer Failures

Posted by Rob Tompkins <ch...@gmail.com>.
I also found that if I added:

<animal-sniffer.signature>java18</animal-sniffer.signature>
<commons.animal-sniffer.signature.version>1.0</commons.animal-sniffer.signature.version>

to my <properties> things worked. The artifact org.codehaus.mojo.signature:java19:1.0 does not seem to exist: 
https://search.maven.org/#search%7Cga%7C1%7Corg.codehaus.mojo.signature <https://search.maven.org/#search|ga|1|org.codehaus.mojo.signature>

-Rob



> On May 15, 2018, at 8:19 AM, Gilles <gi...@harfang.homelinux.org> wrote:
> 
> On Tue, 15 May 2018 07:58:07 -0400, Rob Tompkins wrote:
>> Hey Gary,
>> 
>> I’ve been fiddling around with the build plugin and the
>> animal-sniffer seems to be failing for me. Have you seen this?
> 
> Yes.  FTR:
>  https://markmail.org/message/633rbuu27e243b5v
> 
> Gilles
> 
>> 
>> [ERROR] Failed to execute goal
>> org.codehaus.mojo:animal-sniffer-maven-plugin:1.16:check
>> (checkAPIcompatibility) on project commons-build-plugin: Failed to
>> obtain signature: org.codehaus.mojo.signature:java19:1.0: Failure to
>> find org.codehaus.mojo.signature:java19:signature:1.0 in
>> https://repo.maven.apache.org/maven2 was cached in the local
>> repository, resolution will not be reattempted until the update
>> interval of central has elapsed or updates are forced
>> [ERROR]
>> [ERROR] Try downloading the file manually from the project website.
>> [ERROR]
>> [ERROR] Then, install it using the command:
>> [ERROR]     mvn install:install-file
>> -DgroupId=org.codehaus.mojo.signature -DartifactId=java19
>> -Dversion=1.0 -Dpackaging=signature -Dfile=/path/to/file
>> [ERROR]
>> [ERROR] Alternatively, if you host your own repository you can deploy
>> the file there:
>> [ERROR]     mvn deploy:deploy-file
>> -DgroupId=org.codehaus.mojo.signature -DartifactId=java19
>> -Dversion=1.0 -Dpackaging=signature -Dfile=/path/to/file -Durl=[url]
>> -DrepositoryId=[id]
>> [ERROR]
>> [ERROR]
>> [ERROR]   org.codehaus.mojo.signature:java19:signature:1.0
>> [ERROR]
>> [ERROR] from the specified remote repositories:
>> [ERROR]   apache.snapshots (https://repository.apache.org/snapshots,
>> releases=false, snapshots=true),
>> [ERROR]   central (https://repo.maven.apache.org/maven2,
>> releases=true, snapshots=false)
>> [ERROR] -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.16:check
>> (checkAPIcompatibility) on project commons-build-plugin: Failed to
>> obtain signature: org.codehaus.mojo.signature:java19:1.0
>>    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:213)
>>    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:154)
>>    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:146)
>>    at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>> (LifecycleModuleBuilder.java:117)
>>    at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>> (LifecycleModuleBuilder.java:81)
>>    at
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>> (SingleThreadedBuilder.java:56)
>>    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
>> (LifecycleStarter.java:128)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>>    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>>    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
>>    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
>>    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
>>    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>>    at sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:62)
>>    at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:43)
>>    at java.lang.reflect.Method.invoke (Method.java:498)
>>    at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
>> (Launcher.java:289)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
>> (Launcher.java:229)
>>    at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
>> (Launcher.java:415)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.main
>> (Launcher.java:356)
>> Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to
>> obtain signature: org.codehaus.mojo.signature:java19:1.0
>>    at
>> org.codehaus.mojo.animal_sniffer.maven.CheckSignatureMojo.execute
>> (CheckSignatureMojo.java:275)
>>    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
>> (DefaultBuildPluginManager.java:137)
>>    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:208)
>>    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:154)
>>    at org.apache.maven.lifecycle.internal.MojoExecutor.execute
>> (MojoExecutor.java:146)
>>    at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>> (LifecycleModuleBuilder.java:117)
>>    at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
>> (LifecycleModuleBuilder.java:81)
>>    at
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
>> (SingleThreadedBuilder.java:56)
>>    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
>> (LifecycleStarter.java:128)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
>>    at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>>    at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>>    at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
>>    at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
>>    at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
>>    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>>    at sun.reflect.NativeMethodAccessorImpl.invoke
>> (NativeMethodAccessorImpl.java:62)
>>    at sun.reflect.DelegatingMethodAccessorImpl.invoke
>> (DelegatingMethodAccessorImpl.java:43)
>>    at java.lang.reflect.Method.invoke (Method.java:498)
>>    at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
>> (Launcher.java:289)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.launch
>> (Launcher.java:229)
>>    at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
>> (Launcher.java:415)
>>    at org.codehaus.plexus.classworlds.launcher.Launcher.main
>> (Launcher.java:356)
>> 
>> 
>> -Rob
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
>> For additional commands, e-mail: dev-help@commons.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
> 


Re: [build-plugin] Animal Sniffer Failures

Posted by Gilles <gi...@harfang.homelinux.org>.
On Tue, 15 May 2018 07:58:07 -0400, Rob Tompkins wrote:
> Hey Gary,
>
> I’ve been fiddling around with the build plugin and the
> animal-sniffer seems to be failing for me. Have you seen this?

Yes.  FTR:
   https://markmail.org/message/633rbuu27e243b5v

Gilles

>
> [ERROR] Failed to execute goal
> org.codehaus.mojo:animal-sniffer-maven-plugin:1.16:check
> (checkAPIcompatibility) on project commons-build-plugin: Failed to
> obtain signature: org.codehaus.mojo.signature:java19:1.0: Failure to
> find org.codehaus.mojo.signature:java19:signature:1.0 in
> https://repo.maven.apache.org/maven2 was cached in the local
> repository, resolution will not be reattempted until the update
> interval of central has elapsed or updates are forced
> [ERROR]
> [ERROR] Try downloading the file manually from the project website.
> [ERROR]
> [ERROR] Then, install it using the command:
> [ERROR]     mvn install:install-file
> -DgroupId=org.codehaus.mojo.signature -DartifactId=java19
> -Dversion=1.0 -Dpackaging=signature -Dfile=/path/to/file
> [ERROR]
> [ERROR] Alternatively, if you host your own repository you can deploy
> the file there:
> [ERROR]     mvn deploy:deploy-file
> -DgroupId=org.codehaus.mojo.signature -DartifactId=java19
> -Dversion=1.0 -Dpackaging=signature -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
> [ERROR]
> [ERROR]
> [ERROR]   org.codehaus.mojo.signature:java19:signature:1.0
> [ERROR]
> [ERROR] from the specified remote repositories:
> [ERROR]   apache.snapshots (https://repository.apache.org/snapshots,
> releases=false, snapshots=true),
> [ERROR]   central (https://repo.maven.apache.org/maven2,
> releases=true, snapshots=false)
> [ERROR] -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.16:check
> (checkAPIcompatibility) on project commons-build-plugin: Failed to
> obtain signature: org.codehaus.mojo.signature:java19:1.0
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:213)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:154)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:146)
>     at
> 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:117)
>     at
> 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:81)
>     at
> 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (SingleThreadedBuilder.java:56)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute 
> (DefaultMaven.java:305)
>     at org.apache.maven.DefaultMaven.doExecute 
> (DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:62)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke (Method.java:498)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:229)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> (Launcher.java:356)
> Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to
> obtain signature: org.codehaus.mojo.signature:java19:1.0
>     at
> org.codehaus.mojo.animal_sniffer.maven.CheckSignatureMojo.execute
> (CheckSignatureMojo.java:275)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo
> (DefaultBuildPluginManager.java:137)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:208)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:154)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute
> (MojoExecutor.java:146)
>     at
> 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:117)
>     at
> 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject
> (LifecycleModuleBuilder.java:81)
>     at
> 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build
> (SingleThreadedBuilder.java:56)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute
> (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute 
> (DefaultMaven.java:305)
>     at org.apache.maven.DefaultMaven.doExecute 
> (DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:62)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke (Method.java:498)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced
> (Launcher.java:289)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch
> (Launcher.java:229)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode
> (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main
> (Launcher.java:356)
>
>
> -Rob
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org