[jbosstools-issues] [JBoss JIRA] (JBIDE-22446) Release process should disallow inclusion of snapshots artifacts

Nick Boldt (JIRA) issues at jboss.org
Thu Aug 18 09:54:00 EDT 2016


    [ https://issues.jboss.org/browse/JBIDE-22446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13280863#comment-13280863 ] 

Nick Boldt commented on JBIDE-22446:
------------------------------------

Bug fixed:

First, we pass $\{BUILD_ALIAS} into the rule config:
https://github.com/jbosstools/jbosstools-build/commit/8536633b92966b7cd4ecf6a63ff8b406c25d0372
Then, we only read the property value if it's not already defined via the config (==null):
https://github.com/jbosstools/jbosstools-maven-plugins/commit/80ff81a32ac65a3af6469e3dd33c6b64300c8178

Now, you can pass rebuild the parent pom (or another other project) using -DBUILD_ALIAS=AM3 or AM2 or Final or whatever to see different enforcement results in the build.

> 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.Final
>
>
> 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