Hi
Replace the top of you pom with this:
?xml version=1.0 encoding=UTF-8?
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
Then
Why not use the central repo for documentation aswell?
E.g. in
http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/maven-ant-plugin/2.0-alpha-2/
could exist a bundle named user-manual.zip, containing the sources for
the user-manual. There could be a reference-manual.zip, a
Hi,
there was a possibility to switch the settings xml with a option
mvn -Dsettins=c:\temp\settings.xml
Does anybody knows the correct syntax? i can't find it on the web and i
cant't realy handle the new maven documentation site ;-)
Fredy
Kabel Deutschland bietet Ihnen Internet, Telefonieren
mvn -h
...
-s,--settings Alternate path for the user settings file
...
--
Olivier
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 3 novembre 2006 09:47
À : users@maven.apache.org
Objet : [m2] need short Help: switching
sorry,
I don't mean the user settings! I will temporarily overwrite the global
settings under M2_HOME/conf/settings.xml.
Fredy
-Ursprüngliche Nachricht-
Von: LAMY Olivier [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 3. November 2006 10:21
An: Maven Users List
Betreff: RE: [m2] need
Mykel is correct.
In addition, until MNG-714, when the mirror fails to deliver, the
mirrored repository is not used. So are mirrors of the same repository id.
Mykel Alvis wrote:
NEEDED WIKI TOPIC
My understanding is that mirrors simply override the URLs for the repos
they're mirroring.
Hi
First of all, thanks for your answers. It is appreciated.
I've found a quick and xml-based way which matches my environment much
better. I noticed that the plugin-plugin generated some XDOC and that they
were converted very nicely like in maven1.
Which brings me to this question, is xdoc
+1
This would make it even possible to create a user/project dedicated manuals.
The project pom-file already has all plugins being used by the project. The
generated manual will then just include the docs for these plugins and use the
actual plugin version.
Regards,
Minto
Hi there,
Maven is currently hanging and I was advised to increase the available
heap space in the Maven runtime, but executing the following command:
export MAVEN_OPTS=-Xmx1024m
I am just not sure in which file to put this. Do I have to put this in
mvn.bat in my parent pom? Any help
Hi,
I've got a settings.xml stating something like:
...
server
idmaven-sites/id
usernamemaven/username
/server
...
and a POM with:
...
distributionManagement
site
idmaven-sites/id
Hi, I am facing an issue, I am very new to the Continuum Tool.
The issues is, I removed continuum from the box, and even clear the registry
also for conitinuum service. I tried to
reinstall, unpacked it under the C://... and i ran the command run.bat.
JAVA_HOME, M2_HOME is also set in both
Hi!
I'm new with Maven - i created a simple sample-project, if i compile the
project i get a nullpointer-Exception!
I'm behind a firewall, a proxy is configured...
Any Idea?
Bernie
[INFO] Building Maven Default Project
[INFO]task-segment: [compile]
[INFO]
Hi folks!
I'm trying to execute TestNG Suites in different maven2 phases.
For that i defined two different testng.xml files
a) unit-tests.xml
b) integration-tests.xml
Now i want surefire to execute the unit-tests in the test phase and the
integration-tests in the integration-test phase.
So
Hi Marco,
Actually, I am using your examples and helped to test that solution with
embed-ejb3-RC8 on the SUREFIRE-2.2-SNAPSHOT plugin, which worked fine.
Unfortunately, Surefire 2.2 official and 2.3-snapshot are having issues
with javax.management packages and the JBossMXServerConfig
Right darren,
i m afraid i forgot to send you yesterday latest code i have (works with
rc9 too) because
after struggling i found out that there were problems with testng version
and surefire version..
try to google testng and surefire, if i remember correctly i took out the
version from
I'm trying to fix my manifest to contain an Application-Vendor-Id. I'm using
the maven-osgi-plugin to create the manifest (this is stuff I have
inherited, so don't assume I have expertise here)
I can see in my pom the following
plugin
Hi,
I actually increase the heap space by setting the MAVEN_OPTS variable in
the mvn.bat script, it works fine. I've just added the following line at
the top of the script (after the two first paragraphs of comments):
set MAVEN_OPTS=-DXms_1024M -DXmx=1024M
Sebastien
-Original Message-
Hi,
in the last 2 months, only 1 issue was solved in the surefire plugin (See
http://jira.codehaus.org/secure/IssueNavigator.jspa?reset=truemode=hidepid=11148status=5status=6updated:previous=-8wsorter/field=updatedsorter/order=DESC).
There are currently still 32 issues unresolved. Are there
Hi All
I have multi module project which i'm building using maven2(contains ejbs
and others), and i have test cases for this which we have to run after
deploying the ear file to weblogic servers,
Right now i'm doing 2 different build one for creating application ear and
other build for
Hi,
is it just me, or is the plugin documentation on the maven site gone? There
used to be a Plugins page, where i could at least see which plugins are
available and get some basic help about them. Now this is gone. Any hints
where i might look for it?
Best regards,
Jan
--
Jan Thomä wrote:
Hi,
is it just me, or is the plugin documentation on the maven site gone? There
used to be a Plugins page, where i could at least see which plugins are
available and get some basic help about them. Now this is gone. Any hints
where i might look for it?
Best regards,
Jan
although it may seem like it but ${pom.organization.name} only
translates to a path to your project's pom.xml content which is
projectorganizationname.
hope that helped,
^_^
kelvin goodson wrote:
I'm trying to fix my manifest to contain an Application-Vendor-Id. I'm
using
the
I have been searching for the Maven2 equivalent of the ant depend task but
I can't seem to find it. Can someone help me out with a link?
--
View this message in context:
http://www.nabble.com/Maven-equivalent-of-ant-%3Cdepend%3E-optional-task-tf2568454s177.html#a7159353
Sent from the Maven -
On 11/3/06, jp4 [EMAIL PROTECTED] wrote:
I have been searching for the Maven2 equivalent of the ant depend task but
I can't seem to find it. Can someone help me out with a link?
Everything in Maven centers around the build lifecycle.
I have a client with many different maven projects. I am trying to figure
out a way to manage the versions of common libraries across these projects
without duplicating the version number in each project. For example,
commons-lang-1.1.jar is used in 50 projects. I know that I can use a parent
Try:
-Dorg.apache.maven.global-settings=/path/to/global/settings.xml
HTH,
John
On 11/3/06, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
sorry,
I don't mean the user settings! I will temporarily overwrite the global
settings under M2_HOME/conf/settings.xml.
Fredy
-Ursprüngliche
On 11/3/06, jp4 [EMAIL PROTECTED] wrote:
I have a client with many different maven projects. I am trying to figure
out a way to manage the versions of common libraries across these projects
without duplicating the version number in each project.
This is typically done with
The depend task is used to determine java class file dependencies From
the ant docs...
The depend task works by determining which classes are out of date with
respect to their source and then removing the class files of any other
classes which depend on the out-of-date classes.
For example,
This is essentially why the dependencyManagement node was created.
Take a look at it.
You'll probably want to make a single corporate-wide super parent
that all your projects point to, and include the depMgmt node in
that pom. Then in projects that need to use various dependencies, you
can
[EMAIL PROTECTED] writes:
Hi,
but what i am looking for is some thing like surefile plugin, to havewell
good looking test results, is there anything available like that??? so
when i run test it will run the test and creates test results page like
sure file plugin??
You could create a
You can use the $HOME/.mavenrc under Unices to store your MAVEN_OPTS
variable. This script is sourced by the mvn executable script.
--
OQube software engineering \ génie logiciel
Arnaud Bailly, Dr.
\web http://www.oqube.com
Hello,
I'm getting the following error when I try to run site:deploy
Unsupported protocol: 'scm'
Here are the extensions I'm using for in my build:
extensions
extension
groupIdorg.apache.maven.wagon/groupId
artifactIdwagon-scm/artifactId
version1.0-beta-1-SNAPSHOT/version
I want to replace the surefire tests with the ant junit tests. I also want to
run ant junitreport instead of the surefire report. Does anybody have a way to
do this? Many of our tests won't run under surefire, others fail when they
shouldn't. Excluding tests is not an option.
Thanks
Liz
Exactly what I was looking for and it works quite well!
Thanks,
jp4
Wendy Smoak-3 wrote:
On 11/3/06, jp4 [EMAIL PROTECTED] wrote:
I have a client with many different maven projects. I am trying to
figure
out a way to manage the versions of common libraries across these
projects
I' ve a project so structured.
---aaa.progettoPilota-|- progettoCommons
| |__ pom.xml
|
| progettoBusiness
| |__ pom.xml
How do I move the .m2 local repository to a different location
--
Thanks
DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson
Create ~/.m2/settings.xml and add the following to that file:
settings
localRepositoryc:\dev\m2repo/localRepository
/settings
Of course, adjust the path appropriately.
--
Kevin Menard
Servprise International
WebReboot -- Remote Reboot Without Pulling the Plug
800.832.3823
-Original
Some thoughts:
1. You might try experimenting with the forkMode setting for Surefire.
Ant's junit task defaults to perTest, but the default for Surefire is
once. Poorly written tests sometimes rely on the perTest behavior,
but well-written tests should be able to run with once (IMHO). For
that
I have a Java project that I want to build using Maven 2. This
particular project doesn't really produce a jar as its main artifact,
but instead needs to produce a zip file containing all of the runtime
dependencies along with a batch file that users use to run the utility.
Before I try to
I have used the maven assembly plugin before to build an executable jar file
that contains all of the necessary runtime libraries. In order to run the
app all you have to do is type java -jar foo.jar arg1 arg2...
If this sounds like something you want, I can post the pom.xml
jp4
David
You might want to checkout the assembly plugin.
http://maven.apache.org/plugins/maven-assembly-plugin
This plugin can do what you want, plus much more. Also, there is a new
release coming out soon (as soon as I can finish the documentation, which
should happen in the next week or so), which will
I think you should be able to construct this the Assembly plugin,
without creating your own plugin type etc which is a lot more work.
Various people on this list have created special artifacts similar to
what you're describing using Assembly. Give it a try before heading
down the new plugin
Thanks so much!
On 11/3/06, Kevin Menard [EMAIL PROTECTED] wrote:
Create ~/.m2/settings.xml and add the following to that file:
settings
localRepositoryc:\dev\m2repo/localRepository
/settings
Of course, adjust the path appropriately.
--
Kevin Menard
Servprise International
WebReboot --
You can run with mvn -X ...to get more specific debugging information
about what plugin is causing your problems etc.
However, I'd just delete your local Maven2 repository
(~/.m2/repository) and try again. Maven will automatically download
the files it needs to construct your project.
I'd
I have a quick question about sub projects and when one depends on
another.
We have one project who's artifact is a war file, and another one that
depends on the jars in this first project.
How do you set this up? Every way I've tried it still complains about
not being able to find the
I ran into the following errors when I used maven 2 to build sakai. Does
any one know what is wrong with settings of moven 2? Thanks!
sakai-src]# mvn sakai
[INFO] Scanning for projects...
[INFO]
[ERROR] BUILD FAILURE
Seems like you're missing a Sakai Maven2 plugin or something.
Make sure you're following the build instructions provided by Sakai.
And if you are, you should probably contact the Sakai developers and
ask them to help you resolve this issue -- its not strictly a Maven
problem, but rather a Sakai
You'll need to split the WAR file up into a separate WAR and JAR project.
Basically, you can't have any cyclical dependencies.
Wayne
On 11/3/06, EJ Ciramella [EMAIL PROTECTED] wrote:
I have a quick question about sub projects and when one depends on
another.
We have one project who's
Thank you, Wayne. John.
Wayne Fay [EMAIL PROTECTED]
11/03/2006 01:30 PM
Please respond to
Maven Users List users@maven.apache.org
To
Maven Users List users@maven.apache.org
cc
Subject
Re: building sakai with maven
Seems like you're missing a Sakai Maven2 plugin or something.
Make
So I should have a project with just the java source and another one
that depends on that with all the web app related files (jsps/static
html/etc)?
-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED]
Sent: Friday, November 03, 2006 2:39 PM
To: Maven Users List
Subject: Re:
Is there a Test Director integration plugin for Maven 2? If yes, please
let me know where I could acquire it. Thanks.
This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and is protected by law. If
you are not the
Hi. I am trying to max. the memory on the checkstyle plugin. However,
the memory settings I provided are not getting picked. Does anyone see
what is wrong here? Thanks.
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-checkstyle-plugin/artifactId
THANK YOU
THANK YOU
THANK YOU
I am glad that it is working now. I am anxious to push it up onto the snapshot
server. Feel free to let me know what else I can add to help you out. You can
enter JIRA tickets in the mojo section so I can track what you need.
If you can clarify what you mean by autotypes I will look into
I pulled down maven the maven source yesterday (maybe
the day before)
and built it. No problem, it built fine.
I unzip the 2.05 snapshot zip file and point my maven
home to it.
do a --version, just to be sure.
Then tried to do a build of the latest geronimo source
tree.
It took over 300
That's exactly correct. I include non-shared Java classes in WAR and
shared Java classes in what is essentially SHARED_LIB.
Then I add a dependency in WAR on SHARED_LIB etc.
Wayne
On 11/3/06, EJ Ciramella [EMAIL PROTECTED] wrote:
So I should have a project with just the java source and
You have a quote in your PATH, remove it and all will work fine.
Emmanuel
jacob thomas a écrit :
Hi, I am facing an issue, I am very new to the Continuum Tool.
The issues is, I removed continuum from the box, and even clear the registry
also for conitinuum service. I tried to
reinstall,
A sample tomcat 5.X conf is there :
http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-webapp-test/src/test/tomcat5x/conf/Catalina/localhost/continuum.xml
Emmanuel
Brian E. Fox a écrit :
I have seen some recent messages that indicate the trunk should work on
tomcat. I built the
I was hoping to get a nightly build so that I can see if my unit test cases
will run twice when I run mvn site. I am hoping it's fixed in the new
version, but I haven't been able to find a link to the nightly builds.
Thanks,
jp4
--
View this message in context:
Hello,
I have the following setup:
1. Defined internal , external profiles in settings.xml and set
internal as active. external profile has plugin repository
configuration. (this play important role for some reason)
2. Defined jsp-comp profile to activate jsp compilation for the build
in
I am using the surefire report plugin as well as coberatura, javadoc and
checkstyle.. When I do a mvn site it runs my test cases twice. I have read
other threads on this issue, but I haven't seen a definitive resolution...
Is there one? We have a done of tests that get run nightly and now I
Hi,
Thanks a lot.
I didn't yet try. I'll do it the next week.
Arnaud
On 11/3/06, Glenn J Gonzales [EMAIL PROTECTED] wrote:
Hi Arnaud, I tried this with MySQL 5.0.27 with Connector/J 5.04.
Worked without a hitch.
Cheers,
Glenn
FromArnaud HERITIER [EMAIL PROTECTED]
Subject Re:
Have you tried mvn -X ... to see additional debugging information? I'd
assume something is just not working right, and the stacktrace might
help you see/find it.
Wayne
On 11/3/06, Leonard Gestrin [EMAIL PROTECTED] wrote:
Hello,
I have the following setup:
1. Defined internal , external
Looking at the code...
https://svn.apache.org/repos/asf/maven/plugins/tags/maven-checkstyle-plugin-2.1/src/main/java/org/apache/maven/plugin/checkstyle/CheckstyleReport.java
I don't see any configuration parameters for min/max memory in the
plugin. Where did you get these parameters -- or did
I realize I should be beat for not running with X before posting to the
users list, but better late then never. After running with debugging
enabled, I found the wagon-scm snapshot version used by maven was
1.0-beta-1-20060509.172247-7. However, maven cannot find a
wagon-providers-api POM with
Matt,
Where is this dbunit hosted? I couldn't find it under
http://snapshots.repository.codehaus.org/
Cheers,
Thomas
On 11/1/06, mraible [EMAIL PROTECTED] wrote:
I have the following configuration for the dbunit plugin:
plugins
plugin
dbunit plugin source was checked in sometimes ago to the mojo sanbox, but i
beleive no one is working on it and no snapshot is ever deployed.
-D
On 11/3/06, Thomas Van de Velde [EMAIL PROTECTED] wrote:
Matt,
Where is this dbunit hosted? I couldn't find it under
We've compiled it and deployed it to the the AppFuse repo:
http://static.appfuse.org/repository/
We hope to figure out a way to get it released before we release AppFuse 2.0
final. We're more than happy to contribute to the plugin. AFAIK, Brian
Topping built the plugin when we converted an
Thanks, that was a good suggestion.
Apparently, when plugin directory is configured, the latest plugin
version for jspc is
..
[DEBUG] jspc-maven-plugin: resolved to version 1.4.6 from repository
ibiblio.org
..
If I don't use biblio, mvn uses 1.4.5, and it also prints this line in
debug output
Apparently, 1.4.6 version of jspc-maven-plugin is invoked for goals that
after compile (like install)
And 1.4.5 version of jspc-maven-plugin is invoked for compile also.
It's defined like this in pom.xml
plugin
groupIdorg.codehaus.mojo/groupId
Perfect, this is exactly what I needed. I would like to point this at a mssql
database. This should be straightforward because I also have a jira instance
pointed there and the configuration is also though the datasources. Are there
any other known issues using mssql?
-Original
I actually use the test or package phases myself by default when
I'm working on webapps, not compile, so I haven't noticed this
myself.
You could dig into the jspc-maven-plugin to find out what phase(s) the
plugin is configured to run in by default. And of course you can tell
the plugin to
That was the problem.
Thanks Emmanual!!
Daren
-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 02, 2006 7:00 AM
To: continuum-users@maven.apache.org
Subject: Re: Continuum can't connect to CVS?
I think you don'trun continuum with the same
On 11/3/06, jp4 [EMAIL PROTECTED] wrote:
I was hoping to get a nightly build so that I can see if my unit test cases
will run twice when I run mvn site. I am hoping it's fixed in the new
version, but I haven't been able to find a link to the nightly builds.
Snapshots are published here:
On 11/3/06, Wendy Smoak [EMAIL PROTECTED] wrote:
On 11/3/06, jp4 [EMAIL PROTECTED] wrote:
I was hoping to get a nightly build so that I can see if my unit test cases
will run twice when I run mvn site. I am hoping it's fixed in the new
version, but I haven't been able to find a link to the
By autotpes i meant the
weblogic.ant.taskdefs.webservices.javaschema.JavaSchema task to generate xml
based on Java types.
I'm using wls 8.1 sp4.
Scott Ryan-2 wrote:
I am glad that it is working now. I am anxious to push it up onto the
snapshot server. Feel free to let me know what else
76 matches
Mail list logo