Dear all,
I was having some doubts regarding Maven's ability to handle properly
concurrent builds. Lately, I had several builds of our project that
failed and it seemed that it was due to interferences between concurrent
builds of the same version of the same project.
I have a jenkins
Hi Guillaume,
Guillaume Polet wrote:
Dear all,
I was having some doubts regarding Maven's ability to handle properly
concurrent builds. Lately, I had several builds of our project that
failed and it seemed that it was due to interferences between concurrent
builds of the same version of
Hi,
I'm using Maven 3 and the m2e Eclipse plugin.
Normally i import my Maven projects into Eclipse using the Import /
Existing Maven projects.
There are some cases where this option doesn't seem to be available e.g.
(with EGit) so I need an alternative method.
Can I use the Maven eclipse:eclipse
Always use a different local repositories for different projects in Jenkins.
You can do this by setting the system property
-Dmaven.local.repo={project_workspace_dir}
Regards,
Srinath.
On Wed, Mar 7, 2012 at 1:59 PM, Jörg Schaible
joerg.schai...@scalaris.comwrote:
Hi Guillaume,
Guillaume
OK, good to know. Somehow, I always assumed that Maven was actually
handling concurrency safely.
Too bad that we have to waste extra space to handle this, but at least
there are easy workarounds.
Cheers
Guillaume
Le 7/03/2012 11:41, Srinath C a écrit :
Always use a different local
Hi.
We have made some archetypes that we use internally, but they contain much
of the same code. We would like to avoid the risk of updating one
archetype, but forget the others when making changes in the code they have
in common.
We are using Springsource Tool Suite and Maven to create bundles
:-) we tag our repo with branchname!RP-BL-mavenlabel to help in location. Rp
is for release prepare and bl is for baseline (carryover from clearcase
terminology)
Just remember that in git a hash doesn't belong to a branch, it is simply
attached to a linked list of hashes. A branch is simply
You can use -Dmaven.repo.local in your builds to use separate cache repos. I
assume you already made sure that jenkins was compiling in separate workspace
areas? Otherwise as he said, it would probably trip over itself as any other
builder would.
Sent from my Blackberry.
- Original
I saw that sonatype was collaborating with m2e and egit to make a plugin that
does both. Just providing the info here so you can google it properly to find
your solution!
Sent from my Blackberry.
- Original Message -
From: Marko Asplund marko.aspl...@ixonos.com
To:
Guillaume Polet wrote:
OK, good to know. Somehow, I always assumed that Maven was actually
handling concurrency safely.
Too bad that we have to waste extra space to handle this, but at least
there are easy workarounds.
If you use a repository manager in your intranet, you may simple wipe the
Le 7/03/2012 13:52, Jörg Schaible a écrit :
Guillaume Polet wrote:
OK, good to know. Somehow, I always assumed that Maven was actually
handling concurrency safely.
Too bad that we have to waste extra space to handle this, but at least
there are easy workarounds.
If you use a repository
Hi
I am in search for a nice way to compile all reports for a Maven build.
I have for instance JUnit results, findbugs results and code coverage
results (using Emma).
The maven site plugin does not really aggregate info so that I can get
the total number of findbugs bugs so I started to look at
Agree I have added some documentation here:
http://maven.apache.org/examples/maven-3-lifecycle-extensions.html
Let me know if it's fine.
2012/3/7 Tom Bujok tom.bu...@gmail.com:
Exactly, that is the case.
- afterSessionStart is a maven extension,
- afterProjectRead is a project extension,
Hi,
I am in search for a nice way to compile all reports for a Maven build.
I have for instance JUnit results, findbugs results and code coverage
results (using Emma).
The maven site plugin does not really aggregate info so that I can get
the total number of findbugs bugs so I started to
Hello.
Given is a multi module project. I could run mvn test from the base dir or
one of it's sub projects. Everything was fine. Now I wrote a unit test which
starts a servlet like container and some first tests. I started mvn test
from the sub project. Now I run mvn test from the base dir and
Yes you were right.
Here how I installed and use m2e
Install in following order:
1) Subclipse 1.6 including all options
2) m2e release (1.0)
3) from Window-Preferences-Maven-Discovery, Open Catalog: m2e connector for
maven-scm-plugin
4) from Window-Preferences-Maven-Discovery, Open Catalog:
Hi Roy,
I don't understand what 'tagging our repo' means. Is this a feature of
your remote repository? Sorry... I googled but I don't know what you are
saying...
But aside from that, I really don't care about git hash in this question...
let me explain what I'm trying to acheive...
As a
Jenkins also has a setting Use private Maven repository in the build
section of the job configuration which takes care of this for you.
Mike
On Wed, Mar 7, 2012 at 5:41 AM, Srinath C srinat...@gmail.com wrote:
Always use a different local repositories for different projects in Jenkins.
You can
properties cannot be used where they will affect the build plan.
Therefore the following xpaths are not allowed (it may appear to work,
but it will blow up in your face when you are not looking)
/project/parent/*
/project/groupId
/project/artifactId
/project/version
almost anywhere else is fair
Yeah, I just found out about this but it is in an advanced hidden by
default panel. I checked it for all my builds that could interfere with
each other. Seems kind of strange that this is not more obvious as not
checking it results unpredictable behaviour.
Sorry to the ML-users as this is
Hi Marko,
I'm using Maven 3 and the m2e Eclipse plugin.
Normally i import my Maven projects into Eclipse using the Import /
Existing Maven projects.
There are some cases where this option doesn't seem to be available e.g.
(with EGit) so I need an alternative method.
I use m2e + EGit for all
Seth.
I tried doing something similar to this using the
buildnumber-maven-plugin. It returns the branch and revision number (I
use Subversion, not Git), but looks like you're trying something
similar.
The problem I encountered (at least how I interpreted it) is that the
plugin doesn't run soon
Hi
I have as you a top "corporate" pom which defines all versions on
the plugings.
Maven itsels is at 3.0.2, findbugs is on latest 2.4 , emma is the
latest 1.0-alpha-3, the site plugin is actually only 3.0-beta-3.
Dashboard is on 1.0.0-beta-1 which seems to be
Sonar is the best form of build information integration.
http://www.sonarsource.org/
On Mar 7, 2012, at 8:02 AM, Lucas Persson wrote:
Hi
I am in search for a nice way to compile all reports for a Maven build.
I have for instance JUnit results, findbugs results and code coverage
results
A friend is using Ant + InstallAnywhere and I told him that I would
look into options for integrating it with his Maven builds. I am
familiar with izPack and other options but his company has an
investment in IA and going to another tool is not desired.
It looks like there is an Ant task provided
Hi All,
Complete newbie to Maven and newbie to build environments in
general. Using maven to build an internal project with the idea of
automating builds once I get things going. I originally started with
building the project using Maven inside of Netbeans which I was
eventually
On 2012-03-07 17:14, Lucas Persson wrote:
Hi
I have as you a top corporate pom which defines all versions on the
plugings.
Maven itsels is at 3.0.2, findbugs is on latest 2.4 , emma is the
latest 1.0-alpha-3, the site plugin is actually only 3.0-beta-3.
Dashboard is on 1.0.0-beta-1 which
This is your problem:
Could not find artifact
com.storagetek:VOP_MAVEN-parent:pom:1.0 in myISR
(file:///export/home/buildmaster/.m2/repository/)
This means there is no pom file corresponding to this artifact in your
repository. Whatever process you used to put those files into your
repo has a
Hi Wayne,
Thanks for the response.The parent .pom file is in the following
directory - does the repository declaration need to be explicit to the
module folder level?If so, how does it find different files within
the repository?
Hi Stephen,
Thank you for clarifying. That tells me what constraints I have to work
with, which is a big help.
Is there any intent to change these restrictions? I don't think anyone
wants to change version mid-run (I've seen in other threads where you
mention something about the reactor
Hi Matt,
Thanks for the pointer to the release plugin. My desire is to not control
the process of making branches or changing versions through plugins. I
want developers to be able to use git for things branch related, and use
maven for compile/build related.
I think the release-plugin is
My view is that there are places where stuff can be inferred, such as
groupId and version of children can be inferred *if and only if* the child
is always checked out with the parent (at the specified relative path)...
There are plans to tackle those cases.
There is, though a bit of a dual
Thanks for the response. The parent .pom file is in the following
directory - does the repository declaration need to be explicit to the
module folder level? If so, how does it find different files within the
repository?
I don't understand your questions. I don't have a repository
I tried declaring the local repository in the settings.xml file but that
resulted in the same error so I tried explicitly listing the repository
in the pom.xml 'repositories' section. Here is a cut/paste from my
pom.xml.I'm running the mvn install command from the same machine as
the
I consider archetypes as a service from Maven to get started a bit faster.
From what I've seen, JBoss Forge[1] looks like a better alternative for.
It claims to support incremental project enhancement.
-Robert
[1] https://docs.jboss.org/author/display/FORGE/Home
Op Wed, 07 Mar 2012 12:15:08
repository
idmyISR/id
urlfile:///export/home/buildmaster/.m2/repository//url
As I suspected, this is all horribly wrong. The ~/.m2 directory is
merely a repo CACHE. It DOES NOT function as a repository. Stop trying
to make this work. It does not and should not (metadata is different
among
Hi,
As you already mentioned: although Sonar gives you the best reports, it
requires a running Sonar application.
I once needed the static pages and the dashboard-maven-plugin seemed to be
the best solution.
I wasn't happy with the implementation and the number of open issues.
A long time
Just a little anecdote here on the pitfalls of branching maven projects
without some kind of control.
We have a SNAPSHOT version for trunk. We use the maven-release-plugin to
create our maintenance branches at release time. The plugin, by default,
uses the current dev version on trunk as the
Bad smell eh? Ok, here's my bad smell. Version numbers. Stinkier?
Version *numbers* in source code. More stinky than that? Version numbers
in source code for projects that are never released to the public.
I care most about the development process, and much less about the release
process. If
Matt, yes, thank you.
This is *exactly* what we encountered, too. Branching *is* an expression
of versioning; you have to reflect that in your pom, though, if some build
system is building all these various branches and pushing these artifacts
somewhere central. I referred to this problem in
On 7 March 2012 20:59, Seth Call sethc...@gmail.com wrote:
Bad smell eh? Ok, here's my bad smell. Version numbers. Stinkier?
Version *numbers* in source code. More stinky than that? Version numbers
in source code for projects that are never released to the public.
You are confusing two
On Thu, Mar 8, 2012 at 3:24 AM, Wayne Fay wayne...@gmail.com wrote:
A friend is using Ant + InstallAnywhere and I told him that I would
look into options for integrating it with his Maven builds. I am
familiar with izPack and other options but his company has an
investment in IA and going to
Thanks for replying Stephen. Inline to your inline!
Seth
On Wed, Mar 7, 2012 at 3:42 PM, stephenconnolly [via Maven]
ml-node+s40175n5545703...@n5.nabble.com wrote:
On 7 March 2012 20:59, Seth Call [hidden
email]http://user/SendEmail.jtp?type=nodenode=5545703i=0
wrote:
Bad smell eh? Ok,
Hi folks,
I am not much of maven expert and many members of my team are even more
inexperienced when it comes to maven. So we are trying to keep it as
simple as possible for developers. The team is geographically
distributed in multiple locations.
In order to keep it simple, we have set up
I have experience on both IA ant and build executable. Ended up to
write a maven plugin ( ia-maven-plugin) and just invoke the
build/build.exe command line
-D
On Wed, Mar 7, 2012 at 2:03 PM, Ed Hillmann ed.hillm...@gmail.com wrote:
On Thu, Mar 8, 2012 at 3:24 AM, Wayne Fay wayne...@gmail.com
here is some code
public void execute()
throws MojoExecutionException, MojoFailureException {
Commandline cl = new Commandline();
cl.setExecutable( new File( this.iaLocation, build
).getAbsolutePath() );
cl.createArg().setFile( this.iaProjectFile );
Interesting.
What was the advantage you found to a custom plugin versus just executing
through Antrun?
On Wed, Mar 7, 2012 at 3:51 PM, Dan Tran dant...@gmail.com wrote:
I have experience on both IA ant and build executable. Ended up to
write a maven plugin ( ia-maven-plugin) and just invoke
Dealing with IA ant task thru maven is cumbersome. It is must simpler
just to invoke the command line.
-Dan
On Wed, Mar 7, 2012 at 4:22 PM, Ryan Wexler r...@iridiumsuite.com wrote:
Interesting.
What was the advantage you found to a custom plugin versus just executing
through Antrun?
On
I am using the ManifestResourceTransformer of the maven shade plugin to
create an executable jar from an existing jar.
I would also like to add the classpath and set a classpathprefix like you
can do using the normal maven jar.
addClasspathtrue/addClasspath
Hi all,
Using maven 3.0.3, I run archetype:crawl goal, it finds my installed archetype
and includes it in its generation of ~/.m2/repository/archetype-catalog.xml.
When I then run archetype:generate, it cannot find my archetype.
When I move ~/.m2/repository/archetype-catalog.xml to
Please also note that before invoking IA, we still need to do lots of
prep works to create a staging area to place all required files to be
consumed by IA. the prep works are done by various maven plugin such
as resource, dependency, antrun, etc
-D
On Wed, Mar 7, 2012 at 4:27 PM, Dan Tran
51 matches
Mail list logo