Quantcast

Dependency with war type

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Dependency with war type

sjeanjean.ext
Hi,
 
I don't understand why my dependency is not resolved in Eclipse. I have added a dependency to my project with a war type. When I try mvn clean install, it's ok, but in Eclipse, lot of "class not found". When I look at "Maven Dependencies" in Eclipse, my war is not there :( I have tried Maven/Update conf, Maven/Update dependencies, Maven/Disable dep management, Maven/Enable dep management without success :(
 
Perhaps it is linked to http://jira.codehaus.org/browse/MNGECLIPSE-438 but this issue is closed for a long time.
 
My denpendency :

<dependency>
<groupId>com.cob.oa.thirdp
</groupId
>
<artifactId>oaportaladmin
</artifactId
>
<version>0.4</version
>
<type>war</type
>
</dependency>

 
Any idea ?
 
Thanks,
 
Stéphane
*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Dependency with war type

Fred Bricon
If you're trying to have a war dependency on a war project, in other words doing a "war overlay", then it's not currently supported by m2eclipse (see   https://issues.sonatype.org/browse/MNGECLIPSE-599)
Jer developped a plugin to implement this feature, you can give it a try : http://code.google.com/p/m2eclipse-wtp-ext/

regards,

Fred Bricon

On Fri, Feb 5, 2010 at 12:56 PM, <[hidden email]> wrote:
Hi,
 
I don't understand why my dependency is not resolved in Eclipse. I have added a dependency to my project with a war type. When I try mvn clean install, it's ok, but in Eclipse, lot of "class not found". When I look at "Maven Dependencies" in Eclipse, my war is not there :( I have tried Maven/Update conf, Maven/Update dependencies, Maven/Disable dep management, Maven/Enable dep management without success :(
 
Perhaps it is linked to http://jira.codehaus.org/browse/MNGECLIPSE-438 but this issue is closed for a long time.
 
My denpendency :

<dependency>
<groupId>com.cob.oa.thirdp
</groupId
>
<artifactId>oaportaladmin
</artifactId
>
<version>0.4</version
>
<type>war</type
>
</dependency>

 
Any idea ?
 
Thanks,
 
Stéphane
*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Dependency with war type

sjeanjean.ext
Hello,
 
Thanks for the links.
My goal is not to do an "overlay", but just have access from my prject to classes which are in the war.
 
Stéphane


De : Fred Bricon [mailto:[hidden email]]
Envoyé : vendredi 5 février 2010 14:05
À : [hidden email]
Objet : Re: [m2eclipse-user] Dependency with war type

If you're trying to have a war dependency on a war project, in other words doing a "war overlay", then it's not currently supported by m2eclipse (see   https://issues.sonatype.org/browse/MNGECLIPSE-599)
Jer developped a plugin to implement this feature, you can give it a try : http://code.google.com/p/m2eclipse-wtp-ext/

regards,

Fred Bricon

On Fri, Feb 5, 2010 at 12:56 PM, <[hidden email]> wrote:
Hi,
 
I don't understand why my dependency is not resolved in Eclipse. I have added a dependency to my project with a war type. When I try mvn clean install, it's ok, but in Eclipse, lot of "class not found". When I look at "Maven Dependencies" in Eclipse, my war is not there :( I have tried Maven/Update conf, Maven/Update dependencies, Maven/Disable dep management, Maven/Enable dep management without success :(
 
Perhaps it is linked to http://jira.codehaus.org/browse/MNGECLIPSE-438 but this issue is closed for a long time.
 
My denpendency :

<dependency>
<groupId>com.cob.oa.thirdp
</groupId
>
<artifactId>oaportaladmin
</artifactId
>
<version>0.4</version
>
<type>war</type
>
</dependency>

 
Any idea ?
 
Thanks,
 
Stéphane
*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************

*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Dependency with war type

Fred Bricon
Are you using the warpath plugin (make war artifact classes available in other's java projects' classpath)? This is not supported either.

On Fri, Feb 5, 2010 at 2:12 PM, <[hidden email]> wrote:
Hello,
 
Thanks for the links.
My goal is not to do an "overlay", but just have access from my prject to classes which are in the war.
 
Stéphane


De : Fred Bricon [mailto:[hidden email]]
Envoyé : vendredi 5 février 2010 14:05
À : [hidden email]
Objet : Re: [m2eclipse-user] Dependency with war type

If you're trying to have a war dependency on a war project, in other words doing a "war overlay", then it's not currently supported by m2eclipse (see   https://issues.sonatype.org/browse/MNGECLIPSE-599)
Jer developped a plugin to implement this feature, you can give it a try : http://code.google.com/p/m2eclipse-wtp-ext/

regards,

Fred Bricon

On Fri, Feb 5, 2010 at 12:56 PM, <[hidden email]> wrote:
Hi,
 
I don't understand why my dependency is not resolved in Eclipse. I have added a dependency to my project with a war type. When I try mvn clean install, it's ok, but in Eclipse, lot of "class not found". When I look at "Maven Dependencies" in Eclipse, my war is not there :( I have tried Maven/Update conf, Maven/Update dependencies, Maven/Disable dep management, Maven/Enable dep management without success :(
 
Perhaps it is linked to http://jira.codehaus.org/browse/MNGECLIPSE-438 but this issue is closed for a long time.
 
My denpendency :

<dependency>
<groupId>com.cob.oa.thirdp
</groupId
>
<artifactId>oaportaladmin
</artifactId
>
<version>0.4</version
>
<type>war</type
>
</dependency>

 
Any idea ?
 
Thanks,
 
Stéphane
*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************

*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Dependency with war type

sjeanjean.ext
Hello,
 
Yes, you are right, my previous mail was not complete and correct, here is an extract of my pom :
 

<dependency>
<groupId>com.francetelecom.oa.thirdp</groupId>
<artifactId>oaportaladmin</artifactId>
<version>0.4</version>
<type>warpath</type>
</dependency>

<plugin>
<groupId>org.appfuse</groupId
>
<artifactId>maven-warpath-plugin</artifactId
>
<version>2.0.2</version
>
<extensions>true</extensions
>
<executions
>
<execution
>
<goals
>
<goal>add-classes</goal
>
</goals
>
</execution
>
</executions
>
</plugin> 

I have added manually the war dependence in Eclipse to avoid the M2 Eclipse non management.
 
Stéphane


De : Fred Bricon [mailto:[hidden email]]
Envoyé : vendredi 5 février 2010 14:30
À : [hidden email]
Objet : Re: [m2eclipse-user] Dependency with war type

Are you using the warpath plugin (make war artifact classes available in other's java projects' classpath)? This is not supported either.

On Fri, Feb 5, 2010 at 2:12 PM, <[hidden email]> wrote:
Hello,
 
Thanks for the links.
My goal is not to do an "overlay", but just have access from my prject to classes which are in the war.
 
Stéphane


De : Fred Bricon [mailto:[hidden email]]
Envoyé : vendredi 5 février 2010 14:05
À : [hidden email]
Objet : Re: [m2eclipse-user] Dependency with war type

If you're trying to have a war dependency on a war project, in other words doing a "war overlay", then it's not currently supported by m2eclipse (see   https://issues.sonatype.org/browse/MNGECLIPSE-599)
Jer developped a plugin to implement this feature, you can give it a try : http://code.google.com/p/m2eclipse-wtp-ext/

regards,

Fred Bricon

On Fri, Feb 5, 2010 at 12:56 PM, <[hidden email]> wrote:
Hi,
 
I don't understand why my dependency is not resolved in Eclipse. I have added a dependency to my project with a war type. When I try mvn clean install, it's ok, but in Eclipse, lot of "class not found". When I look at "Maven Dependencies" in Eclipse, my war is not there :( I have tried Maven/Update conf, Maven/Update dependencies, Maven/Disable dep management, Maven/Enable dep management without success :(
 
Perhaps it is linked to http://jira.codehaus.org/browse/MNGECLIPSE-438 but this issue is closed for a long time.
 
My denpendency :

<dependency>
<groupId>com.cob.oa.thirdp
</groupId
>
<artifactId>oaportaladmin
</artifactId
>
<version>0.4</version
>
<type>war</type
>
</dependency>

 
Any idea ?
 
Thanks,
 
Stéphane
*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************

*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************

*********************************
This message and any attachments (the "message") are confidential and intended solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or falsified.
If you are not the intended addressee of this message, please cancel it immediately and inform the sender.
********************************
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RE: Dependency with war type

mhicauber
This post has NOT been accepted by the mailing list yet.
Hi,

Did you solve your problem ? I'm trying to use classes included in a war dependency as well. Had no luck with simple overlay ro with warpath plugin...

Let me know if you managed to do this please.

Thank you,

Mathieu.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Dependency with war type

SkyFairy2
This post has NOT been accepted by the mailing list yet.
In reply to this post by sjeanjean.ext
ที่มีผู้เลือกใช้มากสุดได้แก่ บุหรี่มีสารประกอบต่างๆ อยู่ประมาณ 4000 ชนิด มีสารก่อมะเร็งไม่ต่ำกว่า 42 ชนิด ซึ่งสารบางชนิดเป็นอันตรายที่สำคัญ ovale เป็นอุปกรณ์ที่ใช้เทคโนโลยี่ที่จะสร้างความรู้สึกเช่นเดียวกับการสูบบุหรี่ ego c สาร PG ที่ว่านี้เป็นสารที่ใช้เป็นตัวทำละลายระดับ Food-Grade ให้แก่สารตัวอื่นทั้งหมด ให้สามาราถอยู่รวมตัวกันได้ กันการตกตะกอนเมื่อทิ้งไว้นานๆ  PG เป็นสารที่อยู่ในเครื่องสำอางค์แทบทุกชนิด รวมทั้งแชมพู สบู่ โฟมล้างหน้า หรือแม้กระทั่งลูกอม ก็มีสารที่ว่านี้เช่นกัน evic นิโครติน ขนาด LOW ขวด 10CC เท่ากับบุหรี่ 2.5 ซอง  หากขวดนึงเราใช้ 2.5 วันครึ่งถือว่าได้นิโครติน  เท่ากับได้นิโครติน เท่ากับสูบบุหรี่จริงวันละซอง elips c  กระเพาะปัสสาวะ และอื่นๆ ร้อยละ 50 ของน้ำมันดิน จะไปจับที่ปอด เกิดระคายเคือง ทำให้ไอเรื้อรัง มีเสมหะ เรื่องแรก ในการใช้งานเริ่มแรก ควรจะชาร์จทิ้งไว้ประมาณ 8-12 ชั่วโมง ทาร์ หรือน้ำมันดิน สารก่อมะเร็ง เช่น มะเร็งปอด บุหรี่ ประโยคสุดท้ายที่ผมพูดเวลาอธิบายเพื่อนไปแล้วมันก็ยังไม่ฟัง "ถ้าผมสูบบุหรี่อีก 20 ปี พนันกันใหมผมจะเป็นมะเร็ง
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Dependency with war type

artjureallove
This post has NOT been accepted by the mailing list yet.
In reply to this post by sjeanjean.ext
 ขั้นตอนง่ายๆกับการฝากถอนเงินเพื่อเล่น ทางเลือกใหม่สำหรับคุณ ความหวังมาถึงแล้ว เล่นได้จริง รวยจริง [url=http://www.holiday-palace.bsian.com/]holiday palace[/url]  เปรียบเสมือนคุณอยู่ในสถานที่จริง บรรยากาศจริง  ท่านยังสามารถร่วมสนุกออนไลน์จากที่นี้ 24 ชั่วโมง [url=http://www.casino.bsian.com/]casino[/url]  ระดับมาตรฐานชั้นนำหลากหลายด้วยความที่เราเป็นผู้ชำนาญด้าน  ผู้ได้รับอนุญาตเสริมกิจการ คาสิโนโดยไม่ผิดพลาดตาม กฎหมายของประเทศกัมพูชา  ที่ได้รับลิขสิทธิ์แท้โดยตรงจากกัมพูชา [url=http://livescore.walker-hills.com/]ผลบอล[/url]  
Loading...