Re: How to specify local dependency in maven2

2008-05-01 Thread Dipankar Ghosal
Hi, Thanks for the replies. Well this is what i did to get things going dependency groupIdportlet/groupId artifactIdwp.struts.standard.framework/artifactId version1.0/version scopesystem/scope

Re: Authentication failed: The host was not known when deploying from eclipse plugin

2008-05-01 Thread Todd Nine
If you go into your eclipse preferences, then into the maven plugin config, you should point it to your maven plugin installation, and do not use the embedded maven. I had issues using it until I set it up to use the same maven that I call in the terminal. On Thu, May 1, 2008 at 12:34 AM, Paweł

Re: When will maven-checkstyle-plugin 2.2 be released?

2008-05-01 Thread Dennis Lundberg
It's coming out shortly. There are a few details left to take care of before the release can be made. Hurragutt wrote: Hi. Looking at the JIRA for maven-checkstyle-plugin, I notice that all issues for the 2.2 release has been resolved - and has been for quite a while. Can anyone tell me when

Re: Localisation of reports

2008-05-01 Thread Dennis Lundberg
[EMAIL PROTECTED] wrote: Hi everybody, If I specify in the maven-site-plugin : localesfr,en/locales (and I create a site.xml file in french and a site_en.xml file in english) Then the generated reports are in french, in both the french and the english generated Web page. If I specify

Re: internationalization of reports

2008-05-01 Thread Dennis Lundberg
There are a bunch of issues filed regarding the modules menu for multi module sites, but none of them are about internationalized sites. Please file a new issue here: http://jira.codehaus.org/browse/MSITE [EMAIL PROTECTED] wrote: Hi everybody, I'v tried to internationalize a multimodule

Re: adding site resources folder to site

2008-05-01 Thread Dennis Lundberg
Johannes Buchner wrote: Hi, I'm new to maven. I have a project here called documentation, which should only generate a xdoc site. That works fine, but now I want to add a resource folder other than the default one. The reason is that I have images in another folder. I want to use them in the

RE: Multi-module archetypes

2008-05-01 Thread Prystash,John
I did just now and things look a lot better. I followed the original instructions from Raphaël below. The archetype was created and I was able to generate instance of the archetype that built out of the box. I noticed a couple of things, one the name/'s in the POMs still had the old values,

archetype generate, goal not found

2008-05-01 Thread Frank Wilson
Online documentation seems to say we can use archetype:generate to select archetypes from a list of known archetypes. My problem is that maven complains it cant find the generate goal for the archetype plugin. This is an example of the error I got. I cleared out my archetype plugins under ~/.m2 to

Re: maven build causing java segmentation fault - help needed

2008-05-01 Thread david delbecq
Doug Douglass a écrit : Mark, The only time I've seen a maven build trigger a JVM seg fault the problem was due to bad server memory. It was low end hardware running CentOS and hosted our Cruise Control install, amongst many other things. The seg faults were intermittent. HTH and good luck,

RE: scm:checkout question

2008-05-01 Thread Daniel King
Dan, I don't see any version 1.1-SNAPSHOT. What repository do you see this in and is it the scm plugin or the provider you're talking about? I see this for the maven-scm-plugin 1.0-rc1 Binary (103 KB) Details 1.0-beta-4 Binary (31 KB) Details 1.0-beta-3 Binary (24

maven site multi-module question

2008-05-01 Thread Ashley Williams
Hi, I'm having trouble generating a maven site in the directory of my choosing. I don't want to actually deploy the site (onto a remote server), but instead I want to copy the resulting website into a local directory. The directory then gets picked up by a company process and gets placed into

Re: [POLL] Default Value for File Encoding

2008-05-01 Thread Benjamin Bentmann
Benjamin Bentmann wrote: A controversial aspect of this proposal is which file encoding should be assumed in case the user did not specify this in the POM. This poll should help us to come to a well-founded decision. These are the two possible directions to go: a) Use the current platform

RE: maven site multi-module question

2008-05-01 Thread Prystash,John
Hey Ashley, I've been able to do something similar by putting the following in the POM of the parent. distributionManagement site urlfile://${user.dir}/site/url /site /distributionManagement This puts the site directory inside the parent directory however when I run site-deploy.

Re: Dependency injection and Plexus Compilers

2008-05-01 Thread sgargan
Jason, So I played around with expressions some more to see if I couldn't inject what was needed. From what I can tell the the expression evaluator is only applied to Mojos with Expressions in the compiler component being ignored. Ideally this compiler would leverage the standard compiler plugin

Re: Dependency injection and Plexus Compilers

2008-05-01 Thread Jason van Zyl
I need to see it, you can send it to me. On 1-May-08, at 10:12 AM, sgargan wrote: Jason, So I played around with expressions some more to see if I couldn't inject what was needed. From what I can tell the the expression evaluator is only applied to Mojos with Expressions in the compiler

Re: scm:checkout question

2008-05-01 Thread Dan Tran
it is at snapshot repo http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-scm-plugin/ -D On Thu, May 1, 2008 at 9:02 AM, Daniel King [EMAIL PROTECTED] wrote: Dan, I don't see any version 1.1-SNAPSHOT. What repository do you see this in and is it the scm

How to get around maven causing CI to fail

2008-05-01 Thread jlo_gestalt
I am not sure this is a bug or intentional, but it's very annoying how the clean phase requires all the dependencies to run. It's annoying because our CI environment (like everyone else) usually executes mvn clean install. And if I have a multi module project, when adding a new module, CI fails

[Eclipse Plugin] How to exclude test target directories of required projects?

2008-05-01 Thread Paul Spencer
I am using the Eclipse plugin to generate the Eclipse configuration files for two related Maven projects. One project contains the business and persistence logic, while the second project is a JSF based user interface that requires the first project. The third project is the master project

RE: default checksumPolicy is warn. Can we switch to fail ?

2008-05-01 Thread chago
Ahhh, that's probably a frequent problem as well. Thanks Brian E Fox wrote: There's an open issue for this, that maven should try to care about the content of at least the metadata and not just take garbage. It frequently happens to travelers when they hit a login page to a public wifi.

RE: scm:checkout question

2008-05-01 Thread Daniel King
Dan, Is there an easy to get the 1.1-SNAPSHOT plugin from that maven repo? All the jars and pom files are named *SNAPSHOT* so they can't be found. They're named with a timestamp. So I'd have to download and install twelve missing artifacts right now. I thought that was a pattern matching way

RE: scm:checkout question

2008-05-01 Thread Daniel King
I mean *aren't* named 1.1-SNAPHOT. They're named like this: maven-scm-plugin-1.1-20080302.044936-1.jar Daniel King Vurv The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an

Re: scm:checkout question

2008-05-01 Thread Dan Tran
version1.1-SNAPSHOT/version should pull down the latest one. would not work for you? -D On Thu, May 1, 2008 at 12:59 PM, Daniel King [EMAIL PROTECTED] wrote: I mean *aren't* named 1.1-SNAPHOT. They're named like this: maven-scm-plugin-1.1-20080302.044936-1.jar Daniel King Vurv The

RE: scm:checkout question

2008-05-01 Thread Daniel King
Dan, I don't see what I'm doing wrong and I get the following: C:\workspace2\unite-handlermvn scm:checkout [INFO] Scanning for projects... [INFO] Searching repository for plugin with prefix: 'scm'. [INFO] [INFO]

Re: Problem with SNAPSHOT

2008-05-01 Thread Stanley Lee
I see the problem: 1. In first build, Maven generate MyApp.1.0-SNAPSHOT.jar and MyApp.1.0.war includes it. 2. In second build, because MyApp war depends on MyApp jar (SNAPSHOT), so Maven download MyApp.1.0-20080501.201241-13.jar (which is last build jar) and insert into WEB-INF/lib. After the

RE: [m2] any tutorial on how to get Maven to compile and deploy in Tomcat/eclipse?

2008-05-01 Thread Allen, Daniel
I'm not sure I can completely answer your question (relatively new user myself), but I can tell you what we did here (we also develop in Eclipse and deploy via Tomcat). I have this plugin [1] to launch Tomcat via Eclipse and debug the processes that are running in it. I haven't gotten Maven to

Maven and Eclipse: getting started

2008-05-01 Thread Russell Bateman
I'm looking for help getting going with Maven and Eclipse. I've read lots, but have been unable to synthesis what I've read into a practical, working procedure. I'm looking for some direction (URLs or other suggestions). Where am I? I have downloaded Maven and run it successfully to create

Re: How to get around maven causing CI to fail

2008-05-01 Thread Brett Porter
The clean plugin itself doesn't require this - it's probably one of the other plugins you have bound. Maven must resolve these plugins to discover where they fit into the lifecycle, but I'm not sure why it would be trying to resolve other modules in the project. - Brett 2008/5/2 jlo_gestalt

pre-scanned build extension not being resolved

2008-05-01 Thread Frank Adcock
I have the problem with Eclipse where the spring-aws-maven project will not build within eclipse because it is unable to solve the extension (effectively to itself). The error I get is: Project build error:Cannot resolve pre-scanned extension artifact:

RE: How to get around maven causing CI to fail

2008-05-01 Thread Brian E. Fox
Clean forks and executes so it can find additional output folders or something (which I find annoying most of the time)... therefore it is also going to try and download some dependencies that may not be in the repo (particularly after a version change) -Original Message- From: Brett

Missing SNAPSHOT jar

2008-05-01 Thread John Patterson
Hi, I am a bit confused about deploying snapshots to my internal repository. When I use the deploy:deploy-file command I get a time-stamped jar uploaded to the repository but no myproject-1.0-SNAPSHOT.jar. Then when I 'mvn install' a project that depends on the snapshot I get an error about

Re: Maven and Eclipse: getting started

2008-05-01 Thread Chris_Graham
And I've tried running mvn eclipse realizing that that is way too naive as a starting point. I'm guessing that to create a Dynamic Web Project under Maven control for use in Eclipse, I have to create a BLANK PROJECT on the command line in Maven, but there's something about the Eclipse

Re: Missing SNAPSHOT jar

2008-05-01 Thread John Patterson
John Patterson wrote: Hi, I am a bit confused about deploying snapshots to my internal repository. When I use the deploy:deploy-file command I get a time-stamped jar uploaded to the repository but no myproject-1.0-SNAPSHOT.jar. Then when I 'mvn install' a project that depends on