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
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
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
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...
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,
--
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
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
, 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
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
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)
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
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
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
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
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
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
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
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
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?
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
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/
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
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
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
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
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
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
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
--
28 matches
Mail list logo