Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Maven Integration for Web Tools Platform » Weird Behavior Between Kepler and Luna for M2E Deployment Assembly
icon4.gif  Weird Behavior Between Kepler and Luna for M2E Deployment Assembly [message #1691245] Fri, 03 April 2015 20:09 Go to next message
Perry Terrance is currently offline Perry TerranceFriend
Messages: 1
Registered: April 2015
Junior Member
There is something really weird going on between the KEPLER version of the Deployment Assembly and the LUNA Version of Deployment Assembly when used with M2E.

If for example I have a single EAR I think to deploy - it will deploy the JARs packaged in the EARs differently even if its using the same exact POM and MAVEN settings.

Example:

EAR Project with dependency of depsample.jar

Since I am using a SNAPSHOT of that dependency - the POM would contain

<dependency>
<groupId>sample</groupId>
<artifactId>depsample</artifactId>
<version>1.0.0.2-SNAPSHOT</version>
</dependency>


In KEPLER - Deployment Assembly of the EAR Project I would see the following:
Source: /home/dev/.m2/repository/sample/1.0.0.2-SNAPSHOT/depsample-1.0.0.2-SNAPSHOT.jar
Deploy Path: depsample-1.0.0.2-SNAPSHOT.jar

This is OK for me.

However in LUNA - Deployment Assembly of the EAR Project I would see the following:
Source: /home/dev/.m2/repository/sample/1.0.0.2-SNAPSHOT/depsample-1.0.0.2-SNAPSHOT.jar
Deploy Path: depsample-1.0.0.2-20150403.11111-1.jar

Both are pointing to the same MAVEN 3.1.0 installation and repos.

I've been tinkering with LUNA like mad and can't get it to simply put the Deploy Path as the Source.

Why is LUNA doing this and not KEPLER?
Re: Weird Behavior Between Kepler and Luna for M2E Deployment Assembly [message #1691351 is a reply to message #1691245] Mon, 06 April 2015 12:50 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
Moving this to the m2e WTP forum
Previous Topic:Deployment Assembly not updated
Next Topic:How to include pom.properties in Deployment Assembly
Goto Forum:
  


Current Time: Thu Apr 18 03:29:04 GMT 2024

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

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

Back to the top