hmm, i would rather say that m4.1 has already a dependency to m4 (via parent
definition, if there is a parent definition, i could be wrong though).
E.g. in order to build m4.1 m4 needs to be built first. So if you define a
dependency to m4.1 in m4 that build cannot work (due to the cycle).
btw: two commands that could be useful for you:
mvn dependency:tree (to see the dependencies explicitly)
and
mvn help:effective-pom (to see the effective pom)
with best regards, harald
-Ursprüngliche Nachricht-
Von: Entner Harald [mailto:entner.har...@afb.de]
Gesendet: Montag, 12
you don't have to declare the plugin twice, you can declare it only once and
add two execution nodes.(with all required properties).
Afaik, you can put configuration information that is common to both execution
nodes outside the execution node and put the execution specific information
into
the
following:
configuration
...
urlVALUE/url
/configuration
Maven is not picking up the execution specific configuration...
Andy Bell | DST Global Solutions Limited | 44 020 8390 5000x5837
Entner
Hi,
I would suggest the maven assembly plugin. [1]
Details on its configuration [2]
[1] http://maven.apache.org/plugins/maven-assembly-plugin/
[2] http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html
-Ursprüngliche Nachricht-
Von: Fredrik Israelsson
remove this line useSubDirectoryPerArtifacttrue/useSubDirectoryPerArtifact
;)
-Ursprüngliche Nachricht-
Von: eyal edri [mailto:eyal.e...@gmail.com]
Gesendet: Donnerstag, 21. Januar 2010 09:08
An: Maven Users List
Betreff: what copy-dependecies add -jar to artifact subDirectory
i'm
( artifactString ).append( File.separatorChar );
}
So i don't think it is possible.
-Ursprüngliche Nachricht-
Von: Entner Harald [mailto:entner.har...@afb.de]
Gesendet: Donnerstag, 21. Januar 2010 10:18
An: Maven Users List
Betreff: AW: what copy-dependecies add -jar to artifact
An: Maven Users List
Betreff: Re: what copy-dependecies add -jar to artifact subDirectory
How can i propose a fix/feature to have a new tag:
includeFileTypeInSubDir ?
and what are the odds it will be accepted :) ?
On Thu, Jan 21, 2010 at 11:31 AM, Entner Harald entner.har...@afb.dewrote:
ok, i
Hi,
afaik aggregator project do not inherit its plugins. You have to put the
compiler plugin into your parent pom (or another parent pom), then all childs
will use that plugin. Additionally i would specify the relativePath, so changes
to the parent are immediately visible (no need to install
even this is not a maven related question (as i assume that the dependent jar
is on the classpath), how do you open the file?
-Ursprüngliche Nachricht-
Von: Carlo Camerino [mailto:carlo.camer...@gmail.com]
Gesendet: Freitag, 15. Januar 2010 11:35
An: users@maven.apache.org
Betreff:
check the maven-dependency-plugin[1], especially copy [2].
[1] http://maven.apache.org/plugins/maven-dependency-plugin/
[2] http://maven.apache.org/plugins/maven-dependency-plugin/copy-mojo.html
-Ursprüngliche Nachricht-
Von: Hoehmann, Andreas [mailto:andreas.hoehmann@siemens.com]
: Freitag, 15. Januar 2010 14:56
An: Maven Users List
Betreff: AW: war-plugin copy dependency to WEB-INF/custom-lib
Hi,
Thanks for quick answer. But is there still a way to copy the specified
dependency and all its depending artifacts?
Klaus
-Ursprüngliche Nachricht-
Von: Entner Harald
target only a specific and
its depending artifacts.
-Ursprüngliche Nachricht-
Von: Entner Harald [mailto:entner.har...@afb.de]
Gesendet: Freitag, 15. Januar 2010 15:00
An: Maven Users List
Betreff: AW: war-plugin copy dependency to WEB-INF/custom-lib
yes, same plugin. If you want
...@ipsways.com:
Thanks a lot for your quick reply, but unfortunately the file is still
not
being overwritten. Any other ideas?
Entner Harald wrote:
Hi,
try to set the ${maven.resources.overwrite} property.
Eg.
properties
maven.resources.overwritetrue/maven.resources.overwrite
Hi,
try to set the ${maven.resources.overwrite} property.
Eg.
properties
maven.resources.overwritetrue/maven.resources.overwrite
/properties
Even this means that all resources are overwritten.
I haven't tested the solution, so it is not sure that it is working that way
(even i'm
Hi Amaresh,
it is possible that in one directory more than one pom file exists. Even
as far as i have used maven this case never occured. You can call mvn
with the -f option in order to specify another pom.xml file. But keep in
mind, that prior to version 2.0.9 (since 2.0.9 it is possible
Hey Michael,
Afaics there is no way to define the order of tests with the surefire plugin.
Maybe another plugin could help you.
But IMHO i would suggest to remove the dependencies of your tests. E.g. using
the @Before annotation. Otherwise you can never be sure that your tests are
working
Hi Andrew,
try removing the packageName in the pom.xml file.
-Ursprüngliche Nachricht-
Von: Andrew Hughes [mailto:ahhug...@gmail.com]
Gesendet: Dienstag, 1. Dezember 2009 12:13
An: Maven Users List
Betreff: jaxb2-maven-plugin : Two declarations cause a collision
Hi All,
I am trying to
/executions
configuration
packageNamejava.lunch20091126xml.kml/packageName
/configuration
/plugin
On Tue, Dec 1, 2009 at 10:00 PM, Entner Harald entner.har...@afb.de wrote:
Hi Andrew,
try removing the packageName in the pom.xml file.
-Ursprüngliche Nachricht-
Von: Andrew Hughes
no idea how to fix this, but thanks for helping so far.
On Tue, Dec 1, 2009 at 11:16 PM, Entner Harald entner.har...@afb.dewrote:
Hi Andrew,
it looks like that ogckml22.xsd File imports the atom-author-link.xsd
File. So isn't it sufficient to run the jaxb plugin for ogckml22.xsd only
Have you tried to delete your local repository and then run maven again?
-Ursprüngliche Nachricht-
Von: Richard Bibb [mailto:richard.b...@aimhedge.com]
Gesendet: Freitag, 27. November 2009 12:01
An: users@maven.apache.org
Betreff: Any idea what this error means
Hi All
I'm getting an
you could also adapt your settings.xml in order to bypass the companies
repository. (remove the proxy definition)
-Ursprüngliche Nachricht-
Von: Richard Bibb [mailto:richard.b...@aimhedge.com]
Gesendet: Freitag, 27. November 2009 13:25
An: users@maven.apache.org
Betreff: Re: AW: Any
Hi sandarenu,
it depends. If the jars are available in a public repository, the only thing
you have to do is to define them as dependencies in your pom. Try
http://mvnrepository.com/ as a start. There are more repositories available
though. .
If you want to upload your files manually you can
Hello,
has anyone tried to migrate from Netbeans (which uses ant as build
script) to Maven. I face some serious problems doing so, with Bpel- and
Composite Application Modules.
I see two solutions (both are not perfect):
- servicemix from apache, which seems not to be applicable with existing
What kind of project are you talking about? Is it a pure Java project or does
it run inside glassfish (for example)? What class files are missing? How does
the stacktrace look like?
Try to add the missing artifacts to the pom.
-Ursprüngliche Nachricht-
Von: jamborta
How do you run the jar file? (outside netbeans).
with java -jar ?
If you do so, the jar files need to be included in the resulting jar file, or
you have to add it to the classpath, via -cp ...
-Ursprüngliche Nachricht-
Von: jamborta [mailto:jambo...@gmail.com]
Gesendet:
Have a look here:
http://maven.apache.org/shared/maven-archiver/examples/classpath.html
-Ursprüngliche Nachricht-
Von: Entner Harald [mailto:entner.har...@afb.de]
Gesendet: Dienstag, 13. Oktober 2009 11:50
An: Maven Users List
Betreff: AW: AW: Running Jar file created by Maven
How do
]
Gesendet: Dienstag, 13. Oktober 2009 12:06
An: users@maven.apache.org
Betreff: Re: AW: AW: Running Jar file created by Maven
yes, i run with java -jar
but when I run mvn install, I can see that it downloads all the
dependencies. i thought it takes care of that automatically.
Entner Harald wrote
Does the jar reside in the war file?
-Ursprüngliche Nachricht-
Von: diafa...@gmail.com [mailto:diafa...@gmail.com] Im Auftrag von dtiodtio
Gesendet: Samstag, 3. Oktober 2009 21:49
An: users@maven.apache.org
Betreff: Failed deployment of Maven project to Glassfish
Hello,
I recently
You can use the build-helper-maven-plugin to add additional source folders.
e.g.
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdbuild-helper-maven-plugin/artifactId
version1.3/version
executions
execution
idadd-source/id
Have you tried to delete the complete repository (.../.m2/repository), in which
the false artifact is found? Maybe there are some legacy artifacts in it, which
in return have dependencies on others and so on.
-Ursprüngliche Nachricht-
Von: Michael Delaney [mailto:mdela...@upromise.com]
In order to unpack a file from a dependent artifact you can also use
dependency:unpack.
e.g.
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-dependency-plugin/artifactId
Actually, you can. But it is not that straightforward as you may wish.
Fact 1: A profile is inherited only, when it's defined in the child pom.
So you could move your plugin definition into a profile.
-Give it an (profile) id
-Inherit the profile in your child pom (and give it a phase)
That
position.
-Ursprüngliche Nachricht-
Von: Brett Porter [mailto:br...@porterclan.net] Im Auftrag von Brett Porter
Gesendet: Montag, 28. September 2009 01:29
An: Maven Users List
Betreff: Re: AW: copy file from dependent jar
On 25/09/2009, at 6:24 PM, Entner Harald wrote:
The ant script
03:55
An: Maven Users List
Betreff: Re: copy file from dependent jar
I'm a bit lost. Is Resource1 already included in Proj1 and is Proj1 a
dependency of Proj3?
- Brett
On 24/09/2009, at 8:01 PM, Entner Harald wrote:
Hello,
i face the following problem. Currently i'm refactoring a project
Hello,
i face the following problem. Currently i'm refactoring a project so
that i can move from ant to maven. It works rather well (i have done
this in my old company as well), but some special cases occur. Most of
them i could fix, but one causes me a headache.
This is the simple view of
36 matches
Mail list logo