The ${...} string is not supposed to be replaced. It will be resolved
because the parent hierarchy is retrieved when your artifact is declared as
a dependency, so it has the whole context to resolve the property.
Vincent
2010/10/26 Paul Benedict
> I don't believe that's supposed to happen.
>
>
Hi Mike
I posting my dependency tree below. Perhaps you can double check against
the output
of a mvn dependency:tree on your side; also perhaps you can post a build
log.
I was banging my head for weeks on this one; perhaps I can spot something.
Best regards
Andreas
[INFO] --- maven-dependenc
I don't believe that's supposed to happen.
On Mon, Oct 25, 2010 at 7:58 PM, Babak Farhang wrote:
>> Can you explain the "transformed pom" point?
>
> Perhaps I'm not using the correct terminology, but what I meant was
> that I looked at the pom in my local repo after I mvn install'ed it,
> and it
> Can you explain the "transformed pom" point?
Perhaps I'm not using the correct terminology, but what I meant was
that I looked at the pom in my local repo after I mvn install'ed it,
and it still contains the literal ${..} string where there should have
been the version number.
Babak
On Mon, Oc
Casey is correct
maven-assembly-plugin
assembly
package
single
src/main/assembly/bin.xml
true
Can you explain the "transformed pom" point? I believe Justin's
approach and "my" approach are identical -- all you are doing is
delaying the version resolution until you declare the dependency.
Anyway, let me know how it works out.
Paul
On Mon, Oct 25, 2010 at 7:03 PM, Babak Farhang wrote:
> Pa
On 25/10/2010 2:45 PM, Babak Farhang wrote:
Hi everyone,
Say I have a number of modules that share a dependency on Spring. I'd
like to centralize the version number of the Spring library that I'm
using, that is, the version these modules depend on. I.e. I don't want
the version number of the Spr
Paul's approach (using properties defined in the parent pom) is in
fact what I've been trying. Trouble is, the transformed pom still has
"${spring.version}", not the *value* it should resolve to. From a
practical standpoint, this should break transitive dependencies when
someone includes my projec
Really? Should I not be indicating a dependency on maven-core? Seems
like I'd have to though to compile against the
DefaultMavenPluginManager. What do you have?
Here are the dependencies for my plugin (I'm calling the assembly
plugin from within my plugin - that's the reason for the final
depen
Hi mike
I believe that might be related to a wrong dependency and I seem to believe
that I have seen this. You could post a dependency tree of your pluton and I
will double check against my own pluton.
Andreas
Sent from my iPhone
On Oct 26, 2010, at 12:03 AM, Mike Lenner wrote:
> Andreas -
Andreas -
Thanks - this works for me with one huge caveat (perhaps not
experienced by you since you're using scala?).
When the DefaultMavenPluginManager is loaded, it's loaded as part of
an org.apache.maven:maven-core specific classloader. One of the
classes loaded in the PlexusConfiguration. W
Just to be clear, it's been a long-standing bug that the assembly id was
NOT required. It's always been the intention to require that element.
That's why we provided the configuration element, to
give the user control over whether that id is used to form the
coordinate for the resulting artif
A simple scan of the release notes reveals this was introduced
intentionally by MASSEMBLY-464
On Mon, Oct 25, 2010 at 4:58 PM, Wendy Smoak wrote:
> On Mon, Oct 25, 2010 at 1:07 PM, Haszlakiewicz, Eric
> wrote:
>>>-Original Message-
>>>From: Wendy Smoak [mailto:wsm...@gmail.com]
>
>>>Have
On Mon, Oct 25, 2010 at 1:07 PM, Haszlakiewicz, Eric
wrote:
>>-Original Message-
>>From: Wendy Smoak [mailto:wsm...@gmail.com]
>>Have you tried setting appendAssemblyId to false?
>
> No, that doesn't help, but thanks for the suggestion.
How so? If is required (and this is a good thing)
I'll add comments but I don't think this is a bug.
On Mon, Oct 25, 2010 at 4:23 PM, Phillip Hellewell wrote:
> On Mon, Oct 25, 2010 at 11:07 AM, Haszlakiewicz, Eric
> wrote:
>>
>> I was finally able to test this with the 2.2 release version, and it
>> fails for me too, so I created a issue in Ji
Aaah...Thanks. I'll try this out tomorrow at work.
Regards,
Joakim
On Mon, Oct 25, 2010 at 6:40 AM, Kevin Calcagno wrote:
>
> With 2.2, the value of a 'descriptor' element is interpreted strictly as a
> file name relative to ${basedir}. To call your shared assemblies in 2.2,
> use 'descriptor
On Mon, Oct 25, 2010 at 11:07 AM, Haszlakiewicz, Eric
wrote:
>
> I was finally able to test this with the 2.2 release version, and it
> fails for me too, so I created a issue in Jira: MASSEMBLY-517.
Thanks Eric. Now I don't have to create it :)
Phillip
-
A possible solution is to have multiple Maven projects, instead of trying to
squeeze everything into one project.
/Anders
On Mon, Oct 25, 2010 at 21:56, Jon Paynter wrote:
> On Sat, Oct 23, 2010 at 4:49 AM, Wendy Smoak wrote:
>
> > On Fri, Oct 22, 2010 at 4:22 AM, googoo wrote:
> > >
> > > I
On Sat, Oct 23, 2010 at 4:49 AM, Wendy Smoak wrote:
> On Fri, Oct 22, 2010 at 4:22 AM, googoo wrote:
> >
> > I would like to execute 2 remote shell scripts from maven as a pre-deploy
> and
> > a post-deploy step.
>
> In Maven-speak, "deploy" means deploying to the remote repository.
> Are you th
I have it.
The problem was, that I have to put the following to the ear module
maven-compiler-plugin
testCompile
Now the test files of the other module are compiled a second time in the
ear module and then executed against the deployed instance.
It seems to work perfect now.
thanks
Dir
Make sure to have the repositoryId param specified:
http://maven.apache.org/plugins/maven-deploy-plugin/deploy-file-mojo.html#repositoryId
Define the credentials matching this id in your settings.xml.
/Anders
On Mon, Oct 25, 2010 at 15:04, Gerard Weatherby wrote:
> I'm trying to use the Maven de
On 25/10/2010 1:46 PM, Benson Margulies wrote:
I think that this is an oversimplification. Start setting up a
release, or the maven-eclipse-plugin, or a non-trivial web
application, and you will find that your POM gets bigger and bigger
and harder and harder to manage and understand. Cases that I
2010/10/25 Dirk Reske :
> The failsafe plugin has to be configured in the ear module, but the test
> classes have to be in the webmodule.
Strange. Can you try copying the test classes in the ear module?
Antonio
-
To unsubscribe,
2.5.6
Then for your dependency versions, specify ${spring.version}
For more information:
http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide
Paul
On Mon, Oct 25, 2010 at 1:45 PM, Babak Farhang wrote:
> Hi everyone,
>
> Say I have a number of modules that share a dependency on S
Use a property and/or dependency management in a shared parent POM.
Spring has multiple modules, so it is frequently useful to store the
common version for all modules in a single property and then specify
each relevant module in a dependencyManagement element.
Justin
On 10/25/10 2:45 PM, Babak F
Hi everyone,
Say I have a number of modules that share a dependency on Spring. I'd
like to centralize the version number of the Spring library that I'm
using, that is, the version these modules depend on. I.e. I don't want
the version number of the Spring dependency to be duplicated across
many po
But this dosn't change my situation.
The failsafe plugin has to be configured in the ear module, but the test
classes have to be in the webmodule.
I can manualy set the path to the test files, but this has no effect.
Perhaps I've forgotten something
org.apache.maven.plugins
maven-failsafe-plu
Hi,
On Mon, Oct 25, 2010 at 1:46 PM, Benson Margulies wrote:
>
> Have a look, some time, at the POM structure at cxf.apache.org. The
> shared parent is over 1,500 lines. A notable fraction of that is
> dependency exclusions, which in some cases are repeated, over and over
> and over, because all
2010/10/25 Dirk Reske :
> Because a module with packaging ear, does not look for a src/test/java
> directory (But if, where goes the compiled classes to in the ear file).
Good point :-D
You can anyway configure your integration testing through the use of
the failsafe plugin:
http://maven.apache.or
>> I think that this is an oversimplification. Start setting up a
>> release, or the maven-eclipse-plugin, or a non-trivial web
>> application, and you will find that your POM gets bigger and bigger
>> and harder and harder to manage and understand. Cases that I'm
>> familiar with include trying to
>-Original Message-
>From: Wendy Smoak [mailto:wsm...@gmail.com]
>
>On Thu, Oct 21, 2010 at 1:40 PM, Phillip Hellewell
>wrote:
>> I just found out the hard way that the latest version of the assembly
>> plugin requires an tag in the descriptor file, which is used as
>> the classifier appe
On Thu, Oct 21, 2010 at 1:40 PM, Phillip Hellewell wrote:
> I just found out the hard way that the latest version of the assembly
> plugin requires an tag in the descriptor file, which is used as
> the classifier appended to the zip.
>
> I don't want to specify an id here because then means I hav
Because a module with packaging ear, does not look for a src/test/java
directory (But if, where goes the compiled classes to in the ear file).
Am 25.10.2010 16:35, schrieb Antonio Petrelli:
2010/10/25 Dirk Reske:
We are looking for a "simple" way for our jsfunit integration testing.
The testca
>-Original Message-
>From: Phillip Hellewell [mailto:ssh...@gmail.com]
>
>On Thu, Oct 21, 2010 at 3:17 PM, Haszlakiewicz, Eric
> wrote:
>>
>> uh, oh. We depend on being able to specify that as empty too. I hope
>this gets fixed before it starts affecting my builds.
>> However, are you sur
I have a plugin (org.kathrynhuxtable.maven.wagon.wagon-gitsite) that uploads
your site documentation to github. It hasn't been verified to work with Maven 3
yet. The docs are at http://khuxtable.github.com/wagon-gitsite/, if you're
interested.
-K
On Oct 23, 2010, at 4:15 PM, Kenneth McDonald w
Comments interspersed below.
Ron
On 25/10/2010 8:26 AM, Benson Margulies wrote:
I've tried to come up with a 'moderate' reprocessing of this dispute
before, and for some reason I'm going to try again.
The fundamental idea of Maven is that a build can be described with a
small number of facts. T
2010/10/25 Dirk Reske :
> We are looking for a "simple" way for our jsfunit integration testing.
> The testcases must be in the web project, but it should be executed in the
> integration-test phase of the ear project.
If it is an *integration* testing of an EAR project, why don't you
simply move
We are looking for a "simple" way for our jsfunit integration testing.
The testcases must be in the web project, but it should be executed in
the integration-test phase of the ear project.
Dirk
Am 25.10.2010 16:07, schrieb Antonio Petrelli:
2010/10/25 Dirk Reske:
I know, this is not very cle
2010/10/25 Dirk Reske :
> I know, this is not very clean, but how can I run the tests of module_A
> while the test phase of module_B?
> I've set the surefire plugin to skip the tests in module_A.
> Module_A and module_B are submodules of the same parent project.
I bet you can't, but why did you se
2010/10/25 Manuel Ramirez Velasco :
> Excuse me if i don´t explain the problem correctly. The problem isn´t WAS
> or update zips.
>
> The problem is:
>
> In my folder I have a two items:
>
> FOLDER/src/one.java
> /src/two.java
>
> I am generating a zip:
>
> FOLDER.zip/WEB-INF/class
Hello,
I know, this is not very clean, but how can I run the tests of
module_A while the test phase of module_B?
I've set the surefire plugin to skip the tests in module_A.
Module_A and module_B are submodules of the same parent project.
thanks
Dirk
--
Hello Antonio, thanks for your reply.
Excuse me if i don´t explain the problem correctly. The problem isn´t WAS
or update zips.
The problem is:
In my folder I have a two items:
FOLDER/src/one.java
/src/two.java
I am generating a zip:
FOLDER.zip/WEB-INF/classes/one.class
Hello,
I know, this is not very clean, but how can I run the tests of
module_A while the test phase of module_B?
I've set the surefire plugin to skip the tests in module_A.
Module_A and module_B are submodules of the same parent project.
thanks
Dirk
--
Thus what you are waiting for are :
- Maven polyglot which will allow to write the pom in various formats
(simplified xml, groovy, whatever) : http://polyglot.sonatype.org/
- Mixins which will allow to inject part of poms and thus ease how we can reuse
them : http://www.sonatype.com/people/2008/1
The point of XML is not that it is a language in the way natural or
programming languages are.
The point is it provides a standard machine AND human readable way of
representing structured data. Yes, it's not terribly fun or
straightforward to edit XML in a text editor. That's why XML aware
e
Setting a non-beta version for the war plugin in the pom solved this
problem, only took a day to resolve it
Regards,
Simon
On 25/10/10 12:34, Simon Funnell wrote:
Hi,
I am starting to use maven with netbeans 6.9.1 for development of
webapps aimed at tomcat but at present get the error
I'm trying to use the Maven deploy plugin to upload an additional file
to our online public repository.
When I specify
sftp://gerardw,conn...@frs.sourceforge.net:/home/groups/c/co/connjur/htdocs/m2_repo
in the distributionManagement section of my pm, maven reads the
necessary authentication in
Hi,
if that's just for the local repository you can do that otherwise if you
want to move the location of the settings file also, you can specify one
using "-s" option in maven. In eclipse you can set the location of the
settings.xml file in the maven preferences.
Be careful, if you forget
VERY well said Ben. You get my vote here.
> -Original Message-
> From: Benson Margulies [mailto:bimargul...@gmail.com]
> Sent: Monday, October 25, 2010 8:27 AM
> To: Maven Users List
> Subject: Re: [Repetitive]: Maven does not live up to its promises
>
> I've tried to come up with a 'mode
Hei
In $USERHOME\.m2 settings.xml file you can specify the location of the
repository
http://maven.apache.org/SETTINGS/1.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd";>
Currently my Maven settings dir is
C:\Documents and Settings\ben\.m2\
resp.
C:\Documents and Settings\ben\.m2\repository
How can I move this directory to another location e.g.
D:\maven
Which parameters in which file do I have to change (even in Eclipse maven
plugin) to have Maven
working with
I've tried to come up with a 'moderate' reprocessing of this dispute
before, and for some reason I'm going to try again.
The fundamental idea of Maven is that a build can be described with a
small number of facts. This is possible if the right conventions are
analyzed, designed, and implemented in
Hi,
I am starting to use maven with netbeans 6.9.1 for development of
webapps aimed at tomcat but at present get the error detailed below. I
have tried with maven 2 and 3 but the error persists. I am too naive to
know whether it is a plug-in bug or something I have missed/changed/etc.
Any co
2010/10/25 François Guérout :
> I have a web application project in maven 2.2.
> This project is customized for each of our customer, so we use "profiles" to
> add appropriate dependencies.
> Until this point, all is working really great : we are building web app for
> each customer by using profil
2010/10/25 Manuel Ramirez Velasco :
> Hello, I´ve a problem using maven assembly plugin.
>...
> I´m generating a changes package in a zip file that allow me to deploy WAS
> update zips of an application deployed in WAS 6.0.
In other words, you're trying to use the assembly plugin to package a
part
Hello, I´ve a problem using maven assembly plugin.
I´m using my own assembly descriptor:
http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation=
"http://maven.apache.org/plugins/maven-assembly-plugin/ass
you're both correct, I was quoting Wayne
-Stephen
On 24 October 2010 20:46, Wayne Fay wrote:
>> And by the way, you should really try to stop using the java.net repo. I'll
>> quote Stephen Connolly, "friends don't let friends use the java.net maven
>> repositories". :-)
>
> H actually you ar
Hi,
I´m using the maven-war-plugin and maven-ear-plugin to build some archives
(Java 6).
I´v read about the the AVK (Application Verification Kit) from SUN and
also about the "Verifier tool", contained in Glassfish.
Is there any plugin, that can execute the J2EE compliance tests directly
out
Hi,
I have a web application project in maven 2.2.
This project is customized for each of our customer, so we use "profiles" to
add appropriate dependencies.
Until this point, all is working really great : we are building web app for
each customer by using profile (-P argument).
But I have a p
On 24/10/2010 22:29, Arnaud Héritier wrote:
> As some others said, the real solution for you is to use a repository
manager.
> It will bring many advantages to manage binaries coming from outside
and it will give you a transparent access to maven 1 and 2 repositories
On 24/10/2010 22:54, Wayn
Jason, if you do that can you post the link in this list too, please? I would
like to read it and I very seldom go check blogs, but I check my email daily.
:)
-Original Message-
From: Jason van Zyl [mailto:ja...@maven.org]
Sent: Sun 10/24/2010 6:03 AM
To: Maven Users List
Subject: Re:
61 matches
Mail list logo