Re: Un-mavenize a Maven2 project ?

2009-02-27 Thread Mark Struberg
Allessandro, just my opinion (as a former student and as someone who holds lessons from time to time): Since maven nowadays is really a standard tool in the java world which almost _everyone_ uses, it would be a good point to introduce it to your students. Also other ways fumbling around with

Re: The PluginDescriptor for the plugin maven:maven-war-plugin was not found

2009-02-27 Thread Martin Höller
On Thursday 26 February 2009 Wayne Fay wrote: 1. Check with CAS Users and Dev list to make sure someone else has successfully built their project with 2.0.10. If not, what about 2.0.9? Or 2.0.8? The pom.xml Vinicious posted contains a configuration section for the enforcer plugin to make sure

Re: Un-mavenize a Maven2 project ?

2009-02-27 Thread Alessio Pace
On Fri, Feb 27, 2009 at 9:45 AM, Mark Struberg strub...@yahoo.de wrote: Allessandro, just my opinion (as a former student and as someone who holds lessons from time to time): Since maven nowadays is really a standard tool in the java world which almost _everyone_ uses, it would be a good

Re: Re : Re: Un-mavenize a Maven2 project ?

2009-02-27 Thread Alessio Pace
Hi, good point indeed, I'll give it a try! Thank you. Regards, Alessio Pace. On Fri, Feb 27, 2009 at 8:56 AM, Jean-François Mathiot jmath...@servebox.com wrote: Hello Alessio, Why don't you use assembly plugin to create the second project ? Hope this helps. Jeff Jean-Francois Mathiot

Re: Un-mavenize a Maven2 project ?

2009-02-27 Thread Antonio Petrelli
2009/2/27 Alessio Pace alessio.p...@gmail.com: Hi thanks for your point of view, the fact is that the lab session is only few hours long, so I can't afford introducing Maven or asking users to install it inside Eclipse (you always have someone encountering errors, etc..).  Otherwise, surely I

RE: Un-mavenize a Maven2 project ?

2009-02-27 Thread Inman, Peter
You could get maven working from the command line in a few minutes. All your users do is unzip into a standard folder and if you pre-create the settings.xml, environment batch files and any other bits that people need, it only takes a few minutes. I did that with my small development team, and

Ear application.xml

2009-02-27 Thread JC Walmetz
Hi, I use Maven ear plugin to generate an ear. This ear is used in jboss5. My EAR application is huge and contains a lot of jars. Application.xml file is difficult to maintain. I have an EJB module that has a lot of transitive dependencies. I'd like to list all that transitive dependencies in

Can no longer create war file

2009-02-27 Thread Johan S
Hi Suddenly I can't create a war file, with package, install, or war... Can't figure out what I have done. It says Access denied to classes folder. But the jar that is build and should be injected as dependency lands in the target folder. I have tried to manually copy the file to classes folder,

Re: Un-mavenize a Maven2 project ?

2009-02-27 Thread Baptiste MATHUS
Using mvn dependency:copy-dependencies would just retrieve all your dependencies quite simply. Then, it would just be a matter of seconds to configure your eclipse project to use those downloaded jars. Cheers 2009/2/27 Inman, Peter peterin...@mcpplc.com You could get maven working from the

recompilation issue

2009-02-27 Thread SHAILJA
Hi, I am not working on maven standard directory structure, so when i do first time mvn compile source java files ( present in source directory explicitly specified by me) get compiled, second time when i again did mvn compile again all source java files got compiled, inspite all .class

Re: Can no longer create war file

2009-02-27 Thread Brett Randall
What happens if you mvn clean or otherwise brute-force delete the offending folder: C:\Workspaces\ResultReporter\resultreporter\player\player-core\target\classes (Access is denied) Brett On Fri, Feb 27, 2009 at 9:53 PM, Johan S johan.sve...@gmail.com wrote: Hi Suddenly I can't create a war

Re: Ear application.xml

2009-02-27 Thread Stephane Nicoll
Two options for you: # Use the lib directory (lib by default) if you're using EE5 # Wait for MEAR- 86 S. On Fri, Feb 27, 2009 at 11:49 AM, JC Walmetz jc7...@yahoo.fr wrote: Hi, I use Maven ear plugin to generate an ear. This ear is used in jboss5. My EAR application is huge and contains a

Eclipse and maven

2009-02-27 Thread John Wooten
I'm trying to set up the structure below which was suggested as an appropriate structure for maven when there were multiple products depending upon common modules. /areteq /pom.xml - super pom - contains site information, etc.? /modules /foundation

Re: Eclipse and maven

2009-02-27 Thread Edelson, Justin
This looks like the right directory structure to me. Each directory with a pom.xml file would be an Eclipse project. Why do you think this won't work? Justin On Feb 27, 2009, at 8:25 AM, John Wooten jwoo...@shoulderscorp.com wrote: I'm trying to set up the structure below which was

Set default BeanInfo path for maven project

2009-02-27 Thread hoffmandirt
Is it possible to set the BeanInfo path for a maven project? If so, how can you do this? My project is setup with the com.companyname.projectname package structure. If I'm reading the Instrospector documentation clearly, this would bean that the BeanInfo implementations need to be in

Re: Can no longer create war file

2009-02-27 Thread Johan S
I have tried that without any luck. Still stuck... Brett Randall-2 wrote: What happens if you mvn clean or otherwise brute-force delete the offending folder: C:\Workspaces\ResultReporter\resultreporter\player\player-core\target\classes (Access is denied) Brett -

error in mvn archetype:generate

2009-02-27 Thread nani2ratna
Hi, I am trying to generate a small framework by using the maven command mvn archetype:generate I am entering 19 th option, i am getting error as follows Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/str

Re: Profiles Filters - sharing common config

2009-02-27 Thread Les Hazlewood
Thanks Jason, I'll give it a shot right now. Best, Les On Thu, Feb 26, 2009 at 11:54 PM, Jason van Zyl jvan...@sonatype.comwrote: There is a bug in the remote-resources-plugin it seems. So I adjusted slightly and here's a version that works:

The desired archetype does not exist (org.apache.maven.archetypes:maven-archetype-j2ee-simple:RELEASE)

2009-02-27 Thread Jerry Thome
Sorry for this basic question. I cannot figure out how to get the updates in order to build a basic maven-archetype-j2ee-simple project. Is there an update command I need to run? I even deleted items from my local repo in hopes of the re-download working. The architetypes plugin did

Re: issues with profile and activeByDefault

2009-02-27 Thread Mick Knutson
I have tried all of these combination and I can not get this to work: name!QAS, !PRD/name name!QAS !PRD/name name!QAS !PRD/name name!QAS and !PRD/name Any ideas? --- Thank You… Mick Knutson, President BASE Logic, Inc. Enterprise Architecture, Design, Mentoring Agile Consulting p. (866)

Re: error in mvn archetype:generate

2009-02-27 Thread Wayne Fay
Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/str uts/struts2-archetype-starter/2.0.9-SNAPSHOT/struts2-archetype-starter-2.0.9-SNA PSHOT.jar That Snapshot version does not exist in the Snapshot repo any more, as seen here:

Re: Profiles Filters - sharing common config

2009-02-27 Thread Les Hazlewood
Before trying the .tgz file, I wanted to see if I could make it work as suggested. However, placing the template web.xml file in src/main/resourcesdidn't work - the consumer's target\maven-shared-archive-resources directory is empty. Here is my relevant config: producer module plugin

[ANN] GMaven 1.0-rc-5 released

2009-02-27 Thread Jason Dillon
For more details on whats included in this release please see the release notes: http://groovy.codehaus.org/GMaven+-+1.0-rc-5+Release * * * Artifacts and generated site is being published now, may take a few hours for them to be available; please be patient. Thanks, --jason

Re: issues with profile and activeByDefault

2009-02-27 Thread Mick Knutson
With that failing, I even tried to create a property that was set to false: * scm.stagingfalse/scm.staging /properties profiles profile idQAS/id properties scm.stagingtrue/scm.staging

Re: Profiles Filters - sharing common config

2009-02-27 Thread Les Hazlewood
Ahh - I see your approach Jason - using a .vm template. Nice - I'll work with that. Thanks again! Best, Les On Fri, Feb 27, 2009 at 11:03 AM, Les Hazlewood lhazlew...@apache.orgwrote: Before trying the .tgz file, I wanted to see if I could make it work as suggested. However, placing the

Maven scm commands inheritance problem

2009-02-27 Thread cngyver
I've a j2ee project layout which mimics the one i have in CVS like below: PCIIS -pom.xml --ear --pom.xml --Model --pom.xml --View --pom.xml I've configured scm in parent pom and overriden required properties in child poms. On single project basis scm commands work correctly. But

Re: Can no longer create war file

2009-02-27 Thread Marco Huber
Hi Johan, have you add classifiers to your project or a sub module of your project? I had once the problem, that I got this \target\classes access denied error, because the install plugin had problems with classifiers. Think it's fixed. Hope that helps. Marco Johan S wrote: I have tried

Re: Can no longer create war file

2009-02-27 Thread Johan S
Hi Marco Could you give me an example with classifiers. I don't think I using it. This isn't the only project that it appears in. Johan Marco Huber wrote: Hi Johan, have you add classifiers to your project or a sub module of your project? I had once the problem, that I got this

Re: error in mvn archetype:generate

2009-02-27 Thread nani2ratna
can you give me some solution what to do now. Thanks and regards ratna Wayne Fay wrote: Downloading: http://people.apache.org/repo/m2-snapshot-repository/org/apache/str uts/struts2-archetype-starter/2.0.9-SNAPSHOT/struts2-archetype-starter-2.0.9-SNA PSHOT.jar That Snapshot version

Where can I find more information on maven-metadata-local.xml?

2009-02-27 Thread Sahoo
Hi, Where can I find more information on maven-metadata-local.xml? I want to understand meaning of entries specified in the file. e.g., what's the meaning of localCopytrue/localCopy under snapshot? What causes this entry to be added? I see some snapshot artifacts in my local repo have this

JAX-RPC client generation in Maven2 project

2009-02-27 Thread Ryan de Laplante
Hi, I'd like to add a JAX-RPC client to my JEE5 web project. I tried using NetBeans 6.7M2's web service client wizard to see what it adds to my POM, but it won't get past the first screen because it wants a JAX-RPC plugin. I already have the JAX-RPC plugin installed in NetBeans and tested

Re: error in mvn archetype:generate

2009-02-27 Thread Wayne Fay
can you give me some solution what to do now. I would go remove the Snapshot repo reference from your settings.xml file and try running it again. Wayne - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For

Re: Eclipse and maven

2009-02-27 Thread John Wooten
Eclipse won't let you nest projects in a directory structure. On Feb 27, 2009, at 9:14 AM, Edelson, Justin wrote: This looks like the right directory structure to me. Each directory with a pom.xml file would be an Eclipse project. Why do you think this won't work? Justin On Feb 27, 2009,

Re: Un-mavenize a Maven2 project ?

2009-02-27 Thread David Weintraub
Would Ant be okay to use? You don't have to demavenize a thing -- just add a build.xml to your project. We converted many of our projects from Ant to Maven, but still have both the build.xml and pom.xml in the root directory. I even removed the third party jars from our repository. Instead, I

Re: Eclipse and maven

2009-02-27 Thread David C. Hicks
run mvn eclipse:eclipse from the base project and it will create all of the .project and .classpath files for you to import into Eclipse. John Wooten wrote: Eclipse won't let you nest projects in a directory structure. - To

Re: Eclipse and maven

2009-02-27 Thread David C. Hicks
though...i would also encourage you to check out the M2Eclipse plugin for Eclipse. it does a really good job of helping with the integration of Maven and Eclipse John Wooten wrote: Eclipse won't let you nest projects in a directory structure.

question regarding exclusions and indirect dependencies

2009-02-27 Thread Kirk Roberts
Apologies if someone has already answered this, a link would suffice. I'm having a problem with the way maven dependencies handle exclusions. Let me set up a little example: * Project LOW_LEVEL has dependencies 1 and 2 * Project MID_LEVEL_1 has LOW_LEVEL as a dependency, but does not need

Re: Un-mavenize a Maven2 project ?

2009-02-27 Thread Mark Struberg
but ant must be installed also before it can be used. And installing ant is the same effort than installing maven. So this will not add anything to his problem. LieGrue, strub --- David Weintraub qazw...@gmail.com schrieb am Fr, 27.2.2009: Von: David Weintraub qazw...@gmail.com Betreff:

Database plugin

2009-02-27 Thread Sommers, Elizabeth
Before I reinvent the wheel, does anybody have a good plugin for JDBC? I am going to be mining data from attached artifacts. If anybody has mavenized Scriptella it would be perfect. Thanks Liz Sommers somme...@pragmatics.com

Re: Eclipse and maven

2009-02-27 Thread supareno
David, http://code.google.com/p/q4e is a very good tool too though...i would also encourage you to check out the M2Eclipse plugin for Eclipse. it does a really good job of helping with the integration of Maven and Eclipse John Wooten wrote: Eclipse won't let you nest projects in a

Re: Eclipse and maven

2009-02-27 Thread Eugene Kuleshov
Sure it will. Unless you are using 3..4 year old version of Eclipse. regards, Eugene John Wooten-2 wrote: Eclipse won't let you nest projects in a directory structure. On Feb 27, 2009, at 9:14 AM, Edelson, Justin wrote: This looks like the right directory structure to me. Each

Re: Eclipse and maven

2009-02-27 Thread Kalle Korhonen
I attest that, the latest incarnation of q4e (the dev release at http://q4e.googlecode.com/svn/trunk/updatesite-dev/) has solved all the performance issues - I have 40-50 projects on my workspace and it's still super fast. Kalle On Fri, Feb 27, 2009 at 11:18 AM, supareno reno.rkc...@free.fr

Maven reporting

2009-02-27 Thread EJ Ciramella
We have a standard corp type pom that defines a list of reports that should be run/generated as part of every site build. In a project that has this corp pom listed as a parent, I'd like to NOT run a few of those reports. Is there a way to exclude/override which reports are run?

Re: Eclipse and maven

2009-02-27 Thread Eugene Kuleshov
See comparison at http://docs.codehaus.org/display/MAVENUSER/Eclipse+Integration regards, Eugene supareno wrote: David, http://code.google.com/p/q4e is a very good tool too though...i would also encourage you to check out the M2Eclipse plugin for Eclipse. it does a really

Re: Maven reporting

2009-02-27 Thread Nick Stolwijk
Most plugins have a skip option, ie. pmd [1] and checkstyle [2]. You can configure the report inside your own pom with the skip option enabled. If the plugin you are targetting doesn't have, please submit a feature request. It isn't hard to build in. Hth, [1]

RE: Maven reporting

2009-02-27 Thread EJ Ciramella
OY - gotcha. Some maven 2 things work such that any configuration in a child pom overwrites what's in a parent, just not in the reporting stanzas? H. Thank you! -Original Message- From: Nick Stolwijk [mailto:nick.stolw...@gmail.com] Sent: Friday, February 27, 2009 4:10 PM To:

Re: Eclipse and maven

2009-02-27 Thread John Wooten
Uses Ganymede, when I try to move one project as a folder under another, by trying to do a New/Project or a Refactor, it says it can not create a project under another project. On Feb 27, 2009, at 4:02 PM, Eugene Kuleshov wrote: Sure it will. Unless you are using 3..4 year old version

Re: Eclipse and maven

2009-02-27 Thread John Wooten
I have added: configuration source1.5/source target1.5/target /configuration to each plugin and I still get: [WARNING] Error while parsing /Users/woo/Development/workspaces/areteq/ modules/Foundation/src/main/java/com/areteq/common/ HashMapHandler.java:

Re: Eclipse and maven

2009-02-27 Thread Rusty Wright
Only one plugin needs that: plugins plugin artifactIdmaven-compiler-plugin/artifactId configuration source1.5/source target1.5/target /configuration /plugin

Re: Eclipse and maven

2009-02-27 Thread John Wooten
That is 1 place I have it. Still get error. Pardon bad thumbsmanship. Sent from mobile phone. On Feb 27, 2009, at 7:05 PM, Rusty Wright rusty.wri...@gmail.com wrote: Only one plugin needs that: plugins plugin artifactIdmaven-compiler-plugin/artifactId

RE: Eclipse and maven

2009-02-27 Thread Edelson, Justin
I believe that's a javadoc warning (not error). In addition to maven-compiler-plugin, you also need to specify the Java version in the javadoc plugin (in the reporting section) and, if you use it, the pmd plugin. Justin From: John Wooten

Re: Eclipse and maven

2009-02-27 Thread Rusty Wright
I feel vindicated; in a previous post of mine I was also saying that I thought eclipse didn't like nested projects. ;-) The way I took my first baby steps with maven and eclipse is that I used the appfuse modular spring archetype. From the command line type mvn \ archetype:create \

Re: Eclipse and maven

2009-02-27 Thread Eugene Kuleshov
Try this: create a folder in one of your project, create a pom.xml in that folder. Then you can import that nested project with m2eclipse using Import... / Maven projects wizard or if you have .project and .classpath can also use Import... / Existing projects into workspace. regards,

Re: Eclipse and maven

2009-02-27 Thread Eugene Kuleshov
Try mvn help:effective-pom and check what plugin configuration is used for that project. regards, Eugene John Wooten-2 wrote: I have added: configuration source1.5/source target1.5/target /configuration to each plugin and I still get:

Re: Eclipse and maven

2009-02-27 Thread David C. Hicks
This might be a dumb question, but it's easy enough to overlook. You do, in fact, have a 1.5 JVM installed, right? (I'm not trying to be a wise ass. I just haven't seen mention of that particular fact or question in this thread, yet.) John Wooten wrote: I have added: configuration