On Wed, Apr 15, 2009 at 9:08 PM, Morgovsky, Alexander (US - Glen
Mills) wrote:
> I have Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400).
>
> My error is listed below. Any advise would be greatly appreciated.
While it shouldn't be throwing uninformative NPE's, you're not giving
us much to
In our project we are using AspectJ only for unit testing. So we are
using test-compile goal of aspectj-maven-plugin:
http://mojo.codehaus.org/aspectj-maven-plugin/
We also use cobertura maven plugin to calculate the unit test coverage
http://mojo.codehaus.org/cobertura-maven-plugin/
Cobertura
Team, please advise, I am not able to generate sites using Maven 2.1.0.
I have Apache Maven 2.1.0 (r755702; 2009-03-18 15:10:27-0400).
My error is listed below. Any advise would be greatly appreciated.
[INFO] [site:site]
[ERROR] No Issue Management set. JIRA Report will not be generated.
[INFO]
That alpha copy is a very, very old version and is not even close to
what was printed (which is by now old). The latest and greatest is
published regularly here:
http://www.sonatype.com/products/maven/documentation/book-defguide
javidjamae wrote:
There is an "alpha" copy of The Definitive Guid
-Original Message-
From: gret...@gmail.com [mailto:gret...@gmail.com] On Behalf Of Grant
Rettke
Sent: Thursday, April 16, 2009 6:11 AM
To: Maven Users List
Subject: Re: What is the best Maven book (or material) for new users?
Will do thanks Nick.
On Wed, Apr 15, 2009 at 6:17 PM, Nick St
There is an "alpha" copy of The Definitive Guide online:
http://propellors.net/maven/book/
I've been reading through it I've found it to be very good, and I'm planning
on picking up a print copy soon.
I won't claim it to be "the best" material available by any means, but I've
created a few intro
Will do thanks Nick.
On Wed, Apr 15, 2009 at 6:17 PM, Nick Stolwijk wrote:
> I would say The Definitive Guide:
>
> http://www.sonatype.com/products/maven/documentation/book-defguide
>
> Also, Better Builds with Maven is a good book, although a bit
> outdated, but it covers the basics very well.
>
I would say The Definitive Guide:
http://www.sonatype.com/products/maven/documentation/book-defguide
Also, Better Builds with Maven is a good book, although a bit
outdated, but it covers the basics very well.
http://www.exist.com/better-build-maven
For other sources of documentation, search thi
I don't know if this is working, but give it a try:
org.apache.maven.plugins
maven-surefire-plugin
2.4.2
myClasspath
${classpathElements}
And then in your code:
Sys
I didn't think about only getting the pom. You won't find the pom in
your local repository or remote repositories, but you always could get
it here:
https://mavenium.svn.sourceforge.net/svnroot/mavenium/tags/mavenium-0.2/pom.xml
With the pom file you can use the install:install-file command.
Wit
What is the best Maven book (or material) for new users?
I am tasked with decomposing an existing system that contains 21 POM
files, so, I have a lot of work ahead of me and I'm looking for the
best resource possible.
-
To unsubs
--save the maven pom
copy
https://our.local.repo/nexus/content/repositories/thirdparty/com/agilepirates/mavenium/0.2/mavenium-0.2.pom
to pom.xml
mvn install:install-file -DgroupId=com.agilepirates
-DartifactId=mavenium -Dversion=0.2 -Dpackaging=maven-plugin
-Dfile=pom.xml
check the install scri
Dear list,
I have a unit test that uses Java's Runtime.exec() method to start another
VM and execute code in it. I need this to test recovery from simulated power
failure. The code that should run in the VM is a test case itself, from the
same project. I do not know what classpath to pass to the
On Thu, Apr 16, 2009 at 1:39 AM, Andrew Eisenberg
wrote:
> Hi,
>
>> The Maven convention and good practice is to put ressources files like
>> *.txt in src/main/resources.
>
> This is a bit troublesome for those of us using the AspectJ plugin.
> We need to place *.aj files in the src/main/java (and
I don't know why the install with file doesn't work, but as a work
around, you could try to compile the plugin yourself by checking out
the code and running 'mvn install' on it.
Checkout:
svn checkout https://mavenium.svn.sourceforge.net/svnroot/mavenium/trunk
mavenium
or the tag:
svn checkout
I'm trying to use the mavenium plugin with my pom.xml. I followed the
instructions as best I could from the mavenium web site. I downloaded a jar
file, which I believe is version 0.2 from source forge.
I executed the following command:
First I changed the name from: mavenium.0.2.jar to mavenium.j
There are two issues in Jira related to this, MRELEASE-150 en
MRELEASE-159. If you want to do what you want, please provide a patch.
;) Otherwise, just vote and hopefully they get high enough on the list
of those that can provide patches.
[1] http://jira.codehaus.org/browse/MRELEASE-150 &
http://j
In maven when you are executing tests, tests classes and ressources are in
the classpath before your main classes and ressources.
In eclipse when you reorder the classpath in the project, you also reorder
how entries are displayed in the UI.
Our goal is to be sure that you have the same classpath i
David Hoffer wrote:
> Can and if possible how can I configure the maven-site-plugin so that it
> bundles the entire site in a jar and then deploys it? Ideally the whole
> process would remain contained within the site-deploy phase.
>
> -Dave
>
You can use the site:jar goal for this purpose:
htt
Maven 2.0.9 is installing artifacts with wrong extension in the repository if
I use two plugins with extensions.
These two sub projects use two different extension plugins and unless
extension attribute in one of them is removed maven installs the wrong
artifact. I created an issue with a test cas
On Mon, Apr 13, 2009 at 5:29 PM, Niels van Kampenhout
wrote:
> Is there a way to configure the name of the tag created by the release
> plugin? Default is the artifactId of the project but I want to use
> something else.
>
> For example, my project is called "My Application", the artifactId is
> "
> [INFO] Trace
> java.lang.ArrayIndexOutOfBoundsException
> at java.util.ArrayList.contains(Unknown Source)
What project are you building?
Grab the source code (eg from some open source project) of some
known-good project and try mvn package there. If you get the same
error, it would seem
Hmmm It's possible that I'm using **too new** a version of Maven.
Never thought of that.
--Jeff
Jeffrey Trimble
System LIbrarian
William F. Maag Library
Youngstown State University
330.941.2483 (Office)
jtrim...@cc.ysu.edu
http://www.maag.ysu.edu
http://digital.maag.ysu.edu
On Apr 15,
Is this supported?
mvn clean
mvn install
mvn assembly:single
All documentation I have found indicates it is but it fails with:
"Please ensure the package phase is run before the assembly is
generated."
Yes "mvn clean package assembly:assembly" works but while testing an
assembly it would be nic
Jeff-
looks like someone scrambled your pom.xml
can you use the previous version 2.0 or possibly 1.9x
?
Martin
__
Disclaimer and Confidentiality/Verzicht und Vertraulichkeitanmerkung / Note de
déni et de confidentialité
This message is confidential.
Hello,
what do you mean with "this the order used to build by maven"? I mean
you cannot build test sources before you build the main code. Or does
Eclipse compile the source folder in the oposite order?
Regards,
Ingo
Arnaud HERITIER schrieb:
> This the order used to build by maven. It was don
I'm attempting to run mvn package and receive a FATAL ERROR.
Some particulars:
Maven version: 2.0.10
Java version: 1.6.0
OS name: "aix" version: "5.3" arch: "ppc" Family: "unix"
This is IBM's jdk implementation. So the question is there a fix,
workaround, or something else that I need to be
Hi,
> The Maven convention and good practice is to put ressources files like
> *.txt in src/main/resources.
This is a bit troublesome for those of us using the AspectJ plugin.
We need to place *.aj files in the src/main/java (and test) directory.
However, these files are excluded from the build.
Hi,
I'm using Maven 2.0.10 & RAD6 base_v6 JDK and trying to build a WAS 6.0
EJB.
So far the maven-ejb-plugin generates the EJB jar file in the
project/target directory. When the was6 plugin executes, the wsejbdeploy
task compiles the bindings and creates the WAS EJB in the
project/target/was6-m
I've followed this thread since I'm dealing with the same problem. I've
substituted Path value for the whole M2_HOME value and it's not working.
Any other suggestions?
Cappoli, William wrote:
>
> Chris,
>
> Your suggestion of writing the entire path into the path variable
> worked.
>
> Than
I don't have that identity file, no. My command line usage does not use that
identity file. I am using host based authentication. My client has
~/.ssh/config with correct HostBasedAuthentication entries, and the server
has HostBasedAuthentication yes, etc.
If the scpexe command is passing swit
Hi,
I am trying to use http://code.google.com/p/jtracert/ jtracert to create
sequence diagrams from our unit tests.
I could do this by simply adding some configuration to the surefire plugin:
maven-surefire-plugin
-javaagent:jTracert.jar ...
But I don't want these to be generate
Whenever you see Maven making requests for -SNAPSHOT (and you don't have
it configured with useUnique = false) it always means that the
maven-metadata.xml file for that snapshot is wrong or couldn't be found.
It's hard to say why that could have happened, but this often happens if
you do a bui
I just found the following issue which could be related:
http://jira.codehaus.org/browse/MNG-3579
Reinhard
Reinhard Nägele schrieb:
Hello,
I guess I spotted a bug in Maven 2.1.0. In a pom, which is intended to
be used as a parent pom, we have the following profile. The profile is
used to co
Hello,
I guess I spotted a bug in Maven 2.1.0. In a pom, which is intended to
be used as a parent pom, we have the following profile. The profile is
used to copy artifacts to Luntbuild's publish directory.
luntbuild
maven-dependency-plugin
cop
Hello,
This morning, I updated our Nexus version from 1.3.1.1 to 1.3.2. After
that my builds did not run because they failed to download snapshot
dependencies from a hosted repository. As yesterday everything was still
fine, I suspected a regression in Nexus, went back to 1.3.1.1, but the
pro
36 matches
Mail list logo