Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Using pom-first artifacts in feature projects.

Hi,

I want to create a feature for the OSGi bundle of the MySQL Connector,
which can be found in the maven repositories.

I tried the way described in
https://docs.sonatype.org/display/TYCHO/Dependency+on+pom-first+artifacts
but get
Caused by: java.lang.RuntimeException: Could not resolve plugin
com.mysql.jdbc_5.1.13;


The pom looks like:

...
<groupId>de.topicmapslab.updatesite</groupId>
	<artifactId>com.mysql.jdbc_feature</artifactId>
	<version>5.1.13</version>
	<packaging>eclipse-feature</packaging>

	<build>
		<plugins>
			<plugin>
				<groupId>org.sonatype.tycho</groupId>
				<artifactId>tycho-maven-plugin</artifactId>
				<version>0.10.0</version>
				<extensions>true</extensions>
			</plugin>
			<plugin>
				<groupId>org.codehaus.tycho</groupId>
				<artifactId>target-platform-configuration</artifactId>
				<version>0.10.0</version>
				<configuration>
					<resolver>p2</resolver>
					<pomDependencies>consider</pomDependencies>
				</configuration>
			</plugin>
		</plugins>
	</build>

	<dependencies>
		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
			<version>5.1.13</version>
		</dependency>
	</dependencies>
...

Is there something wrong or is it just not (yet) possible.

Best regards and have a nice weekend.

Hannes


-- 
Onotoa - Simply create your Topic Maps schemas.
Web:             http://onotoa.topicmapslab.de
User Group: http://groups.google.com/group/onotoa
Code:           http://code.google.com/p/onotoa/

http://www.topicmapslab.de/people/Hannes_Niederhausen

 ======================================
  Topic Maps Lab
  http://www.topicmapslab.de
======================================


Back to the top