-
New Feature
-
Resolution: Unresolved
-
Minor
-
Standard recommended plugins, nexus artifact uploader, git, github, maven
Hey,
im trying to use placeholder for automatically recognize the maven project and the associated jars.
Im trying to upload automatically the jar without specifying the name, over and over again.
That why im using placeholder. Its working fine. Really good.
But when im using Maven with Parent and Childs POM, the setup isnt working anymore because
the plugin "recognized" the parent pom, as a pom as well.
Scenario:
Parent1 -> Child1 & Child2
The plugin tries to find a jar in target/Parent1-1.0.jar and tries to upload it. Obvious, its the parent, no jar exists. Is it possible that the plugin recognize a parent pom and skip the artifact section?
Nexus Setup (Same as on the picture):
Nexus Version: NEXUS3
Protocol: HTTP
NEXUS URL: <URL>
Credentials: <CREDENTIALS>
GroupId: ${POM_GROUPID}
Version: ${POM_VERSION}-${BUILD_ID}
Repository: <REPO NAME>
Artifacts:
ArtifactId: ${POM_ARTIFACTID}
Type: jar
Classifier:
File: target/${POM_ARTIFACTID}-${POM_VERSION}.jar
Its my first "ISSUE" that im writing, im sorry for everything, hope that all information are okay.