I'm not experienced with maven-surefire plugin (beyond simple use for unit
tests), but after merging configurations your execution looks as follows:
integration-test
integration
always
integration
So, integration group is added and excluded, that could be your problem.
You c
anders was right..setting M2_HOME to the maven deploy folder solved the problem
cwd $M2_HOME/bootls *.jar
plexus-classworlds-2.4.jar Cordialement..
Martin
__
> Date: Thu, 7 Jun 2012 11:16:47 +0200
> Subject: Re: newbie example for maven
> From: mh
Use env.smx.home
Environment variables are accessible via a prepended env.
On Thu, June 7, 2012 9:30 am, Martin Gainty wrote:
>
> Hi Nicholas I would set an environment variable to smx_home before calling
> mvn e.g.SET smx.home=${smx.home}cmd.exe /c mvn.execmd.exe /c only executes
> the windows
Hi Nicholas I would set an environment variable to smx_home before calling mvn
e.g.SET smx.home=${smx.home}cmd.exe /c mvn.execmd.exe /c only executes the
windows binary following /cunless of course if you pass /V:ON to Enable
delayed environment variable expansion (where using !var! will inpl
I think the bottom line here is that there are nuances to 'don't fight maven.'
Rearranging the tree within the reach of the various POM elements is
not a big deal. The big pain comes when you try to fight with the
workflow and artifact architecture.
---
I am trying to separate my unit and integration tests into testng groups. I
have them separated into different executions the maven-surefire-plugin
section of the pom (included at the bottom of this message).
When forkMode is set to never, the grouping is obeyed however in the tests
the @Before* m
I am not religious in either direction.
My comment was more of an invitation to try to see the difference
between what Ron has and what Eclipse and M2 would setup, given their
own devices.
From that, Ron could make a decision.
At Artifact, we try to follow Maven conventions as closely as possi
Hi RonA, Antonio & everyone,
On Thu, Jun 7, 2012 at 9:15 AM, Antonio Petrelli wrote:
> However I disagree with Ron, once you move to Maven, you'd better move
> in a clean way, so it's better to move directory as the Maven standard
> layout suggests.
Why? Maven does not require it. You can keep
2012/6/7 Ronald Albury :
> I have the project layout pretty clean - with one artifact per project (jar
> library, executable jar, war/ear). There are three top level applications
> that come out of the workspace - an ear and two runnable jar files. The
> jar libraries are shared across the three
Thanks Ron
The other fly in the ointment is that this is an IBM shop and we are
required to develop in IBM's RAD flavor of Eclipse. That doesn't mean we
can't add plugins - only that we can't go to STS.
I have the project layout pretty clean - with one artifact per project (jar
library, executab
> I'm getting very strange error in Glassfish 3.1.2. I have a WAB package
> with Primefaces. The WAB file is not deployed properly. This is the POM
> file:
First off, please don't post massive logs from someone else's product
here -- what do you expect the Maven Users list to do about your
problem
On 07/06/2012 8:59 AM, Ronald Albury wrote:
I have seen much documentation of importing a Maven project into Eclipse.
However, many of us have the opposite situation - we are starting with an
Eclipse set-up and have decided to migrate to Maven for the builds.
I did find one posting on the subj
My 2 cents.
Move from Eclipse to Eclipse STS from Springsource.
This gives you an Eclipse ready to go out-of-the-box with Maven and
everything else you need to develop in Java.
I believe that you can then add the maven nature to your project.
Adjust the Maven POM, if required, to point to your
I have seen much documentation of importing a Maven project into Eclipse.
However, many of us have the opposite situation - we are starting with an
Eclipse set-up and have decided to migrate to Maven for the builds.
I did find one posting on the subject - the author, like myself, was
intimidated
Greetings,
I need to execute a mavem pom from an ant script. here is the code of the
ant script:
The property smx.home is correctly displayed in the echo task but, as soon
in the maven pom it's definition is lost. However, it is defined with
-Ds
Would you please explain more clearly your idea?
On Thu, Jun 7, 2012 at 2:33 PM, Martin Gainty wrote:
>
> Hi PeterI tested with earlier version of 1.4.0insert a valid
> Bundle-Activator java class
> comment out Bundle-ClassPath which does not seem to be working properly
> with v=1.4.0
>
Hi PeterI tested with earlier version of 1.4.0insert a valid Bundle-Activator
java class
comment out Bundle-ClassPath which does not seem to be working properly with
v=1.4.0
org.apache.felix
maven-bundle-plugin
1.4.0
true
ejb
war
bundle
jar
OK,
Its downloading from Nexus repos and I guess they have been around for a
while.
I'm on Maven 2.2.1.
So I guess there's not much that can be done the fix Nexus other than
deleting its artifacts and redeploy them.
--
View this message in context:
http://maven.40175.n5.nabble.com/Maven-clea
It seems a Maven configuration problem, if you are working with Windows,
can you make : c> maven -version pour ensure thant maven is well installed
2012/6/7 abhijith tn
> Ensure you set the bin of Maven installation in classpath. Just google,
> setting classpath of maven.
>
> I think this should
Ensure you set the bin of Maven installation in classpath. Just google,
setting classpath of maven.
I think this should resolve the problem.
On Thu, Jun 7, 2012 at 10:27 AM, Anders Hammar wrote:
> Have you defined the M2_HOME env variable?
>
> /Anders
>
> On Thu, Jun 7, 2012 at 9:56 AM, Yaprak
Did you see if the artifact in the repo has an incorrect checksum deployed
to the repo? There are a couple of repos that did not enforce checksum
validation/repair... And maven 2.1.0 through 2.2.0 deploy incorrect
checksums to remote repos (which is why we say don't use those versions)
On Thursday
I'm getting a number of errors in my build like the following:
*** CHECKSUM FAILED - Checksum failed on download: local =
'2b0cd22fcfe2c88328b8c30eb57bc24b4b20ed'; remote =
'746e3c8abfad7fdc3d6384dd1a9b6b448140ef' - RETRYING
*** CHECKSUM FAILED - Checksum failed on download: local =
'2b0cd22fcfe2c
Have you defined the M2_HOME env variable?
/Anders
On Thu, Jun 7, 2012 at 9:56 AM, Yaprak Ayazoglu
wrote:
> Hi,
>
> I'm trying to understand whether maven works or not.
>
> Depending on the lines below maven seems not working at all. How can I fix
> this
> problem? Can you help?
>
> ya@yaprak:~$
I'm getting very strange error in Glassfish 3.1.2. I have a WAB package
with Primefaces. The WAB file is not deployed properly. This is the POM
file:
http://maven.apache.org/POM/4.0.0"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/PO
Hi,
I'm trying to understand whether maven works or not.
Depending on the lines below maven seems not working at all. How can I fix
this
problem? Can you help?
ya@yaprak:~$ mvn
Error: Could not find or load main class org.codehaus.classworlds.Launcher
--
Yaprak
25 matches
Mail list logo