Re: Delivery Status Notification (Failure)

2011-04-07 Thread jy hu
Hi I don't found out the seetings.xml in - Your settings.xml file ~/.m2/settings.xml Here is my detail info,does anyone check it for my problem? thanks! C:\Users\hujunying>set ALLUSERSPROFILE=C:\ProgramData APPDATA=C:\Users\hujunying\AppData\Roaming ClassPath=C:\STAF\samples\demo\STAFDemo.jar;C:\

Re: Unable to tag SCM

2011-04-07 Thread Michael Jiang
Uh, good catch. Thanks Olivier! On Thu, Apr 7, 2011 at 12:47 PM, Olivier Lamy wrote: > replace > scm:svn:http://svnserver/server/tags > with > http://svnserver/server/tags > > HTH, > -- > Olivier > > 2011/4/7 Michael Jiang : > > I have the following config for a project "MYPRJ": > > > > > >

Re: Unable to tag SCM

2011-04-07 Thread Olivier Lamy
replace scm:svn:http://svnserver/server/tags with http://svnserver/server/tags HTH, -- Olivier 2011/4/7 Michael Jiang : > I have the following config for a project "MYPRJ": > > >    scm:svn:http://svnserver/server/tools/MYPRJ >    scm:svn:http://svnserver/server/tools/MYPRJ > >    scm:svn:http:

Unable to tag SCM

2011-04-07 Thread Michael Jiang
I have the following config for a project "MYPRJ": scm:svn:http://svnserver/server/tools/MYPRJ scm:svn:http://svnserver/server/tools/MYPRJ scm:svn:http://svnserver/server/tools/MYPRJ org.apache.maven.plugins maven-release-plugin 2.1 scm

Re: How to verify that my memory settings are being picked up

2011-04-07 Thread Wayne Fay
> org.grails.maven.plugin.AbstractGrailsMojo.runGrails(AbstractGrailsMojo.java:285) >        at org.grails.maven.plugin.MvnWarMojo.execute(MvnWarMojo.java:49) ... > org.codehaus.groovy.grails.cli.support.GrailsBuildHelper.execute(GrailsBuildHelper.java:130) >        at > org.grails.maven.plugin.Abs

How to verify that my memory settings are being picked up

2011-04-07 Thread laredotornado-3
Hi, I'm using Maven 3.0.3 on Mac 10.6.6. I have a small project and have this set in my ~/.bash_profile MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=2048m" When running a "mvn -e deploy", my project is dying with OutOfMemoryErrors (PermGen space). This maven output is generated. Does the "Final Memo

Re: Inheritance of properties

2011-04-07 Thread Jörg Schaible
Hi Wolf, Wolf Geldmacher wrote: > Hi Jörg, > > Thanks for the answer. > > Can you point me to a place where this behaviour is documented? > > It seems to hold for most, but not all URLs, i.e. scm, project URL and > documentation site URL (except for the webAccessUrl of the > maven-project-info

Re: ws.zones.apache.org down

2011-04-07 Thread Benson Margulies
I'm part of ws.apache.org and I've never ever heard of this. What were you getting from there? On Thu, Apr 7, 2011 at 6:14 AM, Ben Short wrote: > Hi, > > Over the last couple of days my builds have been failing because the > repository hosted at ws.zones.apache.org is down. > > Does anyone know w

Re: Checkout and Build all dependencies

2011-04-07 Thread Manfred Moser
> We have a compliance/audit requirement that we need to be able to exactly > reproduce builds. (Current requirement does not allow the build machine > access to our internal nexus repository.) I have had to deal with this sort of requirement in the past in ISO, FDA and code repository context. In

Re: Inheritance of properties

2011-04-07 Thread Wolf Geldmacher
Hi Anders, On Thu, 2011-04-07 at 14:26 +0200, Anders Hammar wrote: > First of all, I think that you're addressing the (what I call) developer way > by adding properties for many tings. Even if this would work, it makes the > poms difficult to read and understand. What I'm trying to do is to make t

Re: Inheritance of properties

2011-04-07 Thread Wolf Geldmacher
Hi Jörg, Thanks for the answer. Can you point me to a place where this behaviour is documented? It seems to hold for most, but not all URLs, i.e. scm, project URL and documentation site URL (except for the webAccessUrl of the maven-project-info-reports-plugin which remains untouched!) seem to be

Re: How to generate clients for my project

2011-04-07 Thread Rafael Vanderlei
I know the more information one provide the more accurate the answer he gets, but I thought I was clear when I put the type of the artifact (EJB) between parenthesis aside the modules on my project structure. Sorry for any mess. Regards, Rafael. On Thu, Apr 7, 2011 at 11:24 AM, Rafael Vanderlei

Re: How to generate clients for my project

2011-04-07 Thread Anders Hammar
"include" in the maven world is to declare a dependency. Don't duplicate classes! /Anders On Thu, Apr 7, 2011 at 16:24, Rafael Vanderlei wrote: > Oh, sorry, they´re not web services... my project provides ejbs to other > projects, so they are clients for ejb services. > > I know maven-ejb-plugin

Re: How to generate clients for my project

2011-04-07 Thread Anders Hammar
It looks like you've already set you're mind on the end result, but I'd like to warn you about duplicating classes in several artifacts. Sooner or later this will get you into trouble. I suggest you move these classes to a separate module and declare a dependency to it from your "server artifacts".

Re: How to generate clients for my project

2011-04-07 Thread Rafael Vanderlei
Oh, sorry, they´re not web services... my project provides ejbs to other projects, so they are clients for ejb services. I know maven-ejb-plugin has an opton to generate ejb client but I believe I can´t use it because I also need to include classes that are in other modules than ejb. And still the

Re: How to generate clients for my project

2011-04-07 Thread Ron Wheeler
The more details that you provide about what you are trying to build, the more likely it is that you will find someone who has the "right" answer. It is 99.9% certain, that more than one person has built what you are trying to do. If you ask very specific questions, you will tend to get very

Re: How to generate clients for my project

2011-04-07 Thread Ron Wheeler
Is it web services? On 07/04/2011 9:46 AM, Rafael Vanderlei wrote: Hi, Ron. Thanks for response. How would I configure such a project using Maven? Keeping in mind I already have all the code in the modules I mentioned before and I just need a way to put everything together in a jar and then d

Re: Include dependency jars in the resources

2011-04-07 Thread Stephen Connolly
what I think you are asking to do is: 1. add the jars you want to embed (you do know that the jar spec does not support opening jars within jars as if they are jars... you can process them youself, but they cannot be added to the classpath) as dependencies to the pom with some scope that is not tra

Re: How to generate clients for my project

2011-04-07 Thread Rafael Vanderlei
Hi, Ron. Thanks for response. How would I configure such a project using Maven? Keeping in mind I already have all the code in the modules I mentioned before and I just need a way to put everything together in a jar and then deploy to Nexus. Regards, Rafael. On Thu, Apr 7, 2011 at 10:36 AM, Ron

Re: How to generate clients for my project

2011-04-07 Thread Ron Wheeler
This looks like a classic web services configuration. The web services project produces a jar that all the clients need, it gets deployed as an artifact and the clients depend on that artifact. Is that what you are trying to do? Ron On 07/04/2011 9:27 AM, Rafael Vanderlei wrote: Hi. I have

Re: Installing third party artifact

2011-04-07 Thread gadi_sr
Thank you, I will try to use some of the tequnices. Gadi -- View this message in context: http://maven.40175.n5.nabble.com/Installing-third-party-artifact-tp4286043p4288551.html Sent from the Maven - Users mailing list archive at Nabble.com. -

RE: Include dependency jars in the resources

2011-04-07 Thread Sathyanarayana, Divya
Yes but I do not want to do that manually. Is there a way to tell pom to include it in src/main/resources? Regards, Divya Arun This e-mail, including any attachment(s) hereto, is intended only for the individual or entity to whom it is addressed. It may contain proprietary, confidential or priv

How to generate clients for my project

2011-04-07 Thread Rafael Vanderlei
Hi. I have a multi module project and I need to generate two clients (could be more) for my application. But the clients need to include classes that are in different modules, so I'm kind of not having much idea on how to do this. My project structure is like this - root --- module a (jar) --- m

Re: Include dependency jars in the resources

2011-04-07 Thread Manuel Doninger
You can (and i think you should) use the assembly-plugin, if you want to do that. Manuel On Thu, Apr 7, 2011 at 15:08, Rafael Vanderlei wrote: > 'Course he must use Maven´s dependency management to include dependency jars > in classpath, but if for some reason of his he wants to include some jar

Re: Include dependency jars in the resources

2011-04-07 Thread Rafael Vanderlei
'Course he must use Maven´s dependency management to include dependency jars in classpath, but if for some reason of his he wants to include some jars inside the one jar he is actually building, I think the best option would be to make Maven think it´s a resource. I cant see how maven would include

Re: Include dependency jars in the resources

2011-04-07 Thread Anders Hammar
Oh, no! He should not! This is what Maven's dependency management should be used for. /Anders On Thu, Apr 7, 2011 at 14:54, Rafael Vanderlei wrote: > If I got what you meant, you could put the jars in the directory > src/main/resources (which is Maven's standard directory for resources) and > th

Re: Include dependency jars in the resources

2011-04-07 Thread Rafael Vanderlei
If I got what you meant, you could put the jars in the directory src/main/resources (which is Maven's standard directory for resources) and then Maven would include it in the root of the final generated jar. Regards, Rafael. On Thu, Apr 7, 2011 at 9:14 AM, Sathyanarayana, Divya < divya.sathyanara

Re: Include dependency jars in the resources

2011-04-07 Thread Anders Hammar
> I am new to Maven so, please help me out with the solution. > I have set up a Java project and the pom creates a jar out of it. It has > 5 dependency jars which are in my repository and the project refers to > it fine (M2_REPO) > This worries me. What do you mean by "M2_REPO"? You shouldn't have

Re: Checkout and Build all dependencies

2011-04-07 Thread Ron Wheeler
On 06/04/2011 8:04 PM, AnasMughal wrote: We have a compliance/audit requirement that we need to be able to exactly reproduce builds. (Current requirement does not allow the build machine access to our internal nexus repository.) All builds or just releases? What stops you from doing that now? If

Re: Maven surefire plugin run twice with different argLine setttings

2011-04-07 Thread Hugo de Oude
Thanks for your information. At the moment we cannot switch to Maven 3 yet. I understand the part to take up multiple executions within the same surefire plugin. But how will this work combined with the itblast-plugin. Normally the itblast-plugin sets the goal (execute) and to be able to run the

Include dependency jars in the resources

2011-04-07 Thread Sathyanarayana, Divya
Hi, I am new to Maven so, please help me out with the solution. I have set up a Java project and the pom creates a jar out of it. It has 5 dependency jars which are in my repository and the project refers to it fine (M2_REPO) These external jars are being placed under src directory but are not pack

Re: Inheritance of properties

2011-04-07 Thread Jörg Schaible
Hi Wolf, Wolf Geldmacher wrote: > Hello List. > > I'm aiming at introducing maven (mvn 3.0.3 to be precise) in our > company. > > In preparation for the task I've set up a company wide POM (c-p-p) and a > project specific POM (c-p-p-p) plus a sample project for the developers > here to use as a

Re: The maven-assembly-plugin and a large complex project.

2011-04-07 Thread Wendy Smoak
On Thu, Apr 7, 2011 at 5:30 AM, Adam Gibbons wrote: > Alex, that's perfect! Exactly the kind of thing I'm trying to do myself. > Would you mind posting your reactor, war, jar and parent poms please? I'd > really like to see a working example of this in action. There are lots of open source projec

Re: Inheritance of properties

2011-04-07 Thread Anders Hammar
First of all, I think that you're addressing the (what I call) developer way by adding properties for many tings. Even if this would work, it makes the poms difficult to read and understand. I believe future tooling support (like m2eclipse) will solve some of this, but I still regard this as the de

Re: Maven surefire plugin run twice with different argLine setttings

2011-04-07 Thread Stephen Connolly
On 7 April 2011 12:08, Stephen Connolly wrote: > still bad... > > i'm going to guess that you defined the plugin twice, e.g. > > > maven-surefire-plugin > ... > > > maven-surefire-plugin > ... > Forgot to mention... I can conclude you are using Maven 2.x... Maven 3.x will tell you to take a l

Re: Maven surefire plugin run twice with different argLine setttings

2011-04-07 Thread Stephen Connolly
still bad... i'm going to guess that you defined the plugin twice, e.g. maven-surefire-plugin ... maven-surefire-plugin ... instead of adding an extra execution to the plugin maven-surefire-plugin ora ... mssql ... Now you should note

Inheritance of properties

2011-04-07 Thread Wolf Geldmacher
Hello List. I'm aiming at introducing maven (mvn 3.0.3 to be precise) in our company. In preparation for the task I've set up a company wide POM (c-p-p) and a project specific POM (c-p-p-p) plus a sample project for the developers here to use as a template (sample-project) - all included below.

Re: The maven-assembly-plugin and a large complex project.

2011-04-07 Thread Alex Lopez
BTW the "mvn install" or "mvn deploy" is done in our case on the top directory, the reactor one, and it gets propagated to the others in appropriate order by the reactor module. Em 07-04-2011 11:16, Alex Lopez escreveu: I don't think I can post the full thing, but I'll post some cut down versi

Re: The maven-assembly-plugin and a large complex project.

2011-04-07 Thread Alex Lopez
This is an example multi-module project with separate war, reactor and parent poms Em 07-04-2011 11:16, Alex Lopez escreveu: I don't think I can post the full thing, but I'll post some cut down version so you can make an idea. BTW, I got the idea from the documentation on sonatype site, look i

Re: Installing third party artifact

2011-04-07 Thread Yegor Bugayenko
I asked a very similar question in SO a few weeks ago: http://stackoverflow.com/questions/4906147 Maybe you will find it useful (the discussion is still open there). — Yegor Bugayenko, PMP®, SCEA On Wed, Apr 6, 2011 at 7:17 PM, Wayne Fay wrote: > > I have pom that has dependency of python to

Re: The maven-assembly-plugin and a large complex project.

2011-04-07 Thread Alex Lopez
I don't think I can post the full thing, but I'll post some cut down version so you can make an idea. BTW, I got the idea from the documentation on sonatype site, look into maven reference and maven by example books, available for free. They include links to sample projects configured more or

ws.zones.apache.org down

2011-04-07 Thread Ben Short
Hi, Over the last couple of days my builds have been failing because the repository hosted at ws.zones.apache.org is down. Does anyone know whats going on with this server? Regards Ben

Re: Maven surefire plugin run twice with different argLine setttings

2011-04-07 Thread Hugo de Oude
Oh I'm sorry. I tried to correct the problem and hopefully it is ok now? -- View this message in context: http://maven.40175.n5.nabble.com/Maven-surefire-plugin-run-twice-with-different-argLine-setttings-tp4288014p4288110.html Sent from the Maven - Users mailing list archive at Nabble.com. -

Re: Maven surefire plugin run twice with different argLine setttings

2011-04-07 Thread Tamás Cservenák
Hi Hugo, Your XML from both of your mails is garbled, unreadable (by Nabble UI if I'm right). Please use proper MUA or even better paste (http://pastebin.com/) or gist ( https://gist.github.com/) them and send the links to them instead. Thanks, ~t~ On Thu, Apr 7, 2011 at 11:03 AM, Hugo de Oud

Maven surefire plugin run twice with different argLine setttings

2011-04-07 Thread Hugo de Oude
Within our build process we would like to run all unittests twice. Because we would like to test everything against SQL Server and Oracle. To achieve this I added the maven-surefire-plugin to the pom twice. The first one has id 'run_tests_oracle_id' and the second one is called 'run_tests_sqlserve

maven-surefire-plugin additionalClasspathElement not working ?

2011-04-07 Thread Hugo de Oude
Does anybody know why this is not working: c:/_composer/_config/libraries/picketlink-bindings-1.0.4.final.jar I keep receiving the following error while running the itblast-plugin on tomcat5x: java.lang.ClassNotFoundException: org.picketlink.identity.federation.bi

Re: The maven-assembly-plugin and a large complex project.

2011-04-07 Thread Adam Gibbons
Alex, that's perfect! Exactly the kind of thing I'm trying to do myself. Would you mind posting your reactor, war, jar and parent poms please? I'd really like to see a working example of this in action. Cheers, Adam On 7 April 2011 09:51, Alex Lopez wrote: > Here we have a similar setup, we man

Re: The maven-assembly-plugin and a large complex project.

2011-04-07 Thread Alex Lopez
Here we have a similar setup, we manage to build everything into a WAR including dependent jars using reactor/assembly project: BTW, we use separate poms for parent (inheritance) and reactor (multi-module), which I think makes sense as all sub-modules have the parent as parent but not one sub-

Checkout and Build all dependencies

2011-04-07 Thread AnasMughal
We have a compliance/audit requirement that we need to be able to exactly reproduce builds. (Current requirement does not allow the build machine access to our internal nexus repository.) We have a few projects with typical maven dependency hierarchy. Is there a way that I could setup a build scri

[ANN] Maven Indexer version 4.1.0 Released

2011-04-07 Thread Brian Demers
The Maven team is pleased to announce the release of the Maven Indexer, version 4.1.0 This project creates portable indexes from maven repositories, which can be used to search for artifacts. You should specify the version in your project's dependency configuration: org.apache.maven.indexer

Re: surefire-junit47 provider does not see my tests (while older one does but fails)

2011-04-07 Thread Kristian Rosenvold
I haven't looked at the code, but did you try adding "includes" to the config and not just excludes ? If that solves the issue you should file a jira. Kristian Den 06.04.2011 19:00, skrev Igor Petruk: Hi. I forced surefire provider in the following way