[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-dev] Please test staged tycho 1.5.0
|
As the extension.xml is parsed before the actual build starts it seems
maven ignores settings.xml as well as settings in the pom.xml
I can build sucessfull when i use tycho-pomless 1.4 in extension.xml
(what is on maven central) using tycho 1.5 in the pom and I was able to
build using a local build snapshot, but the staging repo always fails
(console output below):
I tried
mvn org.apache.maven.plugins:maven-dependency-plugin:3.1.1:get \
-DremoteRepositories=https://oss.sonatype.org/content/repositories/orgeclipsetycho-1056
\
-Dartifact=org.eclipse.tycho.extras:tycho-pomless:1.5.0
and this downloads some stuff but afterwards still fails, so maybe I'm
doing something obviously wrong, this is not supported or not very well
documented how it should work and I can't find an example for it.
If you want to try it out your self do the following:
a) clone https://github.com/eclipse/chemclipse
b) add staging repo to chemclipse.pom.xml
c) change tycho version to 1.5.0
d) run mvn -f
chemclipse/chemclipse/releng/org.eclipse.chemclipse.aggregator/pom.xml
install
--> works
now change version in chemclipse/.mvn/extension.xml
--> fails
----- console output ----
WARNING] The POM for org.eclipse.tycho.extras:tycho-pomless:jar:1.5.0 is
missing, no dependency information available
[WARNING] Failed to read extensions descriptor
/home/lablicate/git/chemclipse/chemclipse/.mvn/extensions.xml: Plugin
org.eclipse.tycho.extras:tycho-pomless:1.5.0 or one of its dependencies
could not be resolved: Cannot access central
(https://repo.maven.apache.org/maven2) in offline mode and the artifact
org.eclipse.tycho.extras:tycho-pomless:jar:1.5.0 has not been downloaded
from it before.
[INFO] Scanning for projects...
[WARNING] The POM for org.eclipse.tycho:tycho-maven-plugin:jar:1.5.0 is
missing, no dependency information available
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin
org.eclipse.tycho:tycho-maven-plugin:1.5.0 or one of its dependencies
could not be resolved: Cannot access central
(https://repo.maven.apache.org/maven2) in offline mode and the artifact
org.eclipse.tycho:tycho-maven-plugin:jar:1.5.0 has not been downloaded
from it before. @
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.eclipse.chemclipse:aggregator:0.8.0-SNAPSHOT
(/home/lablicate/git/chemclipse/chemclipse/releng/org.eclipse.chemclipse.aggregator/pom.xml)
has 1 error
[ERROR] Unresolveable build extension: Plugin
org.eclipse.tycho:tycho-maven-plugin:1.5.0 or one of its dependencies
could not be resolved: Cannot access central
(https://repo.maven.apache.org/maven2) in offline mode and the artifact
org.eclipse.tycho:tycho-maven-plugin:jar:1.5.0 has not been downloaded
from it before. -> [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.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException
Am 16.10.19 um 10:20 schrieb Mickael Istria:
On Wed, Oct 16, 2019 at 9:29 AM Christoph Läubrich
<laeubi@xxxxxxxxxxxxxx <mailto:laeubi@xxxxxxxxxxxxxx>> wrote:
how do I use the pomless-extension when it is located in the staging
repo? I tried with settings.xml but that seemto have no effect and I
can't find much documentation if this is even supported.
I don't think this should be any different from using the latest release
or snapshot version.
Didn't just adding the pluginRepository as described in initial message
work? Do you see Maven at least attempting to contact the staging repo
to get the extension?
_______________________________________________
tycho-dev mailing list
tycho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/tycho-dev