You really made my day. Thank you very very much.
You're welcome!
I dont know how to thank you.
Just take a little time once in a while to answer a question in this
list Yourself ... :)
-
To unsubscribe, e-mail:
Another idea might be:
1. In Your Maven project, create a text file with the following content:
http://your-nexus/your-nexus-repo/${project.artifactId}-${project.version}.${project.packaging}
2. Use the 'resources:copy-resources' with 'filtering=true' to copy the
file somewhere and get its
Are you using a pluginManagement section in your parent POM? The following
works for me (I'm using Maven 2.2.1):
...
build
pluginManagement
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
Hi all,
I've configured checkstyle for a project.
1. If I use the default check style, all works.
2. If I use a absolute path in file system
configLocation//xxx\yyy\Checkstyle\ISPA_checkstyle.xml/configLocation
The same error as with 3. Happens!
3. If I use:
I'm hoping somebody can tell me what I'm doing wrong here. I have a
multi-module project that I've trimmed down to the bare minimum but still
represent my original structure:
Example_maven_aggregator
---Project1
---Project2
---sub-aggregator
--SubProject1
--SubProject2
Hi all,
I'm having a problem with maven assembly plugin. It happens that I have a
child pom with relative paths and when I hit assembly:assembly the
environment becomes corrupted (that doesn't happen if I hit mvn install,
package whatever in both project's pom directory or in the root of the
I tested your project with maven 2, using site-plugin-2.2 I can
reproduce the problem, using current 2.3-SNAPSHOT it's fixed. Can you
confirm?
-Lukas
Harpel, Craig wrote:
I'm hoping somebody can tell me what I'm doing wrong here. I have a
multi-module project that I've trimmed down to
Yes I am using Maven 2.2.1 and it may not be an option to update to Maven 3.0.
I have put the release-plugin configuration into pluginManagement as you
suggested. I ran effectivePom and I see the following configuration in each of
my module projects
plugin
that goal is deprecated if I recall correctly use the single goal instead
- Stephen
---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 16 Feb 2011 12:40, Rui Vilão rpvi...@gmail.com
Hi,
One of the main advantage of Maven is its uniform build system that uses
centrally located plugins. In our development environment, we have base POM
where all plugin versions are explicitly mentioned as below example.
plugin
artifactIdmaven-compiler-plugin/artifactId
On Wed, 16 Feb 2011 19:35:07 +0530
Prashu Negu prashu.n...@gmail.com wrote:
Hi,
One of the main advantage of Maven is its uniform build system that
uses centrally located plugins. In our development environment, we
have base POM where all plugin versions are explicitly mentioned as
below
note that it will tell you about updates, not whether those updates require
a newer version of maven to be used
- Stephen
---
Sent from my Android phone, so random spelling mistakes, random nonsense
words and other nonsense are a direct result of using swype to type on the
screen
On 16 Feb 2011
Well, here's how I did it. It sure ain't pretty, but it works!
Briefly, I grab the set of artifacts from a MavenProject. Usually because
I'm doing this from within a plugin whose dependency resolution has been set
to test, these artifacts are resolved already, which is convenient, and I
don't
I should also mention I can't guarantee the assertion statements, as there's
no documentation indicating, for example, whether Project.getArtifactMap
ever returns null. I'm also supplying what I *think* is the proper key
format for the map, but can't be sure, as that isn't documented either. I
Sorry for being dense, but I don't see a 2.3-SNAPSHOT; where can I grab it
from?
-Original Message-
From: Lukas Theussl [mailto:ltheu...@apache.org]
Sent: Wednesday, February 16, 2011 7:49 AM
To: Maven Users List
Subject: Re: Missing links in site generation of multi-module project
Hi,
Thanks for the quick response.
I did that and now I'm getting the following error (see bellow).
My descriptor is very simple:
assembly xmlns=
http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=
http://maven.apache.org/guides/development/guide-testing-development-plugins.html
HTH,
-Lukas
PS sorry, dense too :)
Harpel, Craig wrote:
Sorry for being dense, but I don't see a 2.3-SNAPSHOT; where can I grab it
from?
-Original Message-
From: Lukas Theussl
No. You should work the other way around; start with the pom and use
m2eclipse to set up the eclipse project.
/Anders (mobile)
Den 16 feb 2011 01.32 skrev Andrew Hughes ahhug...@gmail.com:
Hey,
Is it possible for a parent to effectively inject (or override) this
section of a module's pom.xml?
Got it! Yes, I can confirm that 2.3-SNAPSHOT does indeed fix my problem.
Thanks a lot!!
Craig
-Original Message-
From: Lukas Theussl [mailto:ltheu...@apache.org]
Sent: Wednesday, February 16, 2011 11:01 AM
To: Maven Users List
Subject: Re: Missing links in site generation of
That pretty much kills this idea. Too bad AWT doesn't have an *api*
for creating a local headless bubble.
On Tue, Feb 15, 2011 at 11:35 PM, Stephen Connolly
stephen.alan.conno...@gmail.com wrote:
stupid phone. stop sending empty messages.
ok. what i was trying to say us that there are enough
Hello Maven Users!
Probably this question was already asked, so if there is an answer
which I could not find - please point me to the right place.
I'm working on an enterprise project where maven integration plays a huge role.
However the project is big as a lot of teams are working on it and
How about hudson?
Hudson can watch for svn changes and trigger builds on commit.
regards
Leon
On Wed, Feb 16, 2011 at 5:46 PM, Zilvinas Vilutis cika...@gmail.com wrote:
Hello Maven Users!
Probably this question was already asked, so if there is an answer
which I could not find - please
Yes,
However it does a full build which takes ~30-40 minutes. But I want
to build only specific projects and their dependents.
Regards
Žilvinas Vilutis
Mobile: (+370) 652 38353
E-mail: cika...@gmail.com
On Wed, Feb 16, 2011 at 9:54 AM, Leon Rosenberg
rosenberg.l...@gmail.com wrote:
How
You first need analyze the change level in every component, maybe split a
project in more subprojects, so the 'static' code could be managed like a
external library, this is, compile it and upload to Maven Proxy, and the
changeable code only get from subversion.
2011/2/16 Leon Rosenberg
There is an option Incremental build - only build changed modules under the
advanced section of the Build options (for an M2 build).
If checked, Hudson will only build any modules with changes from SCM and any
modules which depend on those changed modules, using Maven's -amd -pl
Oh, the -pl option seems to be one of the possible solutions.
Thank you!!
Žilvinas Vilutis
Mobile: (+370) 652 38353
E-mail: cika...@gmail.com
On Wed, Feb 16, 2011 at 10:21 AM, Nord, James jn...@nds.com wrote:
There is an option Incremental build - only build changed modules under the
Maybe this question will expose my ignorance, but I thought most build
systems only build the things that have changed unless you do a clean each
time or are starting from a fresh checkout as opposed to doing an svn
update and then running the build.
Being new to Maven myself, there could there
You mus consider a core section, that contain your business main code,
usually you don't change it. Around it, is the implementation of the
requirement.
2011/2/16 Jeff predato...@gmail.com
Maybe this question will expose my ignorance, but I thought most build
systems only build the things
trust me, not so easy :)
our project has like 20 subsystems which all have 5-10 sub-projects.
Our core is extracted into a separate dependency maintained by
another team, it is also managed by maven ( ~30 subsystems, 10-50
projects each ).
Yes, daily updates happen on 5-10 projects, that is why
This is what Build Management Servers can do for you. It could poll each
project each morning and only build the ones that have changes.
Curt Yanko | Continuous Integration Services | UnitedHealth Group IT
Making IT Happen, one build at a time, 600 times a day
If you have a CI server already building everything, why do you need to build
everything every morning? Can't you just checkout only the one module you need
to change and build that?
-Original Message-
From: Zilvinas Vilutis [mailto:cika...@gmail.com]
Sent: Wednesday, February 16,
yes, we could set this up.
However there's 2 things:
- We're working with SNAPSHOT versions most of the time with CI you
can hardly control when to use YOUR code versus from the repo in a big
projcet
- I'm working in a client's office and the network latency between our
office and clients office
On 02/15/2011 12:58 PM, Steve Cohen wrote:
I can set the permissions of fileSets and moduleSets and
dependencySets in the maven-assembly-plugin, but it seems from the
online documentation that I can't do so on the baseDir. What is more,
when assembling a zip format, the perms default to 777. At
you can also use the dependency plugin to copy/fetch files and strip
off the version.
On Wed, Feb 16, 2011 at 3:37 AM, Marc Rohlfs pomar...@googlemail.com wrote:
Another idea might be:
1. In Your Maven project, create a text file with the following content:
Hi,
I'm using maven antrun plugin to shutdown the hsqldb connection after the
unit test.
I have binded the antrun run goal with the post-integration-test.
And in that goal I'm actually running a sql script having shutdown command.
when I run the mvn post-integration-test in the parent
You could control your dependencies by checking out which ever dependencies you
care about and ensure you build those as well. Normally, you would just want
the snapshot versions anyway. There is also a properity in your settings.xml
file to instruct maven to never check for updates. To get
Theoretically - yes
Practically - no
We were using the approach with CI and snapshots from the repo long
time ago, however in a lot of cases we came to a case where the
project does not compile or work as expected when having different
snapshot versions, or takes just a very long time to at least
is there a fork / no fork mode?
Use no-fork to create a separate JVM instance for hsqldb...if possible
Regards
-
nothing is impossible
--
View this message in context:
Ok. You should be able to achieve the same result by configuring your
settings.xml file to never update snapshots. That way you have more control.
When you want to get latest snapshots, issue mvn -U install.
You don't need to do a full build AND you will only be using artifacts in your
local
You don't need to do a full build AND you will only be using artifacts in
your local repository. Sounds like its exactly what you want.
Exactly :) When doing it incrementally - that's how it should work
when building only changed projects and their dependents, what the
original question was
This sounds like you need to do more svn updates on projects you are working
on. My suggestion would be to do that SVN update on those projects, resolve
any conflicts, and then run the maven install. This will make your version
into the latest in your repository.
It may also help if you
This sounds like you need to do more svn updates on projects you are working
on. My suggestion would be to do that SVN update on those projects, resolve
any conflicts, and then run the maven install. This will make your version
into the latest in your repository.
That's what I do every
On Tue, Feb 8, 2011 at 8:13 PM, Mathias Nilsson wicket.program...@gmail.com
wrote:
Hi again,
I have fixed this now but it didn't help with just mvn clean:clean install
to get it in the local repository. I also needed to mvn eclipse:eclipse on
all referencing projects to get it to work.
On Wed, Feb 16, 2011 at 2:44 AM, Mathias Nilsson
wicket.program...@gmail.com wrote:
I still can't build my applications. My dependency to my own project is not
included! It will be included if I build it to repository and delete it
from
eclipse!
Did you follow my original advice?
Stop
On 02/15/2011 11:35 PM, Stephen Connolly wrote:
there are enough people out there who
use mvn exec:exec to run their swing apps
Do you mean exec:java? (exec:exec -Dexec.executable=java would be unaffected.) It's not a very good idea to run an arbitrary app this way, since there are plenty of
I have an internal repository, Archiva, setup and running. I uploaded a
library using the Admin UI that comes with Archiva. On my personal machine I
can fetch the library with Maven but on 2 others I can't get it. When I browse
the repository I see it added a timestamp to the jar name. Is
Hi Shay,
Was the settings.xml properly configured in the other 2 machines?
Btw, you may want to move this over to users@archiva.a.o instead :)
Thanks,
Deng
On Thu, Feb 17, 2011 at 1:03 PM, Shay Thompson sthom...@adobe.com wrote:
I have an internal repository, Archiva, setup and running. I
Settings.xml is exactly the same on all machines.
I wasn't aware of an archiva list nor am I sure this is an archiva problem..
*shrug*
-Original Message-
From: odeach...@gmail.com [mailto:odeach...@gmail.com] On Behalf Of Deng Ching
Sent: Wednesday, February 16, 2011 11:39 PM
To:
You are asking about your Maven settings.xml?
The file should be called settings.xml (note case!) not Settings.xml on
platforms and filesystems that filename case-sensitive. For example,
Settings.xml would work on Windows/NTFS but not on Unix or Linux, where
only settings.xml (lowercase)
Outlook likes to capitalize. My file has a lower-case s.
-Original Message-
From: Ben Caradoc-Davies [mailto:ben.caradoc-dav...@csiro.au]
Sent: Wednesday, February 16, 2011 11:58 PM
To: Maven Users List
Cc: Shay Thompson
Subject: Re: Repository Confusion
You are asking about your Maven
My problem now is that even if I have added my project as reference Spring
won´t recognize my beans. Is there a change with this for 2x and 3x? Why
isn't my project added as a var as it always has on the pc?
--
View this message in context:
What's the exact error you're getting in Maven for the 2 machines?
-Deng
On Thu, Feb 17, 2011 at 2:35 PM, Shay Thompson sthom...@adobe.com wrote:
Outlook likes to capitalize. My file has a lower-case s.
-Original Message-
From: Ben Caradoc-Davies [mailto:ben.caradoc-dav...@csiro.au]
52 matches
Mail list logo