Re: integration problem

2010-04-22 Thread Aleksey Didik
Ah, my fault. Try to use. mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk -DarchetypeArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.2.GA -DgroupId=org.docs.richfaces -DartifactId=jsf-app -DarchetypeRepository=http://repository.jboss.org/maven2 Aleksey. 23.04.2010 10:

Re: integration problem

2010-04-22 Thread pankjajain15
i did it as you said but now it showing me following errors C:\project>mvn archetype:generate -DarchetypeGroupId=org.richfaces.cdk -Darchetyp eArtifactId=maven-archetype-jsfwebapp -DarchetypeVersion=3.3.2-GA -DgroupId=org. docs.richfaces -DartifactId=jsf-app -DarchetypeRepository=http://reposito

[ANN] Maven Archetype version 2.0-alpha-5 Released

2010-04-22 Thread Hervé Boutemy
The Maven team is pleased to announce the release of the Maven Archetype components version 2.0-alpha-5. Archetype is a Maven project templating toolkit. http://maven.apache.org/archetype/ Release Notes - Maven Archetype - Version 2.0-alpha-5 ** Bug * [ARCHETYPE-81] - Archetype not downloa

Re: integration problem

2010-04-22 Thread Aleksey Didik
Hello pankjajain15. Look like you need to add jboss repository to your settings.xml. On the start Maven knows only about 'central' repository which can not contains necessary archetype. This archetype contains in JBoss repository. Try to do next: 1) Add to /conf/settings.xml next xml in sect

RE: integration problem

2010-04-22 Thread subir.sasikumar
>[INFO] [archetype:generate {execution: default-cli}] [INFO] Generating project in Interactive mode [WARNING] No archetype repository found. Falling back to central repository (htt p://repo1.maven.org/maven2). >[WARNING] Use -DarchetypeRepository= if archetype's repository is elsewhere. You are tr

integration problem

2010-04-22 Thread pankjajain15
Hi, i want to integrate maven with richfaces , i have followed section 3.3 from this http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/GettingStarted.html link. i have installed maven on c drive on windows machine . as per instruction mentioned in above link , i created a folder "

Re: Using a repository with secured HTTP GET

2010-04-22 Thread Todd Nine
I can't believe I missed that! Thank you for the help, it is greatly appreciated! On 23/04/2010, at 12:04 PM, Justin Edelson wrote: > The two IDs need to match: > spidertracks > spidertracks-repo > > Justin > > On Thu, Apr 22, 2010 at 6:07 PM, Todd Nine wrote: > >> Hi all, >> We have an int

Re: Using a repository with secured HTTP GET

2010-04-22 Thread Justin Edelson
The two IDs need to match: spidertracks spidertracks-repo Justin On Thu, Apr 22, 2010 at 6:07 PM, Todd Nine wrote: > Hi all, > We have an internal maven repository we've set up using webdav and apache. > Performing a POST/PUT to upload the archive works well. Our repository is > secured via

Re: adding javarebel-maven-plugin to ejb module pom.xml

2010-04-22 Thread Arbi Sookazian
So I added a profile to the module POM (not the parent POM) and this did the trick. I was confused because I create the build via 'mvn clean instal -Pjrebel' from the parent POM, not the module POM where the profile is specified. Stephen Connolly-2 wrote: > > use a profile > > On 21 April 201

Using a repository with secured HTTP GET

2010-04-22 Thread Todd Nine
Hi all, We have an internal maven repository we've set up using webdav and apache. Performing a POST/PUT to upload the archive works well. Our repository is secured via HTTP BASIC, and that's linked to an LDAP server. Deploying artifacts works really well, however we're unable to download a

Re: maven-metadata-local.xml

2010-04-22 Thread Halvor Platou
Thanks for the answers! We are using version 2.2.1. Remember that you need to build the artifact at your computer for the maven-metadata-local.xml to be written to your local repository with the tag. I now also see that there are two maven-metadata-local.xml. One in the root folder of the art

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

2010-04-22 Thread Brian Fox
Must have been the patch put in place today, I saw it working yesterday. Oh well, like I said experimental ;-) On Thu, Apr 22, 2010 at 4:11 PM, Raphael Ackermann wrote: > I like it so far. > > but searching for org doesn't work. still too many results. > > On Thu, Apr 22, 2010 at 21:20, Brian Fo

Re: How to add jar file into a Maven 2 environment?

2010-04-22 Thread Tim O'Brien
Vernon, A bunch of us monitor the User mailing list referenced here: http://nexus.sonatype.org/project-information.html You can join it by sending an email here: nexus-user-subscr...@sonatype.org And the archive is here: http://nexus.sonatype.org/mailing-list-user-archives.html 2010/4/22 Vernon

Re: How to add jar file into a Maven 2 environment?

2010-04-22 Thread Vernon
Thanks very much Tim for your very helpful information. I get the Nexus up. Where is a place to ask Nexus usage questions? > 1. Install Nexus like this: http://www.youtube.com/watch?v=bLskAeXivPg > > 2. Drop this into your ~/.m2/settings.xml > http://www.sonatype.com/books/nexus-book/reference/

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

2010-04-22 Thread Raphael Ackermann
I like it so far. but searching for org doesn't work. still too many results. On Thu, Apr 22, 2010 at 21:20, Brian Fox 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

Re: How to add jar file into a Maven 2 environment?

2010-04-22 Thread Yoav Landman
This article is pretty old. You may can follow the new Artifactory install instructions here: http://wiki.jfrog.org/confluence/display/RTF/Installing+Artifactory A quick 1 minute setup demo is available here: http://www.youtube.co

Re: Install plugin

2010-04-22 Thread Brian Fox
On Sat, Apr 17, 2010 at 5:24 AM, Magne Skjeret 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 install directl

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) 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 Standard Edition/

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

2010-04-22 Thread Brian Fox
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 is vastly improved. On Fri, Apr 9, 2010 at 3:08 PM, s

Re: How to add jar file into a Maven 2 environment?

2010-04-22 Thread Tim O'Brien
1. Install Nexus like this: http://www.youtube.com/watch?v=bLskAeXivPg 2. Drop this into your ~/.m2/settings.xml http://www.sonatype.com/books/nexus-book/reference/maven-sect-single-group.html 3. Login into Nexus with admin/admin123, click on the 3rd party repository and upload your artifacts, he

Re: How to add jar file into a Maven 2 environment?

2010-04-22 Thread Vernon
I find an article on the subject: http://www.theserverside.com/news/1364121/Setting-Up-a-Maven-Repository . Does the procedures described in the article good enough for our need? > Thanks for the information. > > How long it will take me to read through the book and set up an internal > Maven pro

Re: maven-metadata-local.xml

2010-04-22 Thread Wayne Fay
> If they are releases, then it should not matter whether you get it from your > local repo or somewhere else since releases are immutable and all copies of > the same release versions are supposed to be identical. > > If you make a mistake in a release, you have to delete the bad copy from > every

Re: How to add jar file into a Maven 2 environment?

2010-04-22 Thread Vernon
Thanks for the information. How long it will take me to read through the book and set up an internal Maven proxy server? In a non-Maven environment, we can add those jar files in a minutes. Of course, the downside will be a potential version issues. > Here's a good book on the topic: > http://

Re: maven-metadata-local.xml

2010-04-22 Thread Ron Wheeler
What version of Maven? I do not see that tag in my local repo. I only checked a few Artifacts but none of them had that line. I am using Maven 2.2.1 under Eclipse but I am not sure that this would make any difference. Sorry that I am not more help but perhaps one of the smart guys might kno

Re: How to add jar file into a Maven 2 environment?

2010-04-22 Thread Tim O'Brien
Here's a good book on the topic: http://www.sonatype.com/books/nexus-book/reference/ 2010/4/22 Vernon : > Thanks a lot for your information. > > Where I can find a documentation on the subject (an internal Maven proxy > server)? I have a look at the maven documentation under the user center > and

Re: maven-metadata-local.xml

2010-04-22 Thread Halvor Platou
Yes, these are all SNAPSHOT versions. Earlier this has not bee a problem, but now it seems to be very consistent behavior. We have tried this with several computers and they all show the same problem. We have also tried with several remote repositories. Does anyone know the meaning of the in m

Re: How to add jar file into a Maven 2 environment?

2010-04-22 Thread Vernon
Thanks a lot for your information. Where I can find a documentation on the subject (an internal Maven proxy server)? I have a look at the maven documentation under the user center and haven't find any useful information yet. > Right if its not in a public Maven repository you have to add it to

Re: maven-metadata-local.xml

2010-04-22 Thread Ron Wheeler
On 22/04/2010 11:00 AM, Halvor Platou wrote: Hello We have a problem concerning building of maven snapshot artifacts that seems very odd. Let's say we have artifact: "A" and artifact: "B". "A" depends on "B". If we build both of these on one computer, everything seems fine. If then artifact "

Re: maven-metadata-central.xml is missing versions in local repo

2010-04-22 Thread Markku Saarela
This can be caused by Artifactory if checksums does not match and you Artifactory is configured to fail if checksums doesn't match. Markku On 22.4.2010 12:53, Florian R. wrote: Wayne Fay wrote: What MRM are you running -- Nexus, Artifactory, Archiva, etc? Are you sure this is a problem

Re: Some problems with Archetype Plugin

2010-04-22 Thread Aleksey Didik
Unfortunately yes :( Just I need to show my archetype work on the local company "Tech Days". And errors in console or no-interactive-mode is not good for me. Aleksey. 22.04.2010 20:41, Wayne Fay пишет: My archetype use interactive mode for defining some project properties. But create goal don't

Re: Some problems with Archetype Plugin

2010-04-22 Thread Wayne Fay
> My archetype use interactive mode for defining some project properties. > But create goal don't allow to define it by console on a creation step. I believe you can set all of those properties via -D... but it is not as user-friendly. Wayne --

Re: Getting dependency artifact path

2010-04-22 Thread Wayne Fay
> At the bottom of the page it has a code example but the > project.getDependencyArtifacts() returns an empty list. How can > I get my plugin to find the dependencies of the project it is part of? Did you inject the project properly? "In this snippet, project is the MavenProject instance of the

Re: Some problems with Archetype Plugin

2010-04-22 Thread Aleksey Didik
Oh, no. My archetype use interactive mode for defining some project properties. But create goal don't allow to define it by console on a creation step. Aleksey. My archetype 22.04.2010 20:14, Tim O'Brien пишет: Use archetype:create instead of archetype:generate See here: http://maven.apache.

Re: Some problems with Archetype Plugin

2010-04-22 Thread Aleksey Didik
Yes, it's a variant. Thanks a lot. Aleksey. 22.04.2010 20:14, Tim O'Brien пишет: Use archetype:create instead of archetype:generate See here: http://maven.apache.org/archetype/maven-archetype-plugin/create-mojo.html Tim On Thu, Apr 22, 2010 at 11:11 AM, Aleksey Didik wrote: Thanks a

Re: Some problems with Archetype Plugin

2010-04-22 Thread Tim O'Brien
Use archetype:create instead of archetype:generate See here: http://maven.apache.org/archetype/maven-archetype-plugin/create-mojo.html Tim On Thu, Apr 22, 2010 at 11:11 AM, Aleksey Didik wrote: > Thanks a lot, Tim. > Archetype can be found now, but Maven still try to get archetype catalog > fr

Getting dependency artifact path

2010-04-22 Thread Tim Andersen
I'm working on creating a plugin and am having a little difficulty with getting a path from a dependency. I found a great guide at http://docs.codehaus.org/display/MAVENUSER/Mojo%20Developer%20Cookbook At the bottom of the page it has a code example but the project.getDependencyArtifacts() ret

Re: Some problems with Archetype Plugin

2010-04-22 Thread Aleksey Didik
Thanks a lot, Tim. Archetype can be found now, but Maven still try to get archetype catalog from central and print connection fail error to console (we have a proxy). Is it possible to prevent looking for catalog? I needn't to choose archetype, I'm already know what I need. Best regards, Aleks

Re: Maven Compiler Plugin - Excludes

2010-04-22 Thread Wayne Fay
> I only have, aspectj-maven-plugin in the build configuration but how > it can only affect the testSourceDirectory, I don't know.while as I > said for sourceDirectoy, sec/main/aspect is not in it and compiler plugin > doesn't care about it... I don't use aspectj plugin but looking at the plug

Re: Some problems with Archetype Plugin

2010-04-22 Thread Tim O'Brien
Ok, got it, you'll need to specify the archetype repository.Pass in a -DarchetypeRepository= that will likely point to your internal repository group. Here's a blog post I wrote ages ago, for Alfresco archetypes which uses this option: http://bit.ly/8YtLOh On Thu, Apr 22, 2010 at 9:58 AM, Ale

RE: Is there a way to change the webapp directory name?

2010-04-22 Thread Néstor Boscán
Hi Wayne Thanks a lot for the help. Regards, Néstor Boscán -Mensaje original- De: Wayne Fay [mailto:wayne...@gmail.com] Enviado el: Thursday, April 22, 2010 2:13 AM Para: Maven Users List Asunto: Re: Is there a way to change the webapp directory name? > directories. The JDeveloper plu

maven-metadata-local.xml

2010-04-22 Thread Halvor Platou
Hello We have a problem concerning building of maven snapshot artifacts that seems very odd. Let's say we have artifact: "A" and artifact: "B". "A" depends on "B". If we build both of these on one computer, everything seems fine. If then artifact "B" is built and deployed(Nexus) on a different

Problems with transitive dependencies in combination with version ranges

2010-04-22 Thread Mario Wirth
Hello, I've got problems with transitive dependencies in combination with version ranges. I use Maven Version 2.2.1 Example: mvn dependency:tree ouput: [INFO] X:X:jar:1.0.0 [INFO] +- Y:Y:jar:1.0.0:compile [INFO] \- Z:Z:jar:1.0.0:compile [INFO]\- A:A:jar:1.0.0:compile in other words, depende

Re: Some problems with Archetype Plugin

2010-04-22 Thread Aleksey Didik
Thanks for response, Tim. Yes, sure, it's my own archetype. I created it and deployed to our company Nexus. Mirror is defined too. It can't be in central, because it's for internal company usage only. Question is how to generate project from this archetype in this case in linking with problems

Re: Some problems with Archetype Plugin

2010-04-22 Thread Tim O'Brien
There is no archetype in Central with the artifactId "magenta-basic-project" Maybe you are trying to use an internal artifact? You email is from "magenta-technology.ru", and you are attempting to reference a "com.magenta" groupId. I'd suggest contacting others in your development group to find

AW: Maven Compiler Plugin - Excludes

2010-04-22 Thread Salgar, Mehmet (external)
Nothing special really... as you see no src/test/aspect in testSourceDirectory I only have, aspectj-maven-plugin in the build configuration but how it can only affect the testSourceDirectory, I don't know.while as I said for sourceDirectoy, sec/main/aspect is not in it and compiler plug

Re: maven-metadata-central.xml is missing versions in local repo

2010-04-22 Thread Florian R.
Wayne Fay wrote: > > What MRM are you running -- Nexus, Artifactory, Archiva, etc? Are you > sure this is a problem in Maven and not something related to your MRM? > We are running Artifactory 2.2.0. Maven downloads the files (no HTTP 404s or something like that) and can't find it afterwards.

Some problems with Archetype Plugin

2010-04-22 Thread Aleksey Didik
Hello all, I create my own archetype and deploy it to my company repository (Nexus 1.5). Now some developers try to use my archetype by calling: mvn archetype:generate -DarchetypeGroupId=com.magenta.maven.archetypes -DarchetypeArtifactId=magenta-basic-project -DarchetypeVersion=0.1-SNAPSHOT

Re: maven-metadata-central.xml is missing versions in local repo

2010-04-22 Thread Wayne Fay
> from the specified remote repositories: >  central (http://maven.uniqa.at/artifacts/repo), >  snapshots (http://maven.uniqa.at/artifacts/repo) What MRM are you running -- Nexus, Artifactory, Archiva, etc? Are you sure this is a problem in Maven and not something related to your MRM? Wayne

Re: Profiling a maven build

2010-04-22 Thread Baptiste MATHUS
Done: http://jira.codehaus.org/browse/MNG-4639 Cheers 2010/4/22 nicolas de loof > this would be a nice addition to tweak continuous integration and check > where time is spent. Sometime we can disable some non-vital plugins for IC > and put them in release profile, but this is not always easy t

Re: maven-metadata-central.xml is missing versions in local repo

2010-04-22 Thread Florian R.
Hi, Wayne Fay wrote: > > What does your pom file dependency to log4j look like? > > Wayne > > This is the dependency: struts struts Today's nightly build another project failed with [INFO] Failed to resolve a