<parent>
<artifactId>maven-plugins</artifactId>
<groupId>org.apache.maven.plugins</groupId>
- <version>30</version>
+ <version>31</version>
<relativePath>../../pom/maven/maven-plugins/pom.xml</relativePath>
</parent>
private final String classifier;
- public ArtifactId( Dependency dependency )
+ ArtifactId( Dependency dependency )
{
this( dependency.getGroupId(), dependency.getArtifactId(), dependency.getType(), dependency.getClassifier() );
}
- public ArtifactId( Artifact artifact )
+ ArtifactId( Artifact artifact )
{
this( artifact.getGroupId(), artifact.getArtifactId(), artifact.getType(), artifact.getClassifier() );
}
- public ArtifactId( String groupId, String artifactId, String type, String classifier )
+ ArtifactId( String groupId, String artifactId, String type, String classifier )
{
this.groupId = ( groupId != null ) ? groupId : "";
this.artifactId = ( artifactId != null ) ? artifactId : "";
this.classifier = ( classifier != null ) ? classifier : "";
}
- public ArtifactId( String id )
+ ArtifactId( String id )
{
String[] tokens = new String[0];
if ( id != null && id.length() > 0 )
private Collection<ArtifactId> excludes;
- public ArtifactSelector( Artifact projectArtifact, ArtifactSet artifactSet, String groupPrefix )
+ ArtifactSelector( Artifact projectArtifact, ArtifactSet artifactSet, String groupPrefix )
{
this( ( artifactSet != null ) ? artifactSet.getIncludes() : null,
( artifactSet != null ) ? artifactSet.getExcludes() : null, groupPrefix );
}
}
- public ArtifactSelector( Collection<String> includes, Collection<String> excludes, String groupPrefix )
+ ArtifactSelector( Collection<String> includes, Collection<String> excludes, String groupPrefix )
{
this.includes = toIds( includes );
this.excludes = toIds( excludes );