Sorry, same question was already asked in mailing
list.
See
http://www.nabble.com/forum/ViewPost.jtp?post=12760227framed=yskin=177.
I've raised a JIRA
http://jira.codehaus.org/browse/MWAR-130.
--- Adrian Gonzalez [EMAIL PROTECTED] a écrit :
Hello,
warSourceExcludes appears to work only
Hello,
warSourceExcludes appears to work only for war:war,
but not war:inplace or war:exploded.
I'm using war plugin 2.0.2. Looked at source code, but
don't understand when AbstractWarMojo
#getExcludes() is taken into account.
Thanks for your help !
---
I've the following pom.xml (extract) :
If I understand Maven correclty (I'm quite a newbie),
there can only be one plugin of the same groupId /
artifactId in the plugins element.
If you have multiple execution elements you should put
them together in executions.
So your pom.xml should rather loog like :
project
to separate 2 plugin
executions, I've never seen anywhere that it was
forbiden, and this is the first time it does not
work...
-Message d'origine-
De : Adrian Gonzalez [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 17 octobre 2007 10:29
À : Maven Users List
Objet : RE : Configuration
Hello,
Version 2.2 of the plugin only uses the 'manifest'
section of the configuration, not the full 'archive'
configuration [1].
Should I fill a JIRA issue ?
I've only changed WarManifestMojo class the line :
- Manifest mf = ma.getManifest( getProject(),
archive.getManifest() );
to
- Manifest
Sorry, this one duplicates issue
http://jira.codehaus.org/browse/MWAR-111.
--- Adrian Gonzalez [EMAIL PROTECTED] a écrit :
Hello,
1. MWAR-125 : just attached test case.
2. for ear building, following link is interesting :
http://www.michaelyuan.com/blog/2007/10/09/jboss-seam-project-setup
in
the pom.xml.
Whereas using scope=compile and optional=true, it
shouldn't be the case.
--- Adrian Gonzalez [EMAIL PROTECTED] a écrit :
Thanks Wayne,
created as MWAR-125
(http://jira.codehaus.org/browse/MWAR-125).
I'll attach asap a test case and will try to find a
fix tomorrow (I
I'm trying to build a ear structure containing war and
jar files.
I'm using maven-war-plugin instructions from
http://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-guide.html
(last part of this page) to create MANIFEST.MF.
Using :
dependency
groupIdorg.foo/groupId
. IMHO it should
be included with optional=true since artB is optional.
Could someone please confirm me ?
[1] ScopeArtifactFilter filter = new
ScopeArtifactFilter( Artifact.SCOPE_RUNTIME );
if ( !artifact.isOptional() filter.include(
artifact ) ) {
...
//copy action...
--- Adrian Gonzalez
. ;-)
Wayne
On 10/15/07, Adrian Gonzalez [EMAIL PROTECTED]
wrote:
Hello,
I'm currently looking at maven source code.
In org.apache.maven.plugin.war.AbstractWarMojo
(v2.0.2), line 582, the .jar is copied in
WEB-INF/lib
if !artifact.isOptional().. [1]
I think that optionality
/maven-eclipse-plugin/examples/provide-project-natures-and-build-commands.html
If you're using WTP, this might be helpful:
http://maven.apache.org/plugins/maven-eclipse-plugin/wtp.html
HTH
Jim
On 10/11/07, Adrian Gonzalez [EMAIL PROTECTED]
wrote:
Hello,
A really noob question
Hello,
A really noob question... (sorry !)
I'm currently using maven-eclipse-plugin to build a
web project with third party dependencies and a java
project.
I want now to use this plugin to add a ear project
including the previous web project and java project
(as utility jar).
Hello,
I'm using dependency plugin to load my project jar
dependencies.
I would like to use it to download source
dependencies, but it generates an error whenever
there's no source available in mvn repo.
Is there a way to ignore unavailable sources ?
I looked at similar thread
Sorry, sorry
I didn't read correctly the documentation !
It's available since 2.0-alpha2, I've tested it before
with a bad command, here's the good one :
mvn dependency:copy-dependencies -Dclassifier=sources
-Dmdep.failOnMissingClassifierArtifact=false
--- Adrian Gonzalez [EMAIL PROTECTED
Hello,
I have the impression that the settings default
profiles (activated in settings.xml with
activeProfile) are not used when there's no pom.xml.
My use case is :
I've overrode central repository in settings.xml [1].
It's working fine for an existing project.
Now, I want to execute mvn
Thank you very much Thorsten !
--- Thorsten Heit [EMAIL PROTECTED] a écrit :
Hi,
I have the impression that the settings default
profiles (activated in settings.xml with
activeProfile) are not used when there's no
pom.xml.
Yes. There's already a couple of Jira issues for
that:
*
Hello,
I've read some post and cyclic dependency between
maven artifacts is not supported for the moment
i.e. artifact A depends on artifact B which depends on
artifact A.
I would like to know if something is planned about
cyclic dependency support or will it never be managed
by Maven ?
My use
:
I can't forsee Maven ever realistically making it
possible/easy to
introduce cyclical dependencies into your dependency
graphs. This goes
against the basic principles of the tool.
Wayne
On 8/28/07, Adrian Gonzalez [EMAIL PROTECTED]
wrote:
Hello,
I've read some post and cyclic
18 matches
Mail list logo