aliteralmind
aliteralmind

Reputation: 20163

How to determine version of the actually installed maven-gpg-plugin?

As documented on this page, here is the maven-gpg-plugin block as used in the POM for all three of my projects:

<build>
    <plugins>
    ...
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-gpg-plugin</artifactId>
            <version>1.5</version>
            <executions>
                <execution>
                    <id>sign-artifacts</id>
                    <phase>verify</phase>
                    <goals>
                        <goal>sign</goal>
                    </goals>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

How can you tell the version of this plugin that is actually installed on my computer? Is the fact that 1.5 seems to work good enough?

Thanks.

Upvotes: 1

Views: 542

Answers (1)

Jigar Joshi
Jigar Joshi

Reputation: 240860

there could be multiple installed you are interested to know which one is being used effectively you need

mvn help:effective-pom

this will render effective pom.xml and you can figure out which version is effective

Upvotes: 3

Related Questions