Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Please test staged Tycho 1.6.0

Add the snippet to your .m2/settings.xml instead. You may define this repo in 
an own profile there and activate it on command line.

Am Montag, 13. Januar 2020, 18:33:58 CET schrieb Christoph Läubrich:
> Its abit messy:
> 
> because the pomless extension is loaded in a very early stage maven
> can't consider the settings inside the pom for other repository servers.
> 
> After testing different approaches I last time came up with the
> following solution:
> 
> https://stackoverflow.com/a/58414415/9503281
> 
> Am 13.01.20 um 18:04 schrieb Jonah Graham:
> > I tested <https://git.eclipse.org/r/#/c/155754/> Eclipse CDT with the
> > staged tycho.
> > 
> > It worked, if I upgraded tycho version, but left .mvn/extensions.xml
> > referencing 1.5.1. I don't know if this is an artifact of the build not
> > being published, or an issues with pomless builds.
> > 
> > This is what I get with 1.6.0 (patch
> > <https://git.eclipse.org/r/#/c/155754/2>, full build log
> > <https://ci.eclipse.org/cdt/job/cdt-verify-test-cdt-other-pipeline/1106/co
> > nsole>):
> > 
> > [2020-01-13T15:17:04.999Z] + /usr/share/maven/bin/mvn clean verify -B -V
> > -P skip-tests-except-cdt-other -DskipDoc=true
> > -Ddsf.gdb.tests.timeout.multiplier=50 -Dindexer.timeout=300
> > -Dmaven.repo.local=/home/jenkins/.m2/repository --settings
> > /home/jenkins/.m2/settings.xml [2020-01-13T15:17:05.000Z] Apache Maven
> > 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-24T18:41:47Z)
> > [2020-01-13T15:17:05.000Z] Maven home: /usr/share/maven
> > [2020-01-13T15:17:05.000Z] Java version: 1.8.0_222, vendor: Private Build,
> > runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre [2020-01-13T15:17:05.000Z]
> > Default locale: en_US, platform encoding: UTF-8
> > [2020-01-13T15:17:05.000Z] OS name: "linux", version:
> > "3.10.0-957.1.3.el7.x86_64", arch: "amd64", family: "unix"
> > [2020-01-13T15:17:07.401Z] [INFO] Downloading from
> > eclipse.maven.central.mirror:https://repo.eclipse.org/content/repositorie
> > s/maven_central/org/eclipse/tycho/extras/tycho-pomless/1.6.0/tycho-pomless
> > -1.6.0.pom [2020-01-13T15:17:13.396Z 
> > <https://repo.eclipse.org/content/repositories/maven_central/org/eclipse/
> > tycho/extras/tycho-pomless/1.6.0/tycho-pomless-1.6.0.pom
> > [2020-01-13T15:17:13.396Z>] [WARNING] The POM for
> > org.eclipse.tycho.extras:tycho-pomless:jar:1.6.0 is missing, no
> > dependency information available [2020-01-13T15:17:13.396Z] [INFO]
> > Downloading from
> > eclipse.maven.central.mirror:https://repo.eclipse.org/content/repositorie
> > s/maven_central/org/eclipse/tycho/extras/tycho-pomless/1.6.0/tycho-pomless
> > -1.6.0.jar [2020-01-13T15:17:13.396Z 
> > <https://repo.eclipse.org/content/repositories/maven_central/org/eclipse/
> > tycho/extras/tycho-pomless/1.6.0/tycho-pomless-1.6.0.jar
> > [2020-01-13T15:17:13.396Z>] [WARNING] Failed to read extensions
> > descriptor
> > /home/jenkins/agent/workspace/cdt-verify-test-cdt-other-pipeline/.mvn/ext
> > ensions.xml: Plugin org.eclipse.tycho.extras:tycho-pomless:1.6.0 or one of
> > its dependencies could not be resolved: Could not find artifact
> > org.eclipse.tycho.extras:tycho-pomless:jar:1.6.0 in
> > eclipse.maven.central.mirror
> > (https://repo.eclipse.org/content/repositories/maven_central/)
> > [2020-01-13T15:17:13.396Z] [INFO] Scanning for projects...
> > [2020-01-13T15:17:14.335Z] [INFO] Downloading from
> > cbi:https://repo.eclipse.org/content/repositories/cbi-releases/org/eclips
> > e/tycho/tycho-maven-plugin/1.6.0/tycho-maven-plugin-1.6.0.pom
> > [2020-01-13T15:17:14.335Z 
> > <https://repo.eclipse.org/content/repositories/cbi-releases/org/eclipse/t
> > ycho/tycho-maven-plugin/1.6.0/tycho-maven-plugin-1.6.0.pom
> > [2020-01-13T15:17:14.335Z>] [INFO] Downloading from
> > tycho-staged:https://oss.sonatype.org/content/repositories/orgeclipsetych
> > o-1059/org/eclipse/tycho/tycho-maven-plugin/1.6.0/tycho-maven-plugin-1.6.0
> > .pom
> > 
> > [... more downloadings... ]
> > 
> > [2020-01-13T15:17:39.079Z] [ERROR] [ERROR] Some problems were encountered
> > while processing the POMs: [2020-01-13T15:17:39.079Z] [ERROR] Child
> > module
> > /home/jenkins/agent/workspace/cdt-verify-test-cdt-other-pipeline/build/or
> > g.eclipse.cdt.build.gcc.core/pom.xml of
> > /home/jenkins/agent/workspace/cdt-verify-test-cdt-other-pipeline/pom.xml
> > does not exist @
> > 
> > 
> > The INFO / WARNING indicates that this is a problem of config on my part
> > as it is trying to download from repo.eclipse.org
> > <http://repo.eclipse.org> for the tycho-pomless.
> > 
> > Therefore this is probably good to go, but perhaps someone knows how to
> > test pomless with staged tycho?
> > 
> > Thanks
> > Jonah
> > 
> > 
> > ~~~
> > Jonah Graham
> > Kichwa Coders
> > www.kichwacoders.com <http://www.kichwacoders.com>
> > 
> > 
> > On Mon, 13 Jan 2020 at 07:06, Mickael Istria <mistria@xxxxxxxxxx
> > 
> > <mailto:mistria@xxxxxxxxxx>> wrote:
> >     Hi,
> >     
> >     Tycho release 1.6.0 has been staged. For details of new features and
> >     bugfixes, see release notes [1]. Please help by testing the staged
> >     build. To use it, change your tycho version to 1.6.0 and add snippet
> >     [2] to your pom.
> >     
> >     We plan to promote this release in one week unless major regressions
> >     are found.
> >     
> >     Regards,
> >     Tycho team
> >     
> >     [1]http://wiki.eclipse.org/Tycho/Release_Notes/1.6
> >     [2]
> >     
> >        <pluginRepositories>
> >        
> >          <pluginRepository>
> >          
> >            <id>tycho-staged</id>
> >            <url>https://oss.sonatype.org/content/repositories/orgeclipsety
> >            cho-1059</url>>          
> >          </pluginRepository>
> >        
> >        </pluginRepositories>
> > 
> > _______________________________________________
> > tycho-user mailing list
> > tycho-user@xxxxxxxxxxx
> > To change your delivery options, retrieve your password, or unsubscribe
> > from this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user
> 
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit https://www.eclipse.org/mailman/listinfo/tycho-user






Back to the top