Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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?


Back to the top