Hello,
if i define an scm Tag in my Pom, should it be defined like:
scm:svn:https://myserver.com/projekt/trunk/pom.xml
or
scm:svn:https://myserver.com/projekt/trunk
Second seem to be more precise what Countunuum needs to checkout (All
Projects on trunk)
And later if i need to define
Hello Jens,
Yep, scm:svn:https://myserver.com/projekt/trunk is correct. This directory
is checked out when it is added into Continuum. It is added by specifying
https://myserver.com/projekt/trunk/pom.xml in the web interface.
Cheers!
Nap
On 7/24/07, Mac-Systems [EMAIL PROTECTED] wrote:
I set the admin account at the first page after I deployed the
continuum. But I can not log in, whatever I create a password remind
session, I can not log in.
Hello,
Using maven2 and a pom.xml packagingwar/packaging
I successfully create the war in place but I create an extra regular folder
(not war,jar, other)
with my webapp.
why is that?
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
Hi,
I'm having problems creating a webservice using the axis plugin.
I'm trying to compile the file and everything is okay, the class file is
where it should be, but the plugin (axis2-java2wsdl-maven-plugin) does not
seem to find it.
Here's the pom file :
project
I'm not sure whether it's the xmlbeans bit that it's worried about
but then complaining about commons-beanutils, I've specifically
excluded xmlbeans-jsr173 in my pom from the dependency I _think_
it's coming from:
I managed to 'find' a version of xmlbeans-jsr173 and deployed that to
Is it possible execute dependency:analyze without having the
dependency-plugin fork the build?
We'd really like to have dependency:analyze execute as part of every
build, but having all the phases execute twice is not going to be
acceptable. Is there a way to stop the depdendency-plugin from
Hello,
using getClass().getClassLoader().getResource(pResource) AND converting the
surrounding method from static to non-static did it.
Thanks for your help.
Martin Testrot [EMAIL PROTECTED] writes:
Hello,
is it possible to load a non-java resource from the classpath with:
Hi everyone,
I'm a newcomer to Maven and Hibernate..
If i use the hibernate dependeny
groupIdhibernate/groupId
artifactIdhibernate/artifactId
version3.2.4.sp1/version
scopecompile/scope
in a web-app that's built with Maven, using the postgresql database,
and adding appropriate postgresql
On 24/07/2007, at 5:16 PM, Paul Smith wrote:
I've been (slowly) porting our application to Maven 2.0.x. Run up
against a very weird dependency problem with a project that refuses
to build anymore. See the full mvn -X output, but the snippet that
appears to me to be the problem is this:
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
version2.1/version
If i added the cobertura to my pom and run mvn site i get error like:
[ERROR] There are test failures.
[INFO] Preparing
This is related to my earlier question about base poms and sites. By
base pom, I mean a pom which has no code or other files associated
with it. I am currently getting the failure below while trying to
generate a site from the directory where my base pom is.
Here is my base pom:
Java JDK has simple way to do this. If You know some class located in
your jar file simple way to get implementation version from this jar's
manifest file is to call this known
class.getPackage().*getImplementationVersion*().
rgds,
Markku
Francois Fernandes wrote:
Yes, you're right. But the
hello all,
can somebody tell me how can we just configure projets using Maven2?? Like
while doing development of a jar module i want all jars should be referred
from my local repository. So that compile time errors will be avoided..
In maven1, we do have a goal like configure . Once we run
Mac-Systems a écrit :
On Continuum Website
:http://maven.apache.org/continuum/continuum-features.html
stands it supports Blame Mechanism.
How can i benefit from it ?
And how to use it!
It isn't a real blame mechanism. In the build result page, you can see files
modified since the latest
Are you using log4j directly? Or are you using it via commons logging? If
the latter, you might have to configure commons logging to use something
other than log4j (like the java log). If not, then I've not heard of this
problem.
Eric
On 7/24/07, Dmitry [EMAIL PROTECTED] wrote:
I've been
dependency:analyze is meant to help people check their project dependencies
occasionally and fix accordingly? What use-case do you have for requiring it
to run every time? If you just want a print-out, there is always the
dependency report.
Eric
On 7/23/07, William Ferguson [EMAIL PROTECTED]
http://dwark.blogspot.com/2006/10/maven-2-hibernate-hsqldb.html
Eric
On 7/24/07, pinky88 [EMAIL PROTECTED] wrote:
Hi everyone,
I'm a newcomer to Maven and Hibernate..
If i use the hibernate dependeny
groupIdhibernate/groupId
artifactIdhibernate/artifactId
version3.2.4.sp1/version
Emmanuel Venisse schrieb:
Mac-Systems a écrit :
On Continuum Website
:http://maven.apache.org/continuum/continuum-features.html
stands it supports Blame Mechanism.
How can i benefit from it ?
And how to use it!
It isn't a real blame mechanism. In the build result page, you can see
files
This is a known issue, use version 2.0
- Original Message
From: Mac-Systems [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Tuesday, July 24, 2007 2:23:41 PM
Subject: Cobertura broken ?
plugin
groupIdorg.codehaus.mojo/groupId
Mac-Systems a écrit :
Hello,
if i define an scm Tag in my Pom, should it be defined like:
scm:svn:https://myserver.com/projekt/trunk/pom.xml
or
scm:svn:https://myserver.com/projekt/trunk
This one is the correct one, you must not add pom.xml at the end.
Second seem to be more precise
Hi,
I try to manage builds for several projects (Windows or UNIX) with only
one Continuum server. Does Continuum support this architecture? If yes,
what extra tools do I have to use? (ssh?)
For example, is it possible to launch a script on a Solaris platform with
a Continuum server installed
Actually in the unreleased snapshot, there is a goal called (i think)
just-analyze that does exactly what you ask ;-)
From: William Ferguson [mailto:[EMAIL PROTECTED]
Sent: Tue 7/24/2007 12:21 AM
To: Maven Users List
Subject: dependency-plugin without forking
I think you can with a shell project. Your script that will launch the remote
process must return the exit code of the remote script.
Emmanuel
[EMAIL PROTECTED] a écrit :
Hi,
I try to manage builds for several projects (Windows or UNIX) with only
one Continuum server. Does Continuum support
That is odd. Version 2.1 of the plugin does not use Cobertura 1.9. That
has just recently been added to the 2.2-SNAPSHOT version, which is not
yet stable.
Have you added a dependency on cobertura (not the plugin) yourself
somewhere?
There is a reported issue for this, but that is against
If you are using version 2.2-SNAPSHOT of the cobertura-maven-plugin,
then this is a known issue:
http://jira.codehaus.org/browse/MCOBERTURA-71
Aaron Zeckoski wrote:
This is related to my earlier question about base poms and sites. By
base pom, I mean a pom which has no code or other files
Hey Eric,
Thanks, I've already seen that article though.. I have a project set up like
that, but it doesn't say anything about compiling,testing etc.. maybe it is
just mvn package as any maven project..?
Thanks,
Karen
Eric Redmond wrote:
I've never seen this before, and use mdep quite extensively. Can you paste a
log?
From: Barrie Treloar [mailto:[EMAIL PROTECTED]
Sent: Tue 7/24/2007 12:08 AM
To: Maven Users List
Subject: Re: maven-dependency-plugin: Checks for updates for released artifacts?
Hi,
I'm developing a plugin for Maven and I'll need it to execute only if
the build has failed (or maybe if it succeeded). So I'd like to know
if there's a way to do this conditional execution.
Thanks,
--
Ruben Gutierrez
-
To
Thank you Emmanuel,
I want to be sure on this point: if some projects I have to manage run in
specific environments (a particular jdk version for example or different
OS), I have to create one Continuum server for each environment? In any
case, Continuum has been designed in this way, is that
As much as I love getting out of office emails from people, it seems
like we'll be getting this one for the next 5+ months. I can handle a
few days/week of it, but not months.
Can an admin please suppress Julia's ability to send emails to the
list, or boot her entirely (for now)?
Wayne
On
I tested 2.0 with an -U (force update)
Again it is broken like shown below.
How can a stable version break ?
- Jens
That is odd. Version 2.1 of the plugin does not use Cobertura 1.9.
That has just recently been added to the 2.2-SNAPSHOT version, which
is not yet stable.
Have you added a
You can't manage jdk or other tools that will run on a remote server, They must
be configured in your scripts.
In 1.1-beta-1 that we're releasing, you can configure jdk/maven/ant versions
and env var for all builds that run on the continuum server
Emmanuel
[EMAIL PROTECTED] a écrit :
Thank
Reinstall using another database instance. Export both and compare
tables with diff or a similar tool. Eventually you'll find it.
When you do, please post back to the list for the benefit of others.
Wayne
On 7/24/07, B. De Mezzo [EMAIL PROTECTED] wrote:
UP !
No more ideas ?
B. De Mezzo a
Is this bug *ever* going to be fixed? It's been like this for many months...
Larry
On 7/24/07, Mac-Systems [EMAIL PROTECTED] wrote:
Dennis Lundberg schrieb:
That is odd. Version 2.1 of the plugin does not use Cobertura 1.9.
That has just recently been added to the 2.2-SNAPSHOT version,
Brilliant idea, instead of mailing it to all, we can put a request on
behalf of all the users to [EMAIL PROTECTED] (correct me if I am
wrong.)
Thanks and Regards
Vaishali G.P. | Cognizant Technology Solutions, Pune-India | PSTN:+91 20
40222666 | VNet: 204703
| Your duty is to Be And not to be
Good call, I just saw that in another thread. I was not specifying the
version. Forcing version 2.0 of the plugin seems to have fixed that.
Thanks!
:-)
-AZ
On 7/24/07, Dennis Lundberg [EMAIL PROTECTED] wrote:
If you are using version 2.2-SNAPSHOT of the cobertura-maven-plugin,
then this is a
Mac-Systems wrote:
I tested 2.0 with an -U (force update)
Again it is broken like shown below.
Then you would get 2.1 which is the latest released version.
How can a stable version break ?
It is called a regression [1] and happens to many systems.
[1]
Am I the only one that finds it profoundly ironic that a testing tool
is broken? The cobbler's children have no shoes?
Larry
On 7/24/07, Dennis Lundberg [EMAIL PROTECTED] wrote:
Mac-Systems wrote:
I tested 2.0 with an -U (force update)
Again it is broken like shown below.
Then you would
Hi,
Is there a way to get Maven to dump its runtime settings so that you can
see what setting file it is using and where it gets any other runtime
configurations from?
John
Eurobase International Limited and its subsidiaries (Eurobase) are unable to
exercise control over the content
Yea, I already did send an email to [EMAIL PROTECTED] as well...
Wayne
On 7/24/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Brilliant idea, instead of mailing it to all, we can put a request on
behalf of all the users to [EMAIL PROTECTED] (correct me if I am
wrong.)
Thanks and Regards
maven-help-plugin has some of that:
http://maven.apache.org/plugins/maven-help-plugin/
In particular, check out the effective-pom mojo in help, and effective-settings.
Wayne
On 7/24/07, John Coleman [EMAIL PROTECTED] wrote:
Hi,
Is there a way to get Maven to dump its runtime settings so
Hi
We are moving commons-logging over from Ant to a Maven 2 build. Almost
everything is in place in the pom [1]. There is just one thing left. I'm
seeking your advice on this.
Commons-logging is a single module build in Maven 2, although it
probably shouldn't be if we follow all the Maven
I have a base pom that defines properties as shown below:
(https://source.sakaiproject.org/contrib/caret/entitybroker/trunk/pom.xml)
project
modelVersion4.0.0/modelVersion
nameSakai Entity Broker/name
groupId${eb.groupId}/groupId
artifactId${eb.id}/artifactId
packagingpom/packaging
Ironic as that may be, there's no need to rub it in. This is open source
software where many people contribute on their spare time. That means
that sometimes it will take time for issues to be solved. If you feel
that this is a *really* important issue for you, then please feel free
to write a
Sorry I do a bad manipulation ... and I remove the continuum tree ... So
I have now to reinstall all project ... :(
Thx for all your advices !
BDM.
Wayne Fay a écrit :
Reinstall using another database instance. Export both and compare
tables with diff or a similar tool. Eventually you'll
Thanks Wayne, even this is falling over now - I have checked the local
repo and the dep is in there!?
Regards,
John
[DEBUG]Profile with id: 'netbeans-public' has been explicitly activated.
[DEBUG]Profile with id: 'netbeans-private' has been explicitly
activated.
[INFO]Scanning for projects...
Hi everyone,
I have a project with configuration files:
desa/file1.xml
desa/file2.xml
homo/file1.xml
homo/file2.xml
prod/file1.xml
prod/file2.xml
I need a maven2 task that produces the following output:
target/desa/config.jar
target/homo/config.jar
target/prod/config.jar
where each jar
Hi everybody
From time to time we try to make it easier for us to help you. One way
to do that is to inform you about how open source software and support
works, both here at Maven and in general.
In the general category I would like to recommend a document titled How
To Ask Questions The
Hi all,
I am using maven for the first time, in order to setup a Daisy
development environment. I have installed the 1.1 version of maven and I
use the command
maven plugin:download -DartifactId=maven-torque-plugin
-DgroupId=torque -Dversion=3.1.1
I wanted to mention that I think the plugin is really great and
invaluable for generating code test coverage reports. We are using it
on all our maven 2 projects and the output that is generated is very
helpful. Even if the current version doesn't work, it is still a great
body of work. Well
hi Jim
I think I understand what you are saying and I have been in the same boat,
though in a different aspect.
Here's is what I understand about this, and my feeling is that current
support of inheritance and aggregation do not complement each other.
Project type pom can be used for two
h, I run mvn using the '-Pprofilename' method for activating my profiles. This way I can build several version of the same code base on the
same set of pom files. I only need to specify a different profile.
When I do 'mvn -Pprofilename help:effective-pom' I get a successful build and
all
This is what i finally did:
Defined two projects with type=pom.
pom 1 (build pom): define common configurations, including product version
and dependencyManagement entries. This is the base pom for all projects in
the product.
pom 2 (product aggregation pom): defines modules and also defines
hi
I have one base pom.xml that is inherited by another pom.
The child pom declares the relative path of the parent pom and so maven in
not required to pull this parent pom from the repository, when the child
project is built.
Child pom does not even define its own version and inherits it from
Hi,
I am trying to use the
useSystemClassLoadertrue/useSystemClassLoader
because I have some JCE dependent jars that located in
jre/lib/ext
When I try to run my tests I am getting the following:
[INFO] Building jar: c:\temp\surefirebooter43869.jar
java.lang.NoClassDefFoundError:
Hi:
I have a single project with multiple packages:
1. Package A - EJB files
2. Package B - Servlet files
3. Package C - Helper classes
The objective is to create a JAR of the EJB files, and then a WAR of the
servlet files that also includes the JAR (but not the .class files
directly) and
You should use multiple projects with dependencies set up between them.
Some webpages should help explain it:
http://maven.apache.org/guides/getting-started/index.html
http://www.onjava.com/pub/a/onjava/2005/09/07/maven.html
Also the free PDF ebooks from Mergere/DevZuz and Sonatype have
No, you must cd to the directory of base pom and run mvn deploy
again. Or if you have things configured with modules etc, you
should be able to run mvn deploy from only the parent directory, and
it should build and deploy the parent and all modules with one
command.
Wayne
On 7/24/07, kapilanand
I have a project which uses the jaxb plugin [1] and is instrumented using
the clover plugin [2]. This project consistently results in build failures
caused by duplicate classes during compilation. Clover seems to be causing
the jaxb generated-sources to be duplicated:
[INFO] [compiler:compile]
I have a project with three modules. I've set up the modules so that
they correctly build their assembly using mvn assembly:assembly. When
I try to invoke assembly:assembly from the project (i.e. parent)
directory, it doesn't seem to call that target on the modules. Am I
missing something here?
This does seem to be the easiest - but if you are working with a new
project only. If I have an existing structure where ONE project contains
all the necessary packages for the EJB and WAR, how do I go about
packaging the JAR-WAR-EAR?
-Original Message-
From: Wayne Fay [mailto:[EMAIL
How do you exclude a JAR file A when you don't know what dependency B
transitively includes A as a dependency? I have a lot of dependencies that
Maven gets from the public and internal repositories - naturally, Maven
retrieves its dependencies too.
Rather than looking through 75 POM files to
Hi Andrew,
assembly:assembly is an aggregator mojo, which means that it is limited by
design to only execute a single time per build, regardless of how many
modules are present in the reactor. What it sounds like you're looking for
is the assembly:single mojo, which has no such restriction, and
Hi Michael,
Thanks for the information, I tried this approach and it worked, and
even though the jdm.interfaces module was built correctly with no errors
or warnings, when I tried to build another module that depends on the
jdm.interfaces module, it generated the following warning:
[INFO]
Not that I'm aware of.
Try mvn -X ... then search the output to see which dependency(-ies)
are bringing in the dep. Then add the exclusion to those deps
directly.
Wayne
On 7/24/07, lightbulb432 [EMAIL PROTECTED] wrote:
How do you exclude a JAR file A when you don't know what dependency B
Hi,
shouldn't the depenency plugin help in this case? It has a tree mojo
which displays the tree of dependencies. This way you can track down the
dependency depending on the unwanted dependency.
http://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html
lightbulb432 schrieb:
How
Hi,
I am trying to use the
useSystemClassLoadertrue/useSystemClassLoader
because I have some JCE dependent jars that located in
jre/lib/ext
When I try to run my tests I am getting the following:
[INFO] Building jar: c:\temp\surefirebooter43869.jar
java.lang.NoClassDefFoundError:
You can use the dependency:tree (from the latest snapshot version). You can
detect some of these errors using dependency:analyze-dep-mgt (if it finds a
dependency that was excluded anywhere, it will warn you) and you can enforce it
in the build using the enforcer noBannedDependencies rule.
Hi Kapil,
Glad you solved your problems. In the future, please do *not* email me
(or any one else) directly.
You are FAR more likely to get a positive response by emailing the
list. In all honesty, I am likely to ignore or delete emails sent
directly to me, and I know this is the normal
On 7/24/07, Brian E. Fox [EMAIL PROTECTED] wrote:
I've never seen this before, and use mdep quite extensively. Can you paste a
log?
That's good to hear. It could well be something specific to our environment.
Whoops,
After preparing more details for this response, I noticed where the
I will be out of the office starting 16.05.2007 and will not return until
08.01.2008.
I'm on maternity leave till January 2008.
In case of Canon Consumable business, please contact Mikhail Popov, in case
of Paper business - Maria Bondarenko.
This is against Maven philosophy, period.
On 7/24/07, Vaidya, Supriya A (US - Chicago) [EMAIL PROTECTED] wrote:
This does seem to be the easiest - but if you are working with a new
project only. If I have an existing structure where ONE project contains
all the necessary packages for the EJB
It is absolutely against the Maven philosophy.
Having said that, you could probably make it work with jar-pom.xml,
war-pom.xml, ear-pom.xml and judicious use of include/excludes, but
that sounds like entirely too much work. And no offense, but I'm not
going to help you do it. ;-)
Your best
Hey Supriya,
u need to write 4 pom.xmls for this. one @ root level and rest 3 in each of
the module u mentioned.
for ejb projects u need to generate RMIC code as well.. for that u shud
make some significat changes to pom.xml of ejb module. for info on this u
can refer this:
Hi,
You don't need to do that in Maven 2. If you want to package a project,
you only need to specify its packaging whether jar or war, etc., set
the dependencies of your project in the pom.xml and then execute mvn
package. These dependencies will be downloaded from the central repo if
it
76 matches
Mail list logo