On 3 April 2013 11:19, Mladen Turk <mt...@apache.org> wrote:

> On 04/03/2013 11:56 AM, sebb wrote:
>
>> On 3 April 2013 10:49, Mladen Turk <mt...@apache.org> wrote:
>>
>>  On 04/03/2013 10:02 AM, Simone Tripodi wrote:
>>>
>>>  Hi Mladen!
>>>>
>>>> artifacts produced by the assembly-plugin can be detached from the
>>>> project
>>>> by setting to `false` the `attach`[1] property.
>>>> In that way, -(src|bin)\.(zip|tar\.gz) artifacts won't be deployed.
>>>>
>>>>
>>>>  Seems exactly what I was looking for. Thanks!
>>> So for daemon I would set attach=false to bin, native-src and src
>>> assemblies
>>> meaning only win and .jar would be deployed. Nice.
>>>
>>>
>> Unfortunately that also detaches the archives from the hash generation
>> process.
>> So you need to add code (e.g. antrun) to create the hashes.
>>
>>
> That's fine. I know how to use md5sum and gpg. No need for ant :)
>
>
The build process is supposed to be reproducibleby others, so the Maven
issues need to be fixed.


>
> Anyhow, gpg sign fails for commons-parent #28. #27 and earlier work.
>
>
First I've heard of that.
CP 28 has been used successfully elsewhere AFAIK.


> gpg: DSA/SHA256 signature from: "0D498E23 Mladen Turk (Default signing
> key) <mt...@apache.org>"
> [INFO] ------------------------------**------------------------------**
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------**------------------------------**
> ------------
> [INFO] Total time: 31.460s
> [INFO] Finished at: Wed Apr 03 12:17:27 CEST 2013
> [INFO] Final Memory: 25M/230M
> [INFO] ------------------------------**------------------------------**
> ------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:**maven-gpg-plugin:1.4:sign
> (sign-artifacts) on project commons-daemon: Exit code: 2 -> [Help 1]
> org.apache.maven.lifecycle.**LifecycleExecutionException: Failed to
> execute goal org.apache.maven.plugins:**maven-gpg-plugin:1.4:sign
> (sign-artifacts) on project commons-daemon: Exit code: 2
>         at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(**
> MojoExecutor.java:217)
>         at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(**
> MojoExecutor.java:153)
>         at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(**
> MojoExecutor.java:145)
>         at org.apache.maven.lifecycle.**internal.**LifecycleModuleBuilder.
> **buildProject(**LifecycleModuleBuilder.java:**84)
>         at org.apache.maven.lifecycle.**internal.**LifecycleModuleBuilder.
> **buildProject(**LifecycleModuleBuilder.java:**59)
>         at org.apache.maven.lifecycle.**internal.LifecycleStarter.**
> singleThreadedBuild(**LifecycleStarter.java:183)
>         at org.apache.maven.lifecycle.**internal.LifecycleStarter.**
> execute(LifecycleStarter.java:**161)
>         at org.apache.maven.DefaultMaven.**doExecute(DefaultMaven.java:**
> 320)
>         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:**57)
>         at sun.reflect.**DelegatingMethodAccessorImpl.**invoke(**
> DelegatingMethodAccessorImpl.**java:43)
>         at java.lang.reflect.Method.**invoke(Method.java:601)
>         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)
> Caused by: org.apache.maven.plugin.**MojoExecutionException: Exit code: 2
>         at org.apache.maven.plugin.gpg.**GpgSigner.**
> generateSignatureForArtifact(**GpgSigner.java:254)
>         at org.apache.maven.plugin.gpg.**GpgSignAttachedMojo.execute(**
> GpgSignAttachedMojo.java:146)
>         at org.apache.maven.plugin.**DefaultBuildPluginManager.**
> executeMojo(**DefaultBuildPluginManager.**java:101)
>         at org.apache.maven.lifecycle.**internal.MojoExecutor.execute(**
> MojoExecutor.java:209)
>         ... 19 more
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>
>
>
>
>
> Regards
> --
> ^TM
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: 
> dev-unsubscribe@commons.**apache.org<dev-unsubscr...@commons.apache.org>
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

Reply via email to