Re: Is anybody use Jfog Artifactory as their company-level repository?

2008-09-26 Thread Yoav Landman
This is an old known issue on Jetty/Redhat that is long resolved since version 1.2.5u1 and of course in the 1.3.0 betas. It is also real easy to fix by manually creating the work folder for Jetty. No need to cross-post, BTW. Yoav 陈思淼 wrote: > > there is a Bug about Artifactory combine jetty, i

How to name my own plugin?

2008-09-26 Thread 陈思淼
I want to create a new Plugin to package my project in my own way witch I call it "jcar", how should I name my plugin?If I don't use maven-jcar-plugin, i must use com.mycompany.jcar:goal to run this plugin, Is There good way for my to solve this problem?

Re: Is anybody use Jfog Artifactory as their company-level repository?

2008-09-26 Thread David C. Hicks
We use it, but I wouldn't call it a company-wide thing. Mostly, we put artifacts into it that can't be found on a repository elsewhere, so that our builds can work without each developer having to specially set up his own local repository. ??? wrote: there is a Bug about Artifactory combine

Is anybody use Jfog Artifactory as their company-level repository?

2008-09-26 Thread 陈思淼
there is a Bug about Artifactory combine jetty, it's will lost its works dircectory every one or two weeks ,because jetty put the works directory in the /tmp. So we must restart our artfactory.sh every one or two weeks. yestoday after we use killall -9 java to kill jetty process and restart it. the

RE: Are we blocked by central Maven repo?

2008-09-26 Thread Beyer,Nathan
I disagree. 10gb or even 20gb isn't that much data, and rsync isn't pulling that same amount down every time it runs. We're doing it and it's working quite well. It's much more stable and reliable than any other current mirroring practices. The internal DNS modification makes user setup easy, si

Re: maven ant tasks and the provided scope

2008-09-26 Thread will vuong
yes, i've tried changing it to use the runtime scope and it looks like everything in the runtime scope is copied to the directory. Brett Porter wrote: > > I don't believe so, since it assumes it to be provided. > > If you use "compile" instead of "provided", does it work? It is not > expected

Re: unable to download artifact org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy

2008-09-26 Thread midnight.codder
It turned out that archiva was non-functionable, as it ran out of PermGen space. Now it is fixed and the deploy plugin was downloaded, and like everything in Maven, it works like magic! Thanks for the help though! midnight.codder wrote: > > My company is using Archiva as the internal central re

[ANN] Maven Archetype Plugin 2.0-alpha-4 Released

2008-09-26 Thread Raphaël Piéroni
The Maven team is pleased to announce the release of the Maven Archetype Plugin, version 2.0-alpha-4 The Archetype Plugin allows the user to create a Maven 2 project from an existing template called an archetype. http://maven.apache.org/plugins/maven-archetype-plugin/ You should specify the vers

RE: Are we blocked by central Maven repo?

2008-09-26 Thread Sommers, Elizabeth
No, can't do it today. We are in release week and I have all the servers locked down into our cnfiguration. I will be bringing up a new version of artifactory over the weekend (hopefully) and will see if it has something to do with artifactory versions. -Original Message- From: Wayne F

Re: unable to download artifact org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy

2008-09-26 Thread Wayne Fay
Join the discussion in the other thread "Are we blocked by central Maven repo?". Those poeple are using Artifactory and you have Archiva, but otherwise they sound like similar issues. It sounds like Central is having some kind of problem today... Wayne On Fri, Sep 26, 2008 at 9:13 AM, midnight.c

Re: Are we blocked by central Maven repo?

2008-09-26 Thread Carlos Sanchez
Please use a mirror http://maven.apache.org/guides/mini/guide-mirror-settings.html http://docs.codehaus.org/display/MAVENUSER/Mirrors+Repositories 2008/9/26 Sommers, Elizabeth <[EMAIL PROTECTED]>: > > We are having the exact same problem with artifactory today. Nobody here has > been a bad cit

Re: Are we blocked by central Maven repo?

2008-09-26 Thread Wayne Fay
Could you perhaps set up Nexus and see if it is having the same trouble, or limited to Artifactory (which would be odd)? Wayne 2008/9/26 Sommers, Elizabeth <[EMAIL PROTECTED]>: > > We are having the exact same problem with artifactory today. Nobody here has > been a bad citizen. > > Liz > [EMAI

unable to download artifact org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy

2008-09-26 Thread midnight.codder
My company is using Archiva as the internal central repository. I am trying to deploy an artifact for the first time to our internal repository. (yes, I am new to Maven) The bottom line is that the artifact org.apache.maven.plugins:maven-deploy-plugin:2.3:deploy cannot be downloaded from any rep

RE: Are we blocked by central Maven repo?

2008-09-26 Thread Sommers, Elizabeth
We are having the exact same problem with artifactory today. Nobody here has been a bad citizen. Liz [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2008 11:47 AM To: Maven Users List Subject: Re: Are we blocked by ce

Re: Are we blocked by central Maven repo?

2008-09-26 Thread Wayne Fay
IIRC Central is well over 10gb at this point (possibly 20gb) and a given organization will really only use at the most 1gb of it, so rsync'ing it is just a bad idea unless you are setting up an actual external mirror that will be available to the community. They are already using Artifactory, and

Re: Are we blocked by central Maven repo?

2008-09-26 Thread 陈思淼
We didn't do anything terrible, we just try to download some frequently used maven-plugin and build our project, Maybe there is a Bug about artifactory repository, because after we restart the jetty running the artifactory, It lost the cached artifact jar and reconnect to central repository to get

RE: Are we blocked by central Maven repo?

2008-09-26 Thread Beyer,Nathan
It's possible that from the central repo's perspective, all traffic from your company may seem like it's coming from one IP address because of NAT. Using an internal mirror can help alleviate things. The most non-invasive mirror would be to rsync the central repo periodically and then modify int

RE: Are we blocked by central Maven repo?

2008-09-26 Thread Martin Gainty
have been noticeable net outages and delays due to weather related phenomenon here in the US..so I would advise working 'locally' as much as possible.. Martin __ Disclaimer and confidentiality note Everything in this e-mail and any attachments rela

Re: Are we blocked by central Maven repo?

2008-09-26 Thread 陈思淼
we didn't do that kind of thing. we have a company-level artifactory repository.someone didn't follow the rule but most of us are good citizen, and follow the maven RULE, Is maven block strategy to block IP too strict? Can I do anything to Fix it Up? 2008/9/26 Wayne Fay <[EMAIL PROTECTED]> > I

Re: Are we blocked by central Maven repo?

2008-09-26 Thread Wayne Fay
It is possible to get blocked if you are acting as a bad citizen (downloading the entire Central repo using wget, for example). Have you (or someone else at your company) attempted to do this from your IP address? If not, the repo is probably just busy, or you had some random Internet connection f

Re: Are we blocked by central Maven repo?

2008-09-26 Thread Gabriel Garcia
You might be getting redirected. I had to change mine to http://repo-cogent.maven.org/maven2/, but I don't get the redirect from my home connection, so it might depend on the IP address you have. I'd suggest you to do a wget and see where the redirect tells you to go to. Gabriel 2008/9/26 陈思淼 <

Are we blocked by central Maven repo?

2008-09-26 Thread 陈思淼
This's log from artifactory. 2008-09-26 22:27:28,025 [WARN ] (RemoteRepoBase.java:259{10}) - repo1: Error in getting information for 'org/apache/maven /maven-model/2.0.4/maven-model-2.0.4.pom.sha1' (org.apache.commons.httpclient.ConnectionPoolTimeoutException: Timeout waiting for connection).

Re: A question about maven2 and

2008-09-26 Thread Wendy Smoak
On Fri, Sep 26, 2008 at 5:52 AM, thomas2004 <[EMAIL PROTECTED]> wrote: > Formerly I used maven1 and I can set the in "project.xml". Now I > use maven2. How can I set or define the in "pom.xml"? Comparing [1] to [2], I think you're looking for . [1] http://maven.apache.org/maven-1.x/reference/m

A question about maven2 and

2008-09-26 Thread thomas2004
Hi all, Formerly I used maven1 and I can set the in "project.xml". Now I use maven2. How can I set or define the in "pom.xml"? -- View this message in context: http://www.nabble.com/A-question-about-maven2-and-%3Cunitest-%3E-tp19687862p19687862.html Sent from the Maven - Users mailing list ar

Re: what's the PlexusContainer?

2008-09-26 Thread Stephen Connolly
Not really when you flag your plugin as providing extensions, then it gets included into the classloader which is used to look for LifecycleMapping definitions. The default classloader already has the mapping files for jar/ejb/etc... So it's no strictly speaking hard coded... more loosely co

RE: "The Definitive Guide": online vs. print

2008-09-26 Thread mac-systems
Good Question... I also pre-ordered the book there in Germany, looking forward to stick my nose in it :) - Jens >I purchased the printed version of "Maven: The Definitive Guide". I'm >confused about how it differs from the online version, which is >available here: >http://www.sonatype.c

Re: SNAPSHOT downloaded instead of official release

2008-09-26 Thread Brett Porter
I had no such problem with your POM here. Is there anything else in the POM, a system property, etc? Did you build a version of the snapshot that might have called itself 1.4.0? For the latter, try cleaning the camel artifacts from the repository. - Brett 2008/9/26 cmoulliard <[EMAIL PROTECTED]>:

Re: I had problem with maven deploy

2008-09-26 Thread Brett Porter
You should ask this of the Cargo user's list. 2008/9/26 sandyg <[EMAIL PROTECTED]>: > > Hi All, > > I am able to runn the deployment successfully. > > mvn cargo:start ,carge:stop and cargo:deploy > > but when am running the cargo:undeploy ,cargo:deployer-redeploy , > cargo:deployer-stop ,cargo

I had problem with maven deploy

2008-09-26 Thread sandyg
Hi All, I am able to runn the deployment successfully. mvn cargo:start ,carge:stop and cargo:deploy but when am running the cargo:undeploy ,cargo:deployer-redeploy , cargo:deployer-stop ,cargo:deployer-start am getting the following error. [ERROR] FATAL ERROR [INFO] ---

Maven project info reports generation throws FileNotFoundException for multi-module project

2008-09-26 Thread Stevo Slavić
Hello all, Part of the stack trace is at the end of the email. Although "Access is denied" message is printed, accessibility, user rights wise, should not be the problem. Regards, Stevo. [ERROR] IOException: D:\work\java\workspace\project\module1\module1_1\target\classes (Access is denied) java.

SNAPSHOT downloaded instead of official release

2008-09-26 Thread cmoulliard
Hi, I'm confronted to a strange problem using Maven 2.0.9. When I execute the following maven command (mvn compile), I see in the maven log that maven try to download snapshot dependency instead of official release. Here is a snapshot of my pom.xml file http://maven.apache.org/POM/4.0.0"; xmln

Re: what's the PlexusContainer?

2008-09-26 Thread 陈思淼
I got your suggestion, the source code is here. I can use this way to generate a new LifecycleMapping. but I don't understand why jar/ejb/rar/war packaging are not use this way, are they hard code in the Maven-Core project? private Object findExtension( MavenProject project, String role, String >

Re: what's the PlexusContainer?

2008-09-26 Thread Stephen Connolly
You need to mark your plugin as an extension something like test test 0.1-SNAPSHOT chensimiao com.gmail.chensimiao chensimiao-maven-plugin 1.0-SNAPSHOT true that way maven knows that it should look in com.gmail.chensimiao:chensimiao-maven-plugin:1.

Re: what's the PlexusContainer?

2008-09-26 Thread 陈思淼
I traced the source core of maven and that the Maven-core will look up for componentManagerManager by the key "org.apache.maven.lifecycle.mapping.LifecycleMapping"+packaging_type,Im sure the default packaging type ,jar,ear,rar for example, have register to the PlexusContainer. but I don't know how

Re: Plugin inheritance

2008-09-26 Thread tjunak
Hi, thank you for your reply. So I have tried it. I have moved plugin and its configuration into section in Parent-Pom. Unfortunatelly again - whole list is overriden instead the elements on the list. Is it possible for maven to merge elements of list in configuration section defined in child

Re: who know how the m2eclipse's depences graph design?

2008-09-26 Thread Andreas Gies
AFAIK that tool is developed by sonatype. http://www.sonatype.org Andreas ??? schrieb: That's a awesome tool for my to analyze the depence of my project, I want to know how you guy write this tool? is this a maven-plugin denpends on maven-core? can I get the source code to learn it? ---

RE: what's the PlexusContainer?

2008-09-26 Thread mac-systems
I think you will find the Repo infos there: http://plexus.codehaus.org/source-repository.html - jens >I want to define a new packaging type called jcar to package my own project. >i read the maven source , and find the maven-core use >PlexusContainer.lookup() to find a new LifecycleMapping >t

Re: Any idea for us about dependence conflict management.

2008-09-26 Thread 陈思淼
Great, I will do some research on your works. Thank you again. 2008/9/26 Brett Porter <[EMAIL PROTECTED]> > You have a few alternatives here. > > * The dependency:tree goal shows the final resolution selection that > can help track them. > * In an IDE, you have apps such as this which can manage t

what's the PlexusContainer?

2008-09-26 Thread 陈思淼
I want to define a new packaging type called jcar to package my own project. i read the maven source , and find the maven-core use PlexusContainer.lookup() to find a new LifecycleMapping to, can anybody tell me how that process works? and where to download PlexusContainer source code so i can read