Hi Meghan,
-Original Message-
From: mcp [mailto:[EMAIL PROTECTED]
Sent: mercredi 2 août 2006 14:57
To: continuum-users@maven.apache.org
Subject: Clover failing in maven2/Continuum1.0.3 build
HI,
I'm attempting to run Clover coverage analysis on serveral maven 2.0
projects
Hi,
We are using Maven2 2.0.4 with Subversion 1.3 and now we can't make
anymore releases. Previously we success.
Here is snippet from parent pom.xml
scm
connectionscm:svn:svn://fitst37/income/trunk/connection
developerConnectionscm:svn:svn://fitst37/income/trunk/developerConnection
-Original Message-
From: Vincent Massol [mailto:[EMAIL PROTECTED]
Sent: vendredi 1 septembre 2006 11:11
To: 'Maven Users List'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Clover and additional target/src directory
Hi Ingo,
-Original Message-
From: Ingo Düppe
Yo guys.
Is it possible to exclude a project in the reactor from the commandline.
Lets say I have 4 projects in my reactor :
[INFO]
[INFO] Reactor Summary:
[INFO]
hi,
i would like to use java 1.5 in my test classes but i have a constraint to
use java 1.4 in my product code. how can i tell maven to compile and execute
tests in 1.5 level, while compiling and testing product code in java 1.4 ?
thanks in advance,
cheers
--
View this message in context:
See profiles
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
-allan
anarkhos wrote:
hi,
i would like to use java 1.5 in my test classes but i have a constraint to
use java 1.4 in my product code. how can i tell maven to compile and execute
tests in 1.5 level, while
Hi,
is there any way how to add jar dependencies to generated .jar file with mvn
install?
Or how can I add normal Class-Path to MANIFEST.MF file?
becouse with addClasspathtrue/addClasspath it adds only name of dependency
f.e.: commons-net-1.4.1.jar but I need c:\...\commons-net-1.4.1.jar.
Hi all,
I apologize if this is not the right place to ask these kind of
questions but could not think about anything better.
My scenario is as follows:
- one hosted svn repo for daily work
- one local svn repo as fallback, synchronized daily against the hosted repo
The problem is with the
Don't you have a proxy to access to ibiblio ?
Did you try to replace id (deprecated) by artifactId
dependency
groupIdbouncycastle/groupId
artifactIdbcprov-jdk14/artifactId
version124/version
url http://www.bouncycastle.org/download//url
properties
war.bundletrue/war.bundle
I'm using Java5 to run maven and other tools and I'm using the
bootclasspath to force compiler to use java1.3 jre Runtime for compilation :
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
Hello,
This link
http://maven.apache.org/guides/mini/guide-manifest.html
may help you in MANIFEST.
I think you can write a MANIFEST firstly, the file includes all entries you
required.
Then add the MANIFEST to your jar.
plugin
groupIdorg.apache.maven.plugins/groupId
I'm doing a mvn site-deploy' (from an Win XP machine) to deploy to my
project onto a Linux machine (running Fedora Core) and everytime a
sub-module website is about to be deployed to Linux machine I get asked the
following :
The authenticity of host '165.148.216.14' can't be established.
RSA
Is it possible to use POM elements to configure the standard
maven-jar-plugin to use a custom version of maven-archiver?
I am attempting to use:
build
plugins
plugin
artifactIdmaven-jar-plugin/artifactId
dependencies
dependency
Jeff Mutonho [EMAIL PROTECTED] writes:
The authenticity of host '165.148.216.14' can't be established.
RSA key fingerprint is 9e:0c:8c:b8:57:60:e2:b2:1a:1f:fb:f0:10:30:0f:64.
Are you sure you want to continue connecting? (yes/no): yes
and have to type yes .
How do I prevent this from
Not sure that maven can calculate that 2.2-maxb-1 2.2. Try to use
a more standard version... like 2.3-SNAPSHOT, and if you want maxb-1,
then put that in the classifier.
--jason
On Sep 4, 2006, at 3:32 AM, Max Bowsher wrote:
Is it possible to use POM elements to configure the standard
Jeff Mutonho wrote:
I'm doing a mvn site-deploy' (from an Win XP machine) to deploy to my
project onto a Linux machine (running Fedora Core) and everytime a
sub-module website is about to be deployed to Linux machine I get asked the
following :
The authenticity of host '165.148.216.14' can't
The problem is that ssh subsystem cannot create known_hosts file because
its parent directory .ssh does not exist. Try creating a directory
named .ssh under your user home directory (usually it is c:\Documents
and Settings\username\). Windows Explorer has problems with creating
directories
Hi *,
I'm struggling on this one... with Maven 1.1-rcx
sub-project A defines some tests in src/test (as per convention)
sub-project B defines some tests in src/test (as per convention)
Problem is that the tests in B extend the AbstractTests in A/src/test
how could I define a dependency for the
We use maven+checkstyle on a multi-project.
We have defined our checks (mycheckstyle.xml) for one of the component. The
xml file is stored right at the root of the component (next to the src and
target folders) in the top pom file we have:
plugin
I'm trying to use two profiles and to switch between them for occasionally.
I've seen a couple of emails on this in the archives which don't resolve
this issue for me so here is my problem:
(1) if I set one profile to activationactiveByDefaulttrue ... then I
cannot de-activate it by any
thanks indeed for the answers, but i think i couldn't make my intent clear;
the first proposed solution doesn't help, because my unit tests are written
in java1.5 syntax, so 1.3 tools can not compile them
the second proposed solution doesn't help neither because I'll be needing
both 1.4 and 1.5
I see two solutions (not really clean :-( ) :
- In the sub-project-A you add your tests in the artifact (you copy the
content of maven.test.dest in maven.build.dest or you set maven.test.dest =
maven.build.dest).
- You move your tests in another external project (sub-project-A-tests) but
you have
I have just fired up maven to run some tests today and it triggered a
large downloading of updated plugins.
I am now getting a null pointer exception from surefire.
java.lang.NoClassDefFoundError: org/apache/maven/surefire/util/UrlUtils
at
A couple have reported it. I'm forwarding this on to the dev@ list so
that those working on it are aware it is causing problems.
Please review my mail the other day on what measures you should take
to avoid this. In summary:
- don't add the apache.snapshots repository as a plugin repository
Max Bowsher wrote:
Is it possible to use POM elements to configure the standard
maven-jar-plugin to use a custom version of maven-archiver?
I am attempting to use:
build
plugins
plugin
artifactIdmaven-jar-plugin/artifactId
dependencies
dependency
Upon reinspecting my POM I have noticed we had left in the
http://people.apache.org/maven-snapshot-repository/ repository from when
we were trialing the JIRA plugin.
Thanks for the tip about pluginManagement.
- Original message -
From: Brett Porter [EMAIL PROTECTED]
To: Maven Users List
Hi Olivier,
You could try to use URL for its location. In this case, you can reuse
the same checkstyle config file for several components.
...
configLocationhttp://yourhost.com/cpqd_checks.xml/configLocation
...
Hope it helps.
Dário
Olivier Vierlinck wrote:
We use maven+checkstyle on a
Hi,
We have a similar setup and have created a 'project' with only a couple of
resources. (our own version of the checkstyle xml and suppressions).
We deployed this 'jar' and made the maven-checkstyle-plugin dependant on
that dependancy:
plugin
Hi Arnaud,
Merci pour la reponse. I was thinking about the 2 options you mentioned...
Since then I think that I have found a solution, in the sub pojects I add the
classes of other sub project as resources:
So for sub-project B:
unitTest
includes
Use a top level configuration based on Java5, and define an execution
with ID default for the compile phase, based on Java 1.4.
You should use the bootclasspath to avoid your compiled code to make
reference to Java5 methods that does not exist in Java 1.4. This is a
common bug using
thanks a lot nicolas, that worked :)
but i wonder why i can not address test-compile phase?
Nicolas De Loof wrote:
Use a top level configuration based on Java5, and define an execution
with ID default for the compile phase, based on Java 1.4.
You should use the bootclasspath to avoid
Hi Benoit!
It works, but requires the exact relative position between them and pulls in
the class files vs. a jar depends. If you are happy with that, then you are
done! If not, I suggest:
- create a TestFramework module
- put the base/common test classes from modules A and B in it (in the
opss, false alarm :( it compiles but into class version 49 (which is
incompatible with jre1.4)
i have modified pom.xml accroding to your recommendations as follows:
plugin
groupIdorg.apache.maven.plugins/groupId
Jason van Zyl-2 wrote:
The JAR Plugin v 2.1 has been released! You can see the issues that
have been closed out here:
Seems that the manifest file generated doesn't include the following
properties anymore:
Extension-Name:
Implementation-Title:
Implementation-Version:
Is this
Hi Vincent,
my intension to clover generated sources is that we also write some unit
tests for generated sources.
We do this to be sure that the generator works like expected. In
particular the andromda 3.2 version is not released yet.
So the unit tests helps us to be informed that the
Syvalta a écrit :
Jason van Zyl-2 wrote:
The JAR Plugin v 2.1 has been released! You can see the issues that
have been closed out here:
Seems that the manifest file generated doesn't include the following
properties anymore:
Extension-Name:
Implementation-Title:
Implementation-Version:
On 29 Aug 06, at 1:55 PM 29 Aug 06, Eric Redmond wrote:
Hi all Maven users!
I'm beginning a study to outline the real reasons that people have for
avoiding Maven. My questions to you all are:
What were your anxieties about using Maven? If you use Maven: what
helped
you make the decision? If
I've just started using Maven2 with Eclipse on a big project and so far so
good. One odd thing though, I've had to import some dependencies in my
local repository using mvn install:install-file goals. However, when I
execute mvn, it still searches the default repo even though they are
locally.
Hi Adam,
we've got the same needs.
Unfortunately I haven't found out the way to do this.
As a result I use the activate by property feature. But event his way
doesn't not work smoothly.
Actually in a parent pom, if I set the property activate.profile1 for
example, its value is correctly passed
I have the same needs though I use ANT to call Maven from Eclipse and switch
command line parameters to switch profiles. Not sure if this is best
practices but it sure works nicely for me! :D
-aps
On 9/4/06, Alexis Midon [EMAIL PROTECTED] wrote:
Hi Adam,
we've got the same needs.
You can add them with this:
plugin
groupId/groupId
artifactId/artifactId
configuration
manifest
addDefaultSpecificationEntriestrue/addDefaultSpecificationEntries
addDefaultImplementationEntriestrue/addDefaultImplementationEntries
/manifest
/configuration
Does anyone knows a shared repository hosting Mondrian (2.1.1) in a
maven2 format ?
thanks,
chris
--
_
Tennaxia, www.tennaxia.com,
Pilotez vos obligations environnementales
Hi
I tried replacing id with artifactId but it made no difference.
I didn't know I had to set up a proxy to access ibiblio. There is
nothing in the documentation about that How do you do it?
Thanks a lot
Andy
On 04/09/06, Arnaud HERITIER [EMAIL PROTECTED] wrote:
Don't you have a proxy to access
Hi Brett,
I actually first renamed the folder on the hard drive and then
re-configured the settings in the Administration dialog. Only after
those changes the indexer would work. And I do not think I had a typo
in my configuration since I am pretty sure I copied the folder name into
the
Hi,
my pom is:
reporting
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-javadoc-plugin/artifactId
configuration
minmemory128m/minmemory
maxmemory512/maxmemory
linksourcetrue/linksource
http://maven.apache.org/maven-1.x/reference/properties.html#Proxy_Properties
cheers
arnaud
On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote:
Hi
I tried replacing id with artifactId but it made no difference.
I didn't know I had to set up a proxy to access ibiblio. There is
nothing in the
Jason just announced the release of maven-jar-plugin 2.1. (Thanks!)
Now I'm going to pick on the documentation. :)
One of the major problems we had with the jar plugin was invalid
manifests. The plugin would use the description as-is for
Specification-Title, including line breaks, resulting
On 9/4/06, Syvalta [EMAIL PROTECTED] wrote:
But with no luck. I'm using latest released plugins. Would I need to use
some snapshot plugins to get this working?
Same here. I opened an issue: http://jira.codehaus.org/browse/MJAR-57
--
Wendy
Hi,
I'm in the process of migrating a project from Maven 1 to Maven 2.0.4
and, although it all seems to be going well, I've hit a problem with
the hierarchy of pom.xml.
We have a project that is divided into two halves: a client side and a
manager side. Each of these sides is further divided
Hi Brett,
I am excited about this application which I think is exactly what I need
right now. From what I read so far and understand, it looks to me as
Archiva could be an easy to use internal proxy to the official Maven
central repository.
Unfortunately I still don't fully understand how this
No the release prepare asks for the tag that it will create.
You can perform a release off a tag without doing a prepare. However, it uses
the version number from the tag. I'd like to provide a different version number.
D-
- Original Message -
From: Andreas Guther
Sent: Sun,
This is the command.
mvn release:perform
-DconnectionUrl=scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-release-plugin-2.0
Can I add version to this command?
If not, I guess I could check out the tag and prepare the release from that tag.
D-
-Original Message-
On 4 Sep 06, at 12:02 PM 4 Sep 06, Wendy Smoak wrote:
On 9/4/06, Syvalta [EMAIL PROTECTED] wrote:
But with no luck. I'm using latest released plugins. Would I need
to use
some snapshot plugins to get this working?
Same here. I opened an issue: http://jira.codehaus.org/browse/
MJAR-57
Hi thanks for the pointer, but I'm not sure I need a Proxy. Why would
I need one?
In any case I dont have one. I am doing this from home and just
have a standard cable internet connection. Also, why would some jars
succeed in downloading from ibiblio and others not?
Cheers
Andy
On 04/09/06,
Hi mkp,
Please post general Maven questions on the Maven users list - this list is
for the plugins hosted here at SF. I am redirecting there. In your reply,
please remove the SF list.
Maven does look in the local repo, and first, by default (by local repo, I
infer you mean the .maven dir on a
Hi Jeff,
In regards to my other question, it seems that my invocation of Maven2 looks
at the repo depo no mattrer what even after I have done an mvn
install:install-file on my target. The build succeeds but it spends an
awefully long time timing out against ibiblio when it can't find the
I've noticed this that occasionally the connection drops or it can't
download a dependency for a split second and then when I retry it works
(this is using the default ibiblio repo- my guess is usage of the server).
-aps
On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote:
Hi thanks for the
Thanks but the dependecies that are failing fail every time I run the
build (and I've run it many, many times).
On 04/09/06, Alexander Sack [EMAIL PROTECTED] wrote:
I've noticed this that occasionally the connection drops or it can't
download a dependency for a split second and then when I
Hi,
I am currently trying to take our development environment offline from
the Maven2 central repository at Ibiblio.
I have configured a profile that redefines the central repository and
points to a copy of all I found in my local repository. My assumption
was that this should be enough for my
Hi,
I am trying to mirror the Maven2 repository internally. Can someone share with
me a working rsync command?
What I found so far and tried is the following:
$ rsync -rlHtSv [EMAIL PROTECTED]:/pub/packages/maven2/ .
ssh: connect to host ftp.ibiblio.org port 22: Connection refused
rsync:
Are there any examples out there that use addition src/ directories besides
main/ ?
I have never had the need for this in my projects, but I realize that it
provides room to expand/enhance your project cleanly.
Just curious...
you're using ssh for sync and you shouldn't
On 9/4/06, Andreas Guther [EMAIL PROTECTED] wrote:
Hi,
I am trying to mirror the Maven2 repository internally. Can someone share with
me a working rsync command?
What I found so far and tried is the following:
$ rsync -rlHtSv [EMAIL
I often would like to skip report generation under mvn site and especially
under mvn site:run, but this doesn't work.
The documentation appears to state that -DgenerateReports=false will skip
report generation.
http://maven.apache.org/plugins/maven-site-plugin/site-mojo.html
However, in
Jason van Zyl wrote:
On 4 Sep 06, at 12:02 PM 4 Sep 06, Wendy Smoak wrote:
On 9/4/06, Syvalta [EMAIL PROTECTED] wrote:
But with no luck. I'm using latest released plugins. Would I need to use
some snapshot plugins to get this working?
Same here. I opened an issue:
Wendy Smoak wrote:
Jason just announced the release of maven-jar-plugin 2.1. (Thanks!)
Now I'm going to pick on the documentation. :)
Being the one who updated the docs during the plugin documentation drive
earlier, I'll answer this then :)
One of the major problems we had with the jar
I have a pom that has a couple of modules, I would like to post a site
directly to my baseDir or more accurately my top most pom's directory. I
tried something like this in my top most pom:
distributionManagement
site
idtest.site/id
nameTest Website/name
This is a great solution to this problem, Roy.
Wayne
On 9/4/06, Roy van der Kuil [EMAIL PROTECTED] wrote:
Hi,
We have a similar setup and have created a 'project' with only a couple of
resources. (our own version of the checkstyle xml and suppressions).
We deployed this 'jar' and made the
This is normal behavior for Maven -- it searches the repo once a day
(more or less, depending on your configuration settings) to make sure
there are no updates to any dependencies or plugins that it needs to
download before running your build.
You can specify -o for offline ie mvn -o package
Originally, there was one guide in the maven site that the plugins
linked to for configuring the manifest section. I didn't realise that
had changed. I may be wrong, but I think I updated that when I changed
the archiver. Sorry I didn't review the JAR docs when they were done.
t's a culture we
So it doesn't work at all under site? That's a bug report, as it
should and I used to use it a bit.
For site:run, it's a separate feature request since it's not in there.
They should only be generated on demand, but I'm aware that there are
some plugins that do the work up front which make this
Ya +1.
I think I will do the same, Thanks Roy.
Thanks
Lakshman
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 5 September 2006 8:37 AM
To: Maven Users List
Subject: Re: Maven+Checkstyle - Configuration file location
This is a great solution to this
On 05/09/2006, at 2:47 AM, Andreas Guther wrote:
I think I am missing a piece of information here with the proxy
(http://localhost:8080/proxy/ in your example). If I look at my
Tomcat
installation, there is no context specified with the name proxy. How
can that possibly work?
proxy is a
Well, primarily, there's test and site at the same level as main...
-Stephen
On 9/4/06, Dave Comeau [EMAIL PROTECTED] wrote:
Are there any examples out there that use addition src/ directories besides
main/ ?
I have never had the need for this in my projects, but I realize that it
provides
My experience is that this won't work for people who have not manually
installed the shared project; the dependency won't be downloaded from
an internal repository, it will only try central (you won't see this
if you use a proxy mirror for central I guess). I believe the
correct way to do this
Hi Max,
Page 58, in Better builds with Maven explains how to achieve this.
Essentially you have to do the following.
dependencies
dependency
groupIdorg.codehaus.plexus/groupId
artifactIdplexus-container-default/artifactId
version1.0-alpha-9/version
exclusions
I have been doing some searching on this forum, and since there seems to be
no way of using a root directory, is there a way to use the basedir of a
module, or a specific pom (or any other environmental variables for that
matter)?
Thanks
Fox
--
View this message in context:
Sorry, I can't understand you really.
Why do you want to use the basedir?
What's your target? For example...
foxcoll wrote:
I have been doing some searching on this forum, and since there seems to
be no way of using a root directory, is there a way to use the basedir of
a module, or a
I stopped using the URL for parent or master poms. Instead I deploy a
shared pom to our internal respository.
You have to make sure that the using pom defines either the repository
where you deployed the master pom or have it defined in your
settings.xml. Either way you have to provide to maven
Alexander Sack-3 wrote:
I've just started using Maven2 with Eclipse
Hello,
Which eclipse plugin fo Maven2 do you use?
I downloaded Mergere's plugin(0.0.9), but it don't work.
:(
a cup of Java, cheers!
Sha Jiang
--
View this message in context:
The one off of codehaus off of the main Maven2 apache page. Works for me
for the most part. I don't like the fact that everytime I make a change to
ANY pom it reads all of them. Very slow.
-aps
On 9/4/06, jiangshachina [EMAIL PROTECTED] wrote:
Alexander Sack-3 wrote:
I've just started
Hi Fox,
Not sure what you mean by the root directory, but a basedir of a module
can be accessed by ${basedir}
Or you may define a variable in your POM
properties
BuildDir/home/lakshman/Build/try/BuildDir
/properties
And refer to it by ${BuildDir}
Thanks
Lakshman
-Original
81 matches
Mail list logo