Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » How can maven take unpack jars from repository
How can maven take unpack jars from repository [message #1736411] Wed, 29 June 2016 10:26 Go to next message
Umesh Thakare is currently offline Umesh ThakareFriend
Messages: 12
Registered: February 2016
Junior Member
Hi

I have write plugin in which i have added below dependency in MANIFEST.MF file
org.eclipse.emf.ecore;bundle-version="2.11.2"

Now i am trying to give build from maven.
While giving build, maven referring below packed jar and it fails.
" org.eclipse.emf.ecore_2.11.2.v20160208-0816.jar.pack.gz "

So we are assuming that maven is unable to take packed jars, because normally maven takes .jar file.
And because of that it is giving below error.

Missing requirement: com.modelling.emf.cstr1_0 1.0.0.qualifier requires 'bundle org.eclipse.emf.ecore 2.11.2' but it could not be found.

So my problem is how can maven take the packed jar while building ?
Means how maven will build if available jar is in packed form.
Is there any command or any other solution ?

[Updated on: Wed, 29 June 2016 11:17]

Report message to a moderator

Re: How can maven take unpack jars from repository [message #1736417 is a reply to message #1736411] Wed, 29 June 2016 10:54 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6566
Registered: July 2009
Senior Member
Are you using maven-tycho? What p2 repos is your build pointing to.

Tom

On 29.06.16 12:26, Umesh Thakare wrote:
> Hi
>
> I have write plugin in which i have added below dependency in
> MANIFEST.MF file
> org.eclipse.emf.ecore;bundle-version="2.11.2"
>
> Now i am trying to give build from maven.
> While giving build, maven referring below packed jar and it fails.
> " org.eclipse.emf.ecore_2.11.2.v20160208-0816.jar.pack.gz "
>
> So we are assuming that maven is unable to take packed jars, because
> normally maven takes .jar file.
> And because of that it is giving below error.
>
> Missing requirement: com.modelling.emf.castor1_0 1.0.0.qualifier
> requires 'bundle org.eclipse.emf.ecore 2.11.2' but it could not be found.
>
> So my problem is how can maven take the packed jar while building ?
> Means how maven will build if available jar is in packed form.
> Is there any command or any other solution ?
Re: How can maven take unpack jars from repository [message #1736421 is a reply to message #1736417] Wed, 29 June 2016 11:21 Go to previous message
Umesh Thakare is currently offline Umesh ThakareFriend
Messages: 12
Registered: February 2016
Junior Member
Hi

Yes, i am using maven-tycho.
And p2 repository is pointing to below url

http://download.eclipse.org/releases/mars/
Previous Topic:Correct way to listen to a part activation/visibility change?
Next Topic:@Translation @Inject: org.eclipse.e4.core.di.InjectionException
Goto Forum:
  


Current Time: Wed Sep 23 22:50:21 GMT 2020

Powered by FUDForum. Page generated in 0.01924 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top