Hi All,
Currently we have existing project which is build using ANT.
Our vision is to Integrate Maven2 into it. So that Maven can be used for site
generation containing reports etc.
We donot want to shift the build to Maven.
Currently we have many context specfic build.xml and a common
Great,
Thanks a lot, it worked like a charm :)
-Original Message-
From: Tim Kettler [mailto:[EMAIL PROTECTED]
Sent: Monday, September 03, 2007 8:38 PM
To: Maven Users List
Subject: Re: Classpaths behaviour in mvn
Hi,
Johan Iskandar schrieb:
Hi,
While I was running this
Hi,
Sorry for being unclear.
What I need is a way to in the parentpom access the version of the parent
pom regardless of where the builld was started from.
In your example I want to write something in pom.xml (not my-module/pom.xml)
that when the build is run from either parent, child or
Any ideas ??
De : COPPENS, Fabien
Envoyé : mardi 28 août 2007 17:32
À : 'users@maven.apache.org'
Objet : Cyclic dependency problem
Hi all.
I have just joined the list, so please forgive me if the exact same question
has already been posted.
Here is my
Hi everyone!
I've got two questions about surefire 2.4 release.
First, could you tell me expected date/week/month/year when it will be released?
Second, what are the reasons that surefire development process is so
slow? Maybe you do not have enough developers? If so then I could join
you in
Hello,
I would suggest breaking explicitly the dependency by creating
separate projects for the ejbs and the pure java code they encapsulate
and expose.
HTH
--
OQube software engineering \ génie logiciel
Arnaud Bailly, Dr.
\web http://www.oqube.com
Hi,
the excludes won't help here. Maven calculates the dependencies based on
the projects in your reactor build. And as both, the main ejb-jar and
the ejb-client-jar are built by the same project the cyclic dependency
remains.
Your best option is to factor out the exposed ejb interfaces to
Hi All,
Currently we have existing project which is build using ANT.
Our vision is to Integrate Maven2 into it. So that Maven can be used for site
generation containing reports etc.
We donot want to shift the build to Maven.
Currently we have many context specfic build.xml and a common
Hi
I am using Maven2 in my project to build the target.
I am trying to use ant task in my pom.xml using the maven-antrun-plugin
plugin
Following is the snippet of my pom.xml
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
Hi,
this is a question about using maven, not about developing it. Next time
please ask such questions on the user list [1].
In your pom you have a nesting of
plugin/executions/configuration/. You missed the execution/ tag:
plugin/executions/execution/configuration/
See here for a
be careful that your ide is not putting resources into the target directory...
eclipse should default to bin/ which is fine...
On Tuesday 04 September 2007 14:01, Wayne Fay wrote:
Try mvn help:effective-pom to see all the various configuration
options you've set. Also try mvn -U package to
Hello,
You have got another problem : your app has been released with
SNAPSHOT dependencies.
I have got an awareness of this. Thanks for pointing this out again.
I was not able to found spring-orm 1.1 tag in your svn
(http://svn.castor.codehaus.org/browse/castor/castor-spring/tags)
Hello all,
Is there a way to specify different configurations for the release:prepare and
release:perform goals without using profiles?
Specifically, what I'm trying to do is pass
configuration
arguments-Dmaven.test.skip=false/arguments
/configuration
This is pretty sweet. Is there any way to get it to work when using
the JDK instead of the JRE in Eclipse (I have to use the JDK for
MyEclipse)? When I run install using JDK 1.6.0_2 I get build errors
related to the the JDK, when running with the same version JRE it's OK
though.
On 9/4/07,
Actually i have 3 Builds running none is running any more.
I have a SVN trunk and two branches in schedule.
I configured Continuum that all are using the default schedule ...
Why cannot Continuum not do this ? Iterate over all Projects an invoke
the build (mabye a bit naive impl.).
May there
On Monday 03 September 2007 18:06:48 Dave Feltenberger wrote:
One approach I've seen used is to have a standard naming convention on your
test cases. Maven will automatically run classes named *Test.java (and I
believe any class that starts with Test),
OK, so Test* classes and files named
Hello,
I believe the usage of profiles is the right way to pass arguments. But
you're wrong saying you have to specify which profile when invoking the
goals.
In your case, you can do something like that :
profile
idenv-dev/id
properties
Kjetil Kjernsmo [EMAIL PROTECTED] writes:
Looking through the source tree, I see that we do allready have a naming
convention, but in terms of directory naming:
test:
functional/
integration/
performance/
unit/
where a test may have a path like:
Hello,
I try to configure the site deployment for our projects.
Because I don't want to include a distributionManagement.site section in all of
our project poms I tried to centralize these settings in a common parent pom
(rootpom) which is used as parent for all other projects.
The site
Hi Arnaud,
Thanks for your reply. You're right that I can use activeProfile to make one
profile default. But that won't help in my situation: I would need some
'profileA' active when running release:prepare and 'profileB' active for
release:perform. This is something I think can only be done
I think Arnaud's advice is right if you're going to keep one project for
everything - set up the profiles. You may need to re-arrange the source
tree a little bit, though - looks like you have several different source
trees, one for each category of tests. I'm not sure how the surefire plugin
Yes, I am aware of this. It was meant to be a proper release, with just
an announcement missing (which I am now holding back).
Werner
Damien Lecan wrote:
Hello,
You have got another problem : your app has been released with
SNAPSHOT dependencies.
I have got an awareness of this. Thanks for
why do you want to skip tests in release:prepare?
On Wednesday 05 September 2007 02:20, Marcel Schutte wrote:
Hi Arnaud,
Thanks for your reply. You're right that I can use activeProfile to make
one profile default. But that won't help in my situation: I would need some
'profileA' active when
Has anyone come up with a decent way to setup a project in Eclipse that will
support a multi-module project? The best example I've seen is in the
Better Builds with Maven book (
http://www.devzuz.com/web/guest/products/resources#BBWM - Chapter 4) but I'm
having some difficulty. The book is
Hi all,
I'm writting a maven plugin.
I have a goal running on the phase pre-integration-test. For a continuous
integration context, in this goal, I want to deploy external artefacts,
available on a repository, so they are marked as provided in the section
dependencies of the current
On Tue, September 4, 2007 5:08 pm, Brian Smith wrote:
Has anyone come up with a decent way to setup a project in Eclipse that
will support a multi-module project?
I normally set up the project in maven, then run mvn eclipse:eclipse,
and then use import existing project into workspace.
Let
Folks:
I'm new to maven and I'm looking for a good reference to how to set up a
j2ee application using maven 2.0. Are there and good documents or
examples out there that I could use to get started?
Eric
http://maven.apache.org/plugins/maven-archetype-plugin/examples/j2ee-sim
ple.html
| -Original Message-
| From: Eric Wood [mailto:[EMAIL PROTECTED]
| Sent: Tuesday, September 04, 2007 11:22 AM
| To: users@maven.apache.org
| Subject: Example of setting up a maven 2 J2ee project
|
| Folks:
Nick Stolwijk wrote:
In your daytrader directory, run mvn eclipse:eclipse. This will create
the .project and .classpath files of the child modules with
dependencies for eclipse between them if necessary. Then, in Eclipse,
import your projects. If you want your parent pom.file easily
I'm using Weblogic 9.2. I think you're correct in that the weblogic plugin
only works for versions 8.x and earlier. I haven't found any great
solutions for this hurdle yet.
On 8/31/07, Scott Ryan [EMAIL PROTECTED] wrote:
What version of Weblogic are you using? You can use the weblogic tag
In your daytrader directory, run mvn eclipse:eclipse. This will create
the .project and .classpath files of the child modules with dependencies
for eclipse between them if necessary. Then, in Eclipse, import your
projects. If you want your parent pom.file easily accessible from
eclipse, make a
We know that 1.1 is a little slower than 1.0.3 because lot of new request and
full security added but 25s for 17 modules isn't a normal perf result
Emmanuel
Mrinal Mukherjee a écrit :
Same problem with me. Slow UI. I had this problem as soon as I upgraded to
the newer version of continuum. I
Nick,
I'm trying to keep things really small at this point (like HelloWorlds) but
I setup a directory structure similar to the DayTrader and performed the
import into eclipse.
First thing I noticed (and I think this is what you mentioned) is that the
top level directory is not there. Because of
On Tue, September 4, 2007 7:12 pm, Brian Smith wrote:
First thing I noticed (and I think this is what you mentioned) is that the
top level directory is not there. Because of this, I can't run Maven (mvn
install) because the parent pom is not available.
Why is the top level directory not
On 03/09/07, Alexandre Gomes [EMAIL PROTECTED] wrote:
Hi,
based on [1], how can I pass a diferent username for Tomcat Manager,
using -D command option (and not settings.xml) ?
I tried -D tomcat.server.username=root, but it doesn't seem to work.
[1]
One little Note about the importing of the projects: Ensure that Copy
projects into workspace is deselected.
Event the top level project can be imported into eclipse. To do this you
generate the project files of the submodules and import them. Then
create a new Project (not Java, a General
Aside from license issues, I'm confused as to why we now have two
Maven plugins for Eclipse? Surely it'd make sense for the two
projects to collaborate to accelerate development, rather than having
two plugins that are both rather thin on the ground in terms of
features?
Mark
On 04/09/07,
2007/9/4, Mark Hobson [EMAIL PROTECTED]:
Aside from license issues, I'm confused as to why we now have two
Maven plugins for Eclipse? Surely it'd make sense for the two
projects to collaborate to accelerate development, rather than having
two plugins that are both rather thin on the ground in
I have a dependency for my project that is provided by another company.
I have built, installed, and deployed this other dependency in my local
repository as well as our company's internal repository. This
dependency, has something that is causing an issue in it's dependency
section. It has
Hello,
I am trying to setup a project like this:
MyProj/
+---pom.xml
+---MyProj-Core/pom.xml
+---MyProj-Integration-Tests/pom.xml
MyProj-Core and MyProj-Integration-Tests are both modules of and
MyProj. What I would like to do is setup MyProj-Integration-Tests so
that
Hi,
My project has a structure similar to this:
root
+child1
+child2
I use the exec goal in the root project.
During the compilation process of both children the exec goal from root
project is executed and causes errors - thus I would like to skip it. I
would like it to be
You need to run mvn install to put the artifacts in your local cache
from MyProj-Core. Then you can depend on it in
MyProj-Integration-Tests (just like any other dependency) and it will
pull the file out of the cache and use it during its own execution ie
mvn test etc.
As for calling mvn compile
On Sep 4, 2007, at 3:05 PM, Wayne Fay wrote:
You need to run mvn install to put the artifacts in your local cache
from MyProj-Core. Then you can depend on it in
MyProj-Integration-Tests (just like any other dependency) and it will
pull the file out of the cache and use it during its own
This should work. In root/pom.xml, in the exec plugin config, set
inherited=false.
plugin
artifactIdmaven-exec-plugin/artifactId
inheritedfalse/inherited
Alternatively, you could put the exec plugin in a profile, and only
use that profile when building from the root ie -Pdoexec.
Wayne
On
So what is the point of having modules at all? If you have to install
them anyway, why aren't they all just separate projects?
For all intents, they are (completely) separate projects.
Ok, lets say I install the Core project, is there a way in my
Integration-Tests to get a filename for that
Actually, I did select the Copy projects into Workspace checkbox so that
may be the source of my problem.
I've been experimenting a little bit and it seems that if I create the whole
directory structure in C:\temp (c:\temp\TestApp) and then do the imports,
everything seems to work as expected.
The answer is exactly what you're trying to avoid...
You must configure the site again in your children pom. You might be
able to avoid typing the full site URL in each child pom by using a
property in the parent ie ${shared.site} which is set to
scp://webserver.mycompany.com/projects/.
Wayne
Inherited=false works!
Thanks
Wayne Fay wrote:
This should work. In root/pom.xml, in the exec plugin config, set
inherited=false.
plugin
artifactIdmaven-exec-plugin/artifactId
inheritedfalse/inherited
Alternatively, you could put the exec plugin in a profile, and only
use that
I may be running into a couple of different issues. When I did my import, I
selected the Copy projects into workspace which appears to ignore the top
level directory.
Also, I was trying to use Eclipse to check in/out of CVS. It appears that
you don't use Eclipse to check the code into your
Brian Smith schrieb:
Actually, I did select the Copy projects into Workspace checkbox so that
may be the source of my problem.
I've been experimenting a little bit and it seems that if I create the whole
directory structure in C:\temp (c:\temp\TestApp) and then do the imports,
everything seems
On Sep 4, 2007, at 3:20 PM, Wayne Fay wrote:
So what is the point of having modules at all? If you have to install
them anyway, why aren't they all just separate projects?
For all intents, they are (completely) separate projects.
Ok, lets say I install the Core project, is there a way in
use the latest snapshot of m2eclipse,
run mvn eclipse:m2eclipse
the lastest snapshot will automagically introduce project referecences for
projects depended upon... very handy for refactoring quickly
On Wednesday 05 September 2007 03:20, Graham Leggett wrote:
On Tue, September 4, 2007 5:08
Hi Dennis,
Thank you for your helpful note. I tried specifying the property to turn
on common-logging 1.1 diags using all of the following but did not get
any output:
* mvn -Dorg.apache.commons.logging.diagnostics.dest=STDOUT cargo:start
* env
Can't you disable the Junit tests normally? -Dmaven.test.skip=true It means
some extra typing on each release though.
--
Daniel Siegmann
FJA-US, Inc.
512 7th Ave. 15th Flr. New York, NY 10018
(212) 840-2618 x139
-Original Message-
From: Marcel Schutte [mailto:[EMAIL PROTECTED]
Sent:
See, I define all my jar versions in a settings.xml and this works fine
but somehow when it sees that pom.xml, it gets confused and cannot
pickup any versions.
Easy answer -- don't do that. Use dependencyManagement and
pluginManagement to control versions. And where it makes sense,
insert
You could always try ejbgen. I was going to build that into the
Weblogic plugin but most people have gone to JPA instead so there was
not much demand.
Scott Ryan
CTO Soaring Eagle L.L.C.
Denver, Co. 80129
www.soaringeagleco.com
www.theryansplace.com
(303) 263-3044
[EMAIL PROTECTED]
On Sep
As we are approaching an alpha release of 2.1, the Maven Team would like
to make a final call for proposals. The cutoff date for new proposals
will be Friday 9/21. During this time, we will review and discuss new
proposals and make a final cut at scheduling the 2.1 release. The
current aim is to
Hi Mark,
That's certainly a good point - thanks for bringing it up. This would
definitely be the ideal scenario and the Q developers initially
intended to collaborate around the one codebase (in fact, DevZuz also
sponsored the initial development of m2eclipse). However, as you'll
see from the
Hi Antonio,
The Q developers and DevZuz are committed to Q being a community
driven project, developed and planned openly. We've just added another
committer, Abel, who became interested after his work on Candy for
AppFuse, and we'd certainly welcome any users who would like to get
involved in
do you have an exception or something in your logs?
Mac-Systems a écrit :
Actually i have 3 Builds running none is running any more.
I have a SVN trunk and two branches in schedule.
I configured Continuum that all are using the default schedule ...
Why cannot Continuum not do this ? Iterate
Damien Lecan a écrit :
Hello,
I've just installed Continuum 1.1.0-beta-2 to replace my old Continuum
1.0.3 instance.
I'm working with MySql instead of embbeded sql server and with Tomcat 5.5.17
Nice new features, but UI is very, very, very slow :(
I followed
I am using derby out of the box and noticed the same slowdown. I don't
have any metrics to back it up but its definitely noticeably slower.
-Justin
Emmanuel Venisse wrote:
Damien Lecan a écrit :
Hello,
I've just installed Continuum 1.1.0-beta-2 to replace my old Continuum
1.0.3
Same problem with me. Slow UI. I had this problem as soon as I upgraded to
the newer version of continuum. I thought it was a problem in my system, but
now I know its something to do with the new version of continuum.
Mrinal
-Original Message-
From: Justin Deoliveira [mailto:[EMAIL
63 matches
Mail list logo