[jbosstools-issues] [JBoss JIRA] (JBIDE-19056) A Mojo to validate a version (compared to baseline)
Max Rydahl Andersen (JIRA)
issues at jboss.org
Thu Jan 29 11:42:49 EST 2015
[ https://issues.jboss.org/browse/JBIDE-19056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036285#comment-13036285 ]
Max Rydahl Andersen commented on JBIDE-19056:
---------------------------------------------
[~rob.stryker] there should not be any 3.6.0.Alpha1 in the baseline since the baseline should be set to be stable/luna. That is definitely wrong. I agree with your concern.
Can you run `mvn -X verify -DskipTests` where it failed and check that the baseline it actually uses.
Should have something like this:
{code}
[INFO] --- repository-utils:0.22.1-SNAPSHOT:compare-version-with-baselines (default) @ plugins ---
[DEBUG] Configuring mojo org.jboss.tools.tycho-plugins:repository-utils:0.22.1-SNAPSHOT:compare-version-with-baselines from plugin realm ClassRealm[plugin>org.jboss.tools.tycho-plugins:repository-utils:0.22.1-SNAPSHOT, parent: sun.misc.Launcher$AppClassLoader at 23137792]
[DEBUG] Configuring mojo 'org.jboss.tools.tycho-plugins:repository-utils:0.22.1-SNAPSHOT:compare-version-with-baselines' with basic configurator -->
[DEBUG] (f) baselines = [http://download.jboss.org/jbosstools/updates/stable/luna]
[DEBUG] (f) project = MavenProject: org.jboss.tools.openshift:plugins:2.6.100-SNAPSHOT @ /Users/max/code/jbosstools/jbosstools-openshift/plugins/pom.xml
[DEBUG] -- end configuration --
{code}
Notice the (f) baselines
If it does not fail for you try build master first then branch since it looks like some p2 lookup gets mixed up with master content.
> A Mojo to validate a version (compared to baseline)
> ---------------------------------------------------
>
> Key: JBIDE-19056
> URL: https://issues.jboss.org/browse/JBIDE-19056
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: build
> Affects Versions: 4.2.2.Final
> Reporter: Mickael Istria
> Assignee: Mickael Istria
>
> We need a mojo that compares a newly-built artifact with other versions of this IU that we have already released.
> Such a mojo would fail is version isn't correct (lower than same one on that stream, equal to another one already released but with different content...)
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jbosstools-issues
mailing list