Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-27 Thread Karl Heinz Marbaise
copy-dependencies goal as stated in the docs: "Goal that copies the project dependencies from the repository to a defined location." it copies as stated... The question is what you expect to be copied and furthermore the the more important question: Why do you need to copy those parts?

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Robert Turner
explanation -- it is much appreciated. (as well as the suggestion to bump up the logging on Maven to find the details on what is being fetched). > > On Wed, Jun 26, 2024 at 11:11 AM Karl Heinz Marbaise > wrote: > > > Hi, > > > > On 26.06.24 03:51, Robert Turner wro

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Robert Turner
roblem correct, because based on the > >> copy-dependencies goal as stated in the docs: > >> > >> "Goal that copies the project dependencies from the repository to a > >> defined location." > >> > >> it copies as stated... > >> &

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Robert Turner
On Wed, Jun 26, 2024 at 1:36 AM Nils Breunese wrote: > Robert Turner wrote: > > > The "problem" is not that the old log4j gets copied to the output folder, > > it's that it is fetched into the local Maven cache / repository, which is > > then picked up by security tooling (which of course compla

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Tamás Cservenák
arl Heinz Marbaise wrote: > Hi, > > On 26.06.24 03:51, Robert Turner wrote: > > On Tue, Jun 25, 2024 at 8:36 PM Karl Heinz Marbaise > > wrote: > > > >> Hi, > >> > >> I'm not sure if I understand your problem correct, because based on the >

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-26 Thread Karl Heinz Marbaise
Hi, On 26.06.24 03:51, Robert Turner wrote: On Tue, Jun 25, 2024 at 8:36 PM Karl Heinz Marbaise wrote: Hi, I'm not sure if I understand your problem correct, because based on the copy-dependencies goal as stated in the docs: "Goal that copies the project dependencies from the rep

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-25 Thread Nils Breunese
Robert Turner wrote: > The "problem" is not that the old log4j gets copied to the output folder, > it's that it is fetched into the local Maven cache / repository, which is > then picked up by security tooling (which of course complains that it is > ancient and has vulnerabilities). There is no

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-25 Thread Robert Turner
On Tue, Jun 25, 2024 at 9:51 PM Robert Turner wrote: > > On Tue, Jun 25, 2024 at 8:36 PM Karl Heinz Marbaise > wrote: > >> Hi, >> >> I'm not sure if I understand your problem correct, because based on the >> copy-dependencies goal as stated in the

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-25 Thread Robert Turner
On Tue, Jun 25, 2024 at 8:36 PM Karl Heinz Marbaise wrote: > Hi, > > I'm not sure if I understand your problem correct, because based on the > copy-dependencies goal as stated in the docs: > > "Goal that copies the project dependencies from the repository to a > d

Re: maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-25 Thread Karl Heinz Marbaise
Hi, I'm not sure if I understand your problem correct, because based on the copy-dependencies goal as stated in the docs: "Goal that copies the project dependencies from the repository to a defined location." it copies as stated... The question is what you expect to be copied

maven-dependency-plugin fetches all transitive project dependencies into local Maven cache (~/.m2/repository)

2024-06-24 Thread Robert Turner
(Note I had originally sent this on Feb 14, but I think it never got posted to the mailing list -- likely because I forgot to subscribe first -- as such, some of the version information may not be "current" as of today). All: I'm looking into an issue where we had an old package [1] flagged by se

Re: maven-checkstyle-plugin using project dependencies?

2023-12-18 Thread Karl Heinz Marbaise
On 15.12.23 18:01, David Hoffer wrote: Is it possible to configure maven-checkstyle-plugin to use one of the project's modules as the source of the checkstyle XML file? E.g. I have the plugin configured like this: org.apache.maven.plugins maven-checkstyle-plugin ${maven-checksty

Re: maven-checkstyle-plugin using project dependencies?

2023-12-18 Thread mark
Op 15-12-2023 om 18:01 schreef David Hoffer: Is it possible to configure maven-checkstyle-plugin to use one of the project's modules as the source of the checkstyle XML file? E.g. I have the plugin configured like this: org.apache.maven.plugins maven-checkstyle-plugin ${maven-ch

maven-checkstyle-plugin using project dependencies?

2023-12-15 Thread David Hoffer
Is it possible to configure maven-checkstyle-plugin to use one of the project's modules as the source of the checkstyle XML file? E.g. I have the plugin configured like this: org.apache.maven.plugins maven-checkstyle-plugin ${maven-checkstyle-plugin.version}

Re: Project dependencies vs plugin dependencies for a mojo looking at the project

2017-09-21 Thread ahardy42
Karl Heinz Marbaise-3 wrote >>I thought I could just enter it once as a plugin dependency in >> the user project pom - assuming it would be the only one. > > You can give this via the plugin configuration and which means your > plugin must resolve it's dependencies and make a required download fo

Re: Project dependencies vs plugin dependencies for a mojo looking at the project

2017-09-13 Thread Adam Hardy
The users of my plugin define a dependency which the mojo unpacks and extracts certain files from. You know that such a plugin already exists? maven-dependency-plugin:unpack / unpack-dependencies ? https://maven.apache.org/plugins/maven-dependency-plugin/examples/unpacking-artifacts.html

Re: Project dependencies vs plugin dependencies for a mojo looking at the project

2017-09-13 Thread Karl Heinz Marbaise
Hi, On 13/09/17 23:29, Adam Hardy wrote: On 12/09/17 18:05, Adam Hardy wrote: when I'm coding a mojo, if I call MavenProject's getArtifacts(), I can only get artifacts from the project level dependencies. How do I obtain artifacts from a plugin's dependencies? The question which comes to

Re: Project dependencies vs plugin dependencies for a mojo looking at the project

2017-09-13 Thread Adam Hardy
On 12/09/17 18:05, Adam Hardy wrote: when I'm coding a mojo, if I call MavenProject's getArtifacts(), I can only get artifacts from the project level dependencies. How do I obtain artifacts from a plugin's dependencies? The question which comes to my mind: Why do you need the dependencies o

Re: Project dependencies vs plugin dependencies for a mojo looking at the project

2017-09-13 Thread Karl Heinz Marbaise
Hi Adam, On 12/09/17 18:05, Adam Hardy wrote: Hi, when I'm coding a mojo, if I call MavenProject's getArtifacts(), I can only get artifacts from the project level dependencies. How do I obtain artifacts from a plugin's dependencies? The question which comes to my mind: Why do you need the

Project dependencies vs plugin dependencies for a mojo looking at the project

2017-09-12 Thread Adam Hardy
Hi, when I'm coding a mojo, if I call MavenProject's getArtifacts(), I can only get artifacts from the project level dependencies. How do I obtain artifacts from a plugin's dependencies? Presumably I call something like project.getPlugin(key).getDependencies()? If the 'key' required for proje

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-22 Thread Dan Rollo
Wow. That rawks! Subject: Re: [MVN 3.0.4] Can't download project dependencies From: Wayne Fay Date: 07/22/2012 12:01 AM To: Maven Users List > I worked with Linux, it's pretty good, but I prefer Windows (at least until > Steam gets ported to Linux). Good news for those o

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-21 Thread Wayne Fay
> I worked with Linux, it's pretty good, but I prefer Windows (at least until > Steam gets ported to Linux). Good news for those of us who game on our PCs when not building apps with Maven... ;-) http://arstechnica.com/gaming/2012/07/valve-announces-ubuntu-port-of-steam-source-engine-and-left-4-de

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-21 Thread James Carman
You might want to try the VM-based approach. I use VirtualBox and Ubuntu and it works out very well. I can still play Battlefield 3 on my windows host and when I want to do some work, I fire up the VM! :) On Sat, Jul 21, 2012 at 2:58 PM, Cysioland wrote: > I worked with Linux, it's pretty good

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-21 Thread Cysioland
I worked with Linux, it's pretty good, but I prefer Windows (at least until Steam gets ported to Linux).

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-21 Thread Wayne Fay
> That's strange, but when I booted up in safe mode, deleted ~6GB of temp > files, defragmentated a little bit, it works! It works like a charm! As anticipated, Windows is actively preventing you from getting your work done. Consider a different OS or working in a Linux VM - and yes I realize this

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-21 Thread Cysioland
That's strange, but when I booted up in safe mode, deleted ~6GB of temp files, defragmentated a little bit, it works! It works like a charm!

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Wayne Fay
> Compiled those two examples for Java 1.7, ran first - seems like waiting > for connection. Ran second - worked shortly and closed. First closed too. > Without any exceptions. Honestly at this point, I have no idea what's wrong, thus can't help to fix what's not working. Perhaps spin up a Linux

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Cysioland
OK Compiled those two examples for Java 1.7, ran first - seems like waiting for connection. Ran second - worked shortly and closed. First closed too. Without any exceptions.

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Wayne Fay
> Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) > Maven home: C:\Maven\bin\.. > Java version: 1.6.0_25, vendor: Sun Microsystems Inc. > Java home: C:\jdk1.6.0_25\jre > Default locale: pl_PL, platform encoding: Cp1250 > OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Cysioland
Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) Maven home: C:\Maven\bin\.. Java version: 1.6.0_25, vendor: Sun Microsystems Inc. Java home: C:\jdk1.6.0_25\jre Default locale: pl_PL, platform encoding: Cp1250 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" [INFO] Erro

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Wayne Fay
> [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of > its dependencies could not be resolved: Failed to read artifact descriptor > for org.apache.maven.plugins:maven-clean-plugin:jar:2.4.1: Could not > transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.4.1

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Cysioland
> > If you don't post the error message that you get, it is hard to tell what > happened. I posted link to it in first post, but I can do it again: [INFO] Scanning for projects... [INFO] [INFO] [INFO] Building War 1.7.3-PREV

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Ron Wheeler
Fix the thing that makes it fail and try again. If you don't post the error message that you get, it is hard to tell what happened. Ron On 19/07/2012 9:45 AM, Cysioland wrote: 2012/7/19 Wayne Fay First would be to simply try again. "mvn clean package" or whatever you ran. I can run "mvn c

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Cysioland
> > Disable the firewall or add a rule which permits java.exe to reach out > to the Internet. Tried disabling firewall, disabling antivirus, disabling both, still failed. -- Pozdrowienia, Cysioland

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Wayne Fay
>> First would be to simply try again. "mvn clean package" or whatever you >> ran. > > I can run "mvn clean install" even zillion times with the same error. Most likely you have a firewall (or antivirus) issue on Windows. Disable the firewall or add a rule which permits java.exe to reach out to th

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Cysioland
2012/7/19 Wayne Fay > > First would be to simply try again. "mvn clean package" or whatever you > ran. I can run "mvn clean install" even zillion times with the same error. > If that fails, try "mvn -U clean package" or whatever. If that still > That fails too. > delete the .m2 folder > After d

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Wayne Fay
> It's first time I'm using Maven. I'm behind NAT, no proxies involved, > disabling firewall didn't worked for me. First would be to simply try again. "mvn clean package" or whatever you ran. If that fails, try "mvn -U clean package" or whatever. If that still fails, perhaps delete the .m2 folder

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Cysioland
mvn -v: Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) Maven home: C:\Maven\bin\.. Java version: 1.6.0_25, vendor: Sun Microsystems Inc. Java home: C:\jdk1.6.0_25\jre Default locale: pl_PL, platform encoding: Cp1250 OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows" It

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Wayne Fay
> So I changed jdk to 6, and error is the same. Are you certain that you are actually using JDK6 when you are running Maven? Send the output of "mvn -v" to be sure. If you are running jdk6, then we need to start asking: Is this your first time using Maven, or have you used it before with no issu

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-19 Thread Cysioland
So I changed jdk to 6, and error is the same. -- Pozdrowienia, Cysioland

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-18 Thread Cysioland
Thanks, I'll try this tomorrow

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-18 Thread Wayne Fay
> How to install JDK6 without getting rid of JDK7? Honestly, this is outside the scope of the Maven Users mailing list. There is nothing in the JDK6 installer to actively delete JDK5 or JDK7 or prevent you from installing even multiple copies of the same JDK into different directories. 1. Downlo

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-18 Thread Cysioland
How to install JDK6 without getting rid of JDK7?

[MVN 3.0.4] Can't download project dependencies

2012-07-18 Thread Cysioland
Hi, I have a problem: when I try to build my project I get those errors: http://pastebin.com/RELAPiXC My version info: Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) Maven home: C:\Maven\bin\.. Java version: 1.7.0_05, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_05\

Re: [MVN 3.0.4] Can't download project dependencies

2012-07-18 Thread Wayne Fay
> My version info: > Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) > Maven home: C:\Maven\bin\.. > Java version: 1.7.0_05, vendor: Oracle Corporation > Java home: C:\Program Files\Java\jdk1.7.0_05\jre > Default locale: pl_PL, platform encoding: Cp1250 > OS name: "windows 7", version: "6.1

[MVN 3.0.4] Can't download project dependencies

2012-07-18 Thread Cysioland
Hi, I have a problem: when I try to build my project I get those errors: http://pastebin.com/RELAPiXC My version info: Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100) Maven home: C:\Maven\bin\.. Java version: 1.7.0_05, vendor: Oracle Corporation Java home: C:\Program Files\Java\jdk1.7.0_05\

Re: Custom Plugin adding project dependencies to Plugin classpath

2012-05-04 Thread Wayne Fay
> How do I enhance my plugin classpath with the project dependencies? I found > some old posts none of them seem to work. Can you not specify them yourself manually? If the plugin needs them, it needs to declare that somewhere so Maven can provide them at the proper time.

Cannot get project dependencies when MavenProjectBuilder is used

2011-10-18 Thread cowwoc
ls() I get back true. Clearly something is different but equals() is not picking it up. Any ideas? Thanks, Gili -- View this message in context: http://maven.40175.n5.nabble.com/Cannot-get-project-dependencies-when-MavenProjectBuilder-is-used-tp4915055p4915055.html Sent from the Maven - Users mai

Re: Building project dependencies under Maven Eclipse plugin

2010-01-01 Thread Barrie Treloar
On Fri, Dec 25, 2009 at 8:16 AM, Chris von See wrote: > I have an application that is comprised of three Maven projects: a server, a > webapp and a common JAR.  All three of these have the same parent POM, and > the server and webapp have the appropriate dependencies defined.  When I > execute "mv

Building project dependencies under Maven Eclipse plugin

2009-12-24 Thread Chris von See
I have an application that is comprised of three Maven projects: a server, a webapp and a common JAR. All three of these have the same parent POM, and the server and webapp have the appropriate dependencies defined. When I execute "mvn clean install" on the parent POM from the command lin

Multi-module project dependencies not resolving

2009-10-23 Thread Michael Remijan
I have a multi-module project, only two modules, where Module-A creates a jar during phase=package goal=jar using classifier=stubs. Module-B has it's only dependency set to this stubs jar which Module-A creates. When I run the top-level pom as 'maven package', all of Module-A gets created fine

Re: Cross-project dependencies

2009-08-04 Thread Brian Fox
The reactor mode would only help if you had a parent above A and B that was aggregating both projects. Then all of them would be in the reactor together and you'd be able to influence what gets built. (by default it would build them in the correct order based on dependencies). On Tue, Aug 4, 2009

Cross-project dependencies

2009-08-04 Thread Lewis, Eric
Hi I have a problem, which might be solved using Maven's make-like reactor mode - but I'm not sure if it is! Consider the following projects/modules Project A +--- Module A1 +--- Module A2 Project B +--- Module B1 +--- Module B2 Now, if A1 depends on B1, but B2 depends on A2, it's impossible t

Re: Is it possible to automatically release SNAPSHOT project dependencies?

2009-03-27 Thread Torben Knerr
Yes, currently we 1) are building Common-2.3.0.v20090327 first using release:prepare (next dev version remains Common-2.3-SNAPHOT), then 2) we change the pom of AppA-2.0-SNAPSHOT to depend on Common-2.3.0.v20090327 (instead of Common-2.3-SNAPSHOT), then 3) we build AppA-2.2.0.v20090327 using releas

Re: Is it possible to automatically release SNAPSHOT project dependencies?

2009-03-27 Thread Stephen Connolly
When 1.0-alpha-3 of versions-maven-plugin is released you could build your own snapshot of it at the moment look at the lock-snapshots and unlock-snapshots goals -Stephen 2009/3/27 Torben Knerr > Hi all, > > we have "AppA" and "AppB", both having a dependency to "Common". > > All of these

Is it possible to automatically release SNAPSHOT project dependencies?

2009-03-27 Thread Torben Knerr
Hi all, we have "AppA" and "AppB", both having a dependency to "Common". All of these are under active development and using SNAPSHOT versions: AppA: 2.2-SNAPSHOT ==> Common: 2.3-SNAPSHOT AppB: 2.1-SNAPSHOT ==> Common: 2.3-SNAPSHOT Further, we want to have weekly releases of AppA. The release ve

Assembling artifact attachments "derived" from actual project dependencies [maven-assembly-plugin]

2009-02-10 Thread Pedro Rodriguez
more verbose way. The motivation: To be able to include in an assembly artifact attachments "derived" from actual project dependencies (without having the attachments itself as a real dependency). In my case, it happens that a whole family (same groupid) of artifacts has all a zip attachme

Re: Multiple project dependencies

2008-11-10 Thread Rafael Trestini
; From: Rafael Trestini [mailto:[EMAIL PROTECTED] >> Sent: 07 November 2008 18:43 >> To: Maven Users List >> Subject: Re: Multiple project dependencies >> >> John, >> >> > I guess what I thought maven would provide is a mechanism >> that would ch

RE: Multiple project dependencies

2008-11-10 Thread John.Baker
ems a neat way of achieving such functionality without doing anything to maven. John > -Original Message- > From: Rafael Trestini [mailto:[EMAIL PROTECTED] > Sent: 07 November 2008 18:43 > To: Maven Users List > Subject: Re: Multiple project dependencies > > John, >

RE: Multiple project dependencies

2008-11-10 Thread John.Baker
re generated), it need do nothing. However if changes were detected then it could rebuild a new jar and place into the repository. John > -Original Message- > From: Graham Leggett [mailto:[EMAIL PROTECTED] > Sent: 07 November 2008 10:20 > To: Maven Users List > Su

Re: Multiple project dependencies

2008-11-07 Thread Wayne Fay
> I guess what I thought maven would provide is a mechanism that > would check for changes in source to a dependency, and if so, > compile those changes into classes before compiling the target. This is simply not functionality that Maven provides, nor do I anticipate it being added in the future.

Re: Multiple project dependencies

2008-11-07 Thread Rafael Trestini
> and that would result in a javac being run on the source of B, and the > resulting classes being used to compile A - instead of a jar being generated > for B, which is then installed in the repository, before being extracted to > compile and jar A. > > > John > >

Re: Multiple project dependencies

2008-11-07 Thread Graham Leggett
[EMAIL PROTECTED] wrote: My question surrounds dependencies, and while I understand how to declare a dependency, what I want to know is how I make maven recompile dependencies. So if A depends on B, and I run 'mvn jar' in project B, how can I make it recompile (and I guess, run 'mvn install') i

RE: Multiple project dependencies

2008-11-07 Thread John.Baker
ore being extracted to compile and jar A. John > -Original Message- > From: Rafael Trestini [mailto:[EMAIL PROTECTED] > Sent: 06 November 2008 15:30 > To: Maven Users List > Subject: Re: Multiple project dependencies > > John > > The Jorg's solution

Re: Multiple project dependencies

2008-11-06 Thread Stephen Connolly
which is where the versions maven plugin can help by running it from the builder pom you can update the dependencies within all the modules of the builder pom Sent from my iPod On 6 Nov 2008, at 15:29, "Rafael Trestini" <[EMAIL PROTECTED]> wrote: John The Jorg's solution is very nice for

Re: Multiple project dependencies

2008-11-06 Thread Rafael Trestini
John The Jorg's solution is very nice for your technical problem, mainly if just one developer is working on codes. But let me know about development lifecycles of your projects: If A depends B, but have no common code between them, I suppose their have different life cycles. So when you're codin

RE: Multiple project dependencies

2008-11-06 Thread Martin Gainty
; Subject: RE: Multiple project dependencies > Date: Thu, 6 Nov 2008 09:06:45 + > From: [EMAIL PROTECTED] > To: users@maven.apache.org > > Hi Rafael, > > Thanks for your response. > > My question surrounds dependencies, and while I understand how to > declare a de

RE: Multiple project dependencies

2008-11-06 Thread Jörg Schaible
[EMAIL PROTECTED] wrote: > Hi Rafael, > > Thanks for your response. > > My question surrounds dependencies, and while I understand how to > declare a dependency, what I want to know is how I make maven > recompile dependencies. > > So if A depends on B, and I run 'mvn jar' in project B, how can

RE: Multiple project dependencies

2008-11-06 Thread John.Baker
t; To: Maven Users List > Subject: Re: Multiple project dependencies > > John, > > In this case, your parent pom (1st level pom.xml) will > inherit from > com.atlassian.concluence.plugin.base:confluence-plugin-base:17 > , and each module will inherit your parent pom. Example: &g

Re: Multiple project dependencies

2008-11-04 Thread Rafael Trestini
to find the parent project (on the filesystem). > > Thanks, > > > John > > > -Original Message- > > From: Graham Leggett [mailto:[EMAIL PROTECTED] > > Sent: 03 November 2008 21:00 > > To: Maven Users List > > Subject: Re: Multiple project dep

RE: Multiple project dependencies

2008-11-04 Thread John.Baker
r 2008 21:00 > To: Maven Users List > Subject: Re: Multiple project dependencies > > [EMAIL PROTECTED] wrote: > > >> I'm new to maven and I have a question regarding multiple projects > >> and how the can be linked. I've created a "common code" &

Re: Multiple project dependencies

2008-11-03 Thread Graham Leggett
[EMAIL PROTECTED] wrote: I'm new to maven and I have a question regarding multiple projects and how the can be linked. I've created a "common code" project, and I have another which depends upon this project. I've got two directories, two pom files, etc., and the common code project can genera

Multiple project dependencies

2008-11-03 Thread John.Baker
> Hello, > > I'm new to maven and I have a question regarding multiple projects and > how the can be linked. I've created a "common code" project, and I > have another which depends upon this project. I've got two > directories, two pom files, etc., and the common code project can > generate a

Re: Adding project dependencies and generated classes to classpath of my plugin

2008-08-01 Thread jaxzin
much more elegant solution. I created a custom ComponentConfigurator that adds my project dependencies to the ClassRealm for the mojo. Here's my ComponentConfigurator: --- package com.example; import org.codehaus.classworlds.ClassRea

Re: Adding project dependencies and generated classes to classpath of my plugin

2008-07-24 Thread jaxzin
nd target/classes directory to the > classpath of the plugin? > -- View this message in context: http://www.nabble.com/Adding-project-dependencies-and-generated-classes-to-classpath-of-my-plugin-tp18624435p18643692.html Sen

Adding project dependencies and generated classes to classpath of my plugin

2008-07-23 Thread jaxzin
ath of the plugin? -- View this message in context: http://www.nabble.com/Adding-project-dependencies-and-generated-classes-to-classpath-of-my-plugin-tp18624435p18624435.html Sent from the Maven - Users mailing list archive at

Re: obtaining project dependencies in maven 1.1??

2008-03-06 Thread Wayne Fay
i go and build MODULE-2 project without building MODULE-1 it has to > complete MODULE-1 goals first. > like the way we do for goals with "prereqs" element > how to achieve this > plz help me .. > -- > View this message in context: > http://www.nabble.com/obtaining-project-de

obtaining project dependencies in maven 1.1??

2008-03-05 Thread san84
ject without building MODULE-1 it has to complete MODULE-1 goals first. like the way we do for goals with "prereqs" element how to achieve this plz help me .. -- View this message in context: http://www.nabble.com/obtaining-project-dependencies-in-maven-1.1---tp15866756s177p15866756.html

Re: how to obtain project dependencies in maven 1.x?

2008-03-05 Thread san84
ject without building MODULE-1 it has to complete MODULE-1 goals first. how to achieve this plz help me .. Arnaud HERITIER wrote: > > What do you want to say with "obtain project dependencies" ??In Maven > 1.xdependencies are downloaded as soon as maven is started. Yu just >

Re: how to obtain project dependencies in maven 1.x?

2008-03-05 Thread san84
obtaining project dependencies here i mean... suppose i hav two projects in maven 1.0 say MODULE-1 n MODULE-2 under a main project say MAIN-MODULE each of these subprojects(MODULE 1& MODULE 2) hav its own src directory structure . but the MODULE-2 has to wait for MODULE-1 goals t

Re: how to obtain project dependencies in maven 1.x?

2008-03-04 Thread Arnaud HERITIER
What do you want to say with "obtain project dependencies" ??In Maven 1.xdependencies are downloaded as soon as maven is started. Yu just have to define them in your pom. Arnaud On Mon, Mar 3, 2008 at 6:58 AM, san84 <[EMAIL PROTECTED]> wrote: > > hi all, > am beginner to

how to obtain project dependencies in maven 1.x?

2008-03-02 Thread san84
hi all, am beginner to maven tool my Q is how can i obtain project dependencies in maven 1.x . like de way in which we achieve goals using prereqs. plz help me -- View this message in context: http://www.nabble.com/how-to-obtain-project-dependencies-in-maven-1.x--tp15798160s177p15798160.html

Re: Ant-like project dependencies

2007-12-19 Thread Doug Knesek
will be automatically built as well. >> >> Is there a way to do this? >> >> Thanks. >> -- >> View this message in context: >> http://www.nabble.com/Ant-like-project-dependencies-tp14373960s177p14373960.html >> Sent from the Maven - Users mailing list archiv

Re: Ant-like project dependencies

2007-12-17 Thread Wayne Fay
gt; rebuild the EAR module and then all SNAPSHOT dependencies that are not up to > date (from a source code standpoint) will be automatically built as well. > > Is there a way to do this? > > Thanks. > -- > View this message in context: > http://www.nabble.com/Ant-like-project

Ant-like project dependencies

2007-12-17 Thread Doug Knesek
project where all you have to do is rebuild the EAR module and then all SNAPSHOT dependencies that are not up to date (from a source code standpoint) will be automatically built as well. Is there a way to do this? Thanks. -- View this message in context: http://www.nabble.com/Ant-like-project

Re: Updating Eclipse project dependencies

2007-12-12 Thread Arnaud HERITIER
By default the eclipse plugin keeps your additionnal settings. You lost them only if you call eclipse:clean If it's not the case, you can open an issue. Arnaud On Dec 12, 2007 9:24 PM, Rob Hasselbaum <[EMAIL PROTECTED]> wrote: > But there are some project settings that have nothing to do with Ma

Re: Updating Eclipse project dependencies

2007-12-12 Thread Rob Hasselbaum
But there are some project settings that have nothing to do with Maven such as project-specific Java Code Style settings, for example. Are those left intact? On 12/12/2007 10:25 AM, nicolas de loof wrote: > You should change the project configuration byusing the maven-eclipse-plugin > options, so

Re: Updating Eclipse project dependencies

2007-12-12 Thread nicolas de loof
You should change the project configuration byusing the maven-eclipse-plugin options, so that you can safely run eclipse:eclipse at any time. Nico. 2007/12/12, Rob Hasselbaum <[EMAIL PROTECTED]>: > > Hi, > > I'm new to Maven and I'm using the eclipse:eclipse goal to generate an > Eclipse project.

Updating Eclipse project dependencies

2007-12-12 Thread Rob Hasselbaum
Hi, I'm new to Maven and I'm using the eclipse:eclipse goal to generate an Eclipse project. Quick question: If the dependencies change, how do I update the project? I suppose I can just run eclipse:eclipse again, but will that preserve changes that I've made to the project configuration? Thanks,

Re: Project dependencies use case

2007-11-09 Thread Hugo Palma
Until this problem in cobertura is solved i think i will do that. Thanks for you help.. Cheers Roland Asmann wrote: Just read that in the plugin documentation. Too bad, should've been a little bit better to configure imo. That means you're stuck to running it twice I guess... If you trust yo

Re: Project dependencies use case

2007-11-09 Thread Roland Asmann
Just read that in the plugin documentation. Too bad, should've been a little bit better to configure imo. That means you're stuck to running it twice I guess... If you trust your developers enough and your ci is a pretty much isolated machine, you could maybe run 2 maven-calls: 'mvn clean insta

Re: Project dependencies use case

2007-11-09 Thread Hugo Palma
That doesn't run the check goal of the cobertura plugin. And if i add the check goal to executions section in the cobertura plugin configuration then i get my tests run twice. Roland Asmann wrote: And just running 'clean install'? Since it triggers cobertura as well, shouldn't that be enough?

Re: Project dependencies use case

2007-11-09 Thread Roland Asmann
And just running 'clean install'? Since it triggers cobertura as well, shouldn't that be enough? On Friday 09 November 2007 13:37, Hugo Palma wrote: > Well, the main reason for me not wanting to install is related to a > behaviour in the cobertura plugin. Basically if i do "install > cobertura:c

Re: Project dependencies use case

2007-11-09 Thread Hugo Palma
Well, the main reason for me not wanting to install is related to a behaviour in the cobertura plugin. Basically if i do "install cobertura:check" my tests are run twice. If i just do "cobertura:check" the tests are only run once. I reported this here (http://jira.codehaus.org/browse/MCOBERTURA

Re: Project dependencies use case

2007-11-09 Thread Roland Asmann
You can't. You can only see if a single projects runs with the latestest installed version of another project. This means that you either have to change the command you run in ci to 'clean install' or live with the fact that updates are only deployed at night. Is it a problem tyo run 'install'

Re: Project dependencies use case

2007-11-09 Thread Hugo Palma
It's actually not about IDE integration. It's about continous integration. I have my ci server run the goal "clean cobertura:check" every hour. This allows me to know within the hour if anyone committed any code that fails the tests. I only want to generate an artifact for my project once a da

Re: Project dependencies use case

2007-11-09 Thread Roland Asmann
I presume you have this use-case in your IDE, since Maven will NEVER use the source-code of another project and always refers to the packaged version in your repository. What you need is a 'build-project', which contains both projects as modules. Then Maven will recognize they need eachother an

Project dependencies use case

2007-11-09 Thread Hugo Palma
I have a use case where i am developing two projects, and project A depends on project B. What i want to do is a mvn clean compile under project A directory and it will also compile project B and use it's classes as a dependency. Sounds simple enough but i can't seem to be able to get this use

Re: Question regarding project dependencies

2007-11-05 Thread Ross Mcdonald
Hi, thanks Nicole, just trying to get to grips with this, it looks great, I appreciate your help, regards Ross On 5 Nov 2007, at 13:18, Nicole Lacoste wrote: Hi Ross, I think what you want to do is download all the stuff you need, then use the maven deploy plugin goal, deploy-file to

Re: Question regarding project dependencies

2007-11-05 Thread Nicole Lacoste
Hi Ross, I think what you want to do is download all the stuff you need, then use the maven deploy plugin goal, deploy-file to put it in your repository. Read the details of the plugin, but you give it a groupId, artifactId and version, and if there isn't a pom file, one will be created and deplo

  1   2   3   >