@Component(role=org.apache.maven.AbstractMavenLifecycleParticipant.class,
hint="external-version")
public class ExternalVersionExtension
extends org.apache.maven.AbstractMavenLifecycleParticipant
This extension MUST be configured as a plugin in order to be configured.
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-external-version-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<strategy hint="file">
<versionFilePath>VERSION</versionFilePath>
</strategy>
</configuration>
</plugin>
'strategy' - The configuration for an ExternalVersionStrategy. 'hint' - A component hint to load the ExternalVersionStrategy.
| Constructor and Description |
|---|
ExternalVersionExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterProjectsRead(org.apache.maven.execution.MavenSession session) |
Copyright © 2002–2019 The Apache Software Foundation. All rights reserved.