Re: release:prepare ignores system property on tests

2009-07-25 Thread Thor
the properties inside a profile and activate the profile while preparing and performing the release. The forked maven lifecycle is not inheriting the properties, but it should inherit the profile -Stephen P.S. not sure if this is a bug, a side-effect, or by design 2009/7/24 Thor megat...@gmail.com

release:prepare ignores system property on tests

2009-07-24 Thread Thor
Hi, community I'm facing a really strange problem. When I run release:prepare on my multimodule project it crashes telling me that there are test failures. When i look into the surefire reports I find that my tests aren't capable of loading a resource file: ServiceResources.properties

Re: maven-compiler-plugin - where does it take compiler from?

2009-03-16 Thread Thor
Last time I checked, the maven compiler plugin uses the 1.4 source level. In my case, I use Java 5, so my source level it's 1.5 You tell the plugin to use that source level on it's configuration options: Here's a pom snippet: plugin artifactIdmaven-compiler-plugin/artifactId

Re: Best practice: web service project structure

2009-03-12 Thread Thor
Rusty's right... IMHO the best approach is to use multimodule projects, with an api, an implementation (pojos, ejbs, etc.), a ws (web services :-p), a client, and optionally a util module. That way you can use the interfaces of your api in each module needed and your utilities also... Regards...

WTP version supported by maven eclipse plugin

2009-03-06 Thread Thor
Hello everyone, I've been disconnected for a while and I was wondering what's the latest WTP version supported by the maven eclipse plugin? Last time I checked, and used =), it was 2.0; but now we have 3.x.x Best regards, --

Re: [EclipsePlugin] downloading sources without writing .project and .classpath files

2008-10-08 Thread Thor
Use the dependency plugin: mvn dependency:sources http://maven.apache.org/plugins/maven-dependency-plugin/ On Wed, Oct 8, 2008 at 5:00 AM, Andreas Riedel [EMAIL PROTECTED]wrote: Hello List. I've a question by using the Eclipse Plugin. We will dispose the Q4E Eclipse Plugin. So call the

Unable to download artifact sources

2008-09-30 Thread Thor
Hello everyone. Thanks for reading. I know this is really basic, but here goes... I'm having trouble downloading the sources from the central maven repo. I just created a project using the struts2-archetype-starter, updated the pom to the struts2's latest version (2.0.11.2) Then, when I ran mvn

Re: Unable to download artifact sources

2008-09-30 Thread Thor
, you can walk the directory at http://repo1.maven.org/maven2/ to see for yourself. Wayne On Tue, Sep 30, 2008 at 3:19 PM, Thor [EMAIL PROTECTED] wrote: Hello everyone. Thanks for reading. I know this is really basic, but here goes... I'm having trouble downloading the sources from

Re: Unable to download artifact sources

2008-09-30 Thread Thor
Thanks a lot Sam... It worked like a charm! My regards... On Tue, Sep 30, 2008 at 4:33 PM, Samuel Le Berrigaud [EMAIL PROTECTED]wrote: Hi Thor, the downloadSources flag is only used by some specific plugins. None of them being bound to the clean or package lifecycles. Depending whether

Re: maven archetype

2008-09-28 Thread Thor
The only thing I can come up with it's to add each file as a resource on the archetpe.xml of your archetype (wich is a real pain). Or you could try the mvn archetype:create-from-project, it'll generate an archetype from your current project (though, I haven't used it for that kind configuration)

Re: no main or test directories created when using webapp archetype?

2008-09-28 Thread Thor
I agree with Rick, if you have servlets, filters, even actions (struts, webwork, etc.) i think there is no need to separate the code from your web module (if your views depends on it). Nevertheless, separating the code from the views it's a very elegant approach... If the Eclipse workspace wasn't

Re: New Archetypes inside Eclipse

2008-09-25 Thread Thor
You can reindex your local catalog from the preferences page of your Maven Plugin (M2Eclipse or q4E) in the Eclipse IDE You can also update your local archetype catalog using the maven archetype plugin, like this: mvn archetype:crawl It'll check your local repo and generate the

Re: New Archetypes inside Eclipse

2008-09-25 Thread Thor
In the last mail when I wrote If you wish to use it from your console, just hit the next command, i meant use the local archetype catalog... =) On Thu, Sep 25, 2008 at 11:18 AM, Thor [EMAIL PROTECTED] wrote: You can reindex your local catalog from the preferences page of your Maven Plugin

Re: Maven/Eclipse - Keeping them in sync?

2008-09-22 Thread Thor
Ok David. Is there any reason why you are not using the maven standard layout for your project? You just put all of your test code into the /src/test/java/ and maven adds it to the eclipse path... On Sat, Sep 20, 2008 at 8:48 AM, David C. Hicks [EMAIL PROTECTED] wrote: Thanks again. I'll

Re: Maven/Eclipse - Keeping them in sync?

2008-09-22 Thread Thor
Ok. Got it. the last mail was out of context... My regards... On Mon, Sep 22, 2008 at 9:05 AM, David C. Hicks [EMAIL PROTECTED] wrote: Yes. I don't want functional test code mixed with unit test code. Thor wrote: Ok David. Is there any reason why you are not using the maven standard

Re: Maven/Eclipse - Keeping them in sync?

2008-09-19 Thread Thor
You also could give it a try to q4E: http://code.google.com/p/q4e/ It has a lot of very nice features... M2Eclipse and q4E have both very nice features... And both have their projects at Eclipse: http://www.eclipse.org/proposals/m2e/ http://www.eclipse.org/proposals/iam/ And they both have

Include provided dependencies in MANIFEST

2008-02-25 Thread Thor
Sorry people the original subject was very wrong and confusing... -- Forwarded message -- From: Thor [EMAIL PROTECTED] Date: Mon, Feb 25, 2008 at 3:43 PM Subject: Include provided dependencies in jar To: Maven Users List users@maven.apache.org Hello everyone, thanks for reading

Include provided dependencies in jar

2008-02-25 Thread Thor
Hello everyone, thanks for reading. I have a JEE project with several modules: - project-api - project-core - project-ejb - project-view - project-ear On my server (OC4J) I have shared several common libraries for all the deployed applications, like jakarta-commons, spring, and so on On my

Include dependency jars in packaged jar

2008-02-22 Thread Thor
Hello everyone? Is there a way to include the dependency jars inside the packaged jar, like in the META-INF/lib directory? And another question, is there a way to customize the application.xmldirective library-directory ? with the ear plugin?

EJB Module Jar dependencies

2008-02-15 Thread Thor
Hi, everyone, thanks for reading. I need to include inside my ejb.jar all of its dependencies, something like this: ejb-jar -- (o_ \* / / ) | / \ / | O | v v

Fwd: EJB Module Jar dependencies

2008-02-15 Thread Thor
Sorry by mistake i just sent the previous mail incomplete... Hi, everyone, thanks for reading. I need to include inside my ejb.jar all of its dependencies, something like this: ejb-jar/ META-INF/ MANIFEST.MF lib/

Maven Archetype BuildError

2008-01-23 Thread Thor
Hi everyone, thanks for reading... Here's my issue: I've been working on a customized maven archetype for my company, after dealing with a lot of issues with velocity i finally could pass the velocity rendering cycle. But after that I'm getting a new error, something about merging velocity

Maven Archetype: ParseException

2008-01-08 Thread Thor
Hello everyone. Thanks for reading. I'm having some issues while executing an Archetype that I've created (using the Guide to Creating Archetypes). This archetype creates a webapp that already has several components: JSPs, XML files, CSS, JS, and so on, that I need as templates for developing web

Re: Maven Archetype: ParseException

2008-01-08 Thread Thor
Thanks a lot Stuart... I'll try that right away... On Jan 8, 2008 9:44 AM, Stuart McCulloch [EMAIL PROTECTED] wrote: On 08/01/2008, Thor [EMAIL PROTECTED] wrote: Hello everyone. Thanks for reading. I'm having some issues while executing an Archetype that I've created (using the Guide

Eclipse + Maven2 +WTP 2.0

2007-09-27 Thread Thor
Hello everyone in the list. And thanks for reading... First of all, let me tell you that I'm a newbie at Maven 2, but I'm already enjoying it... Here's my issue: I have a multi modules project: - The API project - The Core project - The WAR project - The EAR Project The thing is that I need to

Re: Eclipse + Maven2 +WTP 2.0

2007-09-27 Thread Thor
Thanks a lot Angel. I'll try it right away. You're using Tomcat, I use Oracle OC4J. I'll let you know if it works... On 9/27/07, Angel Sotirov [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

Re: problem deploying snapshots

2007-09-27 Thread Thor
As far as I know... When you use deploy, it means that you are sending a final distribution of your project to a remote repository... Not one under development... That's why maven removes the SNAPSHOT suffix... On 9/27/07, melpelotones [EMAIL PROTECTED] wrote: Hi, If somebody can help me

Surefire report and continuum

2006-06-19 Thread Thor Åge Eldby
will be completed will BUILD SUCCESSFUL. This is a problem because Continuum need to get the error in order to set the state of them module correctly. Is there any solution to this? regards Thor Åge Eldby --