Dan,
That's actually a great idea. Let me try that, but
that could be what I was looking for ...
Thanks
Chris
--- dan tran <[EMAIL PROTECTED]> wrote:
> Bind antrun:run to a phase but profile it
>
>
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
>
> -D
>
> On 3/15/0
Just by specifying the configuration outside of an execution:
maven-antrun-plugin
-Stephen
On 3/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> We need to execute some ANT tasks (e.g. for
>
Hi ,
I have a question regarding a dependency which i require during
compilation but when my war is to be created i dont want the jar to be
bundled with the application in the WEB-INF\lib directory ..what scope
should i use to define this dependency?
regards,
Javed
ok scope to be used = provided
:P
javed
On 3/16/06, javed mandary <[EMAIL PROTECTED]> wrote:
>
> Hi ,
> I have a question regarding a dependency which i require during
> compilation but when my war is to be created i dont want the jar to be
> bundled with the application in the WEB-INF\li
any ideas?
Am Mittwoch, 15. März 2006 16:23 schrieb Christian Mouttet:
> Hi all,
>
> I have two web applications that share code. An implementation of
> javax.servlet.Filter in Project A should be used by Project B.
>
> With Maven-1 I built a project-a-x.y.jar and defined a dependency to it.
> The
Hi
If you want to use some of the meta data from Mavens pom file you
could always use the maven-ant tasks. I have used it for running Fit
integration tests using a plain ant build.xml file which is
"including" the Maven pom.xml file and thereby having the dependency
path from Maven.
A small snipp
Hi,
Do you have set the dependency in project B to project A (type war).
I think but not really sure ( ;-) ) this will be included in the next
war plugin version [1] (try the snapshot).
But for the version 2.0-beta-2, it doesn't work [2].
But for the moment if it's a share component just add a new
To All,
Both the findbugs and javancss plugins are not working correctly.
A quickfix for these plugins is adding the following dependency to the pom
in your local repo:
jaxen
jaxen
1.1-beta-7
Jira issue http://jira.codehaus.org/browse/MEV-359 is created to solve this
dependen
Hello all,
i have recently used the testng plugin for Maven2, and i think i have found
a bug :(
here's my pom
4.0.0
root
ejbs
jar
1.0
enterprise java beans
root
project
1.0
root
shared
geronimo-spec
Hello,
I'm using ejbdoclet to generate the EJB Classes for a project, that are put in
the directory target/xdoclet/ejbdoclet of my project..
When I launche ejb:install, these classes are not included in my ejb-jar.
What have I got to do for this ?
Thanks in advance.
_
Olivier,
thanks for your response. It seems to me that the new-module alternative is
the only solution. I imagine that dependencies to type-war projects can't
correctly be loaded by the classloader.
Just want to be sure that there isn't an official resolution for such kind of
project dependen
Hi,
Trying
http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-core/.
I have the following response :
An Exception Has Occurred
Access to "maven/components/trunk/maven-core" is forbidden.
HTTP Response Status
403 Forbidden
Python Traceback
Traceback (most recent call last):
File
Hi Todd,
Can you copy in the stack trace and detail? -e -X switches. Will have a
gander and see if I can offer any suggestions.
Chris
_
From: Todd Nine [mailto:[EMAIL PROTECTED]
Sent: 15 March 2006 18:33
To: Stevenson, Chris
Subject: Re: FW: [m2] JVM BUG AND FIX: Getting an excepti
New module is great because it will be published as an artifact.
Then you can share this with other applications.
But I'm not sure of this but I think a war is added to the classpath.
Just try ;-)
- Olivier
-Message d'origine-
De : Christian Mouttet [mailto:[EMAIL PROTECTED]
Envoyé : je
merci!
Am Donnerstag, 16. März 2006 11:04 schrieb Olivier Lamy:
> New module is great because it will be published as an artifact.
> Then you can share this with other applications.
>
> But I'm not sure of this but I think a war is added to the classpath.
> Just try ;-)
>
> - Olivier
***
Hi,
how do I use the mojo/hoal plugin:addPluginArtifactMetadata? Can it be used to
manually put additional files into the plugin?
Andreas Ebbert-Karroum
Software Design Engineer - Nokia Networks Services / Middleware
phone: +49-211-94123928, fax: +49-211-94123838
Heltorfer Straße 1,
Hi there,
I'm newbie on Maven 2.x
I'm migrating a Maven 1.x application to Maven 2.x and I new a plugin that
uses some Ant tasks. I decided to develop my own version of that plugin.
This plugin needs to reference some artifacts from the
section of its pom.
This is my question: What variable I m
Why just don't use antrun plugin?
http://maven.apache.org/plugins/maven-antrun-plugin/
On 3/16/06, A. Alonso Dominguez <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I'm newbie on Maven 2.x
>
> I'm migrating a Maven 1.x application to Maven 2.x and I new a plugin that
> uses some Ant tasks. I decided
hello all,
today in running maven on my project i got followign error
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://cvs.apache.org/maven-snapshot-repository/org/codehaus/plexus
/plexus-components/1.1.5/plexus-components-1.1.5.pom
[WARNING] Unable to get resource f
this pom will be available in next synchronisation
Emmanuel
Marco Mistroni a écrit :
hello all,
today in running maven on my project i got followign error
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://cvs.apache.org/maven-snapshot-repository/org/codehaus/plexu
Hi
However the maven-plugin-plugin overwrites the index.apt file that I had!!!
Can't one have both?
Hermod
-Original Message-
From: dan tran [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 16, 2006 8:40 AM
To: Maven Users List
Subject: Re: [m2] Site generation and info from xxx-mojos.xm
the suite xml overrides all other settings in the plugin, so since you
have the classes element commented out, nothing is run.
- Brett
On 3/16/06, Marco Mistroni <[EMAIL PROTECTED]> wrote:
> Hello all,
> i have recently used the testng plugin for Maven2, and i think i have found
> a bug :(
>
> h
Hi,
where are the variables documented, that I can use inside the POM? I guess
there's something available like ${artifactId} and alike, but I couldn't find a
place, where they're all listed and described.
Andreas Ebbert-Karroum
Software Design Engineer - Nokia Networks Services / Middlewa
Hi,
i've trouble with 2.0-beta-3 and a newer version may be better?!
Thanks Fredy
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
2006/3/16, Fredy <[EMAIL PROTECTED]>:
> Hi,
> i've trouble with 2.0-beta-3 and a newer version may be better?!
@see https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-release-plugin
> Thanks Fredy
Jacek
--
Jacek Laskowski
http://www.laskowski.org.pl
Tim Kettler and I constructed patches for maven-ejb-plugin to allow
it to handle EJB3 packages (mine was a refinement of his). We would
very much like it applied, but the JIRA ticket created for it, http://
jira.codehaus.org/browse/MEJB-6, is currently marked "trivial" and
has no developer
Hello Brett,
thanx, but the problem that i have is actually the opposite
all tests run, even the ones that belong to a different group.
could you pls help a gain?
thanks and regards
marco
On 3/16/06, Brett Porter <[EMAIL PROTECTED]> wrote:
>
> the suite xml overrides all other settings in
In that case, I'm not sure. Does it work if you run the suite from the
command line with testng? If so, please file a bug against the
surefire plugin.
- Brett
On 3/16/06, Marco Mistroni <[EMAIL PROTECTED]> wrote:
> Hello Brett,
> thanx, but the problem that i have is actually the opposite
> all
hello,
i m afraid i have tested it only within maven. with maven1.1 plugin worked
fine.
i'll try to test it via commandline and let you know out come
thanks and regards
marco
On 3/16/06, Brett Porter <[EMAIL PROTECTED]> wrote:
>
> In that case, I'm not sure. Does it work if you run the suite f
all properties are ${pom.*} with * equals to a tag in pom
like ${pom.artifactId} for artifactId or ${pom.scm.connection} for scm
connection url
Emmanuel
[EMAIL PROTECTED] a écrit :
Hi,
where are the variables documented, that I can use inside the POM? I guess there's something available like
Dear All
I would like to formally announce that JAVAWUG (Java Web User Group)
is holding the sixteenth Birds-of-Feather (Meet up XVI) at the
Oracle City of London offices on Friday, 17th March 2006.
The meeting will take place in a room with Audio/Visual facilities
between 7-9:30 pm. There will
How can the properties in the parent pom, for a multi project situation, be
referenced in child poms?
Hi,
anybody knows a way to suppress generation of TEST*.xml files? Or at least
to reduce their verbose content?
I have hundreds of test classes, each one of them causes the generation of a
TEST*.xml file that is at least 60 KB ==> can this be reduced or avoided
somehow?
Thanks
MM
Note that if your code depends on static initializers being called on each
invocation, setting forkMode to "once" will break your tests. This is true
whether the tests are running in M2 or Maven 1.1
Ian
It's better to be hated for who you are
than loved for who you are not
Ian D. Stewart
Appl
Unfortunately, yes, it is a common occurance. Here is why:
For every thirdparty used in my project I require the pom to have:
1) a description
2) a project url
3) a license description
4) a url to the license
I then wrote a plugin which validates this information and also retrieves the
licens
Hi,
What is the best practice in case of dependencies that are not hosted anywhere?
Should jars land in project's 'lib' dir? A mojo should install jar
into user's local repository? I assume that maven methodology requires
me to create corporate / team wide repository with those specific
jars...
have you tried ${pom.parent.PROPERTY} ?
I don't know if it works...
Raphaël
2006/3/16, Rik Bosman <[EMAIL PROTECTED]>:
>
> How can the properties in the parent pom, for a multi project situation,
> be
> referenced in child poms?
>
>
Szczepan,
I would not install them into a local repository. Consider your local
repository nothing more than a local cache, but not the master
repository for jars. Any jars you have that are not hosted on ibiblio
or another public repository, host in your own internal corporate
repository
I think the MAVEN best practice is to set up a corporate repository
with the specific jars and then add that repo to your project pom.
If you're just trying to make it work, and don't mind checking Jars
into your code versioning system, then you could perhaps use the
system and settings to make t
Hi Manilo,
Taking a look at the configuration documentation at:
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
it looks like there are two options that may be of interest:
reportFormat (Optional) Selects the formatting for the test report to be
generated. Can be se
The best thing you can do is send an email to the users list and ask
us to vote on your issue, so it raises in "importance" and then
hopefully someone will notice and apply the patch.
I voted on your issue and added a comment as well. Hopefully this
patch will be applied soon.
Wayne
On 3/16/06,
Probably just a misconfiguration.
File a bug report in JIRA and a dev should take a look at it.
Wayne
On 3/16/06, Olivier Lamy <[EMAIL PROTECTED]> wrote:
> Hi,
> Trying
> http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-core/.
>
> I have the following response :
>
> An Exception H
"What's wrong" with items in the public repo is it was decided at some
point a little while ago by the Maven dev team that getting various
artifacts (like xercesImpl) into the Maven2 repo was a high importance
item, and so a little program was written to generate essentially
"empty" poms for these
Ah, I think the tone of my email was incorrect. "What's the problem
with the stuff in the repo?", was meant to be rhetorical.
I should have said, "My problem with using the public repo is that
certain pom's are incorrect such as: "
But, I do agree with everything you said.
Ruel Loehr
JBos
On 3/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:
>
> Hi Manilo,
>
> Taking a look at the configuration documentation at:
Thanks, but the problem is that I'm using 1.1-beta-1, not maven 2, therefore
I'm using just the standard test plugin, not surefire.
http://maven.apache.org/plug
On 3/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Note that if your code depends on static initializers being called on each
> invocation, setting forkMode to "once" will break your tests. This is
> true
> whether the tests are running in M2 or Maven 1.1
Very true! Anyway the problem
Irrespective of the tone of your email, I thought I should explain the
situation as far as I know it.
I think everyone agrees that these poms are not really "acceptable" in
the long term and will need to be addressed at some point. But it is
tough for someone to randomly pick a project, grab the p
Add an antrun task and attach to Test.PostGoal to delete the TEST*.xml
files... ;-)
Wayne
On 3/16/06, Manlio Malaidini <[EMAIL PROTECTED]> wrote:
> On 3/16/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:
> >
> > Hi Manilo,
> >
> > Taking a look at the configuration documentation at:
>
>
> Than
Thanks very much for the help. I copied old-1.0-sources.jar and
old-1.0-javadoc.jar and refreshed the Eclipse filesystem view and the
Maven plugin found the source. It didn't find the javadoc, though. I
don't know if that's a limitation in the plugin or if that's not the
right name.
For now,
Hello:
I am trying to deploy to weblogic using the weblogic-maven-plugin.
Currently, weblogic doesn't support 'force' deploy meaning undeploy with
failonerror=false then deploy.
Is there a way to suppress an execution exception similar to ANT
failonerror?
Cheers,
Christiaan
DISCLAIMER
The
Hello there.
I know I should know how to do this, but I seem hopelessly inept at it.
How do I download a plugin and then use it? Here is the plugin I am looking
for, torque 3.2-rc1:
http://www.ibiblio.org/maven2/torque/maven-torque-plugin/3.2-rc2/
What are the steps I take to download that plug
I have noticed on a few different Maven built sites that the report
page for the Checkstyle plugin sometimes has the line numbers linked
to the Source XRef pages, and some times it does not.
For instance, this site does not:
http://displaytag.sourceforge.net/11/displaytag-portlet/checkstyle.html
Hi guys,
How do I make Maven 2 copy '**/*.hbm.xml" Hibernate files from
src/main/java/** to target/classes on running 'mvn compile'?
Thanks!
Serge
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Well you're supposed to be able to use true but
it does not seem to work.
I just ran into this but wasn't sure if it was really a bug or
something wrong on my end. If we decide this is a bug, we should post
a JIRA bug report.
Anyone else using Checkstyle and not getting the linkXref?? Or even
bet
Put them in src/main/resources instead of src/main/java.
Wayne
On 3/16/06, Sergei Dubov <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> How do I make Maven 2 copy '**/*.hbm.xml" Hibernate files from
> src/main/java/** to target/classes on running 'mvn compile'?
>
> Thanks!
>
> Serge
>
> --
I'm not getting the xref, and the three images are also not shown in the
report.
First off, if you haven't already, you should probably review the
"Getting Started With Maven" guide on the Maven site.
http://maven.apache.org/guides/getting-started/index.html
Every plugin has its own configuration etc. So you will need to look
at the Torque plugin documentation to find out what
Thanks, Wayne.
Too bad that the directory structure will have to be duplicated as well.
But I am going to push ahead. :-)
Also, is there a simple way to show on the console why your test fails
as opposed to seeing just <<>>
-Serge
Wayne Fay wrote:
Put them in src/main/resources instead of
Oh, come on! The problem is that it takes time to generate them... :)
MM
On 3/16/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
>
> Add an antrun task and attach to Test.PostGoal to delete the TEST*.xml
> files... ;-)
>
> Wayne
>
>
> On 3/16/06, Manlio Malaidini <[EMAIL PROTECTED]> wrote:
> > On 3/16/
Can you give more details please like the error stack trace :)
On 3/15/06, Devraj Brahmachari <[EMAIL PROTECTED]> wrote:
> hi
>
> the quickstart archetype that maven downloaded yesterday doesnt work
> today...in fact the entire file content of meta-central.xml file changes
> once i issue the
> mvn
The second site was generated with maven 1. The m1 checkstyle plugin
automatically generates links if the jxr plugin is activated.
For the m2 version, there seems to be a problem:
http://jira.codehaus.org/browse/MCHECKSTYLE-34
HTH,
-Lukas
Aaron Freeman wrote:
I have noticed on a few differ
If you really need to not duplicate it , you can point your resources
directory on your java directory. Unless you really need to (because
of some tools), I suggest you to go the standard way and duplicate
your directory structure, it will make your life easier :)
On 3/16/06, Sergei Dubov <[EMAIL
MM> What I'm looking for is a way to reduce those 60 KB
MM> generated for each xml report.
I don't know... that's not what you said originally... ;-)
Wayne
On 3/16/06, Manlio Malaidini <[EMAIL PROTECTED]> wrote:
> Oh, come on! The problem is that it takes time to generate them... :)
>
> MM
>
>
No, there is no real reason. After some thinking, I actually like the
Maven way.
How about seeing the reason why the test failed as opposed to just
<<>>
-S.
Alexandre Poitras wrote:
If you really need to not duplicate it , you can point your resources
directory on your java directory. Unles
I'm copying and pasting this from another email thread "avoid
generation of TEST*.xml files"...
Taking a look at the configuration documentation at:
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
it looks like there are two options that may be of interest:
reportFor
Hi,
How do we configure Maven2 to generate artifacts specific for Web Sphere
? like using "rmic" and "wrd" commands. wrd is for annotated beans.
What exactly is this WAS plug-in for Maven. Does this takes care of it ?
Thanks
-Jagan
setting useFile worked.
Thanks!
Serge
Wayne Fay wrote:
I'm copying and pasting this from another email thread "avoid
generation of TEST*.xml files"...
Taking a look at the configuration documentation at:
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
it looks li
How 'bout this:
pom.xml:
##
torque
maven-torque-plugin
3.2-rc1
##
command line and error
I'd suspect either:
1. this is a m1 plugin and possibly not going to work in m2 without
some code changes -- are you sure this will work in m2?
2. you are missing some configuration/settings
Looking at the torque plugin webpage, there seems to be a variety of
configuration options etc, and it lo
As I suspected...
"At the moment, only Maven 1 is supported by the Torque Maven plugin.
The recommended version is Maven 1.0.2."
http://db.apache.org/torque/releases/torque-3.2/maven-plugin/index.html
Wayne
On 3/16/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> I'd suspect either:
>
> 1. this is a
There is a good chance that the plugin does not work correctly. But, at
least the pom.xml for 3.2-rc1 is 4.0.0 and not 3. So, in theory, it
could work.
As far as adding settings, I am getting really confused by the documentation
as to where I put these settings.
Here are torque properties tha
Ah. Thanks. I'll go back to my original plan of creating my own
torque plugin for Maven 2. Since you can create plugins based on Ant,
and the Ant Tasks for the Torque Generator work just fine, I figure that's
a good place to start for the Torque Plugin for Maven 2.
Thanks again.
Charlie
W
And also, Is there a WAS plug-in for Maven 2 ???
-Original Message-
From: Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions, Inc. at
Cisco)
Sent: Thursday, March 16, 2006 11:25 AM
To: Maven Users List
Subject: Maven2 and WAS
Hi,
How do we configure Maven2 to generate artifact
Thanks for pointing me to that thread. Your -X option helped me see the http
401 error which allowed to further test. The thread made mention of the
proxy configuration. I commented out the element.I did this
because I repointed to an internal maven server, thus eliminating the need
for t
Adding the following manifestFile element failed to work for me as I
get the following error..
[INFO] Failed to configure plugin parameters for:
org.apache.maven.plugins:maven-jar-plugin:2.1-SNAPSHOT
Cause: Cannot find setter nor field in
org.apache.maven.archiver.ManifestConfiguration for
Hello again.
I am trying to write my own plugin (for Torque) and I would like to know how
to pass either a properties file or a list of properties to my plugin.
The page about creating your own plugin shows how you can pass parameters
in the command line, but I'd like to do it from a file.
Thanks
Hi folks,
I´m starting to use maven now (never used version 1.x.x) and have some
doubts about Maven´s repositories.
How could I set a local intranet Maven repository to our company´s projects
components? How does maven lives with the Internet repositories and local
ones? Where I can find documenta
Yes it's working but you need at least maven 2.0.1. My
pom look like this :
...
maven-antrun-plugin
1.0
integration-test
run
...
Yan.
--- Tom Joad <[EMAIL PROTECTED]> a écrit :
> Are you sure it works? For me it doesn't.
Hi,
I think it's time to release Continuum 1.0.3. This release will incorporate 65 issues, including
some critical fixes. The full listing of fixes can be found here:
http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=10540&styleName=Html&version=12330
If you're interested, you can ta
Sweet! Thanks to the Continuum team for all the hard work.
_Mang Lau
Emmanuel Venisse <[EMAIL PROTECTED]>
03/16/2006 04:33 PM
Please respond to
continuum-users@maven.apache.org
To
continuum-users@maven.apache.org
cc
Subject
Continuum 1.0.3 RC require some tester
Hi,
I think it's
localRepository does refer to a single user's local cache of artifacts.
You can also configure Maven to use any other repository over a
variety of protocols. If this is a repository on your intranet,
that's fine too. You can access the repository via http, scp, sftp,
and some others that may not
Hello,
I have made my first maven2.0 plugin which is supposed to generate
sources from a descriptor. Everything works ok as far as generation is
concerned and I followed
http://maven.apache.org/guides/mini/guide-generating-sources.html as
closely as possible. BTW, I was very pleased with the ease w
-DuseFile = false turns the xml and txt off. If you'd like to just
turn off xml, please file a feature request.
- Brett
On 3/17/06, Wayne Fay <[EMAIL PROTECTED]> wrote:
> MM> What I'm looking for is a way to reduce those 60 KB
> MM> generated for each xml report.
>
> I don't know... that's not wh
On 3/16/06, Brett Porter <[EMAIL PROTECTED]> wrote:
>
> -DuseFile = false turns the xml and txt off.
No, maven.junit.usefile=false doesn't turn xml off, only txt (and you have
the txt output on console, so you are not gaining anything at all).
And passing -Dmaven.junit.usefile=false on the comman
You can "formally" file this request in the Maven JIRA.
I guess the Surefire-plugin project is the right place...
http://jira.codehaus.org/browse/MSUREFIRE
Wayne
On 3/16/06, Manlio Malaidini <[EMAIL PROTECTED]> wrote:
> On 3/16/06, Brett Porter <[EMAIL PROTECTED]> wrote:
> >
> > -DuseFile = fal
org.apache.maven.plugins
maven-jar-plugin
/path/to/MANIFEST.MF
According to the documentation, this should work. Is it what you have
in your pom.xml file?
On 3/16/06, Sachi
There's no open source maven 2 plugin for WAS at this moment. I know
Mergere company (www.mergere.com) has one.
On 3/17/06, Jagan Padmanabha Pillai -X (jpadmana - Insight Solutions,
Inc. at Cisco) <[EMAIL PROTECTED]> wrote:
>
> And also, Is there a WAS plug-in for Maven 2 ???
>
> -Original Mes
Yes, this is exactly what I have. I took a quick peak at the plugin
code and I didn't see any reference to specifying a manifestFile either.
...
org.apache.maven.plugins
maven-jar-plugin
META-INF/MANIFEST.MF
Greetings -
I'm currently developing a custom Maven 2 archetype. I'm running into a not
very important, but somewhat annoying, problem in that I cannot seem to get
package naming down. I've got several source code .java files in the
src/main/resources/archetype-resources/src/main/java folder, an
89 matches
Mail list logo