String function ( Artifact arg0 ) { return getBundleSymbolicName ( arg0 . getGroupId ( ) , arg0 . getArtifactId ( ) ) ; }
get the symbolic name as groupid + '' . '' + artifactid , with the following exceptions . unlike the original method from the maven bundle plugin , this method does not use the bundle inspection , as the artifact 's file does not exist when this method is called . if artifactid is equal to last section of groupid then groupid is returned . eg . org.apache.maven : maven - > org.apache.maven if artifactid starts with last section of groupid that portion is removed . eg . org.apache.maven : maven-core - > org.apache.maven.core if artifactid starts with groupid then the artifactid is removed . eg . org.apache : org.apache.maven.core - > org.apache.maven.core concode_field_sep Pattern FUZZY_VERSION concode_field_sep String getVersion concode_elem_sep String cleanupVersion concode_elem_sep void cleanupModifier concode_elem_sep String getBundleFileName concode_elem_sep String getBundleFileName concode_elem_sep String getBundleFileName