[JIRA] [gradle-jpi-plugin] (JENKINS-34874) Generated POM refers non-existing parent POM
Title: Message Title Daniel Spilker closed an issue as Fixed Has been released in 0.18.0. Jenkins / JENKINS-34874 Generated POM refers non-existing parent POM Change By: Daniel Spilker Status: Resolved Closed Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gradle-jpi-plugin] (JENKINS-34874) Generated POM refers non-existing parent POM
Title: Message Title SCM/JIRA link daemon commented on JENKINS-34874 Re: Generated POM refers non-existing parent POM Code changed in jenkins User: Daniel Spilker Path: CHANGELOG.md src/main/groovy/org/jenkinsci/gradle/plugins/jpi/JpiExtension.groovy src/main/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPomCustomizer.groovy src/test/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPomCustomizerSpec.groovy src/test/resources/org/jenkinsci/gradle/plugins/jpi/bitbucket-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/compile-dependencies-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/complex-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/minimal-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/optional-plugin-dependencies-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/plugin-dependencies-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/updated-findbugs-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/updated-servlet-api-pom.xml http://jenkins-ci.org/commit/gradle-jpi-plugin/157960cc10d7bf8fd752a70e79e875ac9a6ef683 Log: Merge pull request #78 from daspilker/ JENKINS-34874 JENKINS-34874 removed reference to parent POM from generated POM… Compare: https://github.com/jenkinsci/gradle-jpi-plugin/compare/e0f67e5e3099...157960cc10d7 Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gradle-jpi-plugin] (JENKINS-34874) Generated POM refers non-existing parent POM
Title: Message Title SCM/JIRA link daemon resolved as Fixed Jenkins / JENKINS-34874 Generated POM refers non-existing parent POM Change By: SCM/JIRA link daemon Status: Open Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gradle-jpi-plugin] (JENKINS-34874) Generated POM refers non-existing parent POM
Title: Message Title SCM/JIRA link daemon commented on JENKINS-34874 Re: Generated POM refers non-existing parent POM Code changed in jenkins User: Daniel Spilker Path: CHANGELOG.md src/main/groovy/org/jenkinsci/gradle/plugins/jpi/JpiExtension.groovy src/main/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPomCustomizer.groovy src/test/groovy/org/jenkinsci/gradle/plugins/jpi/JpiPomCustomizerSpec.groovy src/test/resources/org/jenkinsci/gradle/plugins/jpi/bitbucket-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/compile-dependencies-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/complex-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/minimal-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/optional-plugin-dependencies-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/plugin-dependencies-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/updated-findbugs-pom.xml src/test/resources/org/jenkinsci/gradle/plugins/jpi/updated-servlet-api-pom.xml http://jenkins-ci.org/commit/gradle-jpi-plugin/96ae26bc0da7a158be64a26deca5a7e872a1bc10 Log: removed reference to parent POM from generated POM and declare relevant dependencies directly [FIXES JENKINS-34874] Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gradle-jpi-plugin] (JENKINS-34874) Generated POM refers non-existing parent POM
Title: Message Title Fredrik Bruzelius edited a comment on JENKINS-34874 Re: Generated POM refers non-existing parent POM I have made a test build and publishToMavenLocal with Gradle using the patched plugin and the POM can now be resolved properly from the dependant (Maven-based) plugin.I also tried building using mismatching Core versions (using a more recent version in the API plugin), and that did not cause any resolution problems either.As far as I can tell, it seems to work as expected. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gradle-jpi-plugin] (JENKINS-34874) Generated POM refers non-existing parent POM
Title: Message Title Fredrik Bruzelius commented on JENKINS-34874 Re: Generated POM refers non-existing parent POM I have made a test build and publishToMavenLocal using the patched plugin and the POM can now be resolved properly from the dependant plugin. I also tried building using mismatching Core versions (using a more recent version in the API plugin), and that did not cause any resolution problems either. As far as I can tell, it seems to work as expected. Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gradle-jpi-plugin] (JENKINS-34874) Generated POM refers non-existing parent POM
Title: Message Title Fredrik Bruzelius commented on JENKINS-34874 Re: Generated POM refers non-existing parent POM Yes, I will take a look tomorrow! Thanks! Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gradle-jpi-plugin] (JENKINS-34874) Generated POM refers non-existing parent POM
Title: Message Title Daniel Spilker commented on JENKINS-34874 Re: Generated POM refers non-existing parent POM https://github.com/jenkinsci/gradle-jpi-plugin/pull/78 Fredrik Bruzelius can you test the fix? Add Comment This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [gradle-jpi-plugin] (JENKINS-34874) Generated POM refers non-existing parent POM
Title: Message Title Fredrik Bruzelius created an issue Jenkins / JENKINS-34874 Generated POM refers non-existing parent POM Issue Type: Bug Assignee: Daniel Spilker Components: gradle-jpi-plugin Created: 2016/May/17 8:48 AM Environment: Windows 10 x64, Oracle JDK 8u92, Gradle 2.13, Jenkins Core 1.651.2 Priority: Minor Reporter: Fredrik Bruzelius The POM that is generated during Maven deployment refers to the org.jenkins-ci.plugins:plugin parent POM using the coreVersion from the jenkinsPlugin configuration. However, from Jenkins 1.646 onwards, the plugin parent POM is no longer a part of the Jenkins Core, so the generated POM will refer a non-existing version. This inconsistency makes it difficult to consume the API of the built plugin from another plugin, since the artifact will not resolve properly. See the Plugin tutorial for advice on how to specify the core version when using a more recent parent POM. I don't know how to sensibly select the parent POM automatically. Perhaps the latest available version should be the default, with optional configuration to specify it explicitly?