Re: Use properties to get name of dependency...

2010-10-10 Thread Brian Fox
Once something is deployed to a repo, the finalName has no effect because the name of the file in the repo is part of the layout standard. FinalName only affects the jar/war etc that gets created in the /target folder. S, that means you can always know what the name of the dependency file is,

Re: Clean up unpacked dependencies...

2010-10-08 Thread Brian Fox
The plugins are responsible for registering their artifacts into the model. The build-helper-maven plugin has a goal that will let you attach files from the pom On Oct 8, 2010, at 1:51 PM, Phillip Hellewell ssh...@gmail.com wrote: On Fri, Oct 8, 2010 at 11:47 AM, Jon Paynter kittl...@gmail.com

Re: maven 3.0

2010-10-08 Thread Brian Fox
It's telling you the rule doesn't work in 3.x, that's the current state. 3.x has similar functionality built in Sent from my iPad On Oct 8, 2010, at 4:33 PM, Jason Chaffee jchaf...@ebates.com wrote: Does maven-enforcer-plugin with maven 3.0? The same rules are working correctly in 2.0.

Re: how to resolve dependencies in plugins

2010-09-24 Thread Brian Fox
Take a look at the dependency plugin copy goal. On Fri, Sep 24, 2010 at 9:18 AM, mremerson...@aim.com wrote: Hi, in a maven plugin I like to resolve the dependencies of a project. My current way to do so is: for (Dependency dep: project.getModel().getDependencies()) {    // factory is  

Re: Can i re-deploy the contents from local repository from a build machine to release repository?

2010-09-23 Thread Brian Fox
Nexus has a trash folder that holds all files deleted. (sonatype-work/nexus/trash) Hopefully they didn't also purge that and you can just recover the files from there. Otherwise you could manually load the files from your local into nexus' storage folder, the do a clear cache and reindex. Sent

Welcome Stephen Connolly to the Maven PMC

2010-09-13 Thread Brian Fox
Stephen has just joined us on the Maven PMC. He is the author of the very popular versions-maven-plugin at Codehaus and has recently been doing maintenance of the Surefire plugin at the Maven project. Welcome Stephen! --Brian Fox Maven PMC Chair

Re: Maven Enforcer Plugin, requirePluginVersions, and Maven 3.0

2010-09-09 Thread Brian Fox
No, those are still covered by the enforcer as intended. On Wed, Sep 8, 2010 at 2:37 PM, Trevor Harmon tre...@vocaro.com wrote: On Sep 8, 2010, at 11:14 AM, Brian Fox wrote: The workaround is to not use this rule in M3 anymore since the core will throw warnings at you anyway

Re: Maven Enforcer Plugin, requirePluginVersions, and Maven 3.0

2010-09-09 Thread Brian Fox
. My experience is that users don't care about warnings... /Anders On Wed, Sep 8, 2010 at 20:14, Brian Fox bri...@infinity.nu wrote: This is coming from the enforcer rule itself, since it is coded using bits from M2 that aren't present in M3. The workaround is to not use this rule in M3

Re: How to fail Maven build when exec started Ant build fails?

2010-09-09 Thread Brian Fox
Well short of figuring out how to make the exec plugin detect the ant failure, which could be tricky because of how ecodes are handled at times...you could use the enforcer to check for the existence of certain files produced by that build. On Thu, Sep 9, 2010 at 6:45 AM, NickDeGraeve

Re: How to contact uploader to maven central of org.eclipse.core artifacts

2010-09-09 Thread Brian Fox
This should be fixed now. On Tue, Sep 7, 2010 at 12:27 PM, Marshall Schor m...@schor.com wrote:  Today, Maven central was updated with incomplete uploads of several eclipse artifacts: see http://repo2.maven.org/maven2/org/eclipse/core and within that directory are the following

Plans to release Maven 3.0

2010-09-08 Thread Brian Fox
On the dev list we've been discussing more formal plans to drive to the Maven 3.0 final release. The plan is to release weekly release candidate releases with the goal of having 3.0 final by the beginning of October. So far Maven 3.0 beta 3 is pretty stable with only a couple of regressions

Re: Maven Enforcer Plugin, requirePluginVersions, and Maven 3.0

2010-09-08 Thread Brian Fox
This is coming from the enforcer rule itself, since it is coded using bits from M2 that aren't present in M3. The workaround is to not use this rule in M3 anymore since the core will throw warnings at you anyway. On Wed, Sep 8, 2010 at 12:22 PM, Trevor Harmon tre...@vocaro.com wrote: Hi, I'm

Re: how to access maven programatically

2010-09-08 Thread Brian Fox
Use Aether. http://www.sonatype.com/people/2010/08/introducing-aether/ On Wed, Sep 8, 2010 at 10:48 AM, Ernst, Andreas andreas.er...@hrs.de wrote: Hi, how do i access model information from my local maven repository given a specific artifact. ( I need to compute alle parent artifacts ) .

Re: maven-dependency-plugin (version 2.1) question

2010-09-02 Thread Brian Fox
I can say definitively that transitive was not intended for Copy/Unpack. I wrote these goals with a very specific use case and that was to be able to cherry-pick artifacts from this list. The xxx-dependencies goals where intended to support transitivity. On Wed, Sep 1, 2010 at 10:49 AM, EJ

Welcome Kristian Rosenvold to the Maven PMC

2010-09-02 Thread Brian Fox
This is a little delayed, but still deserved. A few weeks ago, Kristian joined us on the Maven PMC. He's been driving a lot of interesting work in Maven 3 to support parallel builds. If you haven't tried that out yet, please do and send some feedback. Welcome Kristian! --Brian Fox Maven PMC

Re: Dependency:sources skipping files

2010-09-02 Thread Brian Fox
File a jira, that might be an easy fix. On Wed, Sep 1, 2010 at 3:37 PM, C. Benson Manica cbman...@gmail.com wrote: I see, that explains it, although I'm a little sad that -U doesn't force it to download the sources again. On Tue, Aug 31, 2010 at 4:15 PM, Brian Fox bri...@infinity.nu wrote

Re: maven-dependency-plugin (version 2.1) question

2010-08-31 Thread Brian Fox
Yes it was intentional. On Tue, Aug 31, 2010 at 1:33 PM, EJ Ciramella ecirame...@casenetinc.com wrote: I've noticed recently that copy-dependencies finds the transitive dependencies, but copy does not. Is this intentional? We'd like to NOT have to repeat a majority of the dependencies when

Re: Dependency:sources skipping files

2010-08-31 Thread Brian Fox
They don't exist and the dependency plugin has remembered this fact. It stores marker files in /target/dependency so if you run it many times it won't try to get the missing ones over and over. This goal dates to the days when the connection to central was unreliable and I was tired of having

Re: Enforce Maven client to use credentials for read artifacts from repository

2010-08-31 Thread Brian Fox
The http clients usually don't send the credentials until the server requests them with a 403, then it will send them and good clients will recall this and pre-emptively send the credentials for future requests to that server. Maven doesn't pre-emptively send them by default, but it is possible to

Re: Enforce Maven client to use credentials for read artifacts from repository

2010-08-31 Thread Brian Fox
The http clients usually don't send the credentials until the server requests them with a 403, then it will send them and good clients will recall this and pre-emptively send the credentials for future requests to that server. Maven doesn't pre-emptively send them by default, but it is possible to

Re: Question to: No primary artifact to install...

2010-08-26 Thread Brian Fox
this means you have no artifact with an empty classifier. This is not necessarily a problem, if you're using the build helper or assembly to build attached artifacts. On Thu, Aug 26, 2010 at 8:20 AM, Thomas Trepper thomas.trep...@blueclaim.com wrote:  Hi all, this is a snippet from my build,

Re: Correcting a groupID

2010-08-23 Thread Brian Fox
The relocation poms will help prevent collisions of different versions, but eventually the users would want to update to the new groupId. On Mon, Aug 23, 2010 at 8:20 AM, sebb seb...@gmail.com wrote: Apache Commons NET currently uses the groupId commons-net. However, it should really use the

Re: central repo, snapshots and releases

2010-08-23 Thread Brian Fox
The reason is simple: Maven needs at least one snapshot repo configured, or it won't even attempt to ask anyone (specifically Nexus via the mirrorOf * setting) for any snapshots. Maven has built in an existing repository with the ID central but it is enabled only for releases. We must do either:

Re: nexus, local repository, and m2eclipse

2010-08-23 Thread Brian Fox
You mean, like adding a project information page in the community section with links to all the lists? http://nexus.sonatype.org/project-information.html ;-p On Mon, Aug 23, 2010 at 4:02 PM, Wayne Fay wayne...@gmail.com wrote: I didn't know there was a nexus list.  Thanks. This happens

Re: Is maven-enforcer-plugin active or not?

2010-08-23 Thread Brian Fox
Yep, i'm still here. I see some people have patches for this and the dependency plugin so I'll try to push out a release soonish. On Fri, Aug 20, 2010 at 5:05 PM, Haszlakiewicz, Eric ehas...@transunion.com wrote: I been using the maven-enforcer-plugin a bit, and I've noticed that some other

Re: maven 3 and the enforcer plugin

2010-08-19 Thread Brian Fox
I wrote it and it's interesting to me as well. I use some core logic in there, but off the top of my head, none of the normalization is related to core. I'll probably dig in just out of curiosity. On Thu, Aug 19, 2010 at 3:07 PM, EJ Ciramella ecirame...@casenetinc.com wrote: Gotcha - it's

Re: maven-dependency-plugin configuration not found when invoking dependency:copy goal

2010-08-11 Thread Brian Fox
http://maven.apache.org/plugins/maven-dependency-plugin/faq.html#cli On Wed, Aug 11, 2010 at 6:52 AM, Joe Littlejohn joelittlej...@gmail.com wrote: Hi, I'm having trouble using the dependency:copy and dependency:unpack goals with Maven 2.2.1. I've been following this guide:

Re: Problem with uniqueVersion=false in 3.0 beta1

2010-08-06 Thread Brian Fox
No, but with a repo manager, it's pretty quick to wipe the local and refetch everything cleanly from the local network. On Fri, Aug 6, 2010 at 10:31 AM, Adam Krieg akr...@pragmatrading.com wrote: Is the local repository smart enough to clear out the old snapshots?  I'm worried about tons of

Re: Problem with uniqueVersion=false in 3.0 beta1

2010-08-06 Thread Brian Fox
in M3. -Original Message- From: Brian Fox [mailto:bri...@infinity.nu] Sent: Friday, August 06, 2010 11:42 AM To: Maven Users List Subject: Re: Problem with uniqueVersion=false in 3.0 beta1 No, but with a repo manager, it's pretty quick to wipe the local and refetch everything

Re: Podcast on Maven 3

2010-08-05 Thread Brian Fox
Was a great episode - just finished listening to it on the drive into work this morning.  I'd forgotten about the parallel builds stuff. Really look forward to using M3 - pity it causes me some headaches. -- Pull me down under... On Thu, Aug 5, 2010 at 10:07 AM, Brian Fox bri

Re: A dependency only for the dependency plugin

2010-08-05 Thread Brian Fox
...@gmail.com wrote: I don't understand the remark about M3. Either it implies that it \won't/ work in M2, or perhaps you left out a  word? On Wed, Aug 4, 2010 at 7:26 PM, Brian Fox bri...@infinity.nu wrote: In that case you'll need to use the unpack-dependencies goal along with provided. It's possible

Re: How to get list of repositories referred by a pom.xml, including repos from its ancestors

2010-08-04 Thread Brian Fox
I added a goal to the dependency plugin a month or so ago to make it easier to dump out the full list of repos used by a build: mvn org.apache.maven.plugins:maven-dependency-plugin:2.2-SNAPSHOT:list-repositories On Wed, Aug 4, 2010 at 8:56 AM, Ron Wheeler rwhee...@artifact-software.com wrote:

Podcast on Maven 3

2010-08-04 Thread Brian Fox
The Basement Coders released a podcast this week where we talked a bit about Maven past, and the upcoming Maven 3 : http://www.dzone.com/links/episode_13_maven_3_interview_with_pmc_chair_brian.html?ref=ps --Brian - To

Re: A dependency only for the dependency plugin

2010-08-04 Thread Brian Fox
In that case you'll need to use the unpack-dependencies goal along with provided. It's possible that this would work correctly in M3 though because of the rework in the resolution. On Mon, Aug 2, 2010 at 9:18 PM, Benson Margulies bimargul...@gmail.com wrote: On Mon, Aug 2, 2010 at 4:17 PM, Brian

Re: checksum error on nexus

2010-08-02 Thread Brian Fox
To isolate if there's a problem and where, compare the jars and checksums you have retrieved locally against the same files in Central. We often see instances where network devices are scanning the jars and interfere/truncate the larger downloads. On Mon, Aug 2, 2010 at 12:01 PM, DONIAT,

Re: checksum error on nexus

2010-08-02 Thread Brian Fox
Regards, Christophe -Message d'origine- De : Brian Fox [mailto:bri...@infinity.nu] Envoyé : lundi 2 août 2010 18:05 À : Maven Users List Objet : Re: checksum error on nexus To isolate if there's a problem and where, compare the jars and checksums you have retrieved locally against

Re: A dependency only for the dependency plugin

2010-08-02 Thread Brian Fox
Your case was why I originally wrote these goals to take the artifact info as configuration instead of from the dependency list. The only reason you would want to use a dependency and the copy/unpack-dependencies would be if: You need to resolve dependencies produced by another module in the same

Re: Good writeup on deploying and using SNAPSHOTs?

2010-07-31 Thread Brian Fox
http://www.sonatype.com/books/mvnref-book/reference/pom-relationships-sect-pom-syntax.html#pom-relationships-sect-snapshot-versions On Thu, Jul 29, 2010 at 11:34 AM, Steve Johnson st...@parisgroup.net wrote:  Thanks for your reply! Yeah, I guess I can try that if you think my trouble is really

Re: Problem uploading bundles via Sonatype

2010-07-30 Thread Brian Fox
Yes, or file an INFRA ticket: https://issues.apache.org On Fri, Jul 30, 2010 at 4:28 AM, Dennis Lundberg denn...@apache.org wrote: Jason, shouldn't that be reposit...@apache.org instead? On 2010-07-29 21:11, Jason van Zyl wrote: The Apache repository specific concerns go to

Re: Want primary artifact of type 'zip'

2010-07-30 Thread Brian Fox
Hrm, that worries me a bit. If the packaging type=pom then most tools will expect that there is only a pom with no classifier (ie main artifact). The better way is to use a classifier. I'm pretty sure this setup you propose will confuse the indexer. On Fri, Jul 30, 2010 at 1:18 AM, Jörg Schaible

Re: scp config help needed

2010-07-27 Thread Brian Fox
You should use a repo manager and deploy over http, then you'll be on the well-worn path. On Mon, Jul 26, 2010 at 11:11 AM, Refr Bruhl refr_br...@yahoo.com wrote: Team I can get maven to scp files to a remote repository. However when I config the server entry in the settings file it seems

Re: Why all these errors with mvn site:site concerning https://maven-repository.dev.java.net/nonav/repository

2010-07-27 Thread Brian Fox
one of the reports in there hits all repos known to the build. There's a bug against it. On Tue, Jul 27, 2010 at 2:29 PM, Rick R ric...@gmail.com wrote: I keep getting all these errors about https://maven-repository.dev.java.net/nonav/repository. I tried googling about it but the responses are

Re: Problems with Maven Windows network drives

2010-07-26 Thread Brian Fox
Maven isn't doing anything special with the files, so it's most likely some delay or weird interaction with the shared folders either in Windows, or VirtualBox (or both). Since the local repo is expected to be local, it's not likely we would make any special changes to make remote mounting work

Re: ip address range blocked to maven infrastructure?

2010-07-23 Thread Brian Fox
You aren't on any block list, and given that your tracert stops way before it even reaches contegix's network let alone central itself, it seems to be an issue internally. On Tue, Jul 20, 2010 at 10:33 AM, kelvin goodson kelvingood...@apache.org wrote: On Tue, Jul 20, 2010 at 2:18 PM, Jason van

Re: Codehaus Repository

2010-07-23 Thread Brian Fox
use http://nexus.codehaus.org instead as a permanent solution. On Sun, Jul 18, 2010 at 6:59 AM, Jason van Zyl ja...@sonatype.com wrote: We have been helping Ben migrate things over to http://nexus.codehaus.org but it's slow going. He use to be running the Nexus indexer but I don't know what

Re: dependency:copy with resolve, or dependency:copy-dependencies with specified artifact

2010-07-22 Thread Brian Fox
copy-dependencies has filters you can use to filter on scope, group, artifact etc On Thu, Jul 22, 2010 at 6:03 AM, Tom t...@tbee.org wrote: I'm converting an applet project to use Maven. This means I have a applet artifact which uses all kinds of other Swing related libraries and the actual

Re: Why does nexus take so much space in the workspace?

2010-07-21 Thread Brian Fox
We have lots of IT tests. On Wed, Jul 21, 2010 at 4:46 AM, Usirs henrik.sjost...@scila.se wrote: Why does nexus take so much space in the workspace? When I check the size of my workspace I find that nexus (in workspace\.metadata\.plugins\org.maven.ide.eclipse\nexus) takes up alot of space.

Re: Site docs in Maven 3

2010-07-01 Thread Brian Fox
Since the site stuff is fully decoupled from core, it shouldn't really matter if site is done. Most people run the site build separately from a ci system anyway and for the time being you could use m2 if needed. For all the goodness m3 provides, I don't think the site plugin which has a separate

Re: standardized Maven GAV URN?

2010-06-30 Thread Brian Fox
...@gmail.com wrote: is le last part type or packaging ? 2010/6/29 Brian Fox bri...@infinity.nu Group:artifact:version:classifier:extension is pretty common On Jun 26, 2010, at 1:39 PM, lukewpatterson lukewpatter...@gmail.com wrote: It would be nice to be able to represent any Maven GAV

Re: making a repository read-only

2010-06-30 Thread Brian Fox
Use nexus and give different users different permissions. On Jun 30, 2010, at 1:38 AM, Jemos Infra jemos.in...@googlemail.com wrote: No, we don't use Nexus, just the file system. We've got a single account (sys_account) who is entitled to upload to this repository through ssh using an

Re: standardized Maven GAV URN?

2010-06-28 Thread Brian Fox
Group:artifact:version:classifier:extension is pretty common On Jun 26, 2010, at 1:39 PM, lukewpatterson lukewpatter...@gmail.com wrote: It would be nice to be able to represent any Maven GAV in a string. Does such a standard exist? A good use case is for plugins that allow input

Re: problems with jar in central?

2010-06-15 Thread Brian Fox
This implies to me that they attempted to re-release the same jar after it was synced to central. We don't allow that, hence the difference between the source repo and central On Mon, Jun 14, 2010 at 5:58 PM, Zac Thompson zac.thomp...@gmail.com wrote: Is there a place to report issues with the

Re: m2eclipse Mailing List

2010-06-10 Thread Brian Fox
Hi Shelli, The lists are still at codehaus so it should work via xircles. I guess it's time to proactively migrate to the sonatype.org servers. On Thu, Jun 10, 2010 at 4:34 PM, Shelli Orton shelli.or...@sjrb.ca wrote: Hi, This post isn't Maven related, but I thought someone on this list may

Re: gpg:sign and repository:bundle-create produce bad signatures

2010-06-10 Thread Brian Fox
We'll have to look into this and see what's up. It shouldn't modify the jar if it's already there. On Tue, Jun 8, 2010 at 2:08 PM, Bruno Harbulot bruno.harbu...@manchester.ac.uk wrote: On 08/06/10 16:52, Bruno Harbulot wrote: On 08/06/10 15:24, Bruno Harbulot wrote: I'm trying to follow

Re: Maven Enforcer: Banned dependencies including type, classifier etc.

2010-05-27 Thread Brian Fox
Yes, it appears to support g:a:v only. I'm sure I had a reason at the time but I can't think of one now. It should be g:a:v:c:t On Thu, May 27, 2010 at 12:11 PM, Lewis, Eric eric.le...@ipi.ch wrote: Hi As far as I know, most Maven plugins rely on the Maven coordinates as described in

Re: Dependency analysis through wars

2010-05-26 Thread Brian Fox
On Wed, May 26, 2010 at 1:57 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: On 26 May 2010 01:02, leonfranzen leon_fran...@tvworks.com wrote: For now, my plan is to : 1. Build the DependencyNode tree with the maven DependencyTreeBuilder for the top-level POM 2. Traverse the

Re: Dependency analysis through wars

2010-05-26 Thread Brian Fox
In theory yes but then be prepared for unexpected results. On Wed, May 26, 2010 at 9:50 AM, Justin Edelson justinedel...@gmail.com wrote: On 5/26/10 9:47 AM, Brian Fox wrote: On Wed, May 26, 2010 at 1:57 AM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: On 26 May 2010 01:02

Re: This project has been banned...?

2010-05-23 Thread Brian Fox
This means that a project won't be built because it depends on something else in the build that failed. The fail at end will build anything it can to work around failures, but not if they depend upon the failed build. The ban is just for that maven execution, so there is no un-ban. Just run maven

Re: Deploying site updates to Apache websites

2010-05-18 Thread Brian Fox
Take a look at the maven pom for an example: http://svn.apache.org/viewvc/maven/pom/trunk/ On Tue, May 18, 2010 at 2:02 PM, Marshall Schor m...@schor.com wrote: I'm investigating using Maven site-deploy to update parts of our site on Apache.  Currently, we don't use maven site-deploy for this;

Re: Central repository, bundle-create and distribution of licenses

2010-05-18 Thread Brian Fox
The MAVENUPLOAD issue you refer to was processed by hand. This is something we've worked to stop and automate, so it's not really relevant what happened it was 2 years ago. That said, I don't know if LICENSE.txt inside the new bundle format would be handled any differently because LICENSE.txt is

Re: Central repository, bundle-create and distribution of licenses

2010-05-18 Thread Brian Fox
Does that follow more or less the new guidelines? Are you saying that I should have jsslutils-1.0-licence.txt next to the other jars in the bundle instead (sorry, I can't see licence files in the screenshots on that blog entry). No, I'm saying if you wanted the license sitting in the folder

Re: Apache Common Parent Pom 7 - use of maven-source-plugin - why not use the no-fork version?

2010-05-17 Thread Brian Fox
When that was written the jar goal didn't fork iirc. On Mon, May 17, 2010 at 2:37 PM, Marshall Schor m...@schor.com wrote: When doing an apache-release , the common Apache Parent version 7 invokes: plugin  groupIdorg.apache.maven.plugins/groupId  artifactIdmaven-source-plugin/artifactId  

Re: Central repository, bundle-create and distribution of licenses

2010-05-15 Thread Brian Fox
On Sat, May 15, 2010 at 4:56 PM, Benson Margulies bimargul...@gmail.com wrote: I think that perhaps there's an important distinction being missed here. Central doesn't vacuum up artifacts from unsuspecting authors. Other people put them there. If the authors of code choose to deposit jar files

Re: Error 502 using mvn deploy

2010-05-14 Thread Brian Fox
502 means a timeout between the reverse proxy and the repo manager behind it. On Fri, May 14, 2010 at 3:33 AM, Benoît Thiébault thieba...@artenum.com wrote: Hi everyone, I have installed a Maven repository and I am trying to deploy my project on it. My pom generates both the jar and the

Re: inheriting and reusing the same plugin for different purposes? doesn't seem to find the right executions

2010-05-14 Thread Brian Fox
Are you using a recent version of Maven? Once upon a time the inheritence flag didn't work. FWIW you can also define inherit=false on an execution On Thu, May 13, 2010 at 9:53 AM, Shan Syed shan...@gmail.com wrote: Thanks, but the problem is that when I do that, both executions occur, even when

Re: No such archiver: 'swf'.

2010-05-14 Thread Brian Fox
Take a look at the patch for this issue: http://jira.codehaus.org/browse/MDEP-183 You would need to do something along the same lines, possibly introducing your own archiver impl, but this shows how you map the extension to the impl. On Tue, May 11, 2010 at 2:52 PM, Brian Topping

New PMC Member

2010-05-14 Thread Brian Fox
--Brian Fox Maven PMC Chair. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Central repository, bundle-create and distribution of licenses

2010-05-14 Thread Brian Fox
http://www.sonatype.com/people/2010/04/uploading-artifacts-to-the-central-maven-repository-diy/ On Fri, May 14, 2010 at 11:46 AM, Bruno Harbulot bruno.harbu...@manchester.ac.uk wrote: Hello, Is there a way to prepare a bundle to be uploaded to the central repository so that it also contains

Re: Central repository, bundle-create and distribution of licenses

2010-05-14 Thread Brian Fox
, for the sake of abiding by these licences.) Does this mechanism already exist? How is it done? Best wishes, Bruno. On 14/05/2010 22:39, Brian Fox wrote: http://www.sonatype.com/people/2010/04/uploading-artifacts-to-the-central-maven-repository-diy/ On Fri, May 14, 2010 at 11:46 AM

Re: dependency:unpack handling of overwrite for individual items in the archive

2010-05-09 Thread Brian Fox
. -Marshall [1] http://ant.apache.org/manual/CoreTasks/unzip.html On 4/30/2010 10:55 PM, Brian Fox wrote: Currently it just unpacks the whole archive. On Thu, Apr 29, 2010 at 10:31 AM, Marshall Schor m...@schor.com wrote: The documentation for dependency:unpack [1] says that the default

Re: Best/good practice declaring hosted repos with a mirror

2010-05-06 Thread Brian Fox
Option 1 is the way to go. On Thu, May 6, 2010 at 4:33 AM, Osipov, Michael michael.osi...@siemens.com wrote: Hi folks, I have recently struggled with a very annoying issue of mirror config and need so idea on a best practice approach. My setup is fairly simple: I have setup a Nexus instance

Re: Does maven-dependency-plugin consider Spring bean definitions?

2010-05-04 Thread Brian Fox
On Tue, May 4, 2010 at 1:20 PM, Justin Edelson justinedel...@gmail.com wrote: Sorry, that wasn't clear... I should have written these goals only look at the classes used at compile time. To get rid of this warning, set ignoreNonCompile to true. I'm unclear why this isn't the default. Me

Re: Does maven-dependency-plugin consider Spring bean definitions?

2010-05-04 Thread Brian Fox
It can't if they are truely runtime only. The analyze goal does static bytecode analysis of your code and all of your dependencies. It then compares the list to figure out what's present but not used etc. On Tue, May 4, 2010 at 2:53 PM, Christoph Kutzinski ku...@gmx.de wrote: Thanks I didn't

Re: dependency:unpack handling of overwrite for individual items in the archive

2010-04-30 Thread Brian Fox
Currently it just unpacks the whole archive. On Thu, Apr 29, 2010 at 10:31 AM, Marshall Schor m...@schor.com wrote: The documentation for dependency:unpack [1] says that the default is to overwrite (only) if newer.  But it seems to apply to the entire archive being unpacked, meaning that the

Re: Apache Snapshots Index broken?

2010-04-29 Thread Brian Fox
That would be me. I'll take a look at the index over there. On Thu, Apr 29, 2010 at 2:32 PM, Andreas Kollegger akolleg...@tembopublic.org wrote: Thanks, I will try the nexus list to see if there is a work-around. The download index option is initially enabled. Since the remote index is

Re: maven-dependency-plugin: Question about copy-dependencies goal

2010-04-27 Thread Brian Fox
When you compile in eclipse using m2e it's not executing the lifecycle. How are you executing the build, exactly? On Mon, Apr 26, 2010 at 10:23 AM, Luciano Mantuaneli luciano.mantuan...@cpmbraxis.com wrote: Greetings. I have a very specific need in a java project in Eclipse: The jars

Re: [ANN] New repository search site - srchmvn.com

2010-04-22 Thread Brian Fox
, sebb seb...@gmail.com wrote: On 09/04/2010, Brian Fox bri...@infinity.nu wrote: I said _after_ 1.6, but regardless it seems to be working normally:  http://repository.sonatype.org/index.html#nexus-search;quick~maven-core Try the following: http://repository.sonatype.org/index.html#nexus

Re: Maven 2.2.1 on Windows-64 bit

2010-04-22 Thread Brian Fox
I'm on 64bit W7 with a 64b jdk and it works fine. On Wed, Apr 21, 2010 at 12:53 AM, Vineeth Karkad (vkarkad) vkar...@cisco.com wrote: Hi, We have our build hosts on Win 2K3 server Standard Edition 32-bit. Because of memory related performance issues, we are planning to upgrade to 64-bit

Re: Install plugin

2010-04-22 Thread Brian Fox
On Sat, Apr 17, 2010 at 5:24 AM, Magne Skjeret mskje...@broadpark.no wrote: Hi all I am trying to optimize a large build and have made quite some progress already. I am facing a little annoying problem now, but I am not sure that it is in fact an error or missing feature, as I am calling mvn

Re: [ANN] New repository search site - srchmvn.com

2010-04-22 Thread Brian Fox
, 2010 at 21:20, Brian Fox bri...@infinity.nu wrote: As promised, after 1.6 we have loaded up some experimental search capability on rso. All of the examples below should now work fine, you can even search for org if you choose. We still have lots of ui work to be done here but the core searching

Re: Problem with maven-dependency-plugin - copy-dependencies

2010-04-14 Thread Brian Fox
The jar files have a null classifier, so probably what happens is the field gets set from one execution and not unset in the other. You could try flipping the order around to see if that helps, or in the jars config, try setting it to and see if that helps. We need to trick plexus into injecting

Re: Can I control the number string by which the SNAPHOT keyword is replaced at the time of deployment to snapshot repository?

2010-04-13 Thread Brian Fox
nope. On Mon, Apr 12, 2010 at 4:43 AM, Henika Tekwani htekw...@adobe.com wrote: Hi, As we know that when we deploy an artifact to a snapshot repository the SNAPHOT keyword in the artifact version, say 9.5.0-SNAPSHOT, is replaced by a timestamp number (e.g.,

Re: [ANN] New repository search site - srchmvn.com

2010-04-09 Thread Brian Fox
FWIW, Search rework is coming soon. Nexus 1.6.0 is coming out next week and then fixing the too many search results is next up to slay. (And some other cool search enhancements) On Fri, Apr 9, 2010 at 2:05 PM, Frederic Camblor fcamb...@gmail.com wrote: +1 with Raphael I tried 1-2 searches this

Re: [ANN] New repository search site - srchmvn.com

2010-04-09 Thread Brian Fox
1.6.0). Not the best sign guys :) On 4/9/10 2:21 PM, Brian Fox wrote: FWIW, Search rework is coming soon. Nexus 1.6.0 is coming out next week and then fixing the too many search results is next up to slay. (And some other cool search enhancements) On Fri, Apr 9, 2010 at 2:05 PM, Frederic

Re: [ANN] New repository search site - srchmvn.com

2010-04-09 Thread Brian Fox
On Fri, Apr 9, 2010 at 3:08 PM, sebb seb...@gmail.com wrote: On 09/04/2010, Brian Fox bri...@infinity.nu wrote: I said _after_ 1.6, but regardless it seems to be working normally:  http://repository.sonatype.org/index.html#nexus-search;quick~maven-core Try the following: http

Re: does maven support multiple parents (multiple inheritance) ?

2010-04-03 Thread Brian Fox
Any idea when it will be ready? Requires a pom model change so 3.1+ - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Re: Deploying site to svn repo (google code)

2010-03-26 Thread Brian Fox
Maybe we should just turn on site hosting @ oss.sonatype.org in Nexus 2010/3/25 Kathryn Huxtable kath...@kathrynhuxtable.org: Okay, here's a somewhat manual solution: Before doing anything else, create a site branch in your subversion repository and check it out into a directory outside

Re: New snapshots versus the local repo

2010-03-16 Thread Brian Fox
Disable automatic snapshot checking (this is the default in M3) and then you're fine. Nothing changes until you ask for updates. On Tue, Mar 16, 2010 at 11:32 AM, Benson Margulies bimargul...@gmail.com wrote: On Tue, Mar 16, 2010 at 11:18 AM, Maven User maven.2.u...@gmail.com wrote: But then

Re: Leakage from pluginManagement to plugins

2010-03-12 Thread Brian Fox
If this is in the parent, and the child mentions g2 in it's //build/plugins, the child runs BOTH, even if it never mentions g1 in its own //build/plugins (xpath) section. On Thu, Mar 11, 2010 at 10:24 PM, Brian Fox bri...@infinity.nu wrote: If the execution is mentioned in the parent plugin

Re: Leakage from pluginManagement to plugins

2010-03-11 Thread Brian Fox
If the execution is mentioned in the parent plugin section, it's inherited by the child, so yes it would run. If you don't want this, then the parent should have the configuration in pluginManagement (only) and then the child mentions the plugin in the plugins section. On Thu, Mar 11, 2010 at

Re: If mirror fails, fall back to original?

2010-03-05 Thread Brian Fox
Further, you can configure Nexus to do the automatic fallback: http://www.sonatype.com/books/nexus-book/reference/config-sect-manage-repo.html#sect-config-selecting-mirrors-proxy On Fri, Mar 5, 2010 at 5:15 PM, Jesse Farinacci jie...@gmail.com wrote: Hi Laird, On Fri, Mar 5, 2010 at 5:04 PM,

Re: Executable Jar Creation Help

2010-03-02 Thread Brian Fox
http://www.sonatype.com/people/2009/08/how-to-make-an-executable-jar-in-maven/ On Tue, Mar 2, 2010 at 5:19 PM, Sufie Seifoddini su...@sufie.com wrote: Hello, In order to create an exectuable jar file, I have added the below to my pom.   This does package all the dependencies in the jar but

Re: How to share a similar file across modules?

2010-02-27 Thread Brian Fox
http://www.sonatype.com/people/2008/04/how-to-share-resources-across-projects-in-maven/ On Fri, Feb 26, 2010 at 10:15 AM, Nord, James jn...@nds.com wrote: Hi all, I have a file that will be 99% the same that will be used by many modules. My original idea was to use the maven remote resources

Re: Java.net Maven Repository Rescue Mission

2010-02-25 Thread Brian Fox
Justin, Yes we would but obviously the license on those binaries is important. Some of the original binaries couldn't be redistributed which is why they were pulled from central years ago. On Thu, Feb 25, 2010 at 10:28 AM, Justin Edelson justinedel...@gmail.com wrote: Jason- As I commented on

Re: Re : Release notification

2010-02-25 Thread Brian Fox
If you use Staging in Nexus, you can get emails when a release is staged and optionally also when it is later promoted. You can see these emails on the maven-dev list anytime we stage a release. On Thu, Feb 25, 2010 at 1:30 PM, Kalle Korhonen kalle.o.korho...@gmail.com wrote: We use Nexus for

Re: verifying artifact on deployment

2010-02-25 Thread Brian Fox
It does on download not on upload. Nexus Staging has the ability to validate artifacts before being allowed to be staged, things like pom criteria, pgp sigs etc. We don't have a hash rule but its trivial to add. On Thu, Feb 25, 2010 at 10:02 AM, Marc Lustig arin...@googlemail.com wrote: thanks

Re: update snapshots always but do not block when unreachable

2010-02-07 Thread Brian Fox
You can use the offline mode when it's unreachable. This is settable by -o from the command line. On Sat, Feb 6, 2010 at 9:03 AM, tbee t...@tbee.org wrote: I'm busy fine tuning our maven (3) based environment. One of the behaviors I want is this: - always check if there is a newer version of

Re: update snapshots always but do not block when unreachable

2010-02-07 Thread Brian Fox
Correct. It should simply blacklist the repo and keep going after it determines the repo is unreachable, so it shouldn't really be an issue if you already have everything locally. On Sun, Feb 7, 2010 at 1:30 PM, tbee t...@tbee.org wrote: BRIAN FOX-5 wrote: You can use the offline mode when

Re: About maven 2.0.x and 2.2.x branches

2010-02-07 Thread Brian Fox
http://maven.apache.org/release-notes-all.html On Sun, Feb 7, 2010 at 8:23 AM, Mert Çalışkan mcalis...@gmail.com wrote: Hi, I looked around but couldn't find a good resource about the differences on maven 2.0.x and 2.2.x branches. What are the differences between those. I know that 2.2.x

Re: Nexus and http://repository.codehaus.org KO

2010-02-05 Thread Brian Fox
-maven-plugin snapshot there 2. Do you see MOJO team going to move to nexus? Thanks -Dan On Wed, Feb 3, 2010 at 2:25 PM, Brian Fox bri...@infinity.nu wrote: But while we're at it: everyone should use http://nexus.codehaus.org/snapshots/ instead of the old repo. On Wed, Feb 3, 2010

<    1   2   3   4   5   >