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 would suggest to try the following first:

1) add the following to your pom dependencies section:

<dependency> <groupId>org.postgresql</groupId> <artifactId>com.springsource.org.postgresql.jdbc4</artifactId> <version>8.3.604</version> </dependency>

2) Make sure in the plugin section that you have minimum the following:

<plugin>
        <groupId>org.sonatype.tycho</groupId>
        <artifactId>target-platform-configuration</artifactId>
        <version>${tycho-version}</version> <!-- Make sure this property is defined or replace it with the tycho version you use-->
        <configuration>
          <resolver>p2</resolver>
          <pomDependencies>consider</pomDependencies>
        </configuration>
</plugin>

3) Make sure the springsource repositories are present in the repositories section of the POM:
<repository> <id>com.springsource.repository.bundles.release</id> <name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Releases</name> <url>http://repository.springsource.com/maven/bundles/release</url> </repository> <repository> <id>com.springsource.repository.bundles.external</id> <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name> <url>http://repository.springsource.com/maven/bundles/external</url> </repository>

4) Try to build it

If this does not work out i would suggest to create an internal P2 repository (Note: this is not the same as a Maven repository)

Davy

> Date: Mon, 12 Sep 2011 20:43:40 -0300
> From: luizeduardokowalski@xxxxxxxxx
> To: tycho-user@xxxxxxxxxxx
> Subject: Re: [tycho-user] adding plugins
>
> you really helped me :)
> but i still have some questions...
> the best thing to do in my case is a internal p2 repository, so?
> i have a dedicated server, i can do this, but first i must learn how to
> do that :P
> do you have any link, tutorial or other that can help me trough this?
> i'll take a look on add this on my pom (parent pom, right?) actuality i
> have a internal repo on nexus. i'll send pom to my nexus, and he'll
> download the files i need
> thanks guys, you're helping me a lot!
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/tycho-user

Back to the top