I am no maven expert. AFAIK, only if it is SNAPSHOT (the one that ends
with -SNAPSHOT) version then maven checks the timestamp etc. against the
remote repository. Otherwise Maven always prefers the one in the local
repository if one is available there. In your case, the artifact version
looks t
Continuing on this thread I would also like to put a doubt(misconception)-
Until yesterday I used to think that if I have an artifact on local
repository + remote repository with same groupId-artifactId-version. The
maven will take the one which is built at a later time or some system
property atta
Thanks, Dan. I've filed a report and attached a cut-down version of the
project and files. I hope it's helpful.
Dave
Dan Tran wrote:
file a jira with a producable jrxml, i will give it a try
thanks
On Feb 7, 2008 2:37 PM, David C. Hicks <[EMAIL PROTECTED]> wrote:
Good thought, but I was
Arun, you can also define the property on the command line that you
execute Maven from: mvn -Dmaven.test.skip=true release
Arun P Johny wrote:
Hi all,
Thanks for the help.
I added true to my
.m2/conf/settings.xml active profile.
It is working fine now
Thank again for all your help
Ar
Hi all,
Thanks for the help.
I added true to my
.m2/conf/settings.xml active profile.
It is working fine now
Thank again for all your help
Arun P Johny wrote:
Hi,
Can anybody tell me how to disable execution of test phase during
maven2 build. I'm using maven 2.0.7
I don't want the tes
Erez Nahir wrote:
Created http://jira.codehaus.org/browse/SUREFIRE-452 and provided fix for it
as attachment.
I saw your bug; it seems to fail some of the integration tests, so I'm not
applying it right now.
Can someone from surefire team clarify when is the next minor release of
surefire-
Well, maybe you have a valid use case, but I don't think there's any support
for it. How do you create a nightly tag then? Couldn't you just run
release:prepare nightly, then run integration tests on the newly created
tag, and if succeeds, perform the release, otherwise abandon the tag. I
don't see
Haroon Rafique wrote:
For me when the error about "Failed to load Main-Class manifest attribute
from /tmp/surefirebooter???.jar" appeared, I re-ran the tests with mvn -X
and then opened up the /tmp/surefirebooter???.jar file. It is a .jar file
with only one entry META-INF/MANIFEST.MF. Inside the
Thank you for reply.
Are you saying that properties specified in POM can not be overridden with
-D option?
Igor
Wayne Fay wrote:
>
> You should put the properties in different profiles, and then specify
> which profile using -Penv1 when running Maven.
>
> Wayne
>
--
View this message in c
Unfortunately, the "-Dmaven.tests.ignore.failure=true" parameter does
not seem to have any effect on the build!
So, is there is something I need to define in pom.xml to activate this
feature, or something else?
I'm using:
Maven version: 2.0.7
Java version: 1.6.0_01
Os name: "Windows 2003" ver
file a jira with a producable jrxml, i will give it a try
thanks
On Feb 7, 2008 2:37 PM, David C. Hicks <[EMAIL PROTECTED]> wrote:
> Good thought, but I was already using 2.0.3. I did change it to 1.2.5,
> which is what the original Ant build was using, but that didn't make any
> difference, eit
I do; the pom.xml is identical to my workstation pom.xml. And the same
pom.xml works in Continuum 1.0.3.
On Feb 7, 2008 3:03 PM, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
> do you have scm element defined in the pom stored in your svn?
>
> Emmanuel
>
>
> On Feb 7, 2008 9:25 PM, Jan Nielsen <[EMA
You can almost certainly do this using the assembly-plugin
> -Original Message-
> From: 8 [mailto:[EMAIL PROTECTED]
> Sent: Friday, 8 February 2008 9:30 AM
> To: users@maven.apache.org
> Subject: [***POSSIBLE SPAM***] - Deploying a collection of
> Java class files - Sender is forged
Maven seems to have support in deploying single file artifacts like jars,
ears, wars, etc. However, my project requires me to deploy (via FTP) to a
particular directory on a machine all (or a selection) of my Java class
files - i.e. in an exploded form (not jarred). My project is not a war or
an
Dhruva Reddy wrote:
What exactly is a goal and what is a phase?
In maven 1, there were only goals, and goals were specific targets that
were embedded in specific maven plugins, a bit like an ant target.
So the jar plugin would have the jar goal which when run, would jar up
some classes.
You should put the properties in different profiles, and then specify
which profile using -Penv1 when running Maven.
Wayne
On 2/7/08, Igor Romanov <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have properties in a POM file I need to be able to override with
> command line –D option,
> to run build i
Good thought, but I was already using 2.0.3. I did change it to 1.2.5,
which is what the original Ant build was using, but that didn't make any
difference, either.
Dan Tran wrote:
this plugin uses 1.2.2 jasperreport, this may be the cause of your
issue. But you can overide it thou. see doc f
this plugin uses 1.2.2 jasperreport, this may be the cause of your
issue. But you can overide it thou. see doc for details
-D
On Feb 7, 2008 1:54 PM, David C. Hicks <[EMAIL PROTECTED]> wrote:
> I'm converting an existing Ant build to Maven, and I've encountered a
> sticking point with respect to
You must set the FROM address in
WEB-INF/classes/META-INF/plexus/application.xml
Emmanuel
On Feb 7, 2008 8:51 PM, Jakub Kozisek <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I want to get sending emails working, but when I'm trying to send
> validation
> emails or notifications, I'm getting this excep
do you have scm element defined in the pom stored in your svn?
Emmanuel
On Feb 7, 2008 9:25 PM, Jan Nielsen <[EMAIL PROTECTED]> wrote:
> In Continuum 1.1, installed as a WAR in GlassFish 9.1ur1 on Windows, I
> have a multi-module Maven 2 POM being uploaded with a POM Url:
>
> file:///c:/dev/myp
You've got it exactly right.
Maven builds are usually oriented around the concept of a lifecycle,
which consists of phases in a specific order. Each phase has zero or
more mojos (usually called goals) bound to it. Each phase in the
lifecycle implies all of the phases that come before it. Th
Hello,
I want to get sending emails working, but when I'm trying to send validation
emails or notifications, I'm getting this exception:
INFO | jvm 1| 2008/02/07 15:16:31 |
org.codehaus.plexus.mailsender.MailSenderException: Error while sending the
message.
INFO | jvm 1| 2008/02/
Hello,
I have properties in a POM file I need to be able to override with
command line –D option,
to run build in a different environments. How can I do this? Simple
example below doesn't work
as I expect it should, i.e. test.txt will contain FALSE after running
c:\temp\module> mvn -Dtest.result
I'm converting an existing Ant build to Maven, and I've encountered a
sticking point with respect to my Jasper reports.
Though it's not the preferred method for doing headers and footers, our
reports use some "imported" xml to provide the report header and footer
definitions. The xml is impor
I know this seems like a silly thing to post on here, but...
What exactly is a goal and what is a phase? I can't find a good answer in the
documentation and there's a lot of seemingly conflicting information out there.
My current understanding is that a phase is a part of a lifecycle
(process-
Thanks,
-Original Message-
From: L. J. [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 07, 2008 1:11 PM
To: [EMAIL PROTECTED]
Subject: Re: How to make Continuum ignore the failed junit tests and
continue with the build?
-Dmaven.tests.ignore.failure=true
On Feb 7, 2008 1:00 PM, Tawfi
There is already an issue for this in JIRA:
http://jira.codehaus.org/browse/MSITE-250
If you want to increase the possibility of it being solved, you should
vote for that issue.
Rahul Thakur wrote:
I don't think Maven can do this. You will need to delete the site
manually from the remote ma
-Dmaven.tests.ignore.failure=true
On Feb 7, 2008 1:00 PM, Tawfik, Sameh E <[EMAIL PROTECTED]> wrote:
>
>
>
> 1. Even though the build was not complete because of the failed junit
> tests in on of the sub modules, Continuum sent an email indicating the
> build is successful as follow:
>
>
> [conti
1. Even though the build was not complete because of the failed junit
tests in on of the sub modules, Continuum sent an email indicating the
build is successful as follow:
[continuum] BUILD SUCCESSFUL: MB1C 1.0 - Build Def: default maven2
buildDefinition
In the build output results, the fol
depends on the return value from
Since the return type is a serializable bean If you want to look at
reference for Serializable Beans I encourage you to read
http://java.sun.com/docs/books/tutorial/javabeans/persistence/index.html
M-
- Original Message -
From: "JavaGeek" <[EMAIL PROTECTE
The problem I see with conditional dependencies is that they define the
dependencies that Maven needs in order to build/test the artifact.
So if I do a build on java6, my conditional dependencies will exclude
javax.activation...
I assume the Release/deploy plugins will upload the effective pom fo
In Continuum 1.1, installed as a WAR in GlassFish 9.1ur1 on Windows, I
have a multi-module Maven 2 POM being uploaded with a POM Url:
file:///c:/dev/myproj/trunk/pom.xml
with appropriate username, password, "Defined by POM" project group,
and a checked "load only root as recursive build" and th
As I read it its not a dependecy coming form somewhere, but its a list of
available versions.
Maybe I'm wrong.
But following my assumption I find:
http://repo1.maven.org/maven2/org/apache/geronimo/specs/geronimo-jaxrpc_1.1_spec/maven-metadata.xml
which claims that there is only version 2.0.0 availa
Hi All:
I'm trying to wrap up our build process and I'm having again more trouble
with the javadoc plugin (v2.3). I have a multi module project organized:
pom.xml
module1
pom.xml
module2
pom.xml
etc.
In module1 (first one compiled, etc.), I have a simple pom that specifies
some dependencies
I have a antrun plugin set up in my POM file which does not specify a
goal as I want to run it on demand only. When executing from the
command line everything works as expected. However, if I attempt to run
any goals on the POM from within Eclipse using an External Builder to
initiate the command
I know they've been working on their applications lately as we've had another
question or two recently on this list related to bugs in their code/samples.
Please ask them directly (Geronimo Dev) why its not working.
(Looking at the error message, it seems like there is a dependency on 2.0.0
com
Created http://jira.codehaus.org/browse/SUREFIRE-452 and provided fix for it
as attachment.
Can someone from surefire team clarify when is the next minor release of
surefire-plugin planned?
Thanks,
Erez.
On Feb 6, 2008 11:37 PM, Erez Nahir <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm looking for a
Hi,
I'm trying to build geronimos daytrader application.
http://svn.apache.org/repos/asf/geronimo/daytrader/trunk
As I run 'mvn install' this comes up:
Couldn't find a version in [2.0.0] to match range [1.0,2.0)
org.apache.geronimo.specs:geronimo-jaxrpc_1.1_spec:jar:null
from the specified re
Thank you so much Nicole.
When you say:
Nicole Lacoste wrote:
>
> One thing is that all classes are required to have
> public constructors with either no-arg or String name. There are probably
> also requirements on public methods.
I think you're right. How did you figure this out? Also,
Sorry to hear that. I guess there's nothing left but wait for the next
release. Although, I could ask my colleague if we have a working copy of that
plugin and send it to you. You'll have to wait a bit though, 'cause he
already left. ;-)
On Thursday 07 February 2008 17:33, da Costa Oliveira, P
I have found a way to use maven to create both a release baseline
(non-SNAPSHOT) and a new development baseline. It isn't pretty and I'd
still like to know if there's a simpler way.
Here are the steps I followed to release version and 1.0.1 and start work on
1.0.2-SNAPSHOT:
1) Create a ClearCas
Good work Haroon, Thanks for the information.
In my case I'm getting the error on the command line.
My project has numerous subprojects and the error only occurs several
projects into the build so it will take some time to create a minimal
test case.
Donnchadh
On 07/02/2008, Haroon Rafique <[EM
Refreshes are configured.
I tried your suggestion, but .. No luck ;)
-Original Message-
From: Roland Asmann [mailto:[EMAIL PROTECTED]
Sent: jeudi, 7. février 2008 16:39
To: Maven Users List
Subject: Re: maven eclipse plugin workspace dependencies resolution
It appears there are still so
My first suggestion would be to version all the plugins you use, maybe in a
parent pom. Otherwise, builds that work now, will fail in the future, even your
tags, because of updated plugins. Been there, done that, got the T-shirt.
Hth,
Nick Stolwijk
-Original Message-
From: Joshua Polla
Hello,
Over the last few days this problem has been plaguing my development
team. At first I thought it was a problem with a specific projects use
of snapshot plugins and our internal repository cache (Artifactory),
but I just discovered it is happening on an internal project which is
not
I am trying to run the Sample Client, not familiar with Maven or Java for that
matter I am having some difficulties. I am able to 'mvn clean install' the
entire continuum application from the root and then invoke the webapp and that
all runs fine.
But how would one invoke the Sample Client for
On Today at 3:30pm, DD=>Donnchadh Ó Donnabháin <[EMAIL PROTECTED]> wrote:
DD> Hi Dan,
DD>
DD> When I switch from surefire 2.4 to 2.4.1 I get the error below.
DD> /tmp/surefirebooter22682.jar doesn't seem to even exist. Any idea what
DD> might be causing this?
DD>
Not knowing much about sure
Patrick Shea ps1.net> writes:
>
> When using a recursive maven project continuum does the right thing by
creating a project for each pom but it
> also means that the checkout will also be repeated for each project even if
it's not needed (ie: pom
> projects usually only contain one file, pom.xml
It appears there are still some bugs. My colleague suggests adding the
parameter 'eclipse.projectDir=${basedir}', although he isn't 100% sure this
will fix your problems...
He also suggests setting some (if not most) of these properties inside your
POM instead of in the launch.
One point I hav
On Today at 3:30pm, DD=>Donnchadh Ó Donnabháin <[EMAIL PROTECTED]> wrote:
DD> Hi Dan,
DD>
DD> When I switch from surefire 2.4 to 2.4.1 I get the error below.
DD> /tmp/surefirebooter22682.jar doesn't seem to even exist. Any idea what
DD> might be causing this?
DD>
DD> Thanks
DD>
DD> Donn
Hi Dan,
When I switch from surefire 2.4 to 2.4.1 I get the error below.
/tmp/surefirebooter22682.jar doesn't seem to even exist. Any idea what
might be causing this?
Thanks
Donnchadh
[INFO] Surefire report directory: /home/donnchadh/projects/ ...
/target/surefire-reports
Failed to load
Hi,
I'm running it from inside eclipse.
I've tried using
org.apache.maven.plugins:maven-eclipse-plugin:2.5-SNAPSHOT:eclipse
eclipse:clean eclipse:eclipse -Dmaven.test.skip.exec=true
-Declipse.workspaceToConnect=${workspace_loc}
-Declipse.useProjectReferences=true
-Dorg.apache.maven.global-set
Hi all,
as described in dashboard documentation :
http://mojo.codehaus.org/dashboard-maven-plugin/
you must add this in your pom.xml or settings.xml to use properly the
dashboard plugin:
Codehaus Snapshots
http://snapshots.repository.codehaus.org/
But even if this
Hi all,
as described in dashboard documentation :
http://mojo.codehaus.org/dashboard-maven-plugin/
you must add this in your pom.xml or settings.xml to use properly the
dashboard plugin:
Codehaus Snapshots
http://snapshots.repository.codehaus.org/
But even if this
Hi Stefan,
The reason that we don't have one master POM as a parent to all other POMs is
that we have multiple different products, all under independant source control.
These products may want to have differing master POMs. Also, we will be
overriding the central repository location in the glo
I did... the second command never worked... it complains that it cannot find
the dashboard-report plugin. I even set up the repository as mentioned and it
downloaded while generating site... but the second command doesn't work.
Thanks
Srinivas
x3126
-Original Message-
From: VUB Stefan
Try:
mvn org.codehaus.mojo:dashboard-maven-plugin:1.0-SNAPSHOT:dashboard
or whatever version you're using.
With regards,
Nick Stolwijk
-Original Message-
From: Nagesh, Srinivas (IS Consultant) [mailto:[EMAIL PROTECTED]
Sent: Thu 2/7/2008 4:03 PM
To: Maven Users List
Subject: RE: Mave
I asked my colleague, it could be that the parameter has changed. He suggests
trying 'eclipse.workspace'.
I presume you are running Maven from inside Eclipse, right? Or filling out the
correct path instead of '${workspace_loc}', because that is an
Eclipse-variable! (Forgot to mention that befor
Hi,
Adamson, Eric (DIT) wrote:
I'm working with the JACOB (Java-COM Bridge) library, and would like to
install its artifacts -- JACOB.JAR and JACOB.DLL -- into my local
repository. Installing the JAR was easy, but I'm unclear on how to
handle the native library. How does one manage this correc
I'm using maven-eclipse-plugin 2.5-SNAPSHOT.
Shouldn't it contain the latest code/fixes?
-Original Message-
From: Roland Asmann [mailto:[EMAIL PROTECTED]
Sent: jeudi, 7. février 2008 15:58
To: Maven Users List
Subject: Re: maven eclipse plugin workspace dependencies resolution
I happen
Quote:
To generate the site and the correct dashboard report, you must run the
dashboard report plugin in 2 passes :
# mvn site
# mvn dashboard-report:dashboard
You should execute these two commands on the command line.
regards,
Stefan
Nagesh, Srinivas (IS Consultant) wrote:
Hi Stefan,
Tha
I happen to know a little bit about this (mainly because my colleague created
these options ;-) ).
I believe that version of the plugin hasn't been released yet, although it
could be that a SNAPSHOT-release has been made. If not, check out the latest
sources and build it for yourself, it should
Hi Stefan,
Thanks for your response.
As you mentioned I am looking for a common report.When I try using the
dashboard-maven-plugin, I ran into the following problem
I went to http://mojo.codehaus.org/dashboard-maven-plugin/usage.html
1. Placed the dashboard plugin at the very end of the report
Hi All,
I'm trying to find a better way of using maven and eclipse in my team
(m2eclipse just creates to many problems with transient dependencies,
even in 0.0.12).
So .. while trying to use maven-eclipse-plugin, I came across the
"-Declipse.workspaceToConnect=${workspace_loc} " option
in http:
On 07/02/2008, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
> If you want different configurations, you have few solutions:
> - Define a profile that use the most recent jdk and configure source/target
> parameters on the compiler plugin in each projects
> - Remove the group build definition and add
There does not seem to be a way for the ordinary Continuum user to
find out what the schedules are - which makes it difficult to know
which one to pick.
Is this intentional, or is this a bug?
Put /conf/settings.xml on a shared drive, or replace
it with a symlink to a shared drive.
Why do you need to change the settings.xml anyway? Could it not be done
in a master pom that is the parent to all other poms? Then you can
simply deploy the master pom and you're done.
Stefan
Matthew T
If you want different configurations, you have few solutions:
- Define a profile that use the most recent jdk and configure source/target
parameters on the compiler plugin in each projects
- Remove the group build definition and add a new build definition on each
project linked with a specific prof
Hi,
Maybe you should check for a deployment/configuration system like bcfg2
or puppet.
Benoit
Matthew Tordoff wrote:
Hi all,
I just wondered if anyone has any best practises for updating the global
settings.xml in Maven. I have considered checking the conf folder into SVN, or
even potenti
On Feb 7, 2008 12:16 PM, Brett Porter <[EMAIL PROTECTED]> wrote:
> done - by the way these requests should go through the normal
> infrastructure channels
Thanks
Niall
> On 07/02/2008, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> > I have a continuum logon (niallp) - can I get admin rights to ma
Hi,
Thanks Rahul
Is there a way to pass the value through pom.xml file. Because I
don't want to pass the value every time as a command line argument
Thank you
Rahul Thakur wrote:
pass property -Dmaven.test.skip=true
Rahul
Arun P Johny wrote:
Hi,
Can anybody tell me how to disable
Hi all,
I just wondered if anyone has any best practises for updating the global
settings.xml in Maven. I have considered checking the conf folder into SVN, or
even potentially checking the whole maven install into SVN, then when changes
are made send out an email and people can just do an SVN
Found the solution...
he had his CLASSPATH environment variable set and it was pulling in
all sorts of junk from a previous version of the JDK
On Jan 18, 2008 12:36 PM, Stephen Connolly
<[EMAIL PROTECTED]> wrote:
> oh it gets stranger.
>
> we have no problems with javadoc:javadoc, only javadoc:ja
Still haven't found any hint :( Has anyone some idea?
DCVer wrote:
>
> Hello all!
>
> I am using docbkx-maven-plugin do create HTML pages from DocBook files and
> attach created HTML pages to site (using mvn site command - I define links
> to those pages using site.xml file). The only problem i
Hi,
I have to support Benoit here, I think it is a very useful use case. We
have never thought of going back when something fails but indirectly we
work around it.
We too have continuum running every night, and if all goes well and the
integration tests succeed, an application package is built
I'm not sure that this it's specific to our process (If this is the
case, we should probably change it :) ).
I don't think that is possible to have always a clean trunk/branch.
Let me explain our process:
Each developer commit their changes on the trunk.
Each hour, continuum check for changes an
Ah ok, I see what you mean, but I think it's specific to your process. I'd
assume that most projects operate so they require that the trunk/branch
builds cleanly, rather than releasing from a specific time
point/version/label. In your case, it'd mean reverting the trunk to 04 feb,
then doing the re
Image that we are working on the trunk. Every night a nightly snapshot
is created and deploy on a test servers and automatic tests are run
(they can last 4hours for a project).
on date 04 feb. every tests passed.
on date 05 feb. some tests are broken.
But on 06 feb we want to make a release (to
I don't understand what you are asking. release:perform doesn't do anything
else but runs deploy (and site-deploy) on the newly created tag; after
release:prepare, the release is already cut. If you want snapshots, why
don't you just deploy uniquely versioned snapshots nightly?
Kalle
On 2/7/08,
But I don't want to create an official version every night.
In the nightly version, there still have the -SNAPSHOT versions. So I
can't use release:perform to do it. I realy need to execute the
release:prepare from the nightly tag.
All projects here ask for this feature. I think this is a very
80 matches
Mail list logo