Skip to content

Allow to skip artifacts signing during build #19

Description

@khed

The travis builds fail due to missing environment configuration required to sign the artifacts.

Since signing is not necessary for builds I'd recommend to make the artifact signing optional.

E.g.:

<properties>
...
    <skip.artifacts.signing>true</skip.artifacts.signing>
</properties>
...
<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-gpg-plugin</artifactId>
    <configuration>
        <skip>${skip.artifacts.signing}</skip>
    </configuration>
    <executions>
        <execution>
            <id>sign-artifacts</id>
            <phase>verify</phase>
            <goals>
                <goal>sign</goal>
            </goals>
        </execution>
    </executions>
</plugin>

if you want to sign the artifacts for release simply run the build with the System Property -Dskip.artifacts.signing=false.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions