Hello Rolf
You have to place the configuration element directly inside the
plugin element. Further pay attention that your plugin element is
defined inside build/pluginManagement/plugins, else (if it is defined
inside build/plugins) checkstyle will be executed on phase verify
(directly before
I have try your suggestion. And I found that, I must do two step to make My
OSSTAF upto date,
first I must do
\jgtfw\mvn install
then
\osstaf\mvn jetty:run
However, using that technique, I can not use Jetty's Hot Development
Feature
Is there any better solution???
--
View this message in
I'm trying to make a reusable plugin as described in section 5.4.2 of
Better builds with Maven and on
http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html
(both docs do slightly differ and it seems that the website is the more
current version).
It works fine with core ant
Hi.
Is anyone else using spring 2.0 and acegi 1.0.2
It seems acegi 1.0.2 is requiring spring 1.2.7 and adds 1.2.7 and 2.0 into
my ear.
Is this an issue with the spring libs I imported?
Below are my current dependencies:
dependency
We have just set up our own repository server in our department and
deployed several artefacts into it.
Now I need to tell my project that it has to look for a dependency not
only at Ibiblio, but also in my our department's repository.
Since the department's repository shall be the central place
On 10/9/06, Marco Mistroni [EMAIL PROTECTED] wrote:
Hello,
i see
in my case, my wstools (jboss) can see the Java file from which generate the
wsdl because i am specifying it as an ant task, and i am specifying the
classpath.. that's why the tool sees my interface
check on plugin docs if
I am fairly new to maven and currently using the native-maven-plugin
(http://mojo.codehaus.org/maven-native/native-maven-plugin/)
to build native source files. I am wondering what the next step should be
to run CPPUnit tests from Maven?
Looking at the CPPUnit cookbook, the easiest solution
Hello,
I want to achieve the following:
I have a remote repository on our local server and I want to say M2 that it has
to deploy projects artefacts into
this remote repository.
But without configuring this directly in each pom.xml,
because we have multiple projects and for each of
While migrating from Maven1 to Maven2...
I've been trying to find a proper solution for this, but I'm still stuck
with this.
I have Java-files in 3 packages (folders) in my Eclipse project and I wan't
(for some reasons) to excelude one of these packages. With mvn package
command I get an
I'm having a go at moving from Maven 1.x up to 2.0 and can't quite work
out the correct way to model local machine specific settings. I've
looked through the docs and mailing lists so have found various details
about profiles but I can't quite see how to use them to cater for
certain setup
Hi,
using Maven 1.0.2, I am just wondering is this plugin available for maven 1:
http://maven.apache.org/plugins/maven-jar-plugin/test-jar-mojo.html
Using multiproject and some tests have dependencies on common files so would
be nice not to have to duplicate the resources.
Is a viable
You should also look at web-app filtering, to replace tokens in web.xml
or other config or jsp files with properties which you set in profiles,
one profile for each customer.
I can see that seperate wars for each customer would be v. useful for
situations where the differences between
I've set
configuration
generateXmltrue/generateXml
/configuration
as described on
http://maven.apache.org/plugins/maven-clover-plugin/howto.html,
but the plugin doesn't seem to produce the XML report.
Did I miss something? Which file is the XML report supposed to be
generated to?
Hello,
I’m looking for some help on repository handling.
In our company we have 2 internal repository servers (both running
maven-proxy). They are also used for Ibiblio mirroring.
And they both contain 2 directories (one for snapshots and one for
releases).
This setup is complete and works
Hi,
-Original Message-
From: Gisbert Amm [mailto:[EMAIL PROTECTED]
Sent: mercredi 11 octobre 2006 12:18
To: Maven Users List
Subject: Clover Plugin doesn't generate XML report
I've set
configuration
generateXmltrue/generateXml
/configuration
as described on
Hi
when I create package for war project it duplicates whole project to
WEB-INF/classes.
So it looks like:
Project.war:
*css
*jsp
*META-INF
*WEB-INF
*lib
*all dependency jars
*classes
*classes
*compiled java
Vincent Massol wrote:
I've set
configuration
generateXmltrue/generateXml
/configuration
as described on
http://maven.apache.org/plugins/maven-clover-plugin/howto.html,
but the plugin doesn't seem to produce the XML report.
As the doc says there's no report generated, only an XML file
Add in ~/.m2/settings.xml
a profilesprofile that defaults activates and has a
buildpluginsplugin... idea with configurationjdkName1.4/jdkName
Or create a profiles.xml file in your project dir, which does the same
thing.
See the free m2 book.
Shute, James wrote, On 2006-10-11 11:25 AM:
I'm
-Original Message-
From: Gisbert Amm [mailto:[EMAIL PROTECTED]
Sent: mercredi 11 octobre 2006 15:04
To: Maven Users List
Subject: Re: Clover Plugin doesn't generate XML report
Vincent Massol wrote:
I've set
configuration
generateXmltrue/generateXml
/configuration
so you tried to generate a set of wsdl files from your java source,
but you ran the wsdl2java instead. is it a miss typed?
-D
On 10/11/06, Javier Leyba [EMAIL PROTECTED] wrote:
On 10/9/06, Marco Mistroni [EMAIL PROTECTED] wrote:
Hello,
i see
in my case, my wstools (jboss) can see
I posted this message a couple of days ago and I got no replies. Did I miss
any details that I needed to include? If you know of a better place to find
a solution, could you please redirect me to it?
Sam Anabtawi wrote:
I have been trying to get the changelog-maven-plugin to work with CVS
Yes it is; you run this with --batch-mode option. This way all the
defaults (this is what you want anyway) are automatically chosen.
-dh
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 10, 2006 10:50 AM
To: users@maven.apache.org
Subject:
Hi Craig,
You will need to build your test source as an exe and link against you
main artifact ( .lib, or dll, etc)
here is my suggestion
parent
win-x86
win-x86-test
link against win-x86 and use antrun to invoke the test
linux-x86
linux-x86-test
Hi,
I'm using the maven-clover-plugin 2.3 and try to get an history report from
my saved history points but all thats generated is the 'normal' clover html
report.
The section from my pom:
build
[...]
plugin
groupIdorg.apache.maven.plugins/groupId
Vincent Massol wrote:
There should be a site/clover/clover.xml file generated.
It isn't, that's why I ask.
Ok sorry. I misunderstood. I thought you meant XML report when you only
meant that there's no XML file... :-)
What could be the reason for that?
Hmmm... Very strange. What
So far it looks to me as if the behavior is intentionally.
I made some tests with the classifier giving TestNG the scope compile
which forces Maven to add it to the war file which I usually do not
(scopetestscope instead) and used classifierjdk14/classifier.
I ended up again with a jar file that
-Original Message-
From: Gisbert Amm [mailto:[EMAIL PROTECTED]
Sent: mercredi 11 octobre 2006 16:47
To: Maven Users List
Subject: Re: Clover Plugin doesn't generate XML report
Vincent Massol wrote:
There should be a site/clover/clover.xml file generated.
It isn't, that's
I have an application that using XML to define the features added to each
release version. I wrote an XSLT to convert this XML into the changes
plugin XML format. This allows me to have the same information in the
application and the generated site, but the XSLT execution is a manual
step. I
Afraid I'd already tried that but it doesn't work:
org.apache.maven.reactor.MavenExecutionException: Failed to activate
local (project-level) build profiles: Cannot parse profiles.xml resource
from dir C:\Dev\Foo
...
Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
I am not aware of an XSLT plug-in, but writing one should be a pretty
straight forward task. I guess I then would try to associate the
plug-in with source code generation or something similar during the site
creation life cycle.
Writing Maven 2 plug-ins is an easy to achieve task and there are
On 10/11/06, dan tran [EMAIL PROTECTED] wrote:
so you tried to generate a set of wsdl files from your java source,
but you ran the wsdl2java instead. is it a miss typed?
Obviously, I've fixed this before sent my last post.
J
Hello,
my 2 cents ant has an xslt task, you could use maven antrun plugin to
run it
will that be a possible solution?
hth
marco
On 10/11/06, Andreas Guther [EMAIL PROTECTED] wrote:
I am not aware of an XSLT plug-in, but writing one should be a pretty
straight forward task. I guess I
Thanks. Works great.
On 10/11/06, Aleksei Valikov [EMAIL PROTECTED] wrote:
Hi.
Is anyone else using spring 2.0 and acegi 1.0.2
It seems acegi 1.0.2 is requiring spring 1.2.7 and adds 1.2.7 and 2.0into
my ear.
Is this an issue with the spring libs I imported?
Below are my current
btw, did you give 1.1-snapshot a try? it has lots bug fixes since 1.0
On 10/11/06, Javier Leyba [EMAIL PROTECTED] wrote:
On 10/11/06, dan tran [EMAIL PROTECTED] wrote:
so you tried to generate a set of wsdl files from your java source,
but you ran the wsdl2java instead. is it a miss typed?
Our build system requires us to run vendor-specific J2EE compilers on our EAR
files. I ran across the Weblogic plugin that can execute the appc program
on an archive but it requires that you specify archive information in the
POMs that create EARs. What I would really like is to automagically
On 10/11/06, dan tran [EMAIL PROTECTED] wrote:
btw, did you give 1.1-snapshot a try? it has lots bug fixes since 1.0
Thanks for your help but I'm now testing Ivy. I found it more
flexible, documented and practical than Maven...by now... :)
J
Search for maven mirror central. This is discussed frequently on
this mail list and online.
You basically want to override Central with your local
department/corporate repo. This is done by establishing your local
corporate repo as a mirrOf Central in your settings.xml file.
Note that this will
I need a jar to be available in runtime scope, but it's defined with
system scope. Is there any way of making it available in runtime scope ?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
kurron wrote:
Our build system requires us to run vendor-specific J2EE compilers on our EAR
files. I ran across the Weblogic plugin that can execute the appc program
on an archive but it requires that you specify archive information in the
POMs that create EARs. What I would really like is to
Andreas,
Writing a plugin sounds like an interesting endeavor. I'll try that this
weekend. This appears cleaner to me in the long run since it will just be
another plugin execution.
Marco,
Since I need a short-term fix for this week's release, I think I'll use
your ant xslt task idea. What
what about http://mojo.codehaus.org/xslt-maven-plugin/ ?
On 10/11/06, Nate [EMAIL PROTECTED] wrote:
Andreas,
Writing a plugin sounds like an interesting endeavor. I'll try that this
weekend. This appears cleaner to me in the long run since it will just be
another plugin execution.
Marco,
Lifecycle site has this phases [1] :
lifecycle
idsite/id
phases
phasepre-site/phase
phasesite/phase
phasepost-site/phase
phasesite-deploy/phase
/phases
default-phases
thanx,
Monday I will be in the office again and will do it as you mentioned.
Rolf
On 10/11/06, Zeltner Martin [EMAIL PROTECTED] wrote:
Hello Rolf
You have to place the configuration element directly inside the
plugin element. Further pay attention that your plugin element is
defined inside
http://mojo.codehaus.org/xslt-maven-plugin/
Cheers,
Siegfried Goeschl
Marco Mistroni wrote:
Hello,
my 2 cents ant has an xslt task, you could use maven antrun plugin to
run it
will that be a possible solution?
hth
marco
On 10/11/06, Andreas Guther [EMAIL PROTECTED] wrote:
I am
monday I will put the exception on this list
thanx anyway
Rolf
On 10/10/06, Dennis Lundberg [EMAIL PROTECTED] wrote:
Rolf Strijdhorst wrote:
Hi when running the checkstyle plugin and some code styles are violated
the
build fails with an exception.
It does not fail nicely like the pmd
Hi Y'All
Is there a XMLBean 2 plug-in available for Maven 2.0 that generates the
schema JAR
from the XSD files?
--
Peter Pilgrim
UBS Investment Bank,
PTS Portal / IT FIRC OPS LDN,
100 Liverpool Street, London EC2M 2RH, United Kingdom
+44 (0) 20 75 75692
:: Java EE / E-Commerce / Enterprise
Ah, I figured there must be a pre-site phase. Thank you for including the
link to all of the lifecycle phases.
-Nate
Lifecycle site has this phases [1] :
lifecycle
idsite/id
phases
phasepre-site/phase
phasesite/phase
Manuel Ledesma wrote:
kurron wrote:
Our build system requires us to run vendor-specific J2EE compilers on
our EAR
files. I ran across the Weblogic plugin that can execute the appc
program
on an archive but it requires that you specify archive information in
the
POMs that create EARs. What I
Hello,
When I followed the tutorial at
http://maven.apache.org/guides/getting-started/index.html, after I ran
mvn idea:idea and opened the project in idea, the project jdk was not
set. Is there something I can do in maven to have the project jdk
said.
I have many LIB's that are in both my war and my ear. Is this correct or
should they just be in the ear?
--
Thanks
DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson
Thanks James for your feedback.
We'll add a note about plugin dependencies in projects.
Nobody else is interested by maven 1.1 ?
Should we continue to try to release a final version 1.1 ?
Everybody moved to maven 2 or your existing maven 1.x satisfy you ?
Arnaud
On 10/10/06, Shute, James
I generally only allow my JARs to be placed in my EAR lib to reduce
the overall size of my EAR and eliminate duplication of code (I'm
using Oracle OAS 10.1.2 right now). But you'll need to check your
container's documentation and perhaps the J2EE Specs to see what works
for you.
Currently this
Can I see your war pom.xml to see how you excluded everything?
On 10/11/06, Wayne Fay [EMAIL PROTECTED] wrote:
I generally only allow my JARs to be placed in my EAR lib to reduce
the overall size of my EAR and eliminate duplication of code (I'm
using Oracle OAS 10.1.2 right now). But you'll
Hi Rorbert,
I didn't see such a plugin for m1.
The common practice is to create a new project for your common classes
http://maven.apache.org/maven-1.x/using/bestpractices.html#Refactor_Your_Build
If you need to share test code among different projects, put that test code
in its own artifact
Sure, here's my war and ear pom (not all of them, but some of the
dependencies)...
war/pom.xml
dependency
groupIdgeronimo-spec/groupId
artifactIdgeronimo-spec-jms/artifactId
version1.1-rc4/version
scopeprovided/scope
/dependency
dependency
Maven says this:
jdkName is not set, using [java version1.5.0_08] as default.
But then if you look at the .ipr that it generates, you see this:
component name=ProjectRootManager version=2
assert-keyword=true jdk-15=true project-jdk-name=1.5 /
So I renamed by jdk to 1.5 in IDEA and it works
Can I omit the version and scope as they are already defined in the master
pom.xml in DependancyManagement? Or did that not work?
On 10/11/06, Wayne Fay [EMAIL PROTECTED] wrote:
Sure, here's my war and ear pom (not all of them, but some of the
dependencies)...
war/pom.xml
dependency
Will declaring a repository to be a mirror repository prevent the searching
for updated plugins? We are using snapshot versions of plugins and would
like to stabilize on those snapshots. I haven't been able to prevent maven
from looking for updates to snapshots, even with the -npu argument. So
I'd imagine you could omit both, but I'm not currently doing that.
Version I'm sure would flow through, and I'd expect scope would as
well.
Wayne
On 10/11/06, Mick Knutson [EMAIL PROTECTED] wrote:
Can I omit the version and scope as they are already defined in the master
pom.xml in
Creating the mirror repo as suggested will actually result in Central
being no longer available to your Maven execution -- the only plugins
and artifacts which you will be able to access are those already
available in your corporate repo.
So this would certainly restrict your Maven installs from
Thank you. I will try fixing the version number as you suggest.
However, setting up a central (with no other external repositories
declared) did not prevent Maven from trying to go out to
http://snapshots.repository.codehaus.org to look for an updated version of a
plugin. Perhaps I have an
Hi,
What databases are supported ? Only Derby or I can try to connect archiva
to another one like mySQL ?
Arnaud
Scope is subject to inheritance as well.
Deciding where to put it is a judgment call.
In the context of your whole project, I wouldn't consider a jar that
goes in the ear to be provided. I would only consider it to be
provided in the context of the war module. So, I would set the scope
in
Grep all your project pom.xml files for that url.
Then grep all your repo pom.xml files for that url.
Since you're using snapshots, I'd expect a snapshot plugin might
depend on other snapshot code, resulting in that snapshot repo url
landing in a plugin pom file. Released plugins do not/should
Wayne and all,
That's exactly the problem. I've grepped all the pom files for the plugins,
and many of them do contain repository declarations, and those repositories
are being used to satisfy dependencies. Unfortunately, many of them that
are not even snapshots still have the repository
As the subject says...
I'm wondering if everything I pass in via a -D flag is available as a
${...} macro in the pom.xml file. Also, are environment variables
available? Is it possible to define or compute values within the pom.xml
file?
One of several reasons I'm asking is because I need
Hi,
I know this has been posted to death, but anyway here goes.
I am looking for a list of non obvious properties that maven2 has access
to. For example ${java.home}, ${m2.home}, ${maven.repo.local} etc.
I know a lot can be derived from the pom structure but this is not what
I am after.
I am
Is there a Wiki decicated to Maven2 where the masses can contribut any
little snippets they may have. I have followed a number of links on
Codehaus and apache.org but they are eith imuttable or unreachable.
Cheers
Peter Anning
Sr Software Engineer
Hi there-
I am trying to use the maven-dependency-plugin in the
http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-dependency-plugin/2.0-SNAPSHOT/
directory. I have specified:
plugin
groupIdorg.apache.maven.plugins/groupId
Hi there-
Is there a plugin that explodes the dependency graph so that it is possible to
see why a jar is being included in the build? I have a bunch of mystery jars
that I would like to eliminate, or at least know which library is trying to use
them.
Thanks.
-Pat
I believe it is the intention of the Maven dev group to generally
avoid declaring repositories in plugin poms, as all released,
Maven-provided plugins should be available in Central. Additionally,
once a pom is released, it will never be updated to fix a bug etc,
instead all fixes require an
Hello János,
proximity RC4.2 does not support DAV deployment...
You should share your proximity storage using some alternate way
(samba, nfs or ftp...) and deploy onto it using the given protocol.
WebDAV is targeted to release RC5 or 1.0.0.
Currently i'm overhelmed with my daytime job, so these
Hi,
definitely a proximity bug.
Please fill a trac ticket about this.
Sorry about this, but currently i am overhelmed with my daytime job,
so proximity suffers from it. :( Will catch up as soon i can.
Sorry again,
~t~
On 10/6/06, Dave Hoffer [EMAIL PROTECTED] wrote:
We rebooted the server
On 10/11/06, Peter Anning [EMAIL PROTECTED] wrote:
Is there a Wiki decicated to Maven2 where the masses can contribut any
little snippets they may have.
Yes! It's not obvious, but the 'User Contributed' link under
Documentation (on the Maven home page) takes you to a part of the
MAVENUSER
Hi,
This is not the proximity users list. If you have questions about
proximity you should use those lists.
Thanks,
Jason.
On 11 Oct 06, at 9:02 PM 11 Oct 06, Tamás Cservenák wrote:
Hello János,
proximity RC4.2 does not support DAV deployment...
You should share your proximity storage
hello,
try the mvn site. it will generate a dependency html page
under target/generated-site.
Patrick Moore wrote:
Hi there-
Is there a plugin that explodes the dependency graph so that it is possible to
see why a jar is being included in the build? I have a bunch of
On 10/11/06, Patrick Moore [EMAIL PROTECTED] wrote:
Is there a plugin that explodes the dependency graph so that it is possible to
see why a jar is being included in the build? I have a bunch of mystery jars
that I would like to eliminate, or at least know which library is trying to use
them.
Thanks Wendy
You quite right it is not that well advertised, who could make it more
obvious?
Cheers
Peter
-Original Message-
From: Wendy Smoak [mailto:[EMAIL PROTECTED]
Sent: Thursday, 12 October 2006 12:10 PM
To: Maven Users List
Subject: Re: [m2]Is there a dedicated Maven2 Wiki
Wendy Smoak also answereed this one :o)
http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide
-Original Message-
From: Peter Anning [mailto:[EMAIL PROTECTED]
Sent: Thursday, 12 October 2006 9:56 AM
To: users@maven.apache.org
Subject: [m2]Properties List
Hi,
I
On 10/11/06, Peter Anning [EMAIL PROTECTED] wrote:
You quite right it is not that well advertised, who could make it more
obvious?
It's been a personal crusade of mine for a while now. :) In addition
to prominent links to the MAVENUSER wiki, I also want a link to a
corresponding wiki page
It is a definitely a bug. Please file a Jira against war plugin
-D
On 10/11/06, Andreas Guther [EMAIL PROTECTED] wrote:
So far it looks to me as if the behavior is intentionally.
I made some tests with the classifier giving TestNG the scope compile
which forces Maven to add it to the war
try
2.0-ALPHA-1-SNAPSHOT
It is the current development version of 2.0
-D
On 10/11/06, Patrick Moore [EMAIL PROTECTED] wrote:
Hi there-
I am trying to use the maven-dependency-plugin in the
hi all
i want to collect all jar file at one place from my
pom.xmldependency ,i write one plugin for that but in that plugin i am
unable to
define the path of lib
how i can achieve this ,i do not know
we are migrating our project from maven 1.x to maven 2.0.4
we have done that work
Can anyone explain what this error means:
[INFO] Internal error in the plugin manager executing goal
'org.apache.maven.plugins:maven-jar-plugin:2.1:jar': Unable to find the
mojo 'org.apache.maven.plugins:maven-jar-plugin:2.1:jar' in the plugin
'org.apache.maven.plugins:maven-jar-plugin'
84 matches
Mail list logo