I use use System.out.println to output infomation to the console, when I run
mvn test,
I know the surefire can include all the system.out information,just like
this:
system-out![CDATA[200
Test works!
]CDATA]/system-out
But I don't know exactly how it woks. can anybody who is familiar
Hi all,
I'm trying to add antlr grammar to a project that uses maven.
I've found antlr-maven-plugin:
http://mojo.codehaus.org/antlr3-maven-plugin/index.html
and I'm able to trigger code generation from maven now but this plugin
uses antlr-3.0.1 where antlr-3.1.1 already exist. My java code
When we package a release, the final distribution includes a dependent war
file. Say HelloWorld.zip has to include \adm\foobar.war.
Helloworld.zip
\scripts\*
\tools\*
\jar\*.jar
\classes\*
\adm\foobar.war
This war is uploaded in artifactory. How to get this package (as listed
above) with this
On Wed, Nov 12, 2008 at 12:39 PM, Imran M Yousuf [EMAIL PROTECTED] wrote:
Hi,
I have a project (http://repo.or.cz/w/smart-dao.git) where I have 2
working branches (master and release-0.3). Now I want to make a
maintenance release (release-0.3) so I am doing it from the
appropriate branch.
Hi,
it seemed to work at first, but now we get the main/resources filtered by
the test/filters.
We have to revert on naming properties differently :(
-nodje
Olivier Lamy wrote:
Hi,
As we have an it test [1] which test this and works, it should :-)
--
Olivier
[1]
Lo everyone,
I need to refer to src/test/resources directory in my pom.xml in some plugin
configuration settings.
So I was trying
somePlugin
something.../something
directory${project.build.testResources.resources.0.directory}${file.separator}someFile.xml
/directory
/somePlugin
i am
Hi all,
I am looking for an actual version of the maven-embedder for the 2.0.x tree.
In the central repository there is only a maven-embedder for 2.0.4.
But this version seems to be a big buggy. After searching the internet
the error occures are the same that occured in maven 2.0.4 version.
Greetings
I am brand new to maven and I have just noticed an issue.
I have a jar file that I maintain in my local maven repository (on my
workstation). It has had several versions, 2.0.2, 2.0.3 2.0.5 etc.
I have a different project that is built with maven that uses this jar
file. If I change
On Nov 10, 2008, at 6:28 PM, Chris wrote:
Where in the standard maven directory layout should I put the
changelog for my app (changelog.txt)?
I'm not sure about a standard, but we put internal documentation in
src/main/doc/development.
Where should I put files that are used only by the
On Wednesday 12 November 2008 Troy Bull wrote:
I have a jar file that I maintain in my local maven repository (on my
workstation). It has had several versions, 2.0.2, 2.0.3 2.0.5 etc.
I have a different project that is built with maven that uses this jar
file. If I change the jar file I
I am sure that M2_REPO is well defined and get substituted to my repository
path.
Regards,
Rice
On Tue, Nov 11, 2008 at 8:00 PM, Hoover, William [EMAIL PROTECTED]wrote:
Have you tried using it as the example shown?
executable
I have a project that uses the commons-net package. Well it actually
uses only the commons-net-2.0-ftp.jar file found at
http://repo1.maven.org/maven2/commons-net/commons-net/2.0/commons-net-2.0-ftp.jar.
It there a way for me to have my project depend on only this jar file
not the whole
Hi,
How do I configure pom to exclude some jar from the classpath generated by
eclipse:eclipse. I have checked the documents of eclipse:eclipse. There is a
parameter excludes but there is no example.
Regards,
Rice
If I turn off dependencyDetailsEnabled in the reporting section:
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-project-info-reports-plugin/artifactId
version2.1/version
configuration
What is the problem of depending on that artifact having the effect of
depending on other jars?
The commons-net-2.0-ftp.jar is created not because of some maven
convention. Actually, the Commons-Net creates that jar just to separate
classes. The right way of doing that would be using
Assuming you're using the assembly plugin to build this zip file, you need a
second dependencySet that only includes the war.
HTH,
Justin
- Original Message -
From: mavenart1 [EMAIL PROTECTED]
To: users@maven.apache.org users@maven.apache.org
Sent: Wed Nov 12 04:03:59 2008
Subject:
I added a comment to the bug showing how to disable the dependencies
report.
HTH,
Stefan
On Wed, 12 Nov 2008 07:14:46 -0500
EJ Ciramella [EMAIL PROTECTED] wrote:
Can the dependency report be configured to skip a series of
depenencies?
If it can, I don't see a way...
-Original
Hi all.
I have a multimodule project that owns a common parent for all sub
modules. This common parent is just a pom packaging pom which I want
to specify some executions and configurations that his children will
inherit.
I enclose now some a code snippet that I have tried without any success
Yeah, the dependencies report is one of the most important things from
site generation.
We can't take the, shut off the stuff that doesn't work approach.
See my later post - I think this is an issue surrounding the version of
bcel used
-Original Message-
From: Stefan Seidel
Looking for insight's into how other users are managing unit and integration
tests in current 2.0.x.
At the moment the projects I have store unit tests under **/unit/** and
integration tests under **/it/**
I have compiler and surefire plugin configurations to exclude it tests and then
have a
I have a Maven project that's not very large or complex, however when I run
mvn site a fatal out of memory error occurs. I am enclosing the last portion
of the console output as an attached file.
When the job reaches the line '[INFO] Generating Dependencies report.' it
runs for a long time at
Thanks man Mathus :)
- Original Message -
From: Baptiste MATHUS [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Sat, 8 Nov 2008 19:42:05 +0530 (IST)
Subject: Re: Maven compilation error
Hi,
See the maven-compiler-plugin:
Hello,
I'm working on a multi-module web project and I find myself in a situation
where I need the web-app packaged as both a jar and a war.
My project consists of:
* parent module
* integration-tests module
* web-app module
I'm trying to set it up so that when I run mvn:install (from the
Can the dependency report be configured to skip a series of depenencies?
If it can, I don't see a way...
-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 11, 2008 4:35 PM
To: users@maven.apache.org
Subject: Dependency report fails
Do a clean install after changing the pom since the target folder
would already have a copy of the previous version.
--Brian (mobile)
On Nov 12, 2008, at 9:52 AM, Troy Bull [EMAIL PROTECTED] wrote:
Greetings
I am brand new to maven and I have just noticed an issue.
I have a jar file that
This seems to be the issue, actually. I added the repository using the
archiva web ui:
Grails.org Snapshot Repository
Identifier grails.snapshots
NameGrails.org Snapshot Repository
URL http://snapshots.repository.codehaus.org/
TypeMaven 2.x Repository
And it shows up in the main
Hello,
in a project of a new customer we have to add several functionalities to an
existing desktop application (swing) which accesses a mssql-database-server.
To simplify the process of testing and packaging for a team of 4 developers,
we've set up maven.
Problem is, that we have to use
Hi all,
I use Eclipse 3.4 and has maven2 plugin installed. As I run mvn package in
Eclipse with following pom.xml, I got following error:
[ERROR]
The following mojo encountered an error while executing:
Group-Id: org.codehaus.mojo
Artifact-Id: jaxws-maven-plugin
Version: 1.10
Mojo: wsgen
As you can see, javax.persistence is not available in the classpath. I have
added the following dependency to my pom.xml to hopefully solve this issue,
but it didn't work:
What kind of project is this -- jar, war, ear, etc? And are you sure
the artifact providing the Persistence class is
It is indeed not clear from the documentation, but if you look the
documentation closely you see a Jira issue attached:
List of artifact to exclude from eclipse classpath, beeing provided by
some eclipse classPathContainer [MECLIPSE-79]
This jira issue provide the documentation:
excludes
Try something like:
MAVEN_OPTS=-Xmx512m -XX:MaxPermSize=256m
-Original Message-
From: stug23 [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 12, 2008 1:01 PM
To: users@maven.apache.org
Subject: Crash when running site:site
I have a Maven project that's not very large or complex,
Couldn't you point the output directories to the same location? I guess
that would merge your unittests and integration tests.
Also, you can always write your own reporting plugin to cover
integration tests.
-Original Message-
From: Bracewell, Robert [mailto:[EMAIL PROTECTED]
Sent:
Is http://jira.codehaus.org/browse/MRESOURCES the right place to submit the
issue?
As for the test case, what about a pom.xml with the minimal directory
structure and a couple of properties files and filters. Can I update that on
Jira?
-nodje
Olivier Lamy wrote:
Can you load an issue and
Yes, I tried. But it seems not work. Shouldn't the named jar be excluded
from .classpath.
Regards,
Rice
On Thu, Nov 13, 2008 at 6:59 AM, Nick Stolwijk [EMAIL PROTECTED]wrote:
It is indeed not clear from the documentation, but if you look the
documentation closely you see a Jira issue
I thought you could use Hibernate's JPA stuff just for JPA, without needing to
use the full Hibernate package. For example,
dependency
groupIdorg.hibernate/groupId
artifactIdejb3-persistence/artifactId
version1.0.1.GA/version
/dependency
Ulrich
I'm trying to create an archetype using the instructions from the apache maven
web site:
$ mvn archetype:create-from-project
$ cd target/generated-sources/archetype/
$ mvn install
$ mkdir /tmp/archetype
$ cd /tmp/archetype
$ mvn archetype:generate -DarchetypeCatalog=local
But at the last step
If you know you're not going to use the stuff it's dragging in I think you can
exclude it;
dependency
groupIdorg.springframework/groupId
artifactIdspring-web/artifactId
version${version.springframework}/version
exclusions
37 matches
Mail list logo