-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
It would be nice to be able to say
<plugin>
<groupId>net.stickycode.plugins</groupId>
<artifactId>bounds-maven-plugin</artifactId>
<version>3.3</version>
<executions>
<execution>
<id>get-environment-versions</id>
<phase>validate</phase>
<goals>
<goal>current-version</goal>
</goals>
<configuration>
<artifacts>
<artifact>com.example:example-artifact:[1,2)</artifact>
</artifacts>
</configuration>
</execution>
</executions>
</plugin>
Where the version published to the session will be example-artifact.version which is derived from the artifact name
The explicit way is prone to error
<configuration>
<coordinates>
<example-artifact.version>com.example:example-artifact:[1,2)</example-artifact.version>
</coordinates>
</configuration>
Reactions are currently unavailable