m2 multiple parents

2005-10-07 Thread Brian E. Fox
We are moving over a large project from ant based build directly to m2. Part of this process is breaking a monolithic application into multiple modules. Some of these modules may be used as part of several different projects. Is it possible to specify multiple parents? Is there some other way to

RE: m2 multiple parents

2005-10-07 Thread Brian E. Fox
Most of the time no, but it is possible that we will have a parent project for each application that would cause a full rebuild. -Original Message- From: Stephen Duncan [mailto:[EMAIL PROTECTED] Sent: Friday, October 07, 2005 8:34 AM To: Maven Users List Subject: Re: m2 multiple parents

RE: m2 multiple parents

2005-10-07 Thread Brian E. Fox
each project they build explicitly. Is it possible to tell Maven to build all the projects in some directory subtree (using inclusions and exclusions like Maven 1 did)? ..David.. -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Friday, October 07, 2005 6:39 AM To: Maven

FTP Deploy can't open input stream?

2005-10-07 Thread Brian E. Fox
I was able to successfully make the ftp deploy work using Brett's suggestions to add extensions. I created a new project that is from what I can see, exactly the same as my test project except I get a new exception. It seems to be getting hung up trying to retrieve previous metadata. I checked the

RE: FTP Deploy can't open input stream?

2005-10-07 Thread Brian E. Fox
. Is this a misconfiguration still or did I find a bug in the ftp wagon? -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Friday, October 07, 2005 10:19 AM To: Maven Users List Subject: FTP Deploy can't open input stream? I was able to successfully make the ftp deploy

RE: FTP Deploy can't open input stream? --bug fix.

2005-10-07 Thread Brian E. Fox
these plugins from scratch using maven. It's so nice to not have to worry about finding all the proper dependencies when you just want to jump in feet first. I can't wait until we can get this into production. -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Friday

RE: Réf. : Maven 2.x documentation

2005-10-07 Thread Brian E. Fox
Hi Jason, I saw your work on the documentation...looks great. Or if you have submitted something and you know of a particular JIRA issue you would like me to look at please send that my way too. I wrote a new JIRA issue against wagon-ftp today. I also posted some code that seems to have fixed

RE: dealing with legacy jar dependancies

2005-10-08 Thread Brian E. Fox
A stub pom and the generated hashes for the jar and pom would be awesome. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Saturday, October 08, 2005 10:01 AM To: Maven Users List Subject: Re: dealing with legacy jar dependancies The POM is not required. What were

RE: Changing the default repository location

2005-10-09 Thread Brian E. Fox
Daniel, Look in your maven/conf/settings.xml. In m2, I think it's the first line. -Original Message- From: Daniel Or [mailto:[EMAIL PROTECTED] Sent: Sunday, October 09, 2005 10:09 AM To: users@maven.apache.org Subject: Changing the default repository location Hi. How can I

[m2] Deploy to multiple repositories?

2005-10-09 Thread Brian E. Fox
Is it possible to deploy to multiple repos using a single deploy command? I tried setting multiple repositories in the distribution management section, but it only seems to use the last definition. We have multiple locations sharing development and artifacts. For the sake of download speed, it

[M2]Assemble provided scope

2005-10-09 Thread Brian E. Fox
My project has all dependencies listed in the provided scope. When I set the assembly descriptor to assemble the provided scope, I only get my built jar. If I change it to runtime, it's the same. Compile and Test grab all the provided scope jars but also include my test scopes (as expect). Is it

[m2] multiple assemblies

2005-10-10 Thread Brian E. Fox
Hello, I followed the instructions to define an assembly inside my pom like this: plugin artifactIdmaven-assembly-plugin/artifactId version2.0-beta-1/version configuration descriptorsrc/main/assembly/assembly.xml/descriptor

RE: [m2] multiple assemblies

2005-10-11 Thread Brian E. Fox
assemblies You need to use executions and bind to a phase of the lifecycle (probably package). You can have multiple executions in the lifecycle, but only one from the command line (or it wouldn't know which config to assign to which). - Brett On 10/11/05, Brian E. Fox [EMAIL PROTECTED] wrote

generate dependancies

2005-10-11 Thread Brian E. Fox
Does anyone know of an automated way to generate a dependancy tree? We have a fairly complicated list of jars that needs to be cleaned up for a migration to m2. I'm looking for a way to reduce the overhead in figuring out transitive dependancies. Thanks.

RE: generate dependancies

2005-10-11 Thread Brian E. Fox
Subject: Re: generate dependancies On Tue, 2005-10-11 at 11:47 -0400, Brian E. Fox wrote: Does anyone know of an automated way to generate a dependancy tree? We have a fairly complicated list of jars that needs to be cleaned up for a migration to m2. I'm looking for a way to reduce the overhead

RE: generate dependancies

2005-10-11 Thread Brian E. Fox
Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 12, 2005 4:35 AM To: Maven Users List Subject: RE: generate dependancies On Tue, 2005-10-11 at 14:49 -0400, Brian E. Fox wrote: Kindof. We are moving from ANT and have a lib folder with 100+ jars. I'd like

RE: [m2] parent POM from remote repo

2005-10-11 Thread Brian E. Fox
Yes it does get the parent pom from the repo. You have added your repo to a profile so it needs to be activated. I'm not sure if this activation activeByDefault/ /activation Does the trick. I would expect activeByDefaulttrue/ActiveByDefault at least. I did

RE: M2 and Remote HTTP Repo on Tomcat

2005-10-11 Thread Brian E. Fox
Thomas, I'm not sure if this activation activeByDefault/ /activation Does the trick. I would expect activeByDefaulttrue/ActiveByDefault at least. I did it differently: (note the activeProfiles section at the end) profiles profile iddefault/id

Doing a full build with a flattened tree

2005-10-11 Thread Brian E. Fox
Hello again, For the purposes of testing, verification and official deployment, I think we need the ability to build our full product rather easily. We are thinking about the following structure on svn: /modules/moduleA/trunk/modulea /modules/moduleA/branches/brancha-1

RE: Using repositories defined in a profile... question/problem [m2]

2005-10-11 Thread Brian E. Fox
Mark, Try adding this: activeProfiles activeProfilemaster_build/activeProfile /activeProfiles -Original Message- From: Russell, Mark [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 6:28 PM To: Maven Users List Subject: Using repositories defined in a profile...

RE: generate dependancies

2005-10-11 Thread Brian E. Fox
the format you described. If you are uncertain of the versions you had, the md5 trick will help you verify you are getting what you used to. - Brett On 10/12/05, Jason van Zyl [EMAIL PROTECTED] wrote: On Tue, 2005-10-11 at 16:02 -0400, Brian E. Fox wrote: Actually, we currently have no way

Transitive dependancies in war

2005-10-12 Thread Brian E. Fox
Everytime I think I get it figured out I realize I'm missing something. I have a project like this: A.jar depends on X Y Z (compile and to run) B.jar depends on A (compile and to run) C.war depends on B When I build C, shouldn't the war pickup the transitive dependancy of A, X,Y,Z and

RE: Transitive dependancies in war

2005-10-12 Thread Brian E. Fox
NVM. I'm just getting worn out I think. I needed to restudy the implications of transitive dependancies posted on the site. -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 12, 2005 4:30 PM To: Maven Users List Subject: Transitive dependancies

maven ant not finding settings.xml?

2005-10-17 Thread Brian E. Fox
Hello, We have reproduced this problem on beta 3 and rc1: We are using an ant script to call maven deploy to auto deploy jar, pom and md5's and sh1's for 3rd party libraries to our remote repository. The maven deploy ant task isn't using the settings to find our mirrors or repositories for

m2 stop surefire from launching junit

2005-10-17 Thread Brian E. Fox
We are launching an ant taks to fire of testNG. How can I make the build stop calling surefire? I know how to bind plugins to phases, but I haven't seen how to UNbind a plugin.

RE: m2 stop surefire from launching junit

2005-10-17 Thread Brian E. Fox
artifactIdmaven-surefire-plugin/artifactId configuration skiptrue/skip /configuration /plugin /plugins /build ... regards, mika Brian E. Fox wrote: We are launching an ant taks to fire of testNG. How can I make the build stop calling surefire? I know how

RE: maven ant and maven.xml

2005-10-18 Thread Brian E. Fox
Our temporary work around in lieu of a Maven 2 eclipse plugin was to create a simple ant file that just calls maven as a process. This makes it easy to kick off builds from eclipse. The content of our build file follows: project name=supplementaldata Maven2 Wrapper default=maven-install basedir=.

RE: maven ant not finding settings.xml?

2005-10-18 Thread Brian E. Fox
:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 4:48 AM To: Maven Users List Subject: Re: maven ant not finding settings.xml? Can you send us the stack trace or the output so we can better comment on it? Thanks. Brian E. Fox wrote: Hello, We have reproduced this problem on beta 3 and rc1: We

RE: [m2] new plugins for m2 RC??

2005-10-18 Thread Brian E. Fox
Isn't that basically the same as using antrun? That's how we've been using it in the meantime to call jdo enhancers and testNg. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 12:42 PM To: Maven Users List Subject: Re: [m2] new plugins for

Struts tld dependancy

2005-10-18 Thread Brian E. Fox
Hello, We noticed that the struts tld files are on ibiblio: http://www.ibiblio.org/pub/packages/maven2/struts/struts-bean/1.1/ Is there a way to download these like a normal dependancy? I initially thought setting the depend type to tld but the docs say only jar,ejb and plugin are recognized.

RE: Struts tld dependancy

2005-10-18 Thread Brian E. Fox
/dependency and the like w/o any problems. Maven will download and use. I don't think the documentation is up to date for the types. Brian E. Fox wrote: Hello, We noticed that the struts tld files are on ibiblio: http://www.ibiblio.org/pub/packages/maven2/struts/struts-bean/1.1/ Is there a way

RE: Struts tld dependancy

2005-10-18 Thread Brian E. Fox
dependancy I am using M1. Don't know about M2, but I would guess it isn't. At any rate, that property is used by the WAR goal and is not needed for the TLD linking. Then again, I don't know if M2 handles TLD dependencies. Sorry. Brian E. Fox wrote: Is the properties tag a maven 1 setting? M2 doesn't

RE: Plugins of plugins

2005-10-19 Thread Brian E. Fox
I can think of another use case. I would like to be able to fire off assembly multiple times from a single command to assemble multiple zips (source, jars, ibiblio bundle). -Original Message- From: Jason van Zyl [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 12:12 AM To:

Broken link

2005-10-19 Thread Brian E. Fox
I notice that the docs have been updated...woo hoo! The link at Maven 2.x Documentation All the documentation for Maven 2.x is in the form of guides which can all be found here http://people.apache.org/%7Ejvanzyl/maven2/guides/index.html . Still points to Jason's site, while the

RE: any open source projects on M2 for an example ( Cargo ? )

2005-10-19 Thread Brian E. Fox
Cewolf.sourceforge.net...there is a jar that has assemblies and a war. -Original Message- From: Pete Thomas [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 19, 2005 12:41 PM To: users@maven.apache.org Subject: any open source projects on M2 for an example ( Cargo ? ) I was looking

M2 - repository:bundle-create

2005-10-20 Thread Brian E. Fox
I'm trying the new repository bundle goal and I get the following error: [DEBUG] Trace org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m aven.plugins:maven-repository-plugin' does not exist or no valid version could b e found I cleared my repo just in case but

m2 - doc error in settings descriptor

2005-10-24 Thread Brian E. Fox
The settings descriptor shows snapshot when it appears it needs to be snapshots

RE: m2 - doc error in settings descriptor

2005-10-24 Thread Brian E. Fox
Same problem for release / releases -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Monday, October 24, 2005 3:02 PM To: Maven Users List Subject: m2 - doc error in settings descriptor The settings descriptor shows snapshot when it appears it needs to be snapshots

M2 settings descriptor doc or maven bug

2005-10-24 Thread Brian E. Fox
The activeByDefault doesn't work in the settings.xml, but it does in the pom: profiles profile activation activeByDefaulttrue/activeByDefault /activation iddefault/id repositories repository idsnaps/id urlhttp://cordella.mht.stchome.com:/repository/url snapshots

RE: [ANN] Maven Repository Plugin v2.0 Released

2005-10-25 Thread Brian E. Fox
This is weird. I didn't specify anything in my pom and it's looking for 1.0-SNAPSHOT?? E:\STC\workspace\sample-projectmvn repository:bundle-create [INFO] Scanning for projects... [INFO] Reactor build order: [INFO] Unnamed - sample-project:mavenFull:pom:SNAPSHOT [INFO] Maven Quick Start

RE: keyword SNAPSHOT in depedency version is ignored

2005-10-31 Thread Brian E. Fox
I think maybe what is being asked for is the ability to get the lastest non snapshot build? For example if wagon-ftp changes from 1.0 to 1.1, I want to automatically grab it. Maybe not the best decision, but still a possible option to allow people to choose. I think that in terms of versioning

RE: [m2] Artifact with web resources (images, css etc.)

2005-11-02 Thread Brian E. Fox
We solved it by packaging as a war, using a plugin to copy the war from the repository into a local folder, and using ant to unpackage the war and then waring up the combined contents. See the email from Damian Bradicich yesterday with details. -Original Message- From: Piotr Bzdyl

RE: keyword SNAPSHOT in depedency version is ignored

2005-11-03 Thread Brian E. Fox
mails, if you want that functionality you can open a JIRA request for it (preferably with a patch attached ;) ). And of course, I retain all my reservations about automatic dependency upgrade as expressed before. But then, if you want it, it's your decision. :) -Lukas Brian E. Fox wrote

RE: keyword SNAPSHOT in depedency version is ignored

2005-11-03 Thread Brian E. Fox
- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Thursday, November 03, 2005 6:58 PM To: Maven Users List Subject: Re: keyword SNAPSHOT in depedency version is ignored What was the dependency? Do you have a test case? - Brett On 11/4/05, Brian E. Fox [EMAIL PROTECTED] wrote: I'm not able

RE: [m2] assembly:directory problem (DirectoryMojo)

2005-11-06 Thread Brian E. Fox
I have a plugin that does just a copy but I haven't published it yet. If you are interested, shoot me an email and I can send you the code or binary if you prefer. It works like this: plugin groupIdcom.stchome.maven.mojo/groupId artifactIdcopy-dependancy/artifactId

RE: Blocking Access to ibiblio, etc...

2005-11-07 Thread Brian E. Fox
Create a mirror of central and either point it to your internal repo or to someplace not ibiblio. -Original Message- From: Duane Homick [mailto:[EMAIL PROTECTED] Sent: Monday, November 07, 2005 5:53 PM To: users@maven.apache.org Subject: Blocking Access to ibiblio, etc... Is there an

RE: Blocking Access to ibiblio, etc...

2005-11-07 Thread Brian E. Fox
. Is there a way to have these become my urls? Also, is there a way to change the Super POM or are the settings in it just something I will have to live with? -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Monday, November 07, 2005 6:13 PM To: Maven Users List Subject: RE

Set my own properties

2005-11-08 Thread Brian E. Fox
Is there a way to set properties in the pom and the settings.xml that are available during execution? Something like path_to_file_x = c:\. The intent is to have some properties that are defined in profiles that can change behaviors defined in my poms.

RE: Set my own properties

2005-11-08 Thread Brian E. Fox
Found it here: http://maven.apache.org/guides/introduction/introduction-to-profiles.htm l Duh. -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 2:15 PM To: Maven Users List Subject: Set my own properties Is there a way to set properties

RE: Profiles not working?

2005-11-08 Thread Brian E. Fox
Mvn -Pwindows should do it. -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Mike Whittemore Sent: Tuesday, November 08, 2005 3:48 PM To: users@maven.apache.org Subject: Profiles not working? We have all our source code in ClearCase on Unix, under the vobs directory,

Profile precedence?

2005-11-08 Thread Brian E. Fox
I am trying to determine how maven processes profiles. I have defined a property in 2 profiles like this: profiles profile idtest/id activation property nameenv/name valuetest/value /property /activation properties

RE: Profile precedence?

2005-11-08 Thread Brian E. Fox
there. -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 4:41 PM To: Maven Users List Subject: Profile precedence? I am trying to determine how maven processes profiles. I have defined a property in 2 profiles like this: profiles profile idtest/id

How to make self contained database dependant unit tests in maven 2?

2005-11-09 Thread Brian E. Fox
We currently have a system that uses JDO (Kodo implementation) for our persistence layer. In order to test these persistent classes, I need to have a JDBC driver and compliant database running. I would really like to make the process completely self contained like the Maven Wagon builds. ie

RE: How to make self contained database dependant unit tests in maven 2?

2005-11-09 Thread Brian E. Fox
, Brian E. Fox [EMAIL PROTECTED] wrote: We currently have a system that uses JDO (Kodo implementation) for our persistence layer. In order to test these persistent classes, I need to have a JDBC driver and compliant database running. I would really like to make the process completely self

RE: How to make self contained database dependant unit tests in maven 2?

2005-11-09 Thread Brian E. Fox
://www.theserverside.com/tss?service=direct/0/NewsThread/threadViewe r.markNoisy.linksp=l33215sp=l165443 2005/11/9, Brian E. Fox [EMAIL PROTECTED]: Funny you should mention that. I just stumbled upon this myself. Do you need to execute anything before hand to setup the hsqldb or do you just point

RE: How to make self contained database dependant unit tests in maven 2?

2005-11-09 Thread Brian E. Fox
Users List Subject: Re: How to make self contained database dependant unit tests in maven 2? Chris Richardson wrote: On 11/9/05, Brian E. Fox [EMAIL PROTECTED] wrote: Funny you should mention that. I just stumbled upon this myself. Do you need to execute anything before hand to setup

local.repository

2005-11-10 Thread Brian E. Fox
I need to access the local repository property in an antrun task. I've tried various combinations but can't get it. Does someone know what the property is? I actually need the test classpath but can't figure that out either, does anyone know how to get that property? Thanks, Brian

RE: local.repository

2005-11-10 Thread Brian E. Fox
Found the answer and posting for the archives: property name=bla refid=maven.test.classpath/ echo${bla}/echo And property name=bla refid=maven.local.repo/ echo${bla}/echo -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: Thursday, November 10, 2005 11:52 AM

RE: maven-dependency-plugin: Checks for updates for released artifacts?

2007-07-23 Thread Brian E. Fox
That goal relies on Maven to do the resolution (@requiresDependencyResolution test). If you're seeing some new behavior, have you updated Maven itself recently? -Original Message- From: Barrie Treloar [mailto:[EMAIL PROTECTED] Sent: Monday, July 23, 2007 7:20 PM To: Maven Users List

RE: repositories

2007-07-23 Thread Brian E. Fox
If you are just interested in dependencies, you can also use the dependency:resolve goal. The go-offline also attempts to resolve named plugins and their dependencies. It currently doesn't get the standard plugins unless they are mentioned in your pom (or parents). -Original Message-

RE: Type in documentation on Dependency scope?

2007-07-23 Thread Brian E. Fox
Can you file a jira so this can be investigated further? -Original Message- From: Davy Toch [mailto:[EMAIL PROTECTED] Sent: Sunday, July 22, 2007 2:01 PM To: users@maven.apache.org Subject: Type in documentation on Dependency scope? In the section Dependency Scope of

RE: dependency-plugin without forking

2007-07-24 Thread Brian E. Fox
Actually in the unreleased snapshot, there is a goal called (i think) just-analyze that does exactly what you ask ;-) From: William Ferguson [mailto:[EMAIL PROTECTED] Sent: Tue 7/24/2007 12:21 AM To: Maven Users List Subject: dependency-plugin without forking

RE: maven-dependency-plugin: Checks for updates for released artifacts?

2007-07-24 Thread Brian E. Fox
? On 7/24/07, Brian E. Fox [EMAIL PROTECTED] wrote: That goal relies on Maven to do the resolution (@requiresDependencyResolution test). If you're seeing some new behavior, have you updated Maven itself recently? I don't know if it is new behaviour. We are using 2.0.7, its just something I have

RE: Exclude a dependency without knowing where it's from

2007-07-24 Thread Brian E. Fox
You can use the dependency:tree (from the latest snapshot version). You can detect some of these errors using dependency:analyze-dep-mgt (if it finds a dependency that was excluded anywhere, it will warn you) and you can enforce it in the build using the enforcer noBannedDependencies rule.

RE: [maven-dependency-plugin] v 2.0-alpha-4 : include/exclude scopes

2007-07-30 Thread Brian E. Fox
The dependency plugin uses the same code as core to determine the scope. Specifically, it calls a method (going by memory here) isScope(scope). The test scope includes everything, so if used to exclude, you would get nothing. You can use the copy goal to name specific dependencies if you need to,

RE: Maven tries to resolve artifact in the reactor to SNAPSHOT version in Apache Tuscany build

2007-08-01 Thread Brian E. Fox
Are you using the enforcer? If so, it could be MENFORCER-11, if not enforcer then possibly some other plugin is causing the same core bug to occur (it's linked to MENFORCER-11) -Original Message- From: Luciano Resende [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 01, 2007 3:02 PM To:

RE: Container not set in plexus DefaultArchiverManager

2007-08-07 Thread Brian E. Fox
You need to exclude the container-api jars. Take a look at the exclusions in the maven-dependency-plugin pom, along with the enforcer use to alert me if it creeps in via another dependency. -Original Message- From: Dave Mellors [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 07, 2007

RE: Making provided scope dependencies available

2007-08-08 Thread Brian E. Fox
In order for the plugin to receive the dependencies, you need to specify @requiresDependencyResolution [scope] in your mojo annotation. This will tell maven to ensure everything is resolved and then you will get the objects you want. -Original Message- From: William Ferguson

RE: Analysing transient dependencies

2007-08-09 Thread Brian E. Fox
The release should be soon. It is normal practice to push out the updated sites ahead of the release so that docs can be updated without waiting. The mojos should show the @since version. -Original Message- From: Jason Pringle [mailto:[EMAIL PROTECTED] Sent: Thursday, August 09, 2007

RE: [m2] urgent issue with modules and sub-modules for initial builds

2007-08-14 Thread Brian E. Fox
Or just switch to enforce instead of enforce-once. As noted in the issue, the aggregator portion of enforce-once isn't working (never has) so the two goals are effectively the same in terms of performance. (enforce-once runs on each child, the intent is for it to just run once) -Original

RE: NullPointerException with mvn dependency:sources

2007-08-16 Thread Brian E. Fox
Can you write a jira and attach a pom to reproduce it? Also note which version of maven you have, since the NPE is in the core. -Original Message- From: SamImari [mailto:[EMAIL PROTECTED] Sent: Thursday, August 16, 2007 4:06 AM To: users@maven.apache.org Subject: NullPointerException

RE: expand war deps

2007-08-16 Thread Brian E. Fox
Hi John, I see two issues below. The first is that the includes/excludes is only available in 2.0-alpha-5-SNAPSHOT. The second is more to your question. You can skip specifying a version in the artifactItems if you put that dependency version in your dependencyManagement section. Then you can

RE: expand war deps

2007-08-21 Thread Brian E. Fox
/execution /executions /plugin Excellent. Regards, John -Original Message- From: Brian E. Fox [mailto:[EMAIL PROTECTED] Sent: 16 August 2007 19:56 To: Maven Users List Subject: RE: expand war deps Hi John, I see two issues below

RE: provided dependencies

2007-08-24 Thread Brian E. Fox
I've never found that to be perfectly clear either. Would you mind filing a jira with a patch? -Original Message- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Friday, August 24, 2007 2:35 PM To: Maven Users List Subject: Re: provided dependencies Hi, the description of the

RE: [m2] Copying a resource verse a dependency?

2007-08-24 Thread Brian E. Fox
You could unpack that module. In the current snapshot 2.0-alpha-5-SNAPSHOT, you can filter the unpack so you could pull out only that one file and drop it where you need it. -Original Message- From: Mick Knutson [mailto:[EMAIL PROTECTED] Sent: Friday, August 24, 2007 8:32 PM To: maven

RE: Unit tests being run twice when using assembly

2007-09-02 Thread Brian E. Fox
You need to change the goal to attached if you want this to run inside your build. The assembly goal forks the build and causes everything to run twice. -Original Message- From: Will Pugh [mailto:[EMAIL PROTECTED] Sent: Sunday, September 02, 2007 12:45 AM To: users@maven.apache.org

Call for 2.1 Proposals

2007-09-04 Thread Brian E. Fox
As we are approaching an alpha release of 2.1, the Maven Team would like to make a final call for proposals. The cutoff date for new proposals will be Friday 9/21. During this time, we will review and discuss new proposals and make a final cut at scheduling the 2.1 release. The current aim is to

RE: How to get dependencies with scope provided in a plugin

2007-09-05 Thread Brian E. Fox
Take a look at the dependency plugin. There are some artifact filters that work on scope. These are being moved to a common location so that plugin developers can use them. -Original Message- From: Deneux, Christophe [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 3:29 AM

RE: Assembling sources

2007-09-05 Thread Brian E. Fox
You should be able to do it with dependency to unpack the sources and then assembly:single to zip up the folder. I have unfortunately had to do this many times. -Original Message- From: Siegmann Daniel, NY [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 05, 2007 6:13 PM To: Maven

RE: Can Maven 2 check its version and fail?

2007-09-10 Thread Brian E. Fox
The prereq will work but isn't inherited since it's meant for tools. The enforcer (http://maven.apache.org/plugins/maven-enforcer-plugin) is a more flexible solution. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Monday, September 10, 2007 8:38 PM To: Maven Users

RE: Re: Javadoc in an assembly

2007-09-12 Thread Brian E. Fox
Just kidding... -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Insitu Sent: Wednesday, September 12, 2007 3:27 PM To: users@maven.apache.org Subject: Re: Javadoc in an assembly Brian E. Fox [EMAIL PROTECTED] writes: If you dare maven-dependency-plugin. Hey what

RE: tie dependency to one repository

2007-09-14 Thread Brian E. Fox
You can't do this with maven, but you can do it with proximity. -Original Message- From: Sebastian Johnck [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 1:11 PM To: users@maven.apache.org Subject: tie dependency to one repository Is it possible to bind a dependency to a

RE: tie dependency to one repository

2007-09-14 Thread Brian E. Fox
Brian, For plugins we can specify repositories in the pluginrepository/repositorypluginRepository/pluginRepos itory/plugin tags . I never tried to an extent for this but you can hit for it. How can we do it using proximity? Regards, Nishant Sonar -Original Message- From: Brian E

RE: New Archetype Plugin

2007-09-14 Thread Brian E. Fox
The source has been moved to the maven-sandbox. There are still some issues related to the create-from-project when used with multi module projects, but otherwise it is usable. You'll have to build it from source as it hasn't been published yet. -Original Message- From: Clifton

RE: Including an assembly in another assembly

2007-09-14 Thread Brian E. Fox
Use dependency-plugin to upack A and then have B zip it up along with other stuff. -Original Message- From: Paul Austin [mailto:[EMAIL PROTECTED] Sent: Thursday, September 13, 2007 4:55 PM To: users@maven.apache.org Subject: Including an assembly in another assembly Say I have two

RE: Public remote repository

2007-09-15 Thread Brian E. Fox
Repo1.maven.org is the primary. Everything else is a mirror. In the old days ibiblio was the primary so the docs you read might be out of date. -Original Message- From: GAMBELLI Raffaele [mailto:[EMAIL PROTECTED] Sent: Friday, September 14, 2007 4:44 AM To: Maven Users List Subject:

RE: [maven-dependency-plugin] v 2.0-alpha-4 : include/exclude scopes

2007-09-18 Thread Brian E. Fox
Clara, The dependency plugin uses the core scope filter to decide if something is included in a scope. This is not the same as filtering on the declared scope of a dependency, rather the effective scope. Everything is needed for the test scope, so if I ask the filter Is this in the test scope? the

RE: Why Maven is Hard?

2007-09-24 Thread Brian E. Fox
I know when I started with Maven in the 2.0 beta days, there really wasn't much documentation at all. The situation today is vastly different. I will admit that the organization of the site isn't great and honestly I just go to the index and pull the doc I need. (Yes even PMC members can't

RE: What is a used, undeclared dependency?

2007-09-25 Thread Brian E. Fox
Torsten, You got it. Because compile picks up transitive dependencies, you are actually relying on someone else's dependency to get compiled. That means you lose control over which version is used and the actual dependency tree isn't accurately reflecting your project. --Brian -Original

RE: What is a used, undeclared dependency?

2007-09-25 Thread Brian E. Fox
It should be declared if you are using it. If not, and that dependency goes away because it's not used by your dependency anymore, your build will suddenly fail. -Original Message- From: Torsten Schlabach [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 10:24 AM To:

RE: Dependency analysis: dependency:analyze and dependency-analyzer:analyze

2007-09-25 Thread Brian E. Fox
It was merged into the dependency plugin, so yes they are the same. -Original Message- From: Torsten Schlabach [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 10:29 AM To: users@maven.apache.org Subject: Dependency analysis: dependency:analyze and dependency-analyzer:analyze

RE: Why Maven is Hard?

2007-09-25 Thread Brian E. Fox
It's not an immediate help, but go back to your vendors and tell them you want maven integration. I know many of them are working on it but just like any product, customer demand can help drive it. I doubt the big guys were first in line with Ant either. --Brian -Original Message- From:

RE: Dependency resolution for modules...

2007-09-25 Thread Brian E. Fox
Maven passes around Artifact objects (really objects that implement Artifact) for dependencies and this object contains a file handle to the jar in normal cases. In multimodules, when only mvn compile is run, the file handle actually points to the target/classes folder of the dependency. (thus the

RE: Maven custom project directory

2007-09-25 Thread Brian E. Fox
Yep, I use it fairly frequently. The newer versions are much easier to use with a config file and smarter options. -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 8:09 PM To: Maven Users List Subject: Re: Maven custom project directory We

RE: Copying files after a build

2007-09-25 Thread Brian E. Fox
Use the maven-dependency-plugin copy mojo: http://maven.apache.org/plugins/maven-dependency-plugin Copying files is exactly how it got started, but it can do much more than that now. -Original Message- From: Gordon Dickens [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007

RE: selective modules build

2007-09-25 Thread Brian E. Fox
Put each module in a profile and then you could do mvn -P1,2 or -P3. If you put all of them in a profile with activeByDefault then this one will go if nothing else is active but is deactivated if something else is. -Original Message- From: Sonar, Nishant [mailto:[EMAIL PROTECTED] Sent:

RE: How to list all goals

2007-09-25 Thread Brian E. Fox
http://maven.apache.org/plugins/maven-help-plugin/describe-mojo.html -Original Message- From: jweekend [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 3:09 PM To: users@maven.apache.org Subject: How to list all goals Many new http://wicket.apache.org Wicket users are

RE: mojo inheritance

2007-09-25 Thread Brian E. Fox
This is interesting functionality that the dev team should be aware of. I know it's frequently asked how to extend a plugin. --Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart McCulloch Sent: Tuesday, September 25, 2007 11:21 AM To: Maven

RE: FTP plugin for deploying a directory, _not_ an artifact

2007-09-25 Thread Brian E. Fox
To my knowledge, only the scp wagon supports directory copying (hence the inability to deploy sites any other way besides file). It would seem that the ftp wagon would need to support this first and then a plugin could leverage it. --Brian -Original Message- From: [EMAIL PROTECTED]

RE: Why Maven is Hard?

2007-09-26 Thread Brian E. Fox
Everyone is bashing the plugin docs. Can you be more specific about which ones and what's not good? Are we talking about plugins on Apache or ones at Codehaus or somewhere else? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 26, 2007 9:37 AM

  1   2   3   4   5   6   7   8   9   10   >