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:
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, Wayne
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
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
you're both correct, I was quoting Wayne
-Stephen
On 24 October 2010 20:46, Wayne Fay wayne...@gmail.com 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
Hello, I´ve a problem using maven assembly plugin.
I´m using my own assembly descriptor:
assembly xmlns=
http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=
2010/10/25 Manuel Ramirez Velasco manuel.ramirez@lineadirecta.es:
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
2010/10/25 François Guérout francois.guer...@budget-box.com:
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
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
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
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
Hei
In $USERHOME\.m2 settings.xml file you can specify the location of the
repository
?xml version=1.0 encoding=UTF-8?
settings xmlns=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
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 'moderate'
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
I'm trying to use the Maven deploy plugin to upload an additional file
to our online public repository.
When I specify
urlsftp://gerardw,conn...@frs.sourceforge.net:/home/groups/c/co/connjur/htdocs/m2_repo/url
in the distributionManagement section of my pm, maven reads the
necessary
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
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
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 :
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
2010/10/25 Manuel Ramirez Velasco manuel.ramirez@lineadirecta.es:
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:
2010/10/25 Dirk Reske d...@studiorga.de:
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
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 Resked...@studiorga.de:
I know, this
2010/10/25 Dirk Reske d...@studiorga.de:
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
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.
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
-Original Message-
From: Phillip Hellewell [mailto:ssh...@gmail.com]
On Thu, Oct 21, 2010 at 3:17 PM, Haszlakiewicz, Eric
ehas...@transunion.com 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,
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 Resked...@studiorga.de:
We are looking for a simple way for our jsfunit integration
On Thu, Oct 21, 2010 at 1:40 PM, Phillip Hellewell ssh...@gmail.com wrote:
I just found out the hard way that the latest version of the assembly
plugin requires an id 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
-Original Message-
From: Wendy Smoak [mailto:wsm...@gmail.com]
On Thu, Oct 21, 2010 at 1:40 PM, Phillip Hellewell ssh...@gmail.com
wrote:
I just found out the hard way that the latest version of the assembly
plugin requires an id tag in the descriptor file, which is used as
the
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 cope
2010/10/25 Dirk Reske d...@studiorga.de:
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:
Hi,
On Mon, Oct 25, 2010 at 1:46 PM, Benson Margulies bimargul...@gmail.com 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
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
plugin
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
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
properties
spring.version2.5.6/spring.version
/properties
Then for your dependency versions, specify version${spring.version}/version
For more information:
http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide
Paul
On Mon, Oct 25, 2010 at 1:45 PM, Babak Farhang farh...@gmail.com
2010/10/25 Dirk Reske d...@studiorga.de:
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
-
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
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 gera...@alum.mit.eduwrote:
I'm trying
I have it.
The problem was, that I have to put the following to the ear module
plugin
artifactIdmaven-compiler-plugin/artifactId
executions
execution
goals
goaltestCompile/goal
/goals
/execution
/executions
/plugin
Now the test files of the other module are compiled a second time in the
ear
On Sat, Oct 23, 2010 at 4:49 AM, Wendy Smoak wsm...@gmail.com wrote:
On Fri, Oct 22, 2010 at 4:22 AM, googoo googoo...@yahoo.com 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
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 kittl...@gmail.com wrote:
On Sat, Oct 23, 2010 at 4:49 AM, Wendy Smoak wsm...@gmail.com wrote:
On Fri, Oct 22, 2010 at 4:22
On Mon, Oct 25, 2010 at 11:07 AM, Haszlakiewicz, Eric
ehas...@transunion.com 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
Aaah...Thanks. I'll try this out tomorrow at work.
Regards,
Joakim
On Mon, Oct 25, 2010 at 6:40 AM, Kevin Calcagno kcalca...@lulu.com 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,
I'll add comments but I don't think this is a bug.
On Mon, Oct 25, 2010 at 4:23 PM, Phillip Hellewell ssh...@gmail.com wrote:
On Mon, Oct 25, 2010 at 11:07 AM, Haszlakiewicz, Eric
ehas...@transunion.com wrote:
I was finally able to test this with the 2.2 release version, and it
fails for me
On Mon, Oct 25, 2010 at 1:07 PM, Haszlakiewicz, Eric
ehas...@transunion.com 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 id is required (and this
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 wsm...@gmail.com wrote:
On Mon, Oct 25, 2010 at 1:07 PM, Haszlakiewicz, Eric
ehas...@transunion.com wrote:
-Original Message-
From: Wendy Smoak
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 appendAssemblyId/ configuration element, to
give the user control over whether that id is used to form the
coordinate for
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.
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
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
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 project
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
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
Casey is correct
!-- could you please run this execution to verify --
build
plugins
plugin
artifactIdmaven-assembly-plugin/artifactId
executions
execution
idassembly/id
phasepackage/phase
goals
goalsingle/goal
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, Oct
I don't believe that's supposed to happen.
On Mon, Oct 25, 2010 at 7:58 PM, Babak Farhang farh...@gmail.com 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
59 matches
Mail list logo