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
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).
-
he
following:
...
VALUE
Maven is not picking up the execution specific configuration...
Andy Bell | DST Global Solutions Limited | 44 020 8390 5000x5837
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
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 [mailto:fredrik.is
2010 10:35
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:
?
and what are the odds it will be accepted :) ?
On Thu, Jan 21, 2010 at 11:31 AM, Entner Harald wrote:
> ok, i just realised, that my last a
sb.append( 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-de
remove this line true
;)
-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 using the following configuration in my pom:
or
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 it
o a custom 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 y
: 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
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]
G
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: Ques
olamy-2 wrote:
>>
>> Hi,
>> Did you put this plugin configuration in pluginManagement section ?
>>
>>
>>
>> 2010/1/12 skanatiker :
>>>
>>> Thanks a lot for your quick reply, but unfortunately the file is still
>>> not
&g
Hi,
try to set the ${maven.resources.overwrite} property.
Eg.
true
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 pretty sure)
regards, harald
-Ursprüngliche Nachricht-
Von: sk
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 [1])
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 a
e the collision.
>
> I've still got no idea how to fix this, but thanks for helping so far.
>
>
> On Tue, Dec 1, 2009 at 11:16 PM, Entner Harald wrote:
>
>> Hi Andrew,
>>
>> it looks like that ogckml22.xsd File imports the atom-author-link.xsd
>> F
hor-link
xjc
java.lunch20091126xml.kml
On Tue, Dec 1, 2009 at 10:00 PM, Entner Harald wrote:
> Hi Andrew,
>
> try removing the packageName in the pom.xml file.
>
> -Ursprüngliche Nachricht-
> Von: Andrew Hughes [mailto:ahhug...@gmail.com]
> Gesendet: Dienstag, 1. D
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
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 id
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 o
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 u
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
p
@gmail.com]
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 Ha
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
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: Dienstag
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 [mailto:jambo...@gm
You can use the build-helper-maven-plugin to add additional source folders.
e.g.
org.codehaus.mojo
build-helper-maven-plugin
1.3
add-source
generate-sources
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 conve
In order to unpack a file from a dependent artifact you can also use
dependency:unpack.
e.g.
org.apache.maven.plugins
maven-dependency-plugin
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]
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 way
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 has in my opinion a bad side effect. The structure is
cy 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 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 spec
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