I'm surprised that it works if you define MAVEN_TERMINATE_CMD in run.bat
Emmanuel
Baz a écrit :
I've added this as a comment on
http://jira.codehaus.org/browse/CONTINUUM-413 but since several people
are having the problem, I thought I'd tell the list.
The correct answer is, change continuum's
Why isn't the targetJDK parameter of the pmd plugin defaulted to the
source parameter of the compiler plugin, which is probably the case in
Maven 1?
I also noticed that the pmd-report resources aren't name spaced:
They are in
/src/resources/pmd-report.properties
instead of
Brett,
I'm a bit short of time, but I'll try to... a question, how do you
test a modified plugin? Do you just install it in your local
respository, or do you have to include it in the plugins/dependency
section using a SNAPSHOT, or whatever else?
TIA, best regards
Jose
2005/11/3, Brett Porter
Sean, thanks for the answer but that part works ok. When I embed variable1 it
is used by my plugin.
I would like to pass the value of the variable1 through command line when I create project using
archetype.
Does anybody knows if it is possible?
Sean Hennessy wrote:
The element variable1
I'm struggling with m2 and ear plugin. I'm using resourceDir for including
additional resources in ear archive. Since the project is stored in CVS,
directories within resourcesDir contain 'CVS' directories. Is there a way to
exclude those directories? I don't want them included in ear archive.
ok, then something must be wrong on my side because i had to declare
the M2_REPO classpath variable to point to my local repository to get
rid of the errors. here is my eclipse classpath file
?xml version=1.0 encoding=UTF-8?
classpath
classpathentry kind=src path=src/main/java/
I'm building ear artifact.
I've got packagingear/packaging in my pom, but when I use 'mvn package'
only subprojects (modules) are build. Build of ear archive is skipped.
When I include this node in my build tag, project is built correctly.
plugins
plugin
Hi Barry,
I noticed this yesterday too and raised an issue:
http://jira.codehaus.org/browse/MNG-1410
You may want to supply patches there.
Cheers,
Mark
On 04/11/05, Barry Kaplan [EMAIL PROTECTED] wrote:
Below is what I did to get a proper project to be created. Now I don't
really understand
Agreed. I think care should be taken with plugins that get automatically
updated as this has already created many unpleasant surprises. I think by
default only stable versions should be distributed as part of the Maven
core. Something like xxx-2.0-beta-2 doesn't belong in a production
environment.
I found strange behavior of antrun plugin. I believe that properties are not
resolved correctly in attributes content. For example echo task is producing
different output depending on place where property is used. When property is
used in tag body, the result is correct. But when used in
Hi,
* I have submitted the Issue MNG-1263 with a similar subject. May this
problem should be mention there.
* Independently, I can't see many advantages for using a flat layout
instead of hierachical project structure. The subject has been taken up
in the Eclipse Mini Guide:
Hello,
Here is more precisely what I need:
We are working with WebObjects frameworks with the following structure:
FrameworkName.framework
|
- Resources
| |
| - Java
||
|- frameworkname.jar
| -
On Fri, 4 Nov 2005, Mark Hobson wrote:
Sorry guys, but I closed the issue with a Won't fix,
see http://jira.codehaus.org/browse/MNG-1410 for an explanation.
Should you really have a good reason this is a bug/improvement,
NOT breaking maven 2's dependency handling, you can reopen it.
-- Kenney
On Fri, 4 Nov 2005, [iso-8859-2] Michał Stochmiałek wrote:
This is indeed a bug. If you were to use the ${basedir} property
(drop the property tag, replace ${destdir} by ${basedir}) it works.
Could you file a JIRA issue for this?
Thanks!
Kenney
I found strange behavior of antrun
On Fri, Nov 04, 2005 at 09:22:25AM +1100, Brett Porter wrote:
I think you need:
phasepackage/phase
and
goals
goaljar/goal
/goals
in the jar plugin as it is not being run otherwise.
- Brett
No luck with this either unfortunately.
I still have:
[INFO] [jar:jar]
[INFO] Building
Does Maven 2 has a switch for setting working directory?
Something like -d in Maven 1. I listed options with mvn -? but couldn't find it.
Thanks, Filip.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
On 04/11/05, Kenney Westerhof [EMAIL PROTECTED] wrote:
Sorry guys, but I closed the issue with a Won't fix,
see http://jira.codehaus.org/browse/MNG-1410 for an explanation.
Should you really have a good reason this is a bug/improvement,
NOT breaking maven 2's dependency handling, you can
Hi,
I say that because I was looking for xmlpull JARs, and I figured out that
they were in two different places on ibiblio:
- http://www.ibiblio.org/maven2/xmlpull/
- http://www.ibiblio.org/maven2/xpp3/
What's more, some folders don't even seem to be correct. For instance:
Hi,
The 0xf8 byte is also in:
plexus-container-default-1.0-alpha-8.pom
plexus-compiler-api-1.5.1.pom
plexus-compiler-manager-1.5.1.pom
plexus-compiler-javac-1.5.1.pom
What code page are the pom files meant to be in? Looks like they are
in Cp1252. But do you 'standardize' on that?
2005/11/4, Bernd Mau [EMAIL PROTECTED]:
Hi,
* Independently, I can't see many advantages for using a flat layout
instead of hierachical project structure. The subject has been taken up
in the Eclipse Mini Guide:
http://maven.apache.org/guides/mini/guide-ide-eclipse.html
What about editing
Hi there,
I want my plugin to run after the process-sources phase, and before the
generate-resources phase. if i bind it to the process-sources phase will
it run after that or before it?
dave
it run in the phase.
All plugin bound to a phase will be run in this phase without order.
why do you want to run it between this two phases?
Emmanuel
David Sag said:
Hi there,
I want my plugin to run after the process-sources phase, and before the
generate-resources phase. if i bind it to
Just to answer my own question, and to help others who are wondering the
same thing, I just tried it and the plugin runs *after* the phase it has
been bound to.
dave
David Sag [EMAIL PROTECTED] wrote on 04-11-2005 12:57:08:
Hi there,
I want my plugin to run after the process-sources
Thanks Vincent,
but I already looked at the profiles, It looks great except that it
seems that I would have to create one set of files for each different
profiles...
What I would prefer, if we take the case of database connection is to
have the one file I sent in my previous mail:
[EMAIL
That's interesting. To try this I bound checkstyle to my compile phase
and lo - the compile happened and then checkstyle ran. You are saying
that checkstyle should have run in the phase... what does that mean
exactly? Compilation is a pretty discrete process so I don't see how or
why
The point here is to alter Hibernate Spring POMs directly in central Maven
repository, so that everybody gets the benefit of the changes.
The way to do that is to file a JIRA issue in
http://jira.codehaus.org/browse/MEV , but this requires a certain knowledge of
the related product to know what
m2 collect all plugins bound in a specific phase and run them one by one
without a specific order.
David Sag said:
That's interesting. To try this I bound checkstyle to my compile phase
and lo - the compile happened and then checkstyle ran. You are saying
that checkstyle should have run in
by that do you mean that it's random and so sometimes checkstyle might run
before the compile and sometimes after?
that's a strange architectural decision
dave
Emmanuel Venisse [EMAIL PROTECTED] wrote on 04-11-2005 13:46:29:
m2 collect all plugins bound in a specific phase and run them one
it isn't random. You'll obtain always the same result. But if you bind an
other plugin to this phase, you cannot know if it will be run before or
after the checkstyle plugin.
I don't remember exactly how it load plugin, but I think it load core
plugins (in our case, compiler plugin) and after
Brett, have you filled an issue in JIRA for this, or should I do it? If so,
in which component?
- Fabrice
Yes, it sounds like a bug. The version in plugin management should be
used.
-U is only for when the version is unspecified.
- Brett
On 11/4/05, fabrice belingard wrote:
OK,
you can file it in core component.
Emmanuel
[EMAIL PROTECTED] said:
Brett, have you filled an issue in JIRA for this, or should I do it? If
so,
in which component?
- Fabrice
Yes, it sounds like a bug. The version in plugin management should be
used.
-U is only for when the version
Hi,
I'm trying to get the release plugin to work for my multimodule project.
The root pom has
scm
connectionscm:svn:http://svn.apache.org/repos/asf/cocoon/whiteboard/maven2/cocoon-flat-layout/connection
Hello,
I'm building ear artifact.
I've got packagingear/packaging in my pom, but when I use 'mvn package'
only subprojects (modules) are build. Build of ear archive is skipped.
Actually, if you use modules in the pom, the packaging should be set
to pom, and ear project should be one of the
I'm not. I'm relatively new to both Maven and especially xdoclet. I just
assumed with everything else xdoclet appears to be doing that it would do that
as well.
It works as you suggested, though. So thanks for that.
-Original Message-
From: Arnaud HERITIER [mailto:[EMAIL
mvn -f path-to-your-project-dir/pom.xml
then the working directory will be path-to-your-project-dir
-D
On 11/4/05, Nitko2 [EMAIL PROTECTED] wrote:
Does Maven 2 has a switch for setting working directory?
Something like -d in Maven 1. I listed options with mvn -? but couldn't
find it.
I have seen in Maven Plugin Matrix that AspectJ Plugin for Maven 2 is
considered Low Priority (!) and it is yet to be done. However, I was
googling around and found some Maven2 compilers besides javac
(eclipse, aspectj), called plexus-SOMENAME-compiler. I saw in this
mail list as well someone
I'm working with Spring 1.2.5 and retrofitting an older application
that makes use of spring-jdbc and spring-dao. I'm curious how other
folks are using this because I have exclusions out the ying-yang.
I'd like to make some suggestions of jars that should be optional.
I'm even happy to post my
I figured out what caused this: A jar file listed as a plugin in your
POM that does not contain META-INF/maven/plugin.xml
-Original Message-
From: Allison, Bob [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 03, 2005 11:09
To: Maven Users List
Subject: [m2] Strange Build Error
I am
You may take a look at http://jira.codehaus.org/browse/MEV-133
I've setup poms for spring 1.2.5 to make all the tools spring supports
optionnal and reduce transitive dependencies to expected ones.
Brian Bonner a écrit :
I'm working with Spring 1.2.5 and retrofitting an older application
Mark Hobson wrote:
(Project A depends on project B; both SNAPSHOT versions; all mvn
commands done in reactor build)
* Delete A and B from local repo
* mvn install - SNAPSHOT jars created in local repo
* mvn eclipse:eclipse - project references created
* Delete B from local repo
* mvn install -
Please file an improvement in Jira for this (MNG - maven-ear-plugin).
Thanks.
On 11/4/05, Michał Stochmiałek [EMAIL PROTECTED] wrote:
I'm struggling with m2 and ear plugin. I'm using resourceDir for including
additional resources in ear archive. Since the project is stored in CVS,
Nicolas, nice work. I'm adding to it the pom for spring-orm and
spring-webmvc and made a correction to spring-web (changed povided to
provided).
I'm unclear why spring-dao is dependent upon spring-webmvc. Any thoughts?
It looks like spring-support is the only one left.
I'm hoping that If we
Thanks for your corrections.
Brian Bonner a écrit :
Nicolas, nice work. I'm adding to it the pom for spring-orm and
spring-webmvc and made a correction to spring-web (changed povided to
provided).
I'm unclear why spring-dao is dependent upon spring-webmvc. Any thoughts?
It looks like
I made a couple of others, too. Hopefully Carlos will get this
dropped into ibiblio soon :)
Brian
On 11/4/05, Nicolas De Loof [EMAIL PROTECTED] wrote:
Thanks for your corrections.
Brian Bonner a écrit :
Nicolas, nice work. I'm adding to it the pom for spring-orm and
spring-webmvc and
I cant seem to figure out how to have the checkstyle plugin allow me to use my
own checkstyle.xml file (instead of sun's checks). What's the magic I need
here?
my checkstyle.xml file:
?xml version=1.0?
!DOCTYPE module PUBLIC
-//Puppy Crawl//DTD Check Configuration 1.2//EN
The checkstyle plugin currently does not support custom formats.
Several defects have been logged against this limitation.
http://jira.codehaus.org/browse/MNG-1113
http://jira.codehaus.org/browse/MNG-587
Regards,
Mark.
-Original Message-
From: Duane Homick [mailto:[EMAIL PROTECTED]
You can find J2EE project skeleton at: http://www.bzdyl.net/demo-app.zip
(I have created for J2EE ver. 5 but it is easy to customize it to your
needs. It uses maven-par-plugin and maven-ejb3-plugin which are
currently in maven sandbox in the repository. I don't know if you can
find them
regarding mevenide:
i've done some basic work on maven2 mevenidefor netbeans. I'm using the
embedder for that as well. it has some rough egdes but geneally works fine.
check my recent post to the dev list with details.
the current embedder is not release but I think Jason is very close to
Hi,
Could your problem be the same as http://jira.codehaus.org/browse/MNG-1316 ?
Le Jeudi 3 Novembre 2005 13:42, Thomas Van de Velde a écrit :
Hi,
I am running mvn site and get the following error:
[INFO] [site:site]
[INFO] Generate Continuous Integration report.
[ERROR] VM
I have a bundle setup in my local repository. When I try to do a:
mvn -o install
at a location where I don't have internet access, it fails because it
can't contact the server.
Is there something special I need to do when running in offline mode?
Thanks,
Brian
You may have asked before. As you see in the issue it's in progress,
I'm building spring with m2 so I'll have the right poms soon. I could
send you mines and get your feedback.
Regards
On 11/4/05, Brian Bonner [EMAIL PROTECTED] wrote:
I made a couple of others, too. Hopefully Carlos will get
Just want to thank everyone who has been answering my questions over the last
couple days. Your help is much appreciated!
Couple quick questions:
1. Is there a way to have maven build a subproject (and only that subproject)
without having to change directories into that subprojects directory.
On Fri, 2005-11-04 at 19:46 +0100, Milos Kleint wrote:
regarding mevenide:
i've done some basic work on maven2 mevenidefor netbeans. I'm using the
embedder for that as well. it has some rough egdes but geneally works fine.
check my recent post to the dev list with details.
the current
Hi,
I've just released maven-embedder 2.0 for those wishing to integrate
Maven into their tools. I still have not published the aggregated JAR as
it is presenting some issues. So the proper release has been released
into the repository and the aggregated JAR can be found here for the
time being:
I don't think I asked before :). I'm not building Spring with it.
I'm using various modules in a project. Using the modules and
building the modules seem like they will have different dependencies.
With the building requiring more dependencies and the latter requiring
fewer based on what
That's not right, the poms are exactly the same to build and to use.
If you need hibernate to build it it's because you may need it at
runtime.
On 11/4/05, Brian Bonner [EMAIL PROTECTED] wrote:
I don't think I asked before :). I'm not building Spring with it.
I'm using various modules in a
Nope. I have this:
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
modelVersion4.0.0/modelVersion
parent
Meant to say:
Would be nice to hear from the Maven team on this topic
On 11/4/05, Thomas Van de Velde [EMAIL PROTECTED] wrote:
Would be nice to hea
On 11/4/05, Thomas Van de Velde [EMAIL PROTECTED] wrote:
Agreed. I think care should be taken with plugins that get automatically
updated
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
What specifically is it trying to retrieve from the server?
- -john
Brian Bonner wrote:
| I have a bundle setup in my local repository. When I try to do a:
|
| mvn -o install
|
| at a location where I don't have internet access, it fails because
Just to set up a simple test that queries Hibernate from a Spring MVC
controller (using the spring-mock package), I need to define this:
dependency
artifactIdspring-webmvc/artifactId
groupIdspringframework/groupId
It will be solved (as much as possible) when
http://jira.codehaus.org/browse/MEV-133 is solved.
Take also into account that some of the spring jars depend in a lot of
stuff so there's no easy way to do some things without splitting more
the jars.
On 11/4/05, Thomas Van de Velde [EMAIL PROTECTED]
OK, You're saying the build poms are the same as the poms in ibiblio.
Does optionaltrue/optional mean that I don't need them at runtime,
but if scopecompile/scope they will be included for the build?
I can see the following scenario:
If I need jar A to build a project resulting in jar B, then
Thomas, I'm seeing something similar to what you're seeing, although
not exact since we have different dependencies. Based on the setup
current in ibiblio, but maybe they aren't cast in stone yet. I had a
bunch of exclusions to get down to what I needed.
I'm going to wait and see what Carlos
Hi John,
Hopefully I didn't mispeak. Here's the error:
[INFO] -
---
[ERROR] BUILD ERROR
[INFO] -
---
[INFO] Error building POM (may not be this
Hi,
I'm using Maven 1.x and I'm also new at Maven... I have a simple
multi-project that has 2 sub-projects: A and B, A is dependent on B. I was
able to run multiproject:install on the project successfully by providing
dependencies in A's project.xml. But when I ran multiproject:site the
Hello every one,
IMHO, cpptasks knows too much about platform specific.
After a while it becomes impossible to maintain and cpptasks went
to orphanate state.
I decided to go with a light weight engine, give user the responsibilty to
specify every thing.
They have to know it any how .
I turn
Check out: http://jira.codehaus.org/browse/MEV-133
On 11/4/05, Yann Le Du [EMAIL PROTECTED] wrote:
The point here is to alter Hibernate Spring POMs directly in central Maven
repository, so that everybody gets the benefit of the changes.
The way to do that is to file a JIRA issue in
Ok, I've got direct eclipse project references now. The procedure below
worked perfectly. Thanks!!
-barry
Barry Kaplan wrote:
Mark Hobson wrote:
(Project A depends on project B; both SNAPSHOT versions; all mvn
commands done in reactor build)
* Delete A and B from local repo
* mvn install
All right, this did the trick. Sorry about that:
mvn install:install-file -DartifactId=jt400-full -Dversion=4.8.0
-DgroupId=com.ibm.as400 -Dfile=jt400-full-4.8.0.jar -Dpackaging=jar
Lesson for today: don't tinker directly with the repository ;)
On 11/4/05, Brian Bonner [EMAIL PROTECTED]
The documentation for the compiler plugin says that the debug parameter is
deprecated. Why is this and what's the recommended replacement?
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html
K.C.
Argh! It installed it correctl, so I thought I was home free, but I'm
getting the same friggin' error. Oh maven gods, why do you mock me?
Brian
p.s. here's the error:
C:\paraware-parent\paraware-businessmvn -e -o eclipse:eclipse
+ Error stacktraces are turned on.
[INFO]
NOTE: Maven is
All,
I wanted to give something back to the community. For all of you, who would like to know
how to structure a web application in a way that it can be build for different
environments, here is the solution:
I combined several previous posts and my ideas, this application uses different
hello,
I put a custom.css file under xdocs/style and added maven.xdoc.theme.url
=./style/custom.css
to project.properties
The m1 doc says ...a css file that can be used in addition to
maven-base.css
However, when the site is generated, the pages do not look like a standard
maven
project
Hi Thomas,
The maven.xdoc.theme.url property only works as an absolute URL (the
documentation on this has recently been updated), what you want is a
project.css file in xdocs/style/, this will automatically be picked up.
HTH,
-Lukas
[EMAIL PROTECTED] wrote:
hello,
I put a custom.css
Hi,
Could it be that the assembly plugin does not support multi-module
projects correctly ?
I have the following project structure:
Root
|--Module1
|--Module2
|--Module3
So somewhere in Root's pom.xml I have
modules
moduleModule1/module
moduleModule2/module
moduleModule3/module
/modules
75 matches
Mail list logo