Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] adding plugins

The reason is that the dependency you are using ("postgresql:postgresql:9.0-801.jdbc4") is not OSGi-compatible (if you look at the manifest you will see that no packages are exported).
That is the reason why i told you to use the dependency "org.postgresql:com.springsource.org.postgresql.jdbc4:8.3.604" from the springsource repository: it is OSGi-compatible (the needed packages are exported).

> Date: Tue, 13 Sep 2011 08:39:43 -0300
> From: luizeduardokowalski@xxxxxxxxx
> To: tycho-user@xxxxxxxxxxx
> Subject: Re: [tycho-user] adding plugins
>
> hi!
>
> i added this to my plugin pom:
>
> <dependency>
> <groupId>postgresql</groupId>
> <artifactId>postgresql</artifactId>
> <version>9.0-801.jdbc4</version>
> </dependency>
>
> and my parent pom is like
>
> <plugin>
> <groupId>org.eclipse.tycho</groupId>
> <artifactId>target-platform-configuration</artifactId>
> <version>0.12.0</version>
> <configuration>
> <resolver>p2</resolver>
> <pomDependencies>consider</pomDependencies>
>
>
> maven has downloaded the postgre driver, its listed on Maven
> Dependencies of my project. but when i try do compile with 'mvn clean
> package', the following error occours:
>
> 1. ERROR in
> C:\Java\workspaceRCP\br.com.german.plugin\src\br\com\german\plugin\A
> ctivator.java (at line 6)
> import org.postgresql.Driver;
> ^^^^^^^^^^^^^^
> The import org.postgresql cannot be resolved
>
> am i missing something?
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user

Back to the top