Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8484859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T20:29:14+00:00 2026-06-10T20:29:14+00:00

I am trying to create an Eclipse based setup where Eclipse projects are Maven

  • 0

I am trying to create an Eclipse based setup where Eclipse projects are Maven based. So it should all work with Maven whether or not Eclipse is used.

I have a dependencies on various Eclipse project libraries, with more to be added. I want to use p2 repositories, and I’ve managed to pull an Eclipse EMF library and turn it into a jar following this example: Use dependencies from Eclipse p2 repository in a regular Maven build?

The problem is, I could not find a way of streamlining the process. I’d need to manually install the re-packaged dependency from the question given above to local Maven repository so that I can reference that in other projects. I’d like to seamlessly integrate artefacts from p2 repositories to my Maven based setup. m4e does not look like the smooth solution I’m looking for: Ideally I’d like to distribute a set of directories which would do everything in response to a simple mvn clean install : pull libraries from p2 repo, pull other libraries from Maven repositories etc..

Is this doable via Maven and Tycho integration?

Update: first, clarification to the question: just being able to reference to P2 repositories does not help with the scenario where this reference needs to be used from another project. The library (or libraries) referenced from P2 repository must be re-packaged as a jar so that it can be referenced by other Maven projects. The referenced question does the packaging. However, it does not explain how this repackaged output (assembly) can be used from other projects. In my case, this turned out to be referencing the assembly from an aggregating POM, and inheriting form that POM for all projects that would like to use the library with the P2 repository origin.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T20:29:15+00:00Added an answer on June 10, 2026 at 8:29 pm

    The solution is to create a multi module setup with Maven, and declare a dependency on the outputs of EMF library re-packaging (from the question I’ve referenced) The parent pom for all projects has this:

        <dependencies>
        <dependency>
            <groupId>com.mymodule</groupId>
            <artifactId>myartifact</artifactId>
            <version>0.0.1</version>
            <classifier>repackaged</classifier>                 
        </dependency>
      </dependencies>
          <modules>
                <module>../mymodule</module>
         </modules>
    

    Which lets all modules that has this module as parents access the repackaged P2 artifacts.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I Am trying to create eclipse projects programmatically for my plugin. I used this
I am trying to create an Eclipse plug-in which has dependencies to plain Maven
Trying to create a multi module maven project in eclipse. Parent Pom.xml <project xmlns=http://maven.apache.org/POM/4.0.0
I have installed the m2e plugin for Eclipse and used it to create a
I am trying to create a sample JMS application using Eclipse IDE. I have
I'm trying to create an eclipse plugin that creates a view with a Tree
I am trying to create an android project using eclipse IDE,its created successfully but
I am trying to create my first GUI application using (Java + Eclipse +
I'm trying to create a SVN Eclipese EFS plugin and have problems when getting
I'm trying to create a standard osgi bundle under Eclipse Helios. To do so,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.