Re: Dealing with artifacts that have been moved - What to do?

2010-03-17 Thread Wayne Fay
> The document has moved href="http://download.java.net/maven/1/javax.jms/jars/jms-1.1.jar";>here. You should not be using the java.net repos for a number of reasons, including this problem related to HTML 301s being saved as jars etc. You should download and manually install these artifacts into

Dealing with artifacts that have been moved - What to do?

2010-03-17 Thread Michael Goodell
Hello, I am somewhat new to Maven and running into problems with artifacts being moved and we are not sure how correct the problem. Seeing this during build (On Hudson): **error: error reading /var/db/www/.m2/repository/javax/jms/jms/1.1/jms-1.1.jar; error in opening zip file error: error rea

[ANN] Riding Ruby on Rails3 with Maven3

2010-03-17 Thread kristian
hello, I have to share this with you. all you need is java1.6 and maven3 installed then you should get a deployable war file with rails3 application in couple of minutes. have a look at http://aadesa.blogspot.com/2010/03/riding-ruby-on-rails3-with-maven.html all kind of feedback is welcome. but

Re: Using a Custom Lifecycle in a mojo and getting parameters to it

2010-03-17 Thread Justin Edelson
I would just write a standalone mojo and invoke maven in a forked process as needed. Justin On Mar 17, 2010, at 8:02 PM, Brad Jarvinen wrote: > Another possibility is that I'm using the wrong tool for the job. > So I should explain what I'm trying to do. > > From my mojo, I'm trying to invoke o

Re: auto code format eclipse .settings

2010-03-17 Thread Dan Tran
mvn eclipse:configure-workspace :-) -Dan On Wed, Mar 17, 2010 at 4:36 PM, Barrie Treloar wrote: > On Thu, Mar 18, 2010 at 2:16 AM, Sipungora wrote: > >> >> Hi, >> >> how can I change .settings files with Maven2? maven-eclipse-plugin allows >> to >> set the workspace, but I want to set auto code

VM_global_library.vm - where to put it?

2010-03-17 Thread Kathryn Huxtable
I've been ignoring that warning message for years, but suddenly I have a use for defining some macros to be used in resource filtering. Would #foo() work in filtering, and where can I define it? -K - To unsubscribe, e-mail: user

RE: Using a Custom Lifecycle in a mojo and getting parameters to it

2010-03-17 Thread Brad Jarvinen
Another possibility is that I'm using the wrong tool for the job. So I should explain what I'm trying to do. From my mojo, I'm trying to invoke other mojos and goals. My mojo invokes many "sub" goals, i.e. - generate 4 projects with archetype:generate - add some files to each of the projects -

Re: auto code format eclipse .settings

2010-03-17 Thread Barrie Treloar
On Thu, Mar 18, 2010 at 2:16 AM, Sipungora wrote: > > Hi, > > how can I change .settings files with Maven2? maven-eclipse-plugin allows > to > set the workspace, but I want to set auto code format settings. Is it > possible with maven? :confused::confused::confused: > Code formatting tends to b

Re: auto code format eclipse .settings

2010-03-17 Thread Patrick Turcotte
Maybe this could help. If you make the modification through Eclipse interface, and check how the files were modified in .settings, you could probably set the plugin so it uses additionalConfig as below: org.apache.maven.plugi

Re: How to add output statement in pom?

2010-03-17 Thread Brett Porter
You can use the antrun plugin's task, though it'll only appear underneath the project banner. At that time, there's usually a large number of output lines already showing the absolute location of files being copied. On 18/03/2010, at 8:29 AM, Jane Young wrote: > Hi Maven experts, > > Is there

How to add output statement in pom?

2010-03-17 Thread Jane Young
Hi Maven experts, Is there a way to add logging or echo statement in pom file? For example in the "install" lifecycle, I want to be able to print out the directory where the sub-module resides: e.g. [INFO] [INFO] Buil

Re : Re : Possible regression with Maven 3 alpha 7 (ejb manifest classpaht)

2010-03-17 Thread Julien HENRY
Correct, many thanks to Benjamin for the fix and for releasing quickly. - Message d'origine > De : Anders Hammar > À : Maven Users List > Envoyé le : Mer 17 mars 2010, 21 h 14 min 55 s > Objet : Re: Re : Possible regression with Maven 3 alpha 7 (ejb manifest > classpaht) > > Ok, I

Re: auto code format eclipse .settings

2010-03-17 Thread Wayne Fay
> and there is the clause eclipse:eclipse "Generates the following eclipse > configuration files: ... .setting/org.eclipse.jdt.core.prefs with project > specific compiler settings..." there. But I didn't find how I can configure > my pom to write e.g. formatting settings in this file in .setting di

Re: Re : Possible regression with Maven 3 alpha 7 (ejb manifest classpaht)

2010-03-17 Thread Anders Hammar
Ok, I now see that it's your issue that has been moved to the ejb plugin. I have to say that Benjamin is extremely quick on fixing things! /Anders On Wed, Mar 17, 2010 at 21:11, Anders Hammar wrote: > I just saw the vote for 2.2.1 of the ejb plugin and possibly your issue is > related to the ej

RE: auto code format eclipse .settings

2010-03-17 Thread Ludwig Magnusson
Perhaps the code formatter? It's possible to export/import a projects code formatting in eclipse to/from an xml file. But I don't know if maven can use it to configure the code formatting of a project. /Ludwig -Original Message- From: Sipungora [mailto:kostya...@yahoo.de] Sent: den 17 mar

Re: Re : Possible regression with Maven 3 alpha 7 (ejb manifest classpaht)

2010-03-17 Thread Anders Hammar
I just saw the vote for 2.2.1 of the ejb plugin and possibly your issue is related to the ejb plugin and not maven 3.0-alpha-7 itself: http://jira.codehaus.org/browse/MEJB-46 /Anders On Wed, Mar 17, 2010 at 16:43, Julien HENRY wrote: > Done: http://jira.codehaus.org/browse/MNG-4596 > > > >

Re: auto code format eclipse .settings

2010-03-17 Thread Sipungora
Hi Wayne, probably I don't correct understand your questions.:-( I read the documentation on the http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html http://maven.apache.org/plugins/maven-eclipse-plugin/eclipse-mojo.html site and there is the clause eclipse:eclipse "Generates

New plugin for creating Swing control images for documentation

2010-03-17 Thread Kathryn Huxtable
I'm working on a look and feel for Swing (http://seaglasslookandfeel.com) and wanted to include images from the look and feel in my documentation. So I wrote a plugin org.kathrynhuxtable.maven.plugins:imagegenerator-maven-plugin:1.0 that I've deployed to Central. The docs are at

Re: Using a Custom Lifecycle in a mojo and getting parameters to it

2010-03-17 Thread Wayne Fay
No hides have been chapped; this happens regularly. Usually it is a mistake but sometimes (especially when the emails are spaced hours apart, as yours were) it is someone who has a REALLY URGENT (to them) PROBLEM that needs to be RESOLVED RIGHT NOW and that's simply not how this list works. You ca

RE: Using a Custom Lifecycle in a mojo and getting parameters to it

2010-03-17 Thread Brad Jarvinen
Sorry to have chapped some people's hides because of a single duplicate request; it was purely unintentional and a result of my company's overly exuberant spam filters preventing me from knowing the first post went through. Please don't let that prevent someone from responding with a greatly a

Re: Using a Custom Lifecycle in a mojo and getting parameters to it

2010-03-17 Thread Wayne Fay
Its rude to send an email more than once to a list like this without waiting a couple days in between. If/when someone has a response, they will reply. Wayne On Wed, Mar 17, 2010 at 11:32 AM, Brad Jarvinen wrote: > Hi, > > > > For sample purposes, I've defined a custom lifecycle as follows: > -

Using a Custom Lifecycle in a mojo and getting parameters to it

2010-03-17 Thread Brad Jarvinen
Hi, For sample purposes, I've defined a custom lifecycle as follows: project-archetypes-lifecycle validate org.apache.maven.plugins:maven-archetype-plugin:generate

Re: auto code format eclipse .settings

2010-03-17 Thread Wayne Fay
> how can I change .settings files with Maven2? maven-eclipse-plugin allows to > set the workspace, but I want to set auto code format settings. Is it > possible with maven? :confused::confused::confused: What in the maven-eclipse-plugin documentation makes you believe this is functionality that m

3.0-alpha-7 regression? w/ JBehave 2.5

2010-03-17 Thread Nayan Hajratwala
I just ran into this build error when using alpha-7. It does not occur with alpha-6. [ERROR] Failed to execute goal org.jbehave:jbehave-maven-plugin:2.5:run-scenarios (run-scenarios-found) on project XXX-domain: Failed to instantiate scenario 'com.XXX.model.domain.scenario.RecipeIngredientPars

auto code format eclipse .settings

2010-03-17 Thread Sipungora
Hi, how can I change .settings files with Maven2? maven-eclipse-plugin allows to set the workspace, but I want to set auto code format settings. Is it possible with maven? :confused::confused::confused: Thanks in advance. -- View this message in context: http://old.nabble.com/auto-code-format-

Re : Possible regression with Maven 3 alpha 7 (ejb manifest classpaht)

2010-03-17 Thread Julien HENRY
Done: http://jira.codehaus.org/browse/MNG-4596 - Message d'origine > De : Anders Hammar > À : Maven Users List > Envoyé le : Mer 17 mars 2010, 14 h 12 min 35 s > Objet : Re: Possible regression with Maven 3 alpha 7 (ejb manifest classpaht) > > I don't find a jira filed for alpha-7 fo

Re: Issues with archetype:create-from-project

2010-03-17 Thread Bernard Lupin
Hi Matt, I encounter quite all of your issues. However, I've solved some of them with tricks : 1. I have an archetype.properties file within my project, containing these properties : archetype.groupId=com.company.project archetype.artifactId=project-archetype-example archetype.version=1.0-SNAPSHO

Query related to multi module web project

2010-03-17 Thread chetan mehrotra
I have a multi module Maven based project. Structure is something like below - Module1 - Module2 - Web Module3 The WebModule depends on the two other modules which provide the service layer. The WebModule is configured with a Jetty plugin . During development it happens that both the service laye

Re: Is It necessary that a POM with modules should have packaging as "pom"

2010-03-17 Thread amaresh mourya
Thanks All for response On Wed, Mar 17, 2010 at 6:35 PM, Mert Çalışkan wrote: > yes, > > see > > http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Aggregation > > On Wed, Mar 17, 2010 at 3:02 PM, amaresh mourya >wrote: > > > Hi All, > > > > Question is asked in su

Re: Possible regression with Maven 3 alpha 7 (ejb manifest classpaht)

2010-03-17 Thread Anders Hammar
I don't find a jira filed for alpha-7 for this. Please create a project that reproduces this and file a jira at http://jira.codehaus.org/browse/MNG /Anders On Wed, Mar 17, 2010 at 13:36, Julien HENRY wrote: > Hi, > > One project in my company is using Maven 3 and they have switched from > alpha

Re: List of XML _attributes_ supported in the POM

2010-03-17 Thread lukewpatterson
lukewpatterson wrote: > > Is there a complete list of XML _attributes_ supported in the POM? > I think the following are better questions than my previous one: Can my plugins use XML attributes as part of their configuration? If so, are there any special attribute names that I need to avoid?

Re: maven-site-plugin 2.1

2010-03-17 Thread Lukas Theussl
Check if it's that: http://jira.codehaus.org/browse/MSITE-456 -Lukas Martin Vaněk wrote: Hi guys, I've upgraded maven-site-plugin from 2.0.1 to 2.1 and all generated site pages suddenly have empty (left) menu. I'm using maven-2.2.1 on JDK 1.6 Menu appears again after I add site.xml, but it is

Re: Is It necessary that a POM with modules should have packaging as "pom"

2010-03-17 Thread Mert Çalışkan
yes, see http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Project_Aggregation On Wed, Mar 17, 2010 at 3:02 PM, amaresh mourya wrote: > Hi All, > > Question is asked in subject. > > Thanks, > Amaresh >

maven-site-plugin 2.1

2010-03-17 Thread Martin Vaněk
Hi guys, I've upgraded maven-site-plugin from 2.0.1 to 2.1 and all generated site pages suddenly have empty (left) menu. I'm using maven-2.2.1 on JDK 1.6 Menu appears again after I add site.xml, but it is quite uncomfortable to copy same site.xml into every module in all projects because it is

Re: Is It necessary that a POM with modules should have packaging as "pom"

2010-03-17 Thread Justin Edelson
Yes. On 3/17/10 9:02 AM, amaresh mourya wrote: > Hi All, > > Question is asked in subject. > > Thanks, > Amaresh > - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven

Is It necessary that a POM with modules should have packaging as "pom"

2010-03-17 Thread amaresh mourya
Hi All, Question is asked in subject. Thanks, Amaresh

Possible regression with Maven 3 alpha 7 (ejb manifest classpaht)

2010-03-17 Thread Julien HENRY
Hi, One project in my company is using Maven 3 and they have switched from alpha 6 to alpha 7. They told me there is a regression in their EJB modules. The generated manifest is supposed to contain the classpath with all dependencies. It was working fine previously but now it is empty. Are you

Re: Two distinct src folders

2010-03-17 Thread Stephen Connolly
I believe you would be better suited with m2eclipse also if src/main/java is supposed to be filtered before compiling that is a bad plan. I'd put your source that will be filtered in src/ filtered/java to flag that it is filtered Sent from my [rhymes with tryPod] ;-) On 17 Mar 2010, at 11:4

Two distinct src folders

2010-03-17 Thread syllepsa
Hi, In my project I want to have separate src folders for maven an Eclipse. Eclipse project settings is generated by typing: mvn eclipse:clean eclipse:eclipse Why? Because after editing code in Eclipse I invoke maven to do resource filtering. Maven overwrites src code from src/main/java and put

Re: Parameterized artifactId?

2010-03-17 Thread Anders Hammar
I don't see any reason why you would do like they are doing. As you've already seen, this causes problems. In genreal, there are lots of weird solutions at the Jboss' repo. Don't look there for guidelines on how to use Maven... /Anders On Wed, Mar 17, 2010 at 11:49, Larionov, Konstantin wrote:

Parameterized artifactId?

2010-03-17 Thread Larionov, Konstantin
Hello, I just met with a little bit strange (from my point of view) artifact in the JBoss maven2 repository. It is for the richfaces-impl artifact and located at http://repository.jboss.com/maven2/org/richfaces/framework/richfaces-imp l/3.3.3.CR1/richfaces-impl-3.3.3.CR1.pom If you will take a lo

AMP packaging type and cobertura

2010-03-17 Thread Julien HENRY
Hi all, I have a project that is using Maven Alfresco integration [1] to produce AMP artifacts. There is a new packaging type "amp". Looking at the source code of the plugin the language is "java" [2]. On cobertura side there is a check [3] to prevent instrumentation in case of non java artifa

Re: mvn archetype:create breaks on js file

2010-03-17 Thread Antoine van Wel
Turns out the deprecation of archetype:create is even printed in *bold* on the goals page. Don't know how I missed that. Thanks... Antoine On Mon, Mar 15, 2010 at 10:16 PM, Brett Randall wrote: > archetype:create is deprecated in favour of archetype:generate, so try > archetype:generate. See

global filter on multi-modules project

2010-03-17 Thread Aymeric Alibert
I have a maven project with multiples modules. I defined a filter for configuration in my master pom: src/main/filters/filter-${environment}.properties All is good and I can use a filter properties file at the module level (one for each module). However some of the

Re: jetty:plugin does not start during verify phase

2010-03-17 Thread Filippo De Luca
Thank you, Stephen. I understand the issue now. 2010/3/16 Stephen Connolly > yes. > > you need to rethink your testing... perhaps the client module is actually a > test scoped dep of your war (assuming it is not a current dep of your war) > in which case you run the tests in the war module > > S