[jbosstools-dev] Fwd: Incremented versions in server/jbosstools-4.0.x branch broke the build

Nick Boldt nboldt at redhat.com
Thu Jan 10 13:40:24 EST 2013


Should have inserted versions into the poms to override the versions 
inherited from their parents.

See https://github.com/jbosstools/jbosstools-server/pull/33

Rob's commit (parents bumped to 2.4.1):

https://github.com/jbosstools/jbosstools-server/blob/48165fee6b5dffe1e87a25afe4d5ae4b1fd53c10/as/features/org.jboss.ide.eclipse.as.archives.integration.feature/pom.xml 


vs. my PR (only individual plugins' poms incremented to 2.4.1, with 
parents left at 2.4.0):

https://github.com/nickboldt/jbosstools-server/blob/8e5cab509bb09252f3f124748ce6e28ae86b2c62/as/features/org.jboss.ide.eclipse.as.archives.integration.feature/pom.xml

Similar solution here to bump versions in trunk according to the Eclipse 
Versioning guide [1]:

https://github.com/jbosstools/jbosstools-server/pull/34/files

Is this the approach we want to use for incrementally moving plugins up 
to new versions? Or are we going to use the old approach where EVERY IU 
in a component grouping (all features/plugins/sites/poms for 
jbosstools-server/as/, for example) will move up in lock-step to 2.5.0 
in master/JBT4.1/JBDS7, and 2.4.1 in the branch/JBT4.0.1/JBDS6.0.1?

[1] http://wiki.eclipse.org/Version_Numbering#Overall_example

On 01/09/2013 04:27 AM, Max Rydahl Andersen wrote:
> moved to jbosstools-dev
>>
>> Rob,
>>
>> it looks like build for server component out of jbosstools-4.0.x branch is broken after last commit https://github.com/jbosstools/jbosstools-server/commit/48165fee6b5dffe1e87a25afe4d5ae4b1fd53c10.
>> For several plugins version was updated 2.4.0-SNAPSHOT to 2.4.1-SNAPSHOT, but it should be updated in all poms/manifests to fix build error.
>>
>> eskimo at eskimo-notebook:~/Projects/jbds/test$ mvn clean install -Dmaven.repo.local=.m2/jbosstools-4.0.x -DskipTests
>> [INFO] Scanning for projects...
>> [ERROR] The build could not read 6 projects -> [Help 1]
>> [ERROR]
>> [ERROR]   The project org.jboss.tools.as.plugins:org.jboss.ide.eclipse.as.core:2.4.1-SNAPSHOT (/home/eskimo/Projects/jbds/test/jbosstools-server/as/plugins/org.jboss.ide.eclipse.as.core/pom.xml) has 1 error
>> [ERROR]     Non-resolvable parent POM: Could not find artifact org.jboss.tools.as:plugins:pom:2.4.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
>> [ERROR]
>> [ERROR]   The project org.jboss.tools.as.features:org.jboss.ide.eclipse.as.serverAdapter.wtp.feature:2.4.1-SNAPSHOT (/home/eskimo/Projects/jbds/test/jbosstools-server/as/features/org.jboss.ide.eclipse.as.serverAdapter.wtp.feature/pom.xml) has 1 error
>> [ERROR]     Non-resolvable parent POM: Could not find artifact org.jboss.tools.as:features:pom:2.4.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
>> [ERROR]
>> [ERROR]   The project org.jboss.tools.as.features:org.jboss.ide.eclipse.as.archives.integration.feature:2.4.1-SNAPSHOT (/home/eskimo/Projects/jbds/test/jbosstools-server/as/features/org.jboss.ide.eclipse.as.archives.integration.feature/pom.xml) has 1 error
>> [ERROR]     Non-resolvable parent POM: Could not find artifact org.jboss.tools.as:features:pom:2.4.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
>> [ERROR]
>> [ERROR]   The project org.jboss.tools.as.features:org.jboss.ide.eclipse.as.jmx.integration.feature:2.4.1-SNAPSHOT (/home/eskimo/Projects/jbds/test/jbosstools-server/as/features/org.jboss.ide.eclipse.as.jmx.integration.feature/pom.xml) has 1 error
>> [ERROR]     Non-resolvable parent POM: Could not find artifact org.jboss.tools.as:features:pom:2.4.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
>> [ERROR]
>> [ERROR]   The project org.jboss.tools.as.features:org.jboss.ide.eclipse.as.server.rse.integration.feature:2.4.1-SNAPSHOT (/home/eskimo/Projects/jbds/test/jbosstools-server/as/features/org.jboss.ide.eclipse.as.server.rse.integration.feature/pom.xml) has 1 error
>> [ERROR]     Non-resolvable parent POM: Could not find artifact org.jboss.tools.as:features:pom:2.4.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
>> [ERROR]
>> [ERROR]   The project org.jboss.tools.as.features:org.jboss.ide.eclipse.as.feature:2.4.1-SNAPSHOT (/home/eskimo/Projects/jbds/test/jbosstools-server/as/features/org.jboss.ide.eclipse.as.feature/pom.xml) has 1 error
>> [ERROR]     Non-resolvable parent POM: Could not find artifact org.jboss.tools.as:features:pom:2.4.1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 4, column 10 -> [Help 2]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>
>> Denis
>>
>
>
> _______________________________________________
> jbosstools-dev mailing list
> jbosstools-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jbosstools-dev
>

-- 
Nick Boldt :: JBoss by Red Hat
Productization Lead :: JBoss Tools & Dev Studio
http://nick.divbyzero.com




More information about the jbosstools-dev mailing list