Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-18 Thread Stuart McCulloch
On 19 Mar 2009, at 09:19, sebb wrote: On 19/03/2009, Rusty Wright wrote: Do the imports only have an effect at compile time? For example, if you have package impl.zzz; import api.yyy.Yyy; public class Xyz implements Yyy { } When you run the app the jvm won't need to have the yyy.Yy

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-18 Thread sebb
On 19/03/2009, Rusty Wright wrote: > Do the imports only have an effect at compile time? For example, if you > have > > package impl.zzz; > > import api.yyy.Yyy; > > public class Xyz implements Yyy { > } > > When you run the app the jvm won't need to have the yyy.Yyy class > available?

Re: different behaviour of surefire with maven 2.0.10

2009-03-18 Thread Dan Tran
see this issue for details https://jira.codehaus.org/browse/SUREFIRE-121 -D On Wed, Mar 18, 2009 at 4:25 PM, Stefano Fornari wrote: > Hi Dan, > thanks fo the quick reply. But do you mean that this is the correct > behaviour of surefire 2.4.3? It seems odd to me. > > Ste > > > > On Thu, Mar 19,

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-18 Thread Rusty Wright
Do the imports only have an effect at compile time? For example, if you have package impl.zzz; import api.yyy.Yyy; public class Xyz implements Yyy { } When you run the app the jvm won't need to have the yyy.Yyy class available? Even if that's true it seems dubious to me because it seems

RE: Release plug-in failing to resolve env vars.

2009-03-18 Thread Nord, James
I would then have to maintain multiple lists of mirrors for each site which is error prone. Currently to add one new repo I only need to add the repo to the profile (or base pom) and a single entry in the mirror section. > -Original Message- > From: Santosh Patel [mailto:santosh@gm

Re: different behaviour of surefire with maven 2.0.10

2009-03-18 Thread Stefano Fornari
Hi Dan, thanks fo the quick reply. But do you mean that this is the correct behaviour of surefire 2.4.3? It seems odd to me. Ste On Thu, Mar 19, 2009 at 12:07 AM, Dan Tran wrote: > maven 2.0.10 uses surefire 2.4.3 which will break your test scenario, > you need to pin down your sure fire to 2.

Re: different behaviour of surefire with maven 2.0.10

2009-03-18 Thread Dan Tran
maven 2.0.10 uses surefire 2.4.3 which will break your test scenario, you need to pin down your sure fire to 2.4.2 and i think 2.0.9 uses 2.4.2 -D On Wed, Mar 18, 2009 at 3:52 PM, Stefano Fornari wrote: > Sorry, I am not sure the zip went through. Here are the relevant classes... > > On Wed,

Re: compile-time only depend - how to reference without generating transitive dependency?

2009-03-18 Thread sebb
On 18/03/2009, sebb wrote: > AIUI, "compile" scope means compile, test and run, and generates a > transitive dependency. > > There are some dependencies that are compile-time only, for example > annotations, and Java specification jars - i.e. API-only jars that > have no implementation. > > W

Re: different behaviour of surefire with maven 2.0.10

2009-03-18 Thread Stefano Fornari
Sorry, I am not sure the zip went through. Here are the relevant classes... On Wed, Mar 18, 2009 at 11:48 PM, Stefano Fornari wrote: > Hi All, > Has anyone experiencing the same problem? Up to maven 2.0.9 I was used > to test the project with a command line similar to: > > mvn -D__TEST__=true tes

Re: Activation of multiple profiles at the same time

2009-03-18 Thread Rusty Wright
I can get default and jdk to activate together, but not the os with them; given the following profiles.xml: http://maven.apache.org/xsd/profiles-1.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/xsd/profiles-1.0.0.xsd";>

Re: Maven vs. Hudson

2009-03-18 Thread Anders Kristian Andersen
Yes good question You use maven to define your projects for building your jar, war and ear You use hudson to run these projects in an automated way. /Anders On 18/03/2009, at 11.50, Łukasz Warchoł wrote: Hello, Can anybody tell me what are de differences between Maven and Hudson? Thanks in

mvn weblogic:undeploy NoClassDefError L10nLookup

2009-03-18 Thread snappersdad
All, Just recently I am getting the following error when I try to undeploy to my local weblogic. java.lang.NoClassDefFoundError: weblogic/i18ntools/L10nLookup at weblogic.deploy.internal.DeployerTextFormatter.(DeployerTextFormatter.java:20) at weblogic.Deployer.(Deployer.java:29)

Re: Relative Path to a Local Repo

2009-03-18 Thread Tim Kettler
Jeremy Sager schrieb: > Is there any way to specify the local repo to use from the command line? I > was not able to figure that out either but if it's possible to do that would > represent a perfect solution. mvn -Dmaven.repo.local= ... -Tim

Re: Relative Path to a Local Repo

2009-03-18 Thread Jeremy Sager
Is there any way to specify the local repo to use from the command line? I was not able to figure that out either but if it's possible to do that would represent a perfect solution. On Wed, Mar 18, 2009 at 1:00 PM, Wayne Fay wrote: > > If there's no maven solution here, I will see if I can get a

Re: Relative Path to a Local Repo

2009-03-18 Thread Wayne Fay
> If there's no maven solution here, I will see if I can get an environment > variable set up as a solution. It would still be nice to able to have a > relative path in the settings.xml file. By definition, the settings.xml file is NOT for project-specific stuff. Therefore the very notion of "rela

Re: Relative Path to a Local Repo

2009-03-18 Thread Jeremy Sager
I appreciate the response. Unfortunately, they are not on the same network as I am, they are in a secured government facility and they don't even have internet access. As for why they are using maven, we have the jetty plugin set up to do a self-contained testing environment which they can use to

Re: Searching for a repo1.maven.org administrator

2009-03-18 Thread Carlos Sanchez
http://maven.apache.org/guides/mini/guide-central-repository-upload.html http://maven.apache.org/guides/mini/guide-maven-evangelism.html there's a list of automatically synced repos at https://svn.apache.org/repos/asf/maven/repository-tools/trunk/src/bin/synchronize/m2-sync/sync.csv On Wed, Mar

Re: how to EMMA-instrument dependencies

2009-03-18 Thread Stephen Connolly
What you really want is to attach additional artifacts to your build with an "emma-instrumented" classifier... [Random but relevant]This will probably break the maven-ear-plugin on your build... ;-) [/Random but relevant] My understanding is that issues with instrumented jars using classifiers an

RE: Searching for a repo1.maven.org administrator

2009-03-18 Thread Bond, Timothy
Ran into #1 a few weeks ago, there is claim of a bad class file noted here: https://issues.apache.org/bugzilla/show_bug.cgi?id=28069 -- Tim -Original Message- From: Costin Caraivan [mailto:ccarai...@axway.com] Sent: Wednesday, March 18, 2009 8:58 AM To: users@maven.apache.org Subject:

RE: how to EMMA-instrument dependencies

2009-03-18 Thread COURCY Michael
I see, well unless you instrument your local repository ... I don't really see a simple and *clean* solution. Emma offer an option to instrument code by providing its own classloader, but it means you have to inteact with classworld maven classloader and thus write a plugin for that : http:/

Re: how to EMMA-instrument dependencies

2009-03-18 Thread Vasiliy Baranov
Thank you, but this does not really solve my problem. The problem is not that I cannot instrument dependency JARs. The problem is I cannot cleanly get instrumented JARs into the unit test classpath. Vasiliy COURCY Michael wrote: Hi From my experience with emma I use a ant call after the com

Re: Install artifact during build

2009-03-18 Thread Tim
Sry is this a dependency jar?In which case, just use: system ${some.path.property} On Mon, Mar 16, 2009 at 9:48 AM, Will Hoover wrote: > Yeah, I want to install the jars into a user's local repository based upon > a > path provided in a child projects pom (if not performed in a pr

Re: Is there a way to verify/check/repair a local repository ?

2009-03-18 Thread Tim
I don't even know what that has to do with it but ok here goes:I currently have: -rw-r--r-- 1 tich tich 173558 2009-03-12 03:52 common-op-25-20090311.225250-1.jar -rw-r--r-- 1 tich tich 1719 2009-03-12 03:52 common-op-25-20090311.225250-1.pom -rw-r--r-- 1 tich tich 175402 2009-03-12 18:20 common

RE: how to EMMA-instrument dependencies

2009-03-18 Thread COURCY Michael
Hi >From my experience with emma I use a ant call after the compilation phase. Ant is going much more power than the emma plugin instrument

how to EMMA-instrument dependencies

2009-03-18 Thread Vasiliy Baranov
Hi, I have a Maven 2 project that depends on a number of other Maven 2 projects that are built locally and installed into the local repository. I need to instrument some of the dependency JARs with the EMMA coverage tool and have Maven run unit tests against instrumented JARs rather than the

Re: Searching for a repo1.maven.org administrator

2009-03-18 Thread Costin Caraivan
Costin Caraivan wrote: > > > Stephen Connolly-2 wrote: >> >> If I establish to the repo1 maintainers that I own the mycompany.com, >> then I >> am responsible for all artifacts with com.mycompany as the group Id. >> repo1 >> will not stop me pushing "bad" artifacts... >> >> Note I'm not sayi

Re: Searching for a repo1.maven.org administrator

2009-03-18 Thread Costin Caraivan
Stephen Connolly-2 wrote: > > If I establish to the repo1 maintainers that I own the mycompany.com, then > I > am responsible for all artifacts with com.mycompany as the group Id. > repo1 > will not stop me pushing "bad" artifacts... > > Note I'm not saying that this is the way it should be...

Re: Searching for a repo1.maven.org administrator

2009-03-18 Thread Stephen Connolly
If I establish to the repo1 maintainers that I own the mycompany.com, then I am responsible for all artifacts with com.mycompany as the group Id. repo1 will not stop me pushing "bad" artifacts... Note I'm not saying that this is the way it should be... 2009/3/18 Costin Caraivan > > I know that

Re: Searching for a repo1.maven.org administrator

2009-03-18 Thread Costin Caraivan
I know that some stuff is just pulled in from elsewhere, but do you want to tell me that things get uploaded there with 0 review? :| Stephen Connolly-2 wrote: > > AFAIK, There is no single point of contact. > > for #1 try contacting ibm > for #2 try contacting bouncycastle > for #3 try contac

Re: Searching for a repo1.maven.org administrator

2009-03-18 Thread Stephen Connolly
Oh, and before I forget, you will not be able to get the bad artifacts fixed... only superceded with newer versions... once an artifact is in repo1 it's there for good 2009/3/18 Stephen Connolly > AFAIK, There is no single point of contact. > > for #1 try contacting ibm > for #2 try contacting b

Re: Searching for a repo1.maven.org administrator

2009-03-18 Thread Stephen Connolly
AFAIK, There is no single point of contact. for #1 try contacting ibm for #2 try contacting bouncycastle for #3 try contacting eclipse 2009/3/18 Costin Caraivan > > Hello, > > I would like to contact the administrators of repo1.maven.org for a > corrupted jars and some incorrect poms on repo1.

Re: Install artifact during build

2009-03-18 Thread Stephen Connolly
either write a plugin... and how do you get that into their local repository... or maybe use the exec plugin 2009/3/18 Will Hoover > Does anyone know how to accomplish this (using local repository)? > > -Original Message- > From: Wendy Smoak [mailto:wsm...@gmail.com] > Sent: Monday, Marc

Searching for a repo1.maven.org administrator

2009-03-18 Thread Costin Caraivan
Hello, I would like to contact the administrators of repo1.maven.org for a corrupted jars and some incorrect poms on repo1. Or at least, I want to get some pointer about who to contact so we can fix the problems. A short list of the problems: 1. com.ibm.icu:icu4j:2.6.1 seems to be corrupt. Runni

RE: Install artifact during build

2009-03-18 Thread Will Hoover
Does anyone know how to accomplish this (using local repository)? -Original Message- From: Wendy Smoak [mailto:wsm...@gmail.com] Sent: Monday, March 16, 2009 10:39 AM To: Maven Users List Subject: Re: Install artifact during build On Mon, Mar 16, 2009 at 7:31 AM, Will Hoover wrote: > I

Re: Maven vs. Hudson

2009-03-18 Thread Bob Aiello
The comparison would be better if you said Hudson vs CruseControl or Maven vs Ant --Original Message-- From: Łukasz Warchoł To: users@maven.apache.org ReplyTo: Maven Users List Sent: Mar 18, 2009 6:50 AM Subject: Maven vs. Hudson Hello, Can anybody tell me what are de differences between

RE: Activation of multiple profiles at the same time

2009-03-18 Thread COURCY Michael
It seems to me that activation of profiles is exclusive, i.e., only one profile is activated at a time. No you can cumulate profiles id1 true id2 true Mvn help:active-profiles The f

need persistence.xml for building and testing, but not in final artifact

2009-03-18 Thread Mick Knutson
I am trying to create a generic JPA jar that just has my JPA related classes. Then I plan to have another jar with my domain objects for use in various projects. What I need to do, is have my persistence.xml in my src/main/resources for building and testing, but omitted in my final jar. This way my

Re: Maven vs. Hudson

2009-03-18 Thread Mick Knutson
Maven is a project centric build tool Hudson is an build automation server. Which can automate the the running of Ant or Maven or Scripts. --- Thank You... Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring & Agile Consulting p. (866) BLiNC-411: (254-6241-1) f.

compile-time only depend - how to reference without generating transitive dependency?

2009-03-18 Thread sebb
AIUI, "compile" scope means compile, test and run, and generates a transitive dependency. There are some dependencies that are compile-time only, for example annotations, and Java specification jars - i.e. API-only jars that have no implementation. What is the best way to define such a dependency

Re: Extracting classpath for an application from maven

2009-03-18 Thread Roman Kournjaev
Thanks , i think thats the best and proper way to get it .! On Wed, Mar 18, 2009 at 1:18 PM, Nicolas R. wrote: > > Hello, > > Try to run 'mvn dependency:build-classpath' > Here is the doc: > http://maven.apache.org/plugins/maven-dependency-plugin/plugin-info.html > > Nicolas > -- > http://www.

Re: Extracting classpath for an application from maven

2009-03-18 Thread Nicolas R.
Hello, Try to run 'mvn dependency:build-classpath' Here is the doc: http://maven.apache.org/plugins/maven-dependency-plugin/plugin-info.html Nicolas -- http://www.springfuse.com www.springfuse.com Roman Kournjaev wrote: > > Hi All > > I have a maven based application, well now i want to r

Re: Artifact version and fileset filtering

2009-03-18 Thread Stephen Connolly
how is this different from running mvn -N versions:update-child-modules 2009/3/18 Landais Gabriel > Hi, > > Le Thu, 12 Mar 2009 12:48:23 +0100, > Landais Gabriel a écrit : > > > I want to set the parent version of a generated model through an > > archetype:generate. It has to be set to the arch

Activation of multiple profiles at the same time

2009-03-18 Thread TM
Hello, I'm facing some behavior regarding activation of multiple profiles within a pom.xml, which is contrary to what I was expecting. Maybe someone can help. I have a pom consisting of three profiles: default true

Re: Maven vs. Hudson

2009-03-18 Thread Eric Cornely
Hudson planify and run any maven goal and give you the status of your project. I installed hudson and configured it to checkout my project from svn and run "mvn clean package" every night. If anybody break a test or introduce any error, hudson send an email to our mailing list and i also can

Maven vs. Hudson

2009-03-18 Thread Łukasz Warchoł
Hello, Can anybody tell me what are de differences between Maven and Hudson? Thanks in advance, Luke

Re: Artifact version and fileset filtering

2009-03-18 Thread Landais Gabriel
Hi, Le Thu, 12 Mar 2009 12:48:23 +0100, Landais Gabriel a écrit : > I want to set the parent version of a generated model through an > archetype:generate. It has to be set to the archetype version as > parent pom and archetype share the same version (both are modules of > my project). I've fina

Re: Plugin to validate the class file version of built artifacts?

2009-03-18 Thread Ringo De Smet
2009/3/17 Stephen Connolly : > google this "animal sniffer Kohsuke" > > it should give you what you're after Thanks Stephen, this was what I was looking for! For the email archives: http://animal-sniffer.dev.java.net Ringo - To