Re: Don't add dependency?

2006-11-21 Thread Bengt-Erik Fröberg
Hi Check out this, it should be the reason jta isn't added you have to install it manually! http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html Greetings, 2006/11/21, jiangshachina <[EMAIL PROTECTED]>: Hi guys, I have a Web application project. I added javax.transaction

Re: Books

2006-09-11 Thread Bengt-Erik Fröberg
Check this out: http://www.mergere.com/m2book_download.jsp Sincerely, /B-E 2006/9/11, Douglas Ferguson <[EMAIL PROTECTED]>: Are there any maven books that are in print? I saw this one, Is it any good? http://www.amazon.com/Pro-Apache-Maven-Milind-Parikh/dp/1590595211/sr=1 -1/qid=115798

SaxParseException when using DBUnit in M2 build

2006-09-11 Thread Bengt-Erik Fröberg
Hi! I'm using maven 2.0.4 with the Surefire plugin 2.2 to test a couple of DAOs set up with Hibernate. At all tests i get the following exception, and I'm not able to find the cause, which I suspect lies within DBUnit 2.1... I realize that this is probably not a Maven2 problem, but as I guess that

SV: [m2]How to get files into test classpath?

2006-01-24 Thread Bengt-Erik Fröberg
*.* ... /Kaare On 24/01/06, Bengt-Erik Fröberg <[EMAIL PROTECTED]> wrote: > Hi > > > > I want to add the path /accesscontro/srcl/WEB-INF/*.xml to the test > classpath.

[m2]How to get files into test classpath?

2006-01-24 Thread Bengt-Erik Fröberg
Hi I want to add the path /accesscontro/srcl/WEB-INF/*.xml to the test classpath. There I have a sping configuration file. How do I do it? Regards, /B-E == Bengt-Erik Fröberg, Databasadministratör Institutionen för Epidemiologi och

SV: Dependency on hibernate

2006-01-20 Thread Bengt-Erik Fröberg
Hi You're facing the SUN jarmaggeddon. http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html 1) go to http://java.sun.com/products/jta/ and download class files 2) check out http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html 3) Replace with the path to your do

SV: Worst documentation in the whole apache projects

2006-01-19 Thread Bengt-Erik Fröberg
I have posted a wish in JIRA on some kind of standard for plugin documentation à la http://cargo.codehaus.org/Maven2+plugin. Under "Documentation". Vote for it if you agree! Regards, /B-E -Ursprungligt meddelande- Från: Tim OBrien [mailto:[EMAIL PROTECTED] Skickat: den 19 januari 2006

SV: Is it possible?

2006-01-19 Thread Bengt-Erik Fröberg
EXCELLENT documentation on cargo! Maybe to take as a rolemodel for other components of Maven2? Examples of minimal, small and full-fledged configuration, not just a cryptic html-table with a intelligent "No description" in the column "Description". Just check out deploy:deploy goal gets you

SV: Is it possible?

2006-01-19 Thread Bengt-Erik Fröberg
Hi! The task of deploying to a Tomcat instance is very interesting for me to. However the docs on the install plugin is very rudimentary. How do you configure the deploy plugin to install your generated war-file into, say %CATALINA_HOME%/webapps on your local machine? And, if possible, to the sam

SV: Worst documentation in the whole apache projects

2006-01-18 Thread Bengt-Erik Fröberg
I use Maven 2, and I agree on the state of the docs, although I realize this is the deal with open-source software, for better or for worse. I've looked into Ivy framework to see if docs were more complete and transparent, but at the time I was so exhausted by looking for answers, reading webpages

SV: Help!!!

2006-01-17 Thread Bengt-Erik Fröberg
Why use Maven 1 when there is a Maven 2? Regards, /B-E -Ursprungligt meddelande- Från: Dion Gillard [mailto:[EMAIL PROTECTED] Skickat: den 17 januari 2006 15:21 Till: Maven Users List; narayan dhumale Ämne: Re: Help!!! How are you running the jar? It's not clear from your email... On

SV: Not possible to add multiple test resources

2006-01-11 Thread Bengt-Erik Fröberg
esource in your case), one directory per resource. I don't think this model has changed. In other words: src/test/resources src/main/webapp/WEB-INF Perhaps check the POM model. Doug Bengt-Erik Fröberg wrote: >Hi again! >I’ve developed a taste for this mailing

Not possible to add multiple test resources

2006-01-10 Thread Bengt-Erik Fröberg
Hi again! I’ve developed a taste for this mailing list… Is it really true that this is not possible!? src/test/resources src/main/webapp/WEB-INF M2 chokes on it... kinda' takes the greatness out of XML, don't you think? I need to add another directory to the test classpath h

SV: How to bind execution of integration tests to integration-test phase

2006-01-10 Thread Bengt-Erik Fröberg
to bind execution of integration tests to integration-test phase > -Original Message----- > From: Bengt-Erik Fröberg [mailto:[EMAIL PROTECTED] > Sent: mardi 10 janvier 2006 16:28 > To: 'Maven Users List' > Subject: SV: How to bind execution of integration tests to int

SV: How to bind execution of integration tests to integration-test phase

2006-01-10 Thread Bengt-Erik Fröberg
ecution of integration tests to integration-test phase Hi, > -Original Message- > From: Bengt-Erik Fröberg [mailto:[EMAIL PROTECTED] > Sent: mardi 10 janvier 2006 14:34 > To: 'Maven Users List' > Subject: How to bind execution of integration tests to integratio

How to bind execution of integration tests to integration-test phase

2006-01-10 Thread Bengt-Erik Fröberg
Hi I have a set of JUnit unit tests which are executed during the test lifecycle phase. Now I want to add integration-test classes in another directory to be executed during the integration-test phase. How do I accomplish that? Using Maven2 and ANT. Regards, /B-E

SV: How to prevent jar to be included in WEB-INF/lib?

2006-01-09 Thread Bengt-Erik Fröberg
ROTECTED]>: > > On 1/9/06, Bengt-Erik Fröberg <[EMAIL PROTECTED]> wrote: > > > Addendum: > > I've tried > > > > jspapi > > jsp-api > > 2.0 > > provided > > > > To find out which of your d

SV: How to prevent jar to be included in WEB-INF/lib?

2006-01-09 Thread Bengt-Erik Fröberg
Addendum: I've tried jspapi jsp-api 2.0 provided No luck /B-E -Ursprungligt meddelande- Från: Bengt-Erik Fröberg [mailto:[EMAIL PROTECTED] Skickat: den 9 januari 2006 16:16 Till: 'Maven Users List' Ämne: How to prevent jar to be incl

How to prevent jar to be included in WEB-INF/lib?

2006-01-09 Thread Bengt-Erik Fröberg
Hi I have a question about preventing jsp-api2.0.jar to be included in /lib in a webapp, since it prevents normal execution of it. The jar in question is a dependency of some of my dependencies. How do I find out which, and how do I exclude this jar in the POM? Documentation is not very clear

SV: How to specify external jars

2006-01-03 Thread Bengt-Erik Fröberg
Hi I assume you are using Maven2. Can you find the uploaded jars in your repository? Have you checked the internal structure of your installed jars? (for example if foo.jar is installed, and it in its turn contains bar.jar, fu.jar etc maven won't find them) Have you checked that yout dependency i

[RE] LOTS of dependencies just not found

2005-12-28 Thread Bengt-Erik Fröberg
Hi Looks great, it has the features I was asking for. This is splendid and very, very welcome news! Now I won't be whining anymore about this ;) Regards, /B-E -Ursprungligt meddelande- Från: Brett Porter [mailto:[EMAIL PROTECTED] Skickat: den 28 december 2005 11:51 Till: Maven Users L

SV: LOTS of dependencies just not found

2005-12-27 Thread Bengt-Erik Fröberg
Wrote an issue to maven-repository-plugin-JIRA. I don't think you should be allowed to publish to repository if dependencies of the stuff you're publishing does not exist. Regards, - To unsubscribe, e-mail: [EMAIL PROTECTED]

SV: LOTS of dependencies just not found

2005-12-27 Thread Bengt-Erik Fröberg
found You can exclude dependencies by yourself using Faulty poms are automatically ignored On 12/27/05, Bengt-Erik Fröberg <[EMAIL PROTECTED]> wrote: > Hi > > I actually would prefer that dependencies with incomplete and faulty POMs > be discarded. > Because today all I get

SV: LOTS of dependencies just not found

2005-12-27 Thread Bengt-Erik Fröberg
ng, it's a matter of taste. Some pointers: http://maven.apache.org/guides/mini/guide-maven-evangelism.html http://maven.apache.org/guides/mini/guide-ibiblio-upload.html http://jira.codehaus.org/browse/MNG-1689 On 12/27/05, Bengt-Erik Fröberg <[EMAIL PROTECTED]> wrote: > Trying to int

LOTS of dependencies just not found

2005-12-27 Thread Bengt-Erik Fröberg
Trying to introduce Maven2 (2.0.1) in my organization, the idea is great, but alas I find the practice to be somewhat dissatisfying. Trace of a perfectly normal use-case below. POM is very simple with a few dependencies, but still the number of 'WARNING', 'relocated' and 'missing' is far too high

Reoccurring problem with library

2005-12-27 Thread Bengt-Erik Fröberg
Why? Why? Why? I'm getting just a little fed up with finding and manually installing this apparently crucial library. Anyone know why it is not published? Regards, /B-E   ========== Bengt-Erik Fröberg, Databasadministratör Institutionen för Epidemiologi och Bios