Hi,
We use the solution 3 suggested under
http://docs.codehaus.org/display/MAVENUSER/Maven+and+Integration+Testing?focusedCommentId=114787113#comment-114787113
and it works for us.
This article is not so old (Jan 09).
Best Regards
Jean-Claude
-Ursprüngliche Nachricht-
Von: Jason Voegel
Hi,
I've just setup config with buildnumber-maven-plugin using
${project.artifactId}-${project.version}-r${buildNumber}
as name for my artifacts.
But now when I try to run 'mvn jetty:run-exploded', I get a message from Jetty
stating it can't find
appname-1.1-rnull.
So it seems Jetty isn't a
1) The Maven convention and good practice is to put ressources files like
*.txt in src/main/resources.
2) The change you have is due to the new version 2.6 of the plugin which was
released few days ago. To avoid such a surprise in the future, the good
practice is to set the version of each plugin y
Before this week, running "mvn eclipse:eclipse" would put a line like
this in .classpath:
Now this week it is putting this line in .classpath instead:
We have some .txt files that sit alongside .java files in the package
structure in src/main/java. When running "mvn compile" all of those
.tx
Do someone know the solution for this? I am facing the same issue where I was
able to work for RELEASE but LATEST version identifier is not working.
--
View this message in context:
http://www.nabble.com/LATEST-version-tp19874662p22963778.html
Sent from the Maven - Users mailing list archive at
I believe that is the equivalent that Ivy used, yes.
- Brett
On 09/04/2009, at 7:12 AM, huser wrote:
Hi,
The developers setup the rev number in ivy.xml as
"latest.integration" for
project dependencies. Is there an equivalent of this in Maven ?
Revision
always pointing to latest SNAPSHOT
It relies on the period to do the path changes. That's not to say that
it's required - you can have groups and paths that are some-other-
value for example, but the convention is to use reverse-domain syntax
like Java packages, which should be more easily recognised by a
regular Maven user.
Anyone?
On 07/04/2009, at 8:56 AM, Lachlan Deck wrote:
Hi there,
Just a quick question: say I've got a fileset in the archetype
descriptor like so:
...
src/main/java
I would never consider defining a groupId value that didn't look like a
package name, but does Maven specify that groupId values have to be a
set of period-separated components? Apparently groupId values are
"translated" to directory paths, but is that because of a convention, or
a restriction
Hi,
The developers setup the rev number in ivy.xml as "latest.integration" for
project dependencies. Is there an equivalent of this in Maven ? Revision
always pointing to latest SNAPSHOT version (coming from Nexus) ?
Thanks,
--
View this message in context:
http://www.nabble.com/Equivalent-of-
The m2eclipse user list is more appropriate for this, but Igor found these
links:
http://www.mail-archive.com/ubuntu-b...@lists.ubuntu.com/msg728168.html
http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg21845.html
so it doesn't seem specific to M2e.
-Original Message-
From: sean
I am running eclipse under:
> java -version
java version "1.6.0_04"
Java(TM) SE Runtime Environment (build 1.6.0_04-b12)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b19, mixed mode)
When I do anything to add a dependency, I get a crash of the VM:
#
# An unexpected error has been detected by Ja
On Wed, Apr 8, 2009 at 10:22 AM, Jason Voegele wrote:
> I'm interested in knowing the current thinking on best practices for
> integration testing in Maven projects. I did find a few articles on the Web
> that discuss this issue, but they all are a bit old now. The most relevant
> article appear
Just noticed there is a plugin maven-overview-pluing at
http://code.google.com/p/maven-overview-plugin/ Looks like it creates a
graphic report of the dependencies. Not sure if it supports the version
numbers yet. Also, the m2Eclipse plugin has a nice view that shows the
dependency graph of artifact
I'm interested in knowing the current thinking on best practices for
integration testing in Maven projects. I did find a few articles on the Web
that discuss this issue, but they all are a bit old now. The most relevant
article appears to be this one:
http://docs.codehaus.org/display/MAVENUSE
> "Wayne Fay" wrote in message
> news:52bab8690904071513q6dc03722tbf6c57a788458...@mail.gmail.com...
> > I'm not quite sure I understand what you mean... It's not really sample
> > code; it is the jsp code for the application that I am building.
> > Currently
> > just the compiled jsp's are bein
Hello everyone,
I am looking for a reposrt that could provide me with the following
functionality:
->In a multimodule project, list all the artifacts of the project with their
version
->Be able to filter that list based on classifier, groupId,
Anything of the sort out there???
Sonia
--
Vie
Stephen,
as long as the plugin has its own groupId, the artifactId can be any thing.
-D
On Wed, Apr 8, 2009 at 8:43 AM, Stephen Connolly
wrote:
> Ehhh,
>
> FYI, AFAIK
>
> maven-_-plugin is reserved for o.a.m.p plugins
>
> all other plugins are supposed to use the pattern
>
> _-maven-pl
My original question was
>>1. How to distinguish snapshot build versions correctly? So that one
>>snapshot build would not overwrite previous one in the repository.
>
>You don't, that's not the purpose. If you truly care about a particular
>snapshot version, then it should have been a release. I
Ehhh,
FYI, AFAIK
maven-_-plugin is reserved for o.a.m.p plugins
all other plugins are supposed to use the pattern
_-maven-plugin
-Stephen
2009/4/8 Hubert Iwaniuk
> Maven Overview Plugin version 1.4 has been released.
>
> http://code.google.com/p/maven-overview-plugin/
>
> Maven Over
My coworker just found out that version 2.0 of surefire shows the correct
error msgs.So it seems that error handling was changed between them and now
it swallows the correct exceptions :-/
That would have saved a lot of time debugging this lol.
On Wed, Apr 8, 2009 at 7:45 AM, Tim wrote:
> That's
I think this is best discussed with the corresponding Archiva issue
rather than on the Maven end.
On 09/04/2009, at 12:33 AM, solo1970 wrote:
I nede to investigate the run-around you proposed, but by doing that
won't I
disable "Delete Artifact" for ALL the users I would need to
dis
Hy Jerry,
this is my only war-Project in Workspace. I'ts the only maven-Project in
Workspace.
Robert
Jerry Thome schrieb:
> We have a simple web app. We test locally using Tomcat and then deploy
> through various lifecycles which run WebSphere 6.1. Our JSP precompile
> process doesn't do any
We have a simple web app. We test locally using Tomcat and then deploy
through various lifecycles which run WebSphere 6.1. Our JSP precompile
process doesn't do anything IBM / WAS specific. Some of our JSPs are very
simple, and some are used by Spring.
We followed the instructions exactly as
Hi Robert,
Robert Einsle wrote at Mittwoch, 8. April 2009 15:39:
> Hy Kyle,
>
> i tried it several Times.
>
> But i will try again *gg*
>
> and ... mail-1.4.jar, activation-1.1.jar and servlet-api-2.2.jar are in
> WEB-INF/lib-directory ob war-File.
>
> I tried this time run Mavon from outside
Yes, Nexus 1.3 supports true mirrors.
http://www.sonatype.com/people/2009/03/new-feature-in-nexus-13-mirror-su
pport/
-Original Message-
From: CemKoc [mailto:cem.koc.fwd+nbl...@gmail.com]
Sent: Wednesday, April 08, 2009 7:05 AM
To: users@maven.apache.org
Subject: Re: mirrors, oh mirrors
Hi Hervé and All,
what's the best way to add a new report? I would like to run some
integration tests and generate a report to be added to the site. How
can I do it?
Thanks in advance,
Ste
On Fri, Sep 12, 2008 at 2:53 PM, Hervé BOUTEMY wrote:
> Le vendredi 12 septembre 2008, Junco Hueco a écrit
I need to investigate the work-around you proposed, but by doing that won't I
disable "Delete Artifact" for ALL the users I would need to disable it
only for one user, because we need the "Delete Artifact" functionality for a
group of us who are SCMs.
Sonia
brettporter wrote:
>
>
> O
I would like to create a zip of my complete project binary artifacts. (Also
one of sources and javadocs would be a bonus.) The project has many modules
and I need the resulting zip to structure the contents so each module has
its own folder containing it's artifact (jar, swc, etc) plus any runtime
> In a previous company, the snapshots were not used by qa, all
> deliveries to qa where release builds. We used a 4 digit
> versioning where the last number was just a build number. We
> did this because it wasn't known ahead of time if a given
> build would pass qa and be officially release
That's work!
Thanks for the help
Florian Cavagnini
IT / Gestion de Configuration
Immeuble Lumière
40 avenue des Terroirs de France
75012 Paris
T +33 1 57 22 55 83
E florian.cavagn...@ingdirect.fr
-Message d'origine-
De : Robert Hanson [mailto:iamroberthan...@gmail.com]
Envoyé : mercred
>So your formal releases are produced by manually running the release
> >plugin? And if it fails, you manually do a rollback,
> depending on the
> >failure?
>
> Yes, we manually roll it back. It's not too bad with svn, but
> a bit annoying I'll admit. We haven't tackled the release tools yet.
Hy Kyle,
i tried it several Times.
But i will try again *gg*
and ... mail-1.4.jar, activation-1.1.jar and servlet-api-2.2.jar are in
WEB-INF/lib-directory ob war-File.
I tried this time run Mavon from outside of eclipse on command-line.
Robert
Kyle Bober schrieb:
> Restarting you development
>Regarding snapshots and the way your QA works it all looks like you have
>adjusted your team workflow to the features the maven tool provides.
Yes, this comes from years of using the tool, but is also adapted to our
current environment.
>And
>these features are not so flexible to cover all re
Restarting you development environment will not remove the maven target
directory and artifacts. Try running the following Maven command 'mvn clean
package' and check the contents of the
target//WEB-INF/lib
-Kyle
On Wed, Apr 8, 2009 at 9:27 AM, Robert Einsle wrote:
> Hy,
>
> i think i run it s
Hy,
i think i run it several times, incl restart of my Developementenvironment.
Robert
Kyle Bober schrieb:
> That should work the way you have it configured. Did you run the clean
> goal after you changed the dependency scope to provided. This will
> make sure that a previous build that may have
That should work the way you have it configured. Did you run the clean goal
after you changed the dependency scope to provided. This will make sure that
a previous build that may have contained the dependencies is completely
removed.
-Kyle
On Wed, Apr 8, 2009 at 5:22 AM, Robert Einsle wrote:
>
Maven Overview Plugin version 1.4 has been released.
http://code.google.com/p/maven-overview-plugin/
Maven Overview Plugin graphs your Maven dependencies. You can use it
in plugin or report mode to generate just graph or integrate with site
generated by Maven respectively.
This release improves
That's good to know :)
I can double check but that is probably not what is happening here since it
is defined in the parent pom as junit 4.
On Wed, Apr 8, 2009 at 7:15 AM, Jörg Schaible wrote:
> Hi Tim,
>
> Tim wrote at Mittwoch, 8. April 2009 14:05:
>
> > Unfortunately not. It seems however tha
Hi Tim,
Tim wrote at Mittwoch, 8. April 2009 14:05:
> Unfortunately not. It seems however that surefire is actually giving the
> wrong stacktrace.
> When I run this via the cli using the classpath that surefire says it is
> using I get a different exception.
> It seems that a dependency was missi
Unfortunately not. It seems however that surefire is actually giving the
wrong stacktrace.
When I run this via the cli using the classpath that surefire says it is
using I get a different exception.
It seems that a dependency was missing at that point. When I added it, I got
a new exception instead
Thanks for clear explanation.
I have updated my maven to 2.1.0 a few minutes ago. (I was using 2.0.9)
Now,
I have tried it again, and result is same. It tries to fetch from local
repository.
I will submit a bug in JIRA tonight.
Thank you
It depends. Maven is supposed to provide that base
It does but that actually includes all SNAPSHOT versions. If you aren't
interested in snapshot versions as well that that will break.
On Wed, Apr 8, 2009 at 2:16 AM, Stephen Connolly <
stephen.alan.conno...@gmail.com> wrote:
> sounds like you want version ranges
>
> [1.0,2.0-!)
>
> Sent from my [
Version ranges seem to totally break reproducibility of released builds.
Personally, I'd like to see these eliminated from Maven altogether and
replaced with a separate version compatibility field that indicates
which versions of a dependency you are compatible with but still have a
specific vers
On Wed, Apr 8, 2009 at 1:28 PM, CemKoc
> wrote:
>
> Hi Stephane,
>
> I have some questions for you.
>
> 1 - Why are the default locations of war and ejb projects.
It depends. Maven is supposed to provide that based of your environment. If
you're running a reactor project, it will fetch the buil
I mean
1 - What are the default locations of war and ejb projects.
Sorry for typo
Thanks
Hi Stephane,
I have some questions for you.
1 - Why are the default locations of war and ejb projects.
2 - In this scenario, without installing to a local repository and ejb project
we can not pro
Hi Stephane,
I have some questions for you.
1 - Why are the default locations of war and ejb projects.
2 - In this scenario, without installing to a local repository and ejb project
we can not produce an ear file. Is it normal?
Thanks
The ear plugin just uses the standard maven API. It r
The ear plugin just uses the standard maven API. It relies on the Artifact
interface that should return the location of the file (target of the module,
local repository, etc).
I don't see much trouble here but if you can confirm this scenario with EJB
modules only, just file an issue with a projet
2009/4/8 Sergey Shcherbakov
> Thank you Brian,
>
> The way we currently prevent developers from deploying their local
> builds to the repo are the security permissions. But I have understood,
> that some kind of a repo-managing system should be used for more
> flexibility.
>
> Regarding snapshots
Is there any solution about this problem?
I'd like mirrors to provide multiple alternate locations. I put the
improvement request here: http://jira.codehaus.org/browse/MNG-3772
Cheers,
Szczepan
--
View this message in context:
http://n2.nabble.com/mirrors%2C-oh-mirrors-tp1125603p260456
On Tue, Apr 7, 2009 at 5:12 PM, Mykel Alvis wrote:
> When performing a release, I want to place an identifier into the release
> tag commit message (in subversion, in my case).
>
> Pasted directly from my command line running maven 2.0.9 with release plugin
> 2.0-beta-9:
>
> $ mvn -B -DscmCommentP
I have checked source of ear plugin in limited time, I noticed in EarMojo class:
public void execute()
final File sourceFile = module.getArtifact().getFile();
final File destinationFile = buildDestinationFile( getWorkDirectory(),
module.getUri() );
...
...
...
unpack( sourceFi
Hi all,
We have a project consisting an ear, a web module and a ejb module.
Project POM
|
|EJB POM
|
|WAR POM
|
|EAR POM
We are calling "mvn clean package" statement for 'Project POM'. I noticed that
EAR plugin try to fetch modules from different folders.
For, War project it is
Strange - I have exactly that and I just did a test with 2.1.0 and it
worked just the same as with 2.0.9
(mvn deploy of a snapshot version)
com.nds.project
runtime
${runtimeVersion}
import
pom
Is it the core or a plug-in that is responsible for this?
/James
> -
Thanks for the quick update will do that.
On Wed, Apr 8, 2009 at 10:21 AM, Brett Porter wrote:
> This change was by design in 2.1. You should be overriding the version in
> the child by specifying the dependencyManagement section again.
>
> - Brett
>
>
> On 08/04/2009, at 7:09 PM, Ben Storey wro
Hy List,
i've configured dependencies (libraries) als Scope "provided", and
would aspect they are not packed to the destination war-File.
--- cut ---
javax.servlet
servlet-api
2.2
provided
javax.mail
mail
1.4
provided
This change was by design in 2.1. You should be overriding the version
in the child by specifying the dependencyManagement section again.
- Brett
On 08/04/2009, at 7:09 PM, Ben Storey wrote:
Hi,
We ran into a problem I thought I would make you aware of one of my
colleagues was running maven
Hi,
first time here.
I found an issue with the escaping/interpolation of paths under
windows, using the goal "copy-resources"
Example:
${basedir} ===> C\:\\Some\\Path
Where of course the "\:" thing will take down my application
A quick test and a quick search revealed that this issue has been
f
Hi,
We ran into a problem I thought I would make you aware of one of my
colleagues was running maven 2.1 and we were all running maven 2.0.9
When deploying with version 2.1.0 and you have properties setup like the
following in the root project.
1.1
…
Hi,
I'm using profiles to define properties in a project.
I defined a property in each profile.
Now I added this property to the maven-assembly-plugin as value for the
goal.
This worked fine in Maven 2.0.10 but in Maven 2.1.0 it gives me an error:
[ERROR] BUILD ERROR
[INFO]
-
Thank you Brian,
The way we currently prevent developers from deploying their local
builds to the repo are the security permissions. But I have understood,
that some kind of a repo-managing system should be used for more
flexibility.
Regarding snapshots and the way your QA works it all looks like
sounds like you want version ranges
[1.0,2.0-!)
Sent from my [rhymes with myPod] ;-)
On 8 Apr 2009, at 01:39, Tim wrote:
http://jira.codehaus.org/browse/MNG-4089
I need to read over the bug that was linked as a duplicate more
closely but
I don't think it's the same thing.
What I asked for
62 matches
Mail list logo