Re: Maven Central Repository - Cleanup Efforts

2009-09-28 Thread Brian Fox
On Mon, Sep 28, 2009 at 9:02 AM, Albert Kurucz wrote: > Any other flaws? > >> A build then becomes dependent on the certlist in order for it to function. > The project's build will not become dependent of the certlist. > If it was able to build with certlist feature turned on, it will > certainly

Re: ApacheCon US (Oakland) is in < 5 weeks: Nov 2-6

2009-09-29 Thread Brian Fox
> Last year we also had a "Maven and artifact repositories" meetup on one of > the nights. I'm hoping we can organise another similar session - is there > anyone attending that would be interested? +1. I'll be there. - To unsubscr

Re: Reactor - skip parent project build

2009-09-30 Thread Brian Fox
You can't. The parent will always run first in a reactor before anything that inherits from it. On Wed, Sep 30, 2009 at 6:03 PM, droidin.net wrote: > > I have a parent POM which defines 5 modules (5 subprojects). Since each > module is executed in exactly the same way I pull section > into the p

Re: Maven Central Repository - Cleanup Efforts

2009-10-01 Thread Brian Fox
Please see my response on the maven-dev list for how this problem is best approached. For everyone's sanity, lets keep the discussion thread on the dev list. On Thu, Oct 1, 2009 at 2:41 PM, Albert Kurucz wrote: >> Then make your own repository. See how useful that is. > > Jason, you are probably

Re: Transitive Dependencies: Is the parent or child dependency the "nearest dependency"?

2009-10-01 Thread Brian Fox
Neither. The parent is merged into the child before any of this is considered. In other words, the effective-pom is produced before nearest wins is even remotely considered. That said, a given value in the child overrides one defined in the parentbut this doesn't have anything directly to do wi

Re: Frustration with snapshot updates

2009-10-02 Thread Brian Fox
On Fri, Oct 2, 2009 at 3:54 AM, Quintin Beukes wrote: > Hey, > > Whenever a project depends on a snapshot versioned library, then it > tries to update this snapshot. If the snapshot isn't found in any of > the repositories, then it obviously doesn't update. But now it tries > again with the next b

Re: Frustration with snapshot updates

2009-10-02 Thread Brian Fox
complete. Can complete with build failed or success? I feel like there's still something fundamentally missing here. > > Quintin Beukes > > > > On Fri, Oct 2, 2009 at 8:43 PM, Brian Fox wrote: >> On Fri, Oct 2, 2009 at 3:54 AM, Quintin Beukes wrote: >>>

Re: Snapshots resolution issue

2009-10-06 Thread Brian Fox
On Tue, Oct 6, 2009 at 1:02 PM, Julien CARSIQUE wrote: > Forget it, there's a fix in Nexus 1.4 about this (NEXUS-2472), maybe not a > Maven bug :) The fix was to override the maven behavior, so I think in some cases Maven can still get the wrong snapshot if it's present in multiple repos. > Tha

Re: Maven/Nexus/Hudson/EC2

2009-10-08 Thread Brian Fox
On Thu, Oct 8, 2009 at 4:52 AM, Anders Hammar wrote: > Yes, I was thinking about that one. Didn't really come to a good conclusion. > > Pros: > * Easy to scale out > * Easy to start up (you don't have to buy the hardware etc) > > Cons: > * Security (if you need to retrieve the code and you don't w

Re: Maven/Nexus/Hudson/EC2

2009-10-08 Thread Brian Fox
On Thu, Oct 8, 2009 at 12:14 PM, Michael Hüttermann wrote: > What could be a practical scenario in the CI context for Clouding ? I could see it being handy as temporary or sporadic load extension, or alternative config support. IOW, once a day to run a build on a different jdk/browser/os/other, d

Re: [maven-dependency-plugin] Issues with multiple invocations of dependency:upack goal (readonly "local" parameter)

2009-10-10 Thread Brian Fox
This is likely because there is some conflict from calling the plugin from your plugin. You can have multiple invocations of the dependency plugin from the pom without issues. Calling and extending plugins in M2 is essentially a grey area, looks like you found the edge to black ;-) On Fri, Oct 9,

Re: Maven repository restricted access.

2009-10-14 Thread Brian Fox
You use server entries in your settings to provide auth to remote repos (Nexus in this case) that maven is talking to. If Nexus is talking to the remote repo, then you configure the authentication in the Nexus proxy repository configuration for that repo. 2009/10/14 David Meunier : > Hi, > > Some

Re: [WARNING] *** CHECKSUM FAILED - Checksum failed on download

2009-10-14 Thread Brian Fox
Maven 2.2.0 has a bug that causes it to incorrectly calculate the outgoing checksums when deploying to an authenticated repository. (it doubles the stream and hashes that). You can repair this with the repair maven metadata command in Nexus then switch your build system to use 2.2.1 to stop it

Re: Hosting a local repo w/out a Repo Manager?

2009-10-16 Thread Brian Fox
> I'd like to think of a repo manager as "part of using maven 2". I like a better analogy. You can share source code with a shared folder on a server, but no one does that anymore. They use a tool called Source Control. A repo manager is scm for your binaries. ;-) We have a nexus list if you wan

Re: Mirrors

2009-10-18 Thread Brian Fox
Maven still has these repositories configured internally even though you most likely have a mirror definition to redirect these to Nexus. The mirror definition applies at the end of the lookup processing and Maven doesn't currently deduplicate the repository definitions. Fortunately, Nexus is cachi

Re: Minimal Nexus Anonymous Privileges

2009-10-18 Thread Brian Fox
On Sat, Oct 17, 2009 at 7:19 PM, Quintin Beukes wrote: > Never mind. I found that I am able to edit the anonymous user but not > the role, so I just created a new role with the desired privileges and > assigned this role to the anonymous user. Works like a charm. > > Great piece of software. I lov

Re: Central Artifact Metadata Outdated

2009-10-19 Thread Brian Fox
This is an Apache project and Nexus is running on Repository.apache.org so I'll repair the metadata there and it will be picked up in the next sync. On Mon, Oct 19, 2009 at 8:21 AM, Anders Hammar wrote: > I'm not sure if the can fix the existing issue, but the surely can make sure > that it doesn

Re: Offline equivalent only for updates

2009-10-19 Thread Brian Fox
You can set the update policy per repo in your settings. Just change it to never and it will only grab snapshots when you use -U On Mon, Oct 19, 2009 at 8:16 AM, Quintin Beukes wrote: > Hey, > > Is there a --offline equivalent option/property which only affects > checking for updates. Sometimes w

Re: how to disable building xxx-tests.jar

2009-10-19 Thread Brian Fox
Check your parent hierarchy, this plugin goal isn't executed by default from Maven, more likely someone has inserted it in a parent pom. On Mon, Oct 19, 2009 at 8:05 PM, Radim Kolar wrote: > > I found that maven 2.1 creates program-version-tests.jar even if no test > directory is configured in po

Re: Strange behavior in hudson when using "-Dmaven.repo.local"

2009-10-19 Thread Brian Fox
I haven't used that option specifically, but I define my repos with the -Dmaven.repo.local=xxx command in the build, and everything behaves normally. On Thu, Oct 15, 2009 at 5:22 PM, Roland Asmann wrote: > Hi all, > > I'm sending this to both the maven and the hudson list, because I'm not > sure

Re: Maven unable to deliver adequate Copyright notices?

2009-10-21 Thread Brian Fox
+1. We do this all the time at Apache. Fwiw, maven.apache.org isn't any official repo. it's repository.apache.org (for snapshots) and repo1.maven.org for releases. On Tue, Oct 20, 2009 at 9:31 AM, Jason van Zyl wrote: > On 2009-10-20, at 5:16 AM, Svante Schubert wrote: > >> Hi, >> >> I am a Maven

Re: How can I find partent pom?

2009-10-21 Thread Brian Fox
Probably because it's trying to resolve the model first, which can't be done without the parent. You usually would need to have this repo defined in your settings to bootstrap your system. This is one reason why we suggest not putting repos in your poms: http://www.sonatype.com/people/2009/02/why-p

Re: Why are repositories usually separated into releases and snapshots?

2009-10-22 Thread Brian Fox
It's essentially because of what you wrote below. You may want to be very diligent about backing up your release repo, but not so rigorous for snapshots. Snapshots tend to take up a lot more disk than releases because there are many copies of it when you use timestamps. This requires cleanup and me

Re: Compilation failure on Windows while SUCCESSFUL on Linux

2009-10-22 Thread Brian Fox
What's the compilation failure? On Thu, Oct 22, 2009 at 5:56 AM, Isaac wrote: > I get *the same warning* on both platform. > BASE64Coding.java:[58,23] sun.misc.BASE64Decoder is Sun proprietary API and > may be removed in a future release > > class file is generated on both plaform too. > > howeve

Re: Why are repositories usually separated into releases and snapshots?

2009-10-22 Thread Brian Fox
On Thu, Oct 22, 2009 at 9:45 AM, Martin Gainty wrote: > > a snapshot usually has no guarantee of passing any sort of testits a way > for a programmer/developer to prove > that the developer assigned has done *something*..but the snapshot carries no > guarantee has passed completely thru the

Re: What is executionProject?

2009-10-22 Thread Brian Fox
Its been a while admittedly since I dealt with a forked plugin, but yes I believe the executionProject is used when the lifecycle is forked. If you are interested in the forked roots, you would use that, otherwise fall back to the normal project. On Thu, Oct 22, 2009 at 1:20 PM, Ryan Stewart wrot

Maven Meetup at ApacheCon US

2009-10-23 Thread Brian Fox
r name and agenda ideas. I have some content to talk about Maven 3.x changes if desired, but the community can drive the final agenda. [1]https://docs.sonatype.org/display/COMM/Maven+Meetup+at+US+Apache+Con+09 Thanks, Brian Fox Apache Maven

Re: Aspectj jars refuse to get imported

2009-10-23 Thread Brian Fox
Can you send us some build logs with -X enabled? There is nothing in core that should be excluding aspectj, so something else is at play here. And loading them with a different coordinate into your repo manager is going to cause problems later, that is just patching the symptoms On Fri, Oct 23, 20

Re: resouce files not in the built jar

2009-10-29 Thread Brian Fox
ah! no, don't do that. Resources belong in /src/main/resources and are automatically pulled into the jar. Manually adding the java folder just undoes some of the maven conventions. On Wed, Oct 28, 2009 at 10:22 AM, KOUKI Fakhreddine wrote: > Hi , > > Put this on your Pom : > > ... > > > > > >

Re: Aspectj jars refuse to get imported

2009-10-29 Thread Brian Fox
t sure how I would force it into Eclipse's .classpath > any other way. > > Thanks, > Yaakov. > > On Fri, Oct 23, 2009 at 7:39 PM, Brian Fox wrote: >> Can you send us some build logs with -X enabled? There is nothing in >> core that should be excluding aspectj,

Re: [Fwd: Threads in a plug-in]

2009-10-29 Thread Brian Fox
Maven just exits when it's done and then the jdk pulls everything down. Isn't there a flag you can set on a thread to mark it as a daemon thread, and then the system waits before killing it? On Wed, Oct 28, 2009 at 9:20 AM, Gajo Csaba wrote: > Good idea! I was actually hoping there was some switc

Re: Easiest way to build in connectionless environment?

2009-10-29 Thread Brian Fox
You mean like mvn dependency:copy-dependencies? Also take a look at dependency:go-offline On Fri, Oct 16, 2009 at 5:42 AM, janneefef wrote: > > > janneefef wrote: >> >> We're using maven day to day in normal developer environment. People do >> their builds on the local computer and dependencies

Re: Plugin Listing

2009-10-29 Thread Brian Fox
The enforcer requirePluginVersions rule will do it, and make sure you've locked them all down at the same time as a bonus ;-) On Thu, Oct 29, 2009 at 5:04 PM, Stephen Connolly wrote: > there is some help with versions:display-plugin-updates... may not > give you everything you are after, but at l

Re: Some maven questions

2009-10-31 Thread Brian Fox
On Fri, Oct 30, 2009 at 6:29 PM, Sony Antony wrote: > Im fairly new to maven. > Tried getting answers to these from books and google. Trying my luch here > > 1. can I add more custom phases to the 23 already defined ( > http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html

Re: Some more maven questions

2009-10-31 Thread Brian Fox
On Fri, Oct 30, 2009 at 6:40 PM, Sony Antony wrote: > 1. Is it possible to have multiple profiles to be active at the same time ? > If true, what if two profiles - both active - define conflicting > informations ( say the same plugin is configured differently ) > Yes. The child would override the

Re: Maven Enforcer Plugin, default versions (from Super POM) not taken into account

2009-11-05 Thread Brian Fox
This is absolutely intentional. The best practice is for you to control your own versions. Yes the super pom introduces a bit of stability, but at the cost of complacency. If you rely on the defaults in the super pom it means in a year when you build with a different version of maven, you have a wh

Re: POMs on central repo with references to other repositories

2009-11-05 Thread Brian Fox
Unfortunately the rules currently are only checked for things uploaded by hand, which is a tiny portion. The rsync sources that get setup are now checked when they are enabled, but things come directly in from the projects and it's not enforced. We're working on ways to correct this and stop the ga

Re: Suck, cannot build, repository down??

2009-11-05 Thread Brian Fox
ot;Unable to > read local copy of metadata: Cannot read metadata from ..." error messages. > > Regards, > Stevo. > > On Wed, Aug 12, 2009 at 8:03 PM, Brian Fox wrote: > >> Actually it looks like you're using a bad url to the repository. You >> should inste

Re: m2eclipse

2009-11-09 Thread Brian Fox
mailto:fabricio.le...@sefaz.ce.gov.br] > Sent: Monday, November 09, 2009 5:19 AM > To: Maven Users List > Subject: Re: m2eclipse > > I´m having this same problem while subscribing do m2eclipse mailing list. > > maven apache wrote: >> 2009/11/7 Brian Fox >> >>

Re: maven-dependency-plugin:unpack-dependencies doesn't always work

2009-11-09 Thread Brian Fox
I would expect an error, I can only suggest attaching a debugger to the plugin and see what's going on. On Mon, Nov 9, 2009 at 9:06 AM, EJ Ciramella wrote: > Nope - there are no markers created.  Period. > Good thinking though! > > Any other suggestions what may be wrong with this artifact?  It o

Re: maven-dependency-plugin:unpack-dependencies doesn't always work

2009-11-09 Thread Brian Fox
error. > I ended working around it by chanding the second goal to copy. I then > unjar ed it using antrun. > --sony > > On 11/9/09, Brian Fox wrote: >> I would expect an error, I can only suggest attaching a debugger to >> the plugin and see what's going on. >> &g

Re: Suck, cannot build, repository down??

2009-11-09 Thread Brian Fox
then > maybe dependencies report could just use same strategy to resolve > dependencies location as dependency plugin uses to resolve dependencies, > instead of "query all repositories" strategy. > > Regards, > Stevo. > > On Thu, Nov 5, 2009 at 8:56 PM, Brian Fox wrot

Re: m2eclipse: when creating a new maven project - it adds J2SE 1.4 instead of JDK 1.6

2009-11-12 Thread Brian Fox
m2e uses the settings from the compiler plugin. If you want 1.6, then update the plugin source/target in your pom. On Thu, Nov 12, 2009 at 8:53 AM, eyal edri wrote: > This works, > > i'm trying to make the m2eclipse plugin do it by default when creating a new > maven project. > > in eclipse the d

Re: How to fix the java.net repository relocation

2009-11-12 Thread Brian Fox
> Let me explain the situation, before that I would say this is a kind of a > bug in maven, simply because maven does not skip taking an artifact if one > of the maven repo sends a 301(MOVED PERMANANTLY) and it simply take that > message and write it as the pom file. Simply if the maven repo sends

Re: repo doesn't contain its dependencies?

2009-11-14 Thread Brian Fox
The java.net repo is unfortunately a hodge podge of things and too-frequently subject to downtime and other odd behavior. So is it expected? No. Am I surprised? also no. On Fri, Nov 13, 2009 at 8:59 PM, Roger Pack wrote: > I noticed that the java.net maven2 repo > contains this jar: > > >      

Re: How to fix the java.net repository relocation

2009-11-14 Thread Brian Fox
FWIW, Maven, Nexus and probably Archiva also do the same if you enable strict checksum checking. It can be debated which default is less disruptive but ultimately the choice is up to the user to set it the way they prefer. On Fri, Nov 13, 2009 at 4:07 PM, Yoav Landman wrote: > When using Artifact

Re: SNAPSHOT comparison between local and remote repositories

2009-11-14 Thread Brian Fox
> This is a big assumption, as most of the machines will have their times > differing by some amount. > ( Maybe it is a good enough assumption as artifacts need not be compared > with a millisecond accuracy ) Exactly. And the times are converted to GMT so assuming the machines are configured prope

Re: possible maven3 resource filtering problem

2009-11-14 Thread Brian Fox
The quickest way to get this fixed is to file a jira, with a test project and mark it as affects Maven 3.x-alpha-3 On Fri, Nov 13, 2009 at 6:42 AM, Luca Marrocco wrote: > Hi, > i've tried maven3. it works very well and is faster than previous > version :) great works! > > i've found a little prob

Re: Maven 2.0.8 + maven-compiler-plugin 2.0.2 issue

2009-11-14 Thread Brian Fox
On Sat, Nov 14, 2009 at 7:48 PM, Paul Benedict wrote: > I could be wrong, but I don't think 2.0.x has named default executions. Correct. - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mai

Re: Maven not taking the latest snapshot

2009-11-17 Thread Brian Fox
First, I would not use 2.1.0, use 2.0.10 or 2.2.1 instead. I'm fairly certain that -U works properly in those versions. (2.1.0 shouldn't be used at all, there were lots of issues there and we went right to 2.2.x) On Tue, Nov 17, 2009 at 6:24 AM, Yury Kudryashov wrote: > Hello, > > We have a set o

Re: Non-unique Snapshot Deployments is not in Maven 3

2009-11-17 Thread Brian Fox
This use case currently isn't covered, you're right and it's really the only reason anymore to use non unique snapshots. Bringing this over to @dev to figure out what to do. On Mon, Nov 16, 2009 at 3:41 PM, Paul Benedict wrote: > I did read the link. I thought Jason was saying Maven's metadata is

Re: maven assembly: how to create an execution JAR without packing the dependencies

2009-11-17 Thread Brian Fox
http://www.sonatype.com/people/2009/08/how-to-make-an-executable-jar-in-maven/ On Tue, Nov 17, 2009 at 1:12 PM, eyal edri wrote: > i will, once i get to work tomorrow :) > > thanks for the help. > > On Tue, Nov 17, 2009 at 8:05 PM, Alexander wrote: > >> Dont be shy, just try it. >> >> 2009/11/17

Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-18 Thread Brian Fox
This is not related. The dependency plugin has some issues resolving things from the reactor and ranges in the following goals only: copy unpack go-offline resolve-plugins All the other goals set @requiresDependencyResolution test which will cause Maven to resolve all dependencies prior to the pl

Re: Maven not taking the latest snapshot

2009-11-19 Thread Brian Fox
s you may see there is a snapshot as of 11-19 > (tobj-TRUNK-20091119.134950-344.jar) but the tobj-TRUNK-SNAPSHOT.jar is much > older. Should this "default" snapshot be updated automatically? It looks > like it should, but it does not. Can this be a configuration problem? > >

Re: Why would 'mvn dependencies:tree' fail while 'mvn compile' works?

2009-11-20 Thread Brian Fox
help so far. I did put together a very small sample project >> that will repro what I'm seeing (attached as a zip). Just run 'mvn >> dependency:tree' >> in the root of the project and see if you get the same error (mod_a is not >> found, required by mod_b).

Re: Does Maven download jars every time it does any thing?

2009-11-20 Thread Brian Fox
No it doesn't. They are stored in your local repo. Snapshots are checked once a day for updates. If however you are using something that doesn't have a pom, then it will try everytime looking for it. On Fri, Nov 20, 2009 at 3:52 PM, chicagopooldude wrote: > > I understand that local repos need to

Re: Putting a Release in the Repository

2009-11-20 Thread Brian Fox
Sounds like your scm urls aren't right and the perform goal is checking out the wrong folder. There should be a pom.xml for the thing you're trying to release in /target/checkout/ On Thu, Nov 19, 2009 at 2:43 PM, Neil Chaudhuri wrote: > I have done those things, but I get the following error: > >

Re: "[WARNING] POM is invalid." error messages in Maven 2.2.1 but not in 2.0.10

2009-11-22 Thread Brian Fox
Well Maven sees it just like the message: [DEBUG] For managed dependency Dependency {groupId=weblogic, artifactId=weblogic, version=10.0, type=jar}: system-scoped dependency must specify an absolute path systemPath. So since the first one works and the second one doesn't, that leads me to believe

Re: Invalid checksums when deployoing to remote repo

2009-11-27 Thread Brian Fox
It was fixed in 2.2.x, 2.1.x has the problems you describe. Are you positive you're running the version you think? Also note that anything deployed with 2.1.x will have invalid checksums reported even if you later use 2.2.x. They will stay that way until redeployed or the checksums recalculated.

Re: Deploy & unpack artifact to remote target

2009-11-27 Thread Brian Fox
The stage plugin does something similar but it requires scp/ssh to do it. You will have to create your own plugin to do this, I'm not aware of one that does exactly as you need. On Fri, Nov 27, 2009 at 8:58 AM, Arnaud Bailly wrote: > > Hello, > I would like to deploy an artifact to some remote si

Re: Maven plugin configuration

2009-11-27 Thread Brian Fox
Here's an example: ... On Fri, Nov 27, 2009 at 5:37 PM, wujek.srujek wrote: > > Hi. I have a question on plugin config. Suppose there is a plugin, like > maven-ear-plugin, that has more than 1 goal. When I add a configuration > section, can I speci

Re: Maven plugin configuration

2009-11-28 Thread Brian Fox
The configuration can't be separated by goal, the container will inject the variables that are supported by the goal and ignore those that aren't used by the goal..so in practice it doesn't normally cause a problem to have configuration from multiple goals all munged together...however I would reco

Re: Using the Maven Deploy Plugin

2009-11-30 Thread Brian Fox
Are you trying to redeploy a release artifact that's already there? Nexus 1.4.x has redeployment disabled by default. Otherwise if the file was successfully uploaded you should see it right away in the repository, you may have to refresh the ui or browser. Use the nexus user list for additional as

Re: Using the Maven Deploy Plugin

2009-11-30 Thread Brian Fox
protocol. As far as the 400, make sure you are deploying releases to a release repo and snapshots to a snapshot repo, that's the most likely cause assuming you have your credentials setup correctly, and have permissions on the server to do the deploy. On Mon, Nov 30, 2009 at 5:42 PM, Brian Fox

Re: Building Maven

2009-12-03 Thread Brian Fox
Hi Ryan, The bundle you expect is under apache-maven/target (that's where the assembly is pulled together) --Brian On Wed, Dec 2, 2009 at 2:41 PM, Ryan Cuprak wrote: > Hello, >  I've followed the instructions for building Maven > (http://maven.apache.org/guides/development/guide-building-m2.htm

Re: Maven Plugin to detect duplicate class files in a e.g. WAR

2009-12-08 Thread Brian Fox
No but when projects move group or artifactIds, they are supposed to create a pom with relocation info in it, then Maven is able to mediate the conflicts. On Sat, Dec 5, 2009 at 1:29 PM, Mirko Friedenhagen wrote: > Hello, > > sometimes dependencies change their groupId (e.g. commons-io and > org

Re: repository inheritance does not work

2009-12-16 Thread Brian Fox
Possibly you didn't re-install the parent? It's using a release version so technically you shouldn't change it. Also you should read this: http://www.sonatype.com/people/2009/02/why-putting-repositories-in-your-poms-is-a-bad-idea/ On Fri, Dec 11, 2009 at 10:48 AM, darwinjob wrote: > > Hi > As fa

Re: Maven 3 deprecated properties

2009-12-18 Thread Brian Fox
Yes, a long time ago. On Fri, Dec 18, 2009 at 5:39 PM, Paul Benedict wrote: > Stevo, I thought all pom.* properties were gone. Weren't they replaced > by project.* ? > > On Fri, Dec 18, 2009 at 4:35 PM, Stevo Slavić wrote: >> Hello Maven users, >> >> When building project with Maven 3.0-alpha-5,

Re: authentication problem to nexus repository with non-anonymous user

2009-12-18 Thread Brian Fox
Could you try using the admin user instead of the deployment user? If that works then we know maven is getting the credentials through to Nexus. If not, then there's still some problem on the maven side. 2009/12/8 irfan : > Hi; > I build my project with maven 2.1.0, which has some dependencies on

Re: Amazon EC2 EBS Volume for Maven central repository

2009-12-21 Thread Brian Fox
On Mon, Dec 21, 2009 at 12:09 AM, Mark Diggory wrote: > I imagine there have to be a number of projects/companies out there > using Maven artifacts and incurring bandwidth costs to build systems. > Atlassian seems to be recommending the practice to its Bamboo users... They should just have a rep

Re: authentication problem to nexus repository with non-anonymous user

2009-12-24 Thread Brian Fox
gt; İrfan GÖREN > > > 2009/12/19 Brian Fox > >> Could you try using the admin user instead of the deployment user? If >> that works then we know maven is getting the credentials through to >> Nexus. If not, then there's still some problem on the maven side. >&g

Re: authentication problem to nexus repository with non-anonymous user

2009-12-26 Thread Brian Fox
ÖREN > Bilgisayar Mühendisi > > > 2009/12/24 Brian Fox > >> Ok that means that Nexus isn't getting the auth from Maven. Are you >> running this behind a proxy like with Apache? If so, it's possible >> that the basic auth is being "stolen" b

Re: Maven unable to deliver adequate Copyright notices?

2009-12-28 Thread Brian Fox
Noone else uses saxon at all? If that's the case then it probably won't hurt you to put it as a module of your plugin. Otherwise, if the saxon artifacts already there were uploaded by third parties then I could support adding this one to the original groupId. On Mon, Dec 28, 2009 at 1:10 AM, Dan T

Re: Settings.xml : Maven repositories releases, updatePolicy => utility

2009-12-31 Thread Brian Fox
It should be ignored, it stems from the fact that both fields use the same modello object internally. On Tue, Dec 29, 2009 at 5:18 AM, fabrice.mercier1 wrote: > > hi > > I am wonder me the utility of the updatePolicy rule for releases > repositories. > I set i to always for snapshots repository b

Re: [SURVEY] Which plugins would you like us to release?

2010-01-03 Thread Brian Fox
Dan has been banging out some bugs in the dependency plugin recently, and i'll try to find some time to dive in and then we can cut a release. On Sun, Jan 3, 2010 at 7:29 PM, Stephen Connolly wrote: > I'm working on surefire and surefire-report > > Sent from my [rhymes with tryPod] ;-) > > On 3 J

Re: m2eclipse error

2010-01-06 Thread Brian Fox
The source and target are used to set the eclipse settings per project. On Wed, Jan 6, 2010 at 4:49 AM, kristian wrote: > my experience is that I need to set the right compliance mode 1.5 or > 1.6 for the eclipse project to work correctly with m2eclipse. the > 'source' and 'target' of compile-plu

Re: Maven 3 webinar registration

2010-01-15 Thread Brian Fox
Probably just a mistake, pick your favorite and sign up ;-) On Fri, Jan 15, 2010 at 6:21 PM, Stevo Slavić wrote: > Hello maven users, > > Registration for coming maven 3 > webinarrequires > country selection, but not all countries are available for

Re: Corrupt Jar Downloads

2010-01-15 Thread Brian Fox
This could be caused by a device on your network pausing to scan the incoming files. This pause can confuse the client into thinking the connection is done even though only part of it has been received. Nexus is able to deal with this so the first step would definitely be to upgrade. On Thu, Jan 1

Re: Dependency plugin strange behavior

2010-01-28 Thread Brian Fox
I would phrase it differently: The copy/unpack goals where designed to manipulate files that aren't normal classpath "dependencies" of your project such as zips. The plugin does its own resolution of these artifacts, but doesn't support ranges or artifacts in the reactor. The xxx-dependencies goa

Re: Maven central has corrupted artifact org.apache.xbean:xbean-finder-shaded:jar:3.6

2010-01-28 Thread Brian Fox
I'll fix them on the apache repo. On Thu, Jan 28, 2010 at 2:55 PM, kevan wrote: > > > > Wendy Smoak-3 wrote: >> >> On Wed, Jan 27, 2010 at 7:16 AM, Markku Saarela >> wrote: >> >>> org.apache.xbean:xbean-finder-shaded:jar:3.6 artifact MD5 checksum does >>> not >>> match, so our Artifactory reject

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

2010-02-03 Thread Brian Fox
But while we're at it: everyone should use http://nexus.codehaus.org/snapshots/ instead of the old repo. On Wed, Feb 3, 2010 at 3:48 PM, Anders Hammar wrote: > Wrong mailing list. > > /Anders > > On Wed, Feb 3, 2010 at 21:45, Rémy wrote: > >> >> Hello, >> >> I defined a proxy repository in Nexus

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

2010-02-05 Thread Brian Fox
g-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 wrote: >> But while we're at it: everyone should use >> http://nexus.codehaus.org

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 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 snapshots

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 wrote: > > > > BRIAN FOX-5 wrote: >> >> You can u

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 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 requires jdk1.5 at

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 wrote: > Jason- > As I commented on your blog entry, what I

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 wrote: > We use Nexus for RSS feeds, it has a built-in

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 wrote: > thanks for the swift response.

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 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 plugin w

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 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 does not put t

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 wrote: > Hi Laird, > > On Fri, Mar 5, 2010 at 5:04 PM, Laird Nelson w

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 1:12

Re: Leakage from pluginManagement to plugins

2010-03-12 Thread Brian Fox
t;         super >         g2 >       >     >     >   > > > 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,

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 wrote: > On Tue, Mar 16, 2010 at 11:18 AM, Maven User wrote: >> But then shouldn't you be building with what's avail

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 : > 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 your project's > dire

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: [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 wrote: > +1 with Raphael > > I tried 1-2 searches this day ... and wen

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

2010-04-09 Thread Brian Fox
e 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

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

2010-04-09 Thread Brian Fox
On Fri, Apr 9, 2010 at 3:08 PM, sebb wrote: > On 09/04/2010, Brian Fox 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://repo

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 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., my-app-9.5.0-20100412.084615-1.jar). In this c

<    1   2   3   4   5   >