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.
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]