Coder Social home page Coder Social logo

Use pom dependencies about p2-maven-plugin HOT 5 CLOSED

reficio avatar reficio commented on July 23, 2024
Use pom dependencies

from p2-maven-plugin.

Comments (5)

tombujok avatar tombujok commented on July 23, 2024

No, it's not meant to be like this.

from p2-maven-plugin.

DzianisFrydliand avatar DzianisFrydliand commented on July 23, 2024

May be it's possible to run everything except dependencies resolution (i.e. bndTool, publisher, etc.) from a specified folder where dependencies exist?

from p2-maven-plugin.

tombujok avatar tombujok commented on July 23, 2024

Unfortunately it's not. You can define your maven dependencies in the
plugin.
I cannot use maven dependencies, as the tree that they build is too
limited.
You cannot, for example, take 2 versions of the same artifact, which you do
in P2 more frequently.

If you want to get the list of your dependencies just type mvn
depedency:list -> and with a bit of 'sed' you have your p2-maven-plugin
definition.
Hope it helps.

On Tue, Sep 17, 2013 at 11:56 AM, DzianisFrydliand <[email protected]

wrote:

May be it's possible to run everything except dependencies resolution
(i.e. bndTool, publisher, etc.) from a specified folder where dependencies
exist?


Reply to this email directly or view it on GitHubhttps://github.com//issues/37#issuecomment-24576295
.

from p2-maven-plugin.

DzianisFrydliand avatar DzianisFrydliand commented on July 23, 2024

I have a client-server project that (simplified) consists of three parts:

  1. Client Project - set of Eclipse plugins
  2. Common Project - set of Java projects that are included on client and server sides
  3. Server Project - set of projects for Tomcat

I want all the projects to use the same versions of libraries. It means that if I define groovy-1.8.5 dependency I'd like to expect the same version of this library both on client and on server. For this reason I'm trying to create maven project with all dependencies of my application. Pom dependencies from this project will be loaded by server projects and an update site based on this dependencies will be build. This update site will be a part of a target platform for Eclipse projects.

Any ideas?

from p2-maven-plugin.

tombujok avatar tombujok commented on July 23, 2024

Welcome to the Eclipse RCP / Tycho world.
With tycho (Client Project) you should not define dependencies in the pom.xml files - everything should be defined in the MANIFEST.MF files, so you cannot have one configuration anyway.

from p2-maven-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.