[jbosstools-issues] [JBoss JIRA] (JBIDE-22446) Release process should disallow inclusion of snapshots artifacts
Nick Boldt (JIRA)
issues at jboss.org
Tue Aug 2 14:52:00 EDT 2016
[ https://issues.jboss.org/browse/JBIDE-22446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274172#comment-13274172 ]
Nick Boldt commented on JBIDE-22446:
------------------------------------
Turns out I can't enable the enforcing on the parent pom itself (nullpointerexception thrown):
{code}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-no-snapshots) on project parent: Execution enforce-no-snapshots of goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce failed. NullPointerException -> [Help 1]
{code}
... so I've moved the plugin into parent pom's pluginManagement and am going to test using it in the jbosstools-openshift project next.
I've also refactored the plugin from jbosstools-build-ci to jbosstools-maven-plugins:
https://github.com/jbosstools/jbosstools-maven-plugins/commits/master
> Release process should disallow inclusion of snapshots artifacts
> ----------------------------------------------------------------
>
> Key: JBIDE-22446
> URL: https://issues.jboss.org/browse/JBIDE-22446
> Project: Tools (JBoss Tools)
> Issue Type: Release
> Components: build
> Affects Versions: 4.4.0.Alpha2
> Reporter: Jeff MAURY
> Assignee: Nick Boldt
> Fix For: 4.4.1.AM3
>
>
> 4.4.0.Alpha2 was generated with a SNAPSHOT dependency. This should be avoided in future releases even for Alpha ones
> Update: This issues is for adding some automated test/check to detect situation when our release includes a snapshot dependency.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list