Re: How finding jar when knowing class from Maven ??

2009-02-12 Thread Yves Dessertine
If you use Eclipse, you can press Ctrl + Shit + T, and type the class name. Of course, Eclipse must be aware of your jars. 2009/2/12 Mick Knutson : > http://javacio.us/subscribers/classes/org.apache.maven.MavenUtils&tag=maven > > --- > Thank You… > > Mick Knutson, President > > BASE Logic, Inc.

Re: M2Eclipse Plugin Seems can't resolve workspace dependency during build

2009-02-10 Thread Yves Dessertine
Maven2 was unable to find http://repo1.maven.org/maven2/com/ocpsoft/ocpsoft-base/1.0.0/ocpsoft-base-1.0.0.pom In short, your artifact with : groupId com.ocpsoft artifactId ocpsoft-base version 1.0.0 doesn't exist in maven's public repository (if you try accessing the URL in the error message, you

Re: Execution sequence of three plugins on the same phase: process-classes

2009-02-05 Thread Yves Dessertine
Hi. I've had the same problem. Finaly I ended up splitting it into subprojects. See also here : http://jira.codehaus.org/browse/MNG-2258 http://www.mail-archive.com/users@maven.apache.org/msg93651.html 2009/2/4 Thiago Moreira (timba) : > Hi there, > > I have three plugins that must be execut

Web library project archive conflicts with another archive also mapped to the WEB-INF/lib folder.

2009-01-30 Thread Yves Dessertine
Hi, another error in the web project (in Eclipse) : Web library project archive commons-lang-1.0.1.jar conflicts with another archive also mapped to the WEB-INF/lib folder. I join a screenshot of the java Build Path window. All the libs after commons-lang are missing. What's going on ? -

Including project's sources in the same war file. Best practise?

2009-01-30 Thread Yves Dessertine
Hi. I've been asked to include a project's sources into the same war (it is a war webapp). Where the best place to put the sources in the war file? What's the best way to do this ? - To unsubscribe, e-mail: users-unsubscr...@mave

Re: How do i use maven in my development environment

2009-01-29 Thread Yves Dessertine
First, re-arrange your project like this : http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html Then, you write your pom.xml (either look for examples, or let Maven generate your project with the command) : mvn archetype:generate Choose : 18: internal -> m

Re: create war and jar files at same time.

2009-01-27 Thread Yves Dessertine
org.apache.maven.plugins maven-war-plugin 2.1-alpha-1 Forget about adding one more submodule :) Regards, 2009/1/27 Yves Dessertine :

Re: Sharing (big) parts of source across projects

2009-01-26 Thread Yves Dessertine
ve adopted! 2009/1/26 Kent Närling : > What is the reason for the "heavy" part for the "full featured"? More > functionality? it has an UI? > > It seems you probably might to create something like: > - myproject >- myproject-common (jar) >- myproj

Re: Sharing (big) parts of source across projects

2009-01-26 Thread Yves Dessertine
2009/1/26 Geoffrey Wiseman : > The WAR is your web services? What do you use the JAR for? > Based on the limited understanding I have of your project, I'd say that > basically, you want: > > myproject (pom project, no real implementation other than the two modules) > - "myproject-jar" -- whatever

Sharing (big) parts of source across projects

2009-01-26 Thread Yves Dessertine
roach ? Déclare two source path (ws + parent) ? Make the WS subproject depend on the parent project ? Thanks, Yves Dessertine - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: us

Re: Dependent jars not included in package

2009-01-22 Thread Yves Dessertine
Would something like this work for you ? for plugin jar:jar [PATH_TO_JARS] 2009/1/22 > Hi All, > > I have a java project which has dependencies on few jars. I have > included those jars as dependencies. > It works fine till unit testing and i