Re: Transitive dependency question

2017-06-02 Thread Stephen Connolly
I think that is a bug that is in scope for 3.5.1 or 3.6.0 On 31 May 2017 at 22:30, Laird Nelson wrote: > (I've been working with Maven since at least 2004 and I think I *still* > don't > get transitive dependencies.) > > I have a pom.xml file of type pom that has some

Transitive dependency question

2017-05-31 Thread Laird Nelson
(I've been working with Maven since at least 2004 and I think I *still* don't get transitive dependencies.) I have a pom.xml file of type pom that has some compile-scoped dependencies in it. (P1 -> A(compile), B(compile)) I have another project that depends on this pom in provided scope (I'm

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-05-01 Thread Curtis Rueden
Hi Charles & everyone, > To prevent SNAPSHOT churn you can use a plugin like > exists-maven-plugin > (https://chonton.github.io/exists-maven-plugin/0.0.2/plugin-info.html > ) > to prevent re-releasing unchanged artifacts.

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-24 Thread Charles Honton
To prevent SNAPSHOT churn you can use a plugin like exists-maven-plugin (https://chonton.github.io/exists-maven-plugin/0.0.2/plugin-info.html ) to prevent re-releasing unchanged artifacts. chas > On Apr 24, 2017, at 1:52

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-24 Thread mike digioia
SUBMIT ME On Mon, Apr 24, 2017 at 1:52 PM, Curtis Rueden wrote: > Hi Karl, > > Thanks very much for your reply! > > > Not only for displaying...you can also use it to update them... > > Understood. But I actually don't want to always auto-update everything to > latest

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-24 Thread Curtis Rueden
Hi Karl, Thanks very much for your reply! > Not only for displaying...you can also use it to update them... Understood. But I actually don't want to always auto-update everything to latest releases. The point of the BOM is that the versions it references have been tested to work together.

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-24 Thread Karl Heinz Marbaise
Hi, On 24/04/17 19:46, Curtis Rueden wrote: Hi Jesse, Prefer to harden the version # in a corporate pom. Then use versions-m-p to detect and update bulk dependencies across all our projects. We manage about 350 dependencies in the corporate pom Definitely agreed. I am managing a similar

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-24 Thread Richard Sand
@maven.apache.org> Sent: 4/24/2017 1:46:59 PM Subject: Re: Please officially support RELEASE and LATEST (was: Re: dependency question) Hi Jesse, Prefer to harden the version # in a corporate pom. Then use versions-m-p to detect and update bulk dependencies across all our projects.

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-24 Thread Curtis Rueden
Hi Jesse, > Prefer to harden the version # in a corporate pom. Then use > versions-m-p to detect and update bulk dependencies across all our > projects. We manage about 350 dependencies in the corporate pom Definitely agreed. I am managing a similar number, and indeed versions-m-p is super nice

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-24 Thread jieryn
Prefer to harden the version # in a corporate pom. Then use versions-m-p to detect and update bulk dependencies across all our projects. We manage about 350 dependencies in the corporate pom, and that doesn't even include the huge number that are scope=import for Arquillian and Selenium, etc. On

Re: Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-24 Thread Curtis Rueden
> I would like to argue for the inclusion / restoration / continued > support of the RELEASE and LATEST tags. Really? No one else cares enough to respond? I am very often running into use cases where the easiest solution seems to be LATEST and/or RELEASE. I have to manage a large Bill of

Please officially support RELEASE and LATEST (was: Re: dependency question)

2017-04-13 Thread Curtis Rueden
>> >>>>> achieve reproducible builds is to use fixed release versions, always. >>>>> >>>>> Regards, >>>>> Curtis >>>>> >>>>> -- >>>>> Curtis Rueden >>>>> LOCI software archite

Stale wiki link question [was: Re: dependency question]

2017-04-12 Thread Robert Kielty
mageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden >>>> >>>> >>>> On Tue, Apr 11, 2017 at 9:57 AM, Magnanao, Hector < >>> hector.magna...@sap.com >>>>> >>>> wrote: >>>> >>>>> This is fi

Re: dependency question

2017-04-11 Thread Karl Heinz Marbaise
om] Sent: Monday, April 10, 2017 10:39 AM To: Maven Users List <users@maven.apache.org> Subject: Re: dependency question On Mon, Apr 10, 2017 at 8:18 AM, Magnanao, Hector <hector.magna...@sap.com> wrote: I'm still a little confused about the answers I'm getting. So, if build A is bein

Re: dependency question

2017-04-11 Thread Stephen Connolly
ot, x.y.z.3-Snapshot and I > > want > > > > the dependent build to always get the latest in this case, > > > > x.y.z.3-Snapshot ? The difference with this scenario is that the > > producer > > > > will always have a new build number. > > &g

Re: dependency question

2017-04-11 Thread Curtis Rueden
1-Snapshot, x.y.z.2-Snapshot, x.y.z.3-Snapshot and I > want > > > the dependent build to always get the latest in this case, > > > x.y.z.3-Snapshot ? The difference with this scenario is that the > producer > > > will always have a new build number. > > >

Re: dependency question

2017-04-11 Thread Stephen Connolly
will always have a new build number. > > As for your solution of using the range, do I always have to change the > > pom file in the dependent build whenever a new build is produced by the > > producer ? > > > > -----Original Message- > > From: Benson Ma

Re: dependency question

2017-04-11 Thread Curtis Rueden
ver a new build is produced by the > producer ? > > -Original Message- > From: Benson Margulies [mailto:bimargul...@gmail.com] > Sent: Monday, April 10, 2017 10:39 AM > To: Maven Users List <users@maven.apache.org> > Subject: Re: dependency question > > On Mon, Apr 10

RE: dependency question

2017-04-11 Thread Magnanao, Hector
Margulies [mailto:bimargul...@gmail.com] Sent: Monday, April 10, 2017 10:39 AM To: Maven Users List <users@maven.apache.org> Subject: Re: dependency question On Mon, Apr 10, 2017 at 8:18 AM, Magnanao, Hector <hector.magna...@sap.com> wrote: > I'm still a little confused about the answers I

Re: dependency question

2017-04-10 Thread Benson Margulies
will be picked up ? > > -Original Message- > From: Karl Heinz Marbaise [mailto:khmarba...@gmx.de] > Sent: Friday, April 7, 2017 10:50 AM > To: Maven Users List <users@maven.apache.org> > Subject: Re: dependency question > > Hi Russlel, > On 07/04/17 17:29,

RE: dependency question

2017-04-10 Thread Magnanao, Hector
? -Original Message- From: Karl Heinz Marbaise [mailto:khmarba...@gmx.de] Sent: Friday, April 7, 2017 10:50 AM To: Maven Users List <users@maven.apache.org> Subject: Re: dependency question Hi Russlel, On 07/04/17 17:29, Russell Gold wrote: > That’s the way it works: when yo

RE: dependency question

2017-04-07 Thread Robert Patrick
d Paul Done Book Home Page: http://www.wrox.com/ Kindle Version: http://www.amazon.com/ -Original Message- From: Magnanao, Hector [mailto:hector.magna...@sap.com] Sent: Friday, April 07, 2017 10:28 AM To: Maven Users List Subject: RE: dependency question Can you give me an example of

Re: dependency question

2017-04-07 Thread Karl Heinz Marbaise
r each time for this scenario. -Original Message- From: Russell Gold [mailto:russell.g...@oracle.com] Sent: Thursday, April 6, 2017 2:27 PM To: Maven Users List <users@maven.apache.org> Subject: Re: dependency question The simplest way is simply to use a snapshot version of A

RE: dependency question

2017-04-07 Thread Robert Patrick
of our builds uses: false always fail -Original Message- From: Russell Gold Sent: Friday, April 07, 2017 10:30 AM To: Maven Users List Subject: Re: dependency question That’s the way it works: when you specify

Re: dependency question

2017-04-07 Thread Russell Gold
s with a unique build number each > time for this scenario. > > -Original Message- > From: Russell Gold [mailto:russell.g...@oracle.com] > Sent: Thursday, April 6, 2017 2:27 PM > To: Maven Users List <users@maven.apache.org> > Subject: Re: dependency question &

RE: dependency question

2017-04-07 Thread Magnanao, Hector
Can you give me an example of using a range in the pom file as a dependency ? -Original Message- From: Robert Patrick [mailto:robert.patr...@oracle.com] Sent: Thursday, April 6, 2017 2:34 PM To: Maven Users List <users@maven.apache.org> Subject: RE: dependency question The oth

RE: dependency question

2017-04-07 Thread Magnanao, Hector
[mailto:russell.g...@oracle.com] Sent: Thursday, April 6, 2017 2:27 PM To: Maven Users List <users@maven.apache.org> Subject: Re: dependency question The simplest way is simply to use a snapshot version of A. That way B will always use the latest snapshot. When you finally release A, y

RE: dependency question

2017-04-06 Thread Robert Patrick
Subject: Re: dependency question The simplest way is simply to use a snapshot version of A. That way B will always use the latest snapshot. When you finally release A, you can have B point to the released version instead of the snapshot. > On Apr 6, 2017, at 2:52 PM, Magnanao, Hector <hector

Re: dependency question

2017-04-06 Thread Russell Gold
The simplest way is simply to use a snapshot version of A. That way B will always use the latest snapshot. When you finally release A, you can have B point to the released version instead of the snapshot. > On Apr 6, 2017, at 2:52 PM, Magnanao, Hector wrote: > > I

dependency question

2017-04-06 Thread Magnanao, Hector
I have to 2 java projects a and b in maven. The B project uses the A build as a dependency. How do I ensure the whenever the A project has a new build, the B project will always use that latest build in A. A is being built with a unique build number each time it gets built. So is A has

Unmanaged dependency question

2014-06-01 Thread Matt Whiteman
Hi, This has probably been answered before, but I haven't been able to find the answer and I'm hoping someone knows. I'm writing several apps that talk to a Microsoft SQL database, so I'm using the Hibernate dependency. Since Microsoft doesn't make the sqljdbc4 jar available on Maven, I've

Re: Unmanaged dependency question

2014-06-01 Thread Matt Whiteman
Er hrm, I'm not sure why this sent again, but ignore it. Question already answered, thanks! Matt On May 30, 2014 at 4:39 PM Matt Whiteman mwhite...@purelandsupply.com wrote: Hi, This has probably been answered before, but I haven't been able to find the answer and I'm hoping someone knows.

Re: Unmanaged dependency question

2014-05-31 Thread Jeff MAURY
The install-file is the way to go and it will be successful as soon as your work on your machine. If you want to distributed setup, then you must upload the JAR to a repository manager or install it on a shared maven repository and use that remote maven repository in your POM files Jeff On

Re: Unmanaged dependency question

2014-05-31 Thread Wayne Fay
so that I can do everything right. What I had been trying to do in the meantime is having it set up so that when we set up a new development station, the user can simply clone the Github repo that has these dependency projects and just do 'mvn install' on each one, then build Arguably

Unmanaged dependency question

2014-05-30 Thread Matt Whiteman
Hi, This has probably been answered before, but I haven't been able to find the answer and I'm hoping someone knows. I'm writing several apps that talk to a Microsoft SQL database, so I'm using the Hibernate dependency. Since Microsoft doesn't make the sqljdbc4 jar available on Maven, I've

Re: Unmanaged dependency question

2014-05-30 Thread Curtis Rueden
Hi Matt, Have you seen this article? http://developer-blog.cloudbees.com/2013/03/playing-trade-offs-with-maven.html If you cannot deploy the Microsoft JARs to your own internal Maven repository, then you could try the non-maven-jar-plugin approach. It is strongly recommended over the basedir

Re: Unmanaged dependency question

2014-05-30 Thread Paul Benedict
I don't think you should make a project for your sql jar. My guess is when you build+install that, you're creating an empty and useless jar file and overwriting the good one you already placed in your local repo. The mvn:install:install-file thing works and is what I would expect as the answer.

Re: Unmanaged dependency question

2014-05-30 Thread Matt Whiteman
Hi Curtis, I'll take a look at that, thanks! Ideally, I'll eventually be able to have an internal Maven repository so that I can do everything right. What I had been trying to do in the meantime is having it set up so that when we set up a new development station, the user can simply clone the

Re: Unmanaged dependency question

2014-05-30 Thread Paul Benedict
I understand but you can't achieve this using a project to represent a pre-existing jar. Your attempt won't work. The install-file command is the correct solution; that is how you get it into your local repo without downloading it from a remote repo. On May 30, 2014 4:36 PM, Matt Whiteman

Re: Transitive Dependency Question

2013-06-04 Thread Jörg Schaible
Hi Jamal, Jamal B wrote: Interesting Taking your suggestion, it looks like it is coming in from another compile dependency, and was promoted to compile. [INFO] +- org.apache.maven.shared:maven-shared-jar:jar:1.1:compile [INFO] | +- org.codehaus.plexus:plexus-digest:jar:1.0:compile

Transitive Dependency Question

2013-06-03 Thread Jamal B
Hello, I have a question about transitive dependencies. According to the pom documentation here: http://maven.apache.org/pom.html#Dependencies project dependencies marked with test scope are not transitive. I assumed that this also applied to it's dependencies, so my question is if I declare a

Re: Transitive Dependency Question

2013-06-03 Thread Baptiste MATHUS
Hi, Tree is showing the tree. So it seems correct at first sight. Its showing you the dependency beetween your test-utils of the project and junit which is in fact scope compile. What you seem to actually want to have is the resolved list of dependencies for your application project. That goal is

Re: Transitive Dependency Question

2013-06-03 Thread Jamal B
Hi, thanks for your response. Running dependency:list shows also shows that junit is at compile scope which I expected to be at test scope. [INFO] --- maven-dependency-plugin:2.7:list (default-cli) @ application --- [INFO] [INFO] The following files have been resolved: [INFO]

Re: Transitive Dependency Question

2013-06-03 Thread Jörg Schaible
Hi Jamal, Jamal B wrote: Hello, I have a question about transitive dependencies. According to the pom documentation here: http://maven.apache.org/pom.html#Dependencies project dependencies marked with test scope are not transitive. I assumed that this also applied to it's dependencies,

Re: Transitive Dependency Question

2013-06-03 Thread Jamal B
Interesting Taking your suggestion, it looks like it is coming in from another compile dependency, and was promoted to compile. [INFO] +- org.apache.maven.shared:maven-shared-jar:jar:1.1:compile [INFO] | +- org.codehaus.plexus:plexus-digest:jar:1.0:compile [INFO] | | \-

Re: A maven/nexus repos manager/missing dependency question

2009-10-19 Thread Quintin Beukes
Try adding the commons-lang dependency. Quintin Beukes On Sun, Oct 18, 2009 at 10:34 PM, Sean Davis sdav...@mail.nih.gov wrote: I have been using maven pretty successfully for low-end java programming--I'm not much of a developer.  I have finally convinced a few folks to potentially work

Re: A maven/nexus repos manager/missing dependency question

2009-10-19 Thread Sean Davis
On Mon, Oct 19, 2009 at 5:15 AM, Quintin Beukes quin...@skywalk.co.zawrote: Try adding the commons-lang dependency. Thanks, Quintin. However, it appears that this dependency is arising in a maven plugin, if I understand things correctly? So, adding the dependency to my own pom won't have an

Re: A maven/nexus repos manager/missing dependency question

2009-10-19 Thread Quintin Beukes
You should add it to the plugin's dependencies. Here is an example extract from one of my POMs (the irrelevant bits removed): plugin . dependencies dependency groupIdorg.apache.maven.surefire/groupId artifactIdsurefire-api/artifactId

Re: A maven/nexus repos manager/missing dependency question

2009-10-19 Thread Sean Davis
On Mon, Oct 19, 2009 at 6:46 AM, Quintin Beukes quin...@skywalk.co.zawrote: You should add it to the plugin's dependencies. Here is an example extract from one of my POMs (the irrelevant bits removed): plugin . dependencies dependency

Re: A maven/nexus repos manager/missing dependency question

2009-10-19 Thread Quintin Beukes
   reporting        plugins            plugin                groupIdorg.apache.maven.plugins/groupId                artifactIdmaven-javadoc-plugin/artifactId            /plugin        /plugins    /reporting /project That is the only plugin specified in my pom.  The plugin that looks to

A maven/nexus repos manager/missing dependency question

2009-10-18 Thread Sean Davis
I have been using maven pretty successfully for low-end java programming--I'm not much of a developer. I have finally convinced a few folks to potentially work with me on some projects at work and thought setting up a repository manager would be a good idea. The nexus setup pretty simple and I

Re: Dependency question

2009-03-04 Thread stanlick
://www.nabble.com/Dependency-question-tp22315314p22328900.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h

Re: Dependency question

2009-03-04 Thread Stephen Connolly
run dependency:resolve. Peace, Scott - Show quoted text - -- View this message in context: http://www.nabble.com/Dependency-question-tp22315314p22328900.html Sent from the Maven - Users mailing list archive at Nabble.com

RE: Dependency question

2009-03-04 Thread Brian E. Fox
The dependency:tree goal does show test dependencies by default. -Original Message- From: stanlick [mailto:stanl...@gmail.com] Sent: Wednesday, March 04, 2009 7:16 AM To: users@maven.apache.org Subject: Re: Dependency question I hear you pal, but the lawyers are concentrating

Dependency question

2009-03-03 Thread stanlick
] Peace, Scott -- View this message in context: http://www.nabble.com/Dependency-question-tp22315314p22315314.html Sent from the Maven - Users mailing list archive at Nabble.com

Re: Dependency question

2009-03-03 Thread Wayne Fay
I am running mvn dependency:tree and expecting a large dependency tree, when in fact all I get is what you see below.  I *know* there are more dependencies than this!  Can someone help me out with this flags and switches please? How do you *know* there are more dependencies? Have you tried

RE: Dependency question

2009-03-03 Thread Brian E. Fox
If every jar present in dependency:resolve is shown in the tree, then that's all folks. -Original Message- From: Wayne Fay [mailto:wayne...@gmail.com] Sent: Tuesday, March 03, 2009 2:52 PM To: Maven Users List Subject: Re: Dependency question I am running mvn dependency:tree

RE: Dependency question

2009-03-03 Thread stanlick
Subject: Re: Dependency question I am running mvn dependency:tree and expecting a large dependency tree, when in fact all I get is what you see below.  I *know* there are more dependencies than this!  Can someone help me out with this flags and switches please? How do you *know

Re: Dependency question

2009-03-03 Thread Stephen Connolly
Those dependencies are required to *test* struts they are not required by your project as struts has already been tested. -Stephen 2009/3/3 stanlick stanl...@gmail.com Thanks guys -- If you look at the POM for Struts 2.1.6 there are many more dependencies than what show up running

Re: Dependency question

2009-03-03 Thread stanlick
the default is all scopes, so I am wondering why I don't see them all when I run dependency:resolve. Peace, Scott - Show quoted text - -- View this message in context: http://www.nabble.com/Dependency-question-tp22315314p22323314.html Sent from the Maven - Users mailing list archive

Re: Dependency question

2009-03-03 Thread Wayne Fay
I realize that, but shouldn't they show up as dependencies even though they are only depended on during testing? If you aren't building and testing Struts but merely using it, then they aren't used, so no. Wayne - To

reporting plugin dependency question

2009-01-08 Thread Mark Struberg
Hi! I'm currently enabling the checkstyle plugin for the OpenWebBeans build and stumbled over an interesting problem: I'd like to define the openwebbeans_checks.xml in an own artifact for being used in different modules. My first idea was to simply define the checkstyle plugin in the

RE: reporting plugin dependency question

2009-01-08 Thread Adam Leggett
-plugin/examples/multi-m odule-config.html -Original Message- From: Mark Struberg [mailto:strub...@yahoo.de] Sent: 08 January 2009 14:46 To: users@maven.apache.org Subject: reporting plugin dependency question Hi! I'm currently enabling the checkstyle plugin for the OpenWebBeans build

RE: reporting plugin dependency question

2009-01-08 Thread Mark Struberg
“Multiple exclamation marks are a sure sign of a diseased mind!” (Sir Terry Pratchett) --- Adam Leggett adam.legg...@upco.co.uk schrieb am Do, 8.1.2009: Von: Adam Leggett adam.legg...@upco.co.uk Betreff: RE: reporting plugin dependency question An: Maven

RE: reporting plugin dependency question

2009-01-08 Thread Adam Leggett
To: Maven Users List Subject: RE: reporting plugin dependency question Yup Adam, that's exactly what I'm doing currently. I just wonder if not being able to specify dependencies in the reporting section is so by design (and there is a good reason for this), or if this is something we may improve

RE: reporting plugin dependency question

2009-01-08 Thread Mark Struberg
And I apologies for obviously searching not good enough in Jira - so thank you for finding the bug for me :) --- Adam Leggett adam.legg...@upco.co.uk schrieb am Do, 8.1.2009: Von: Adam Leggett adam.legg...@upco.co.uk Betreff: RE: reporting plugin dependency question An: Maven Users List

Re: POM Dependency question

2008-02-29 Thread Wayne Fay
You really need to just read Better Builds With Maven (from devzuz.com) or Maven: The Definitive Guide (from sonatype.com), they have answers for all your questions. Wayne On 2/29/08, Maria Odea Ching [EMAIL PROTECTED] wrote: On Fri, Feb 29, 2008 at 2:46 PM, Muzammil [EMAIL PROTECTED] wrote:

POM Dependency question

2008-02-28 Thread Muzammil
myself clear to everyone:-) -- View this message in context: http://www.nabble.com/POM-Dependency-question-tp15753056s177p15753056.html Sent from the Maven - Users mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL

Re: POM Dependency question

2008-02-28 Thread Maria Odea Ching
On Fri, Feb 29, 2008 at 2:46 PM, Muzammil [EMAIL PROTECTED] wrote: Hi All, I am required to use Maven for my project. My question is regarding the Jars I require for my project. Is it necessary to add information of all the Jars required by ur project in the POM file as dependency. The

RE: Dependency question

2007-12-10 Thread Brewster, Richard
Associates [EMAIL PROTECTED] (434) 817-2640 -Original Message- From: Jason Porter [mailto:[EMAIL PROTECTED] Sent: Friday, December 07, 2007 2:12 PM To: users@maven.apache.org Subject: Dependency question Is there a way to specify a dependency to be available for compilation and test running

Dependency question

2007-12-08 Thread Jason Porter
Is there a way to specify a dependency to be available for compilation and test running, but not have it packaged up? We have a situation where some older code that has been converted to maven2 uses a library (SAP JCo if anyone is familiar with it) that must be there to compile and also to run.

Re: Dependency question

2007-12-08 Thread nicolas de loof
As you said When the application is deployed the jar is provided via the container. So simply try the provided scope ! provided dependencies are commonly used for java API (servlet, jta ...) taht are part of the JEE server runtime BUT required to compile and test. Nico. 2007/12/7, Jason Porter

File dependency question

2007-08-17 Thread Chris Russell
Hi All, I have a really silly question. Currently I can build my EAR file via JDeveloper and it deploys and runs just fine. When I build and deploy via Maven, one file is missing from the EAR file. This file should be found at the top level of the EAR (i.e. if you open the EAR with winZip,

Re: File dependency question

2007-08-17 Thread Wayne Fay
I am assuming Deploy is your EAR project. If so, the file should go in /src/main/application. You can see this in the maven-ear-plugin documentation -- look at earSourceDirectory. http://maven.apache.org/plugins/maven-ear-plugin/ear-mojo.html Wayne On 8/17/07, Chris Russell [EMAIL PROTECTED]

Re: File dependency question

2007-08-17 Thread Chris Russell
It always so obvious when someone tells you. That worked great - Thanks Wayne. Chris Wayne Fay wrote: I am assuming Deploy is your EAR project. If so, the file should go in /src/main/application. You can see this in the maven-ear-plugin documentation -- look at earSourceDirectory.

Re: Maven dependency question

2006-11-15 Thread Eric Helfrich
] wrote: Incorrect, Lee M. responded to you earlier... -- Forwarded message -- From: Lee Meador [EMAIL PROTECTED] Date: Nov 14, 2006 3:17 PM Subject: Re: Maven dependency question To: Maven Users List users@maven.apache.org What I do is put the utility jar in my dependency for the war

Re: Maven dependency question

2006-11-15 Thread Enrique Gaona
, 2006 3:17 PM Subject: Re: Maven dependency question To: Maven Users List users@maven.apache.org What I do is put the utility jar in my dependency for the war as compile. Then I put an exclude in the pom for the war that tells it to leave out the jar and not put it into the war

Re: Maven dependency question

2006-11-15 Thread Enrique Gaona
Thanks for the info, that helped a lot. Enrique [EMAIL PROTECTED] wrote on 11/14/2006 03:17:07 PM: What I do is put the utility jar in my dependency for the war as compile. Then I put an exclude in the pom for the war that tells it to leave out the jar and not put it into the war. The

Maven dependency question

2006-11-14 Thread Enrique Gaona
Hi folks, We have a J2EE application project (ear) which contains one Web project (war), one EJB project and one utilities java project. The war and EJB jar projects depends from the same utilities project. We included the WEB, EJB and utilities projects as dependencies into the ear pom file,

Re: Maven dependency question

2006-11-14 Thread Lee Meador
What I do is put the utility jar in my dependency for the war as compile. Then I put an exclude in the pom for the war that tells it to leave out the jar and not put it into the war. The classloader for your application server should cause the war to have access to the jar since it is in the ejb

Re: Maven dependency question

2006-11-14 Thread Enrique Gaona
@maven.apache.org cc Subject Maven dependency question Hi folks, We have a J2EE application project (ear) which contains one Web project (war), one EJB project and one utilities java project. The war and EJB jar projects depends from the same utilities project. We included the WEB, EJB

Re: Maven dependency question

2006-11-14 Thread Wayne Fay
Incorrect, Lee M. responded to you earlier... -- Forwarded message -- From: Lee Meador [EMAIL PROTECTED] Date: Nov 14, 2006 3:17 PM Subject: Re: Maven dependency question To: Maven Users List users@maven.apache.org What I do is put the utility jar in my dependency for the war

dependency question

2006-10-18 Thread Chen, Anning
Hi, I'm a newbie to Maven2 and have a simple question: My pom.xml file for this package is here: project modelVersion4.0.0/modelVersion groupIdcom.gs.fw.web.utils.uuid/groupId artifactIdutil.uuidgenerator.servlet/artifactId packagingjar/packaging

Re: dependency question

2006-10-18 Thread Wendy Smoak
On 10/18/06, Chen, Anning [EMAIL PROTECTED] wrote: thirdparty.sun.servlet.2.3 is a thirdparty jar from sun, which I packaged and installed to the repository. However, when I compile, I get package javax.servlet does not exist. Is there something else I have to setup to add the classes in the

RE: dependency question

2006-10-18 Thread Chen, Anning
Thx. This worked. -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 18, 2006 1:41 PM To: Maven Users List Subject: Re: dependency question On 10/18/06, Chen, Anning [EMAIL PROTECTED] wrote: thirdparty.sun.servlet.2.3 is a thirdparty jar from sun

Dependency question: Designate class from jar instead of whole jar?

2006-07-08 Thread Chris Wall
This might be an odd request, but does Maven allow you to designate a class or set of classes within a jar as a dependency? The use case is that I'd like to only pull in a class or two from a jar into my final jar instead of the whole dependency jar. Thanks. -Chris

Re: Dependency question: Designate class from jar instead of whole jar?

2006-07-08 Thread Alex Shneyderman
I do not think it is possible although wrting a plugin to do just that should be a piece of cake. On 7/8/06, Chris Wall [EMAIL PROTECTED] wrote: This might be an odd request, but does Maven allow you to designate a class or set of classes within a jar as a dependency? The use case is that I'd

RE : [m2] Inter-project dependency question - forced to package sub-module dependencies manually?

2006-03-29 Thread Chris Wall
: [m2] Inter-project dependency question Hi Chris, I'm not sure if this is the BEST way to do it, but what I do is create a parent pom.xml in the root directory. Then add commons, web-app, and stand-alone app as modules in that parent POM. Maven should figure out that since webapp and standalone

Re: RE : [m2] Inter-project dependency question - forced to package sub-module dependencies manually?

2006-03-29 Thread Wayne Fay
steps are required. -Chris -Original Message- From: Gareth Western [mailto:[EMAIL PROTECTED] Sent: March 28, 2006 2:50 PM To: Maven Users List Subject: Re: RE : [m2] Inter-project dependency question Hi Chris, I'm not sure if this is the BEST way to do it, but what I do is create

[m2] Inter-project dependency question

2006-03-28 Thread Chris Wall
This is probably a fundamental question for most of you... Considering the following project structure... root -- commons -- webapp -- sub module A -- sub module B -- stand-alone app ... since the webapp project has a dependency on commons (as does the stand-alone app), how do I

RE : [m2] Inter-project dependency question

2006-03-28 Thread Olivier Lamy
is compatible). When commons is released, changed the version dependency in others modules. And just work in sub module A. - Olivier -Message d'origine- De : Chris Wall [mailto:[EMAIL PROTECTED] Envoyé : mardi 28 mars 2006 19:53 À : Maven Users List Objet : [m2] Inter-project dependency

RE: RE : [m2] Inter-project dependency question

2006-03-28 Thread Chris Wall
/artifactId version1.0-SNAPSHOT/version /dependency -Original Message- From: Olivier Lamy [mailto:[EMAIL PROTECTED] Sent: March 28, 2006 12:01 PM To: 'Maven Users List' Subject: RE : [m2] Inter-project dependency question Perso I do as this. root -- commons 1.0-SNAPSHOT

Re: RE : [m2] Inter-project dependency question

2006-03-28 Thread Gareth Western
Hi Chris, I'm not sure if this is the BEST way to do it, but what I do is create a parent pom.xml in the root directory. Then add commons, web-app, and stand-alone app as modules in that parent POM. Maven should figure out that since webapp and standalone app are dependent on the commons module

Re: [m2] Newbie dependency question

2006-02-22 Thread Alexandre Poitras
On 2/21/06, Dave Hoffer [EMAIL PROTECTED] wrote: Alexandre, I have some further questions below... -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 9:52 PM To: Maven Users List Subject: Re: [m2] Newbie dependency question

Re: [m2] Newbie dependency question

2006-02-22 Thread Alexandre Poitras
] Sent: Tuesday, February 21, 2006 9:52 PM To: Maven Users List Subject: Re: [m2] Newbie dependency question About the version, the best practices recommend to keep a separate build for bug maintenance (using a separate SCM branch) and one for adding new features (the trunk). You

RE: [m2] Newbie dependency question

2006-02-21 Thread Dave Hoffer
: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 6:13 PM To: Maven Users List Subject: Re: [m2] Newbie dependency question From what I understand you want to use the fresh version of some components that are still in development, what is usually called a night build

Re: [m2] Newbie dependency question

2006-02-21 Thread Alexandre Poitras
-Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Monday, February 20, 2006 6:13 PM To: Maven Users List Subject: Re: [m2] Newbie dependency question From what I understand you want to use the fresh version of some components that are still in development

RE: [m2] Newbie dependency question

2006-02-21 Thread Dave Hoffer
Alexandre, I have some further questions below... -Original Message- From: Alexandre Poitras [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 9:52 PM To: Maven Users List Subject: Re: [m2] Newbie dependency question About the version, the best practices recommend to keep

[m2] Newbie dependency question

2006-02-20 Thread Dave Hoffer
Being new to maven I have so basic questions regarding best practices in maven. Specifically, I want to know what the recommended practice is in configuring projects that have dependencies which is all but the most basic of applications. In our company we develop applications that are comprised

Re: [m2] Newbie dependency question

2006-02-20 Thread Alexandre Poitras
From what I understand you want to use the fresh version of some components that are still in development, what is usually called a night build or a snapshot. You should declare their version as 1.0-SNAPSHOT or something like that. Then you just need to setup an enterprise snapshot repository wich

  1   2   >