Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] [WARNING] Could not transfer metadata ... of type p2 using the available factories WagonRepositoryConnectorFactory

I get this warning when I build my project:

[WARNING] Could not transfer metadata
master.pom:1.0.1-SNAPSHOT/maven-metadata.xml from/to ${p2.repo}
(${p2.url}): N
o connector available to access repository ${p2.repo} (${p2.url}) of
type p2 using the available factories WagonRepositoryConnectorFactory

which looks like this:

	<parent>
		<groupId>com.test</groupId>
		<artifactId>master.pom</artifactId>
		<version>1.0.1-SNAPSHOT</version>
	</parent>
	<artifactId>simple</artifactId>
	<packaging>pom</packaging>
	<repositories>
		<repository>
			<id>${p2.repo}</id>
			<layout>p2</layout>
			<url>${p2.url}</url>
		</repository>
	</repositories>





where the master.pom contains:




	<prerequisites>
		<maven>3.0</maven>
	</prerequisites>

	<groupId>com.test</groupId>
	<artifactId>master.pom</artifactId>
	<packaging>pom</packaging>
	<version>1.0.1-SNAPSHOT</version>	
	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<tycho-groupId>org.eclipse.tycho</tycho-groupId>
		<tycho-version>0.13.0</tycho-version>
		<p2.repo>osgi-bundles</p2.repo>
		<p2.url><an url to our internal p2 site></p2.url>
	</properties>


I have checked in my local .m2/repository that the above master.pom
contains the above properties. But why are they not expanded/found in
when used in the "simple" project?

I have read:

https://issues.sonatype.org/browse/TYCHO-516

but this seems more like a basic maven inheritance problem.


Back to the top