archetype.xml

2006-04-18 Thread Ray Tsang
Hi all, I read here, http://maven.apache.org/guides/mini/guide-creating-archetypes.html, that to add test sources and test resources, it should use a different tag than and ... but which one is it? the documentation is ambiguous on the syntax, it specified and ... i tried both but none seem to

[m1] AspectJ plugin and Clover

2006-04-18 Thread Wim Deblauwe
Hi, is any work being done to get AspectJ plugin to work with Clover? I am testing with the latest version of the aspectj plugin and I also get bug MPCLOVER-47 (http://jira.codehaus.org/browse/MPCLOVER-47). This bug is a real blocker to add aspectj support to my module. I don't want to lose the Cl

Re: Getting started with maven 2

2006-04-18 Thread Emmanuel Venisse
It's fixed now in svn. If you want to test it : http://snapshots.maven.codehaus.org/maven2/org/codehaus/plexus/plexus-formica/1.0-beta-10-SNAPSHOT/plexus-formica-1.0-beta-10-20060418.082139-2.jar Emmanuel Mark Reynolds a écrit : This validation will also be broken on some of the newer generic

Maven a Developer's notebook : Upgraded to M2 is available somewh ere online ?

2006-04-18 Thread Sharma, Jaikumar
Took a book on Maven -- Maven Developer's Notebook - just to get started and to be comfortable using it, but found that examples in it --- not working, because it is intended to be used with Maven 1.x. While Maven 2 is complete re-write of version 1.x. Who has this book : can note the followi

Maven with C++ projects

2006-04-18 Thread Vandermi Joao da Silva
Hi guys, I work with Maven2 and Continuum and it's very nice tools , but now I need work with C and C++ projects. How can work with C++ project in to maven2 projects. What the POM structure and how can use nar plugin? Can I use the report same java report, for example, documentation, changelog.

Re: Maven a Developer's notebook : Upgraded to M2 is available somewh ere online ?

2006-04-18 Thread Timo Westkämper
Hello. I have just started reading "Better Builds with Maven" which was written for Maven 2. You can get it for free from http://www.mergere.com/products.jsp Br, Timo Westkämper. Took a book on Maven -- Maven Developer's Notebook - just to get started and to be comfortable using it, but

RE: [m2] How to add generated sources in Ant MOJO [Need answer plz]

2006-04-18 Thread DELHOSTE Fabrice
Sorry but I could not find the way to do that by myself. Please any help? -Original Message- From: DELHOSTE Fabrice [mailto:[EMAIL PROTECTED] Sent: jeudi 13 avril 2006 17:57 To: users@maven.apache.org Subject: [m2] How to add generated sources in Ant MOJO Hi all, In other words, how c

[m2] RMIService in SureFire Integration Tests Fails

2006-04-18 Thread Stevenson, Chris
Hi James, I did indeed, for me the problem was with the path to where m2 was installed on windows. It took me a while to find it but this is a known bug in the jdk when invoking an RMI server from a directory with spaces in the path.. So to get around it I moved m2 from c:\program files\Apache\Ma

Re: Best approach to deploy in websphere app server

2006-04-18 Thread David J. M. Karlsen
Wayne Fay wrote: David, this URL does not work for me either. When I go to just the root davidkarlsen.com page, it forwards me to /portal which is a JBoss portal 2.0 release candidate site. Looks like you're moving some stuff around... Wayne Sorry - I ran into some trouble just before deploy

[m2] specifying the surefire-booter for cobertura?

2006-04-18 Thread Nigel Magnay
I'm suffering from SUREFIRE-30, which is down to the fact that the cobertura plugin uses surefire-booter-1.5.2.jar - which has this problem. I have tried adding a different booter into the plugin : org.codehaus.mojo cobertura-maven-plugin 2.0-SNAP

RE: Maven a Developer's notebook : Upgraded to M2 is available so mewh ere online ?

2006-04-18 Thread Sharma, Jaikumar
Thanks Timo. BR. Jaikumar -Original Message- From: Timo Westkämper [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 18, 2006 2:15 PM To: Maven Users List Subject: Re: Maven a Developer's notebook : Upgraded to M2 is available somewh ere online ? Hello. I have just started reading "Bette

Jira Changes plugin

2006-04-18 Thread javed mandary
Hi , am getting a problem with the changes-maven-plugin , i keep getting a stack trace error each time i execute mvn site Here is the configuration in my POM -POM-- [...] Jira https://thisis.mycompany.com/issues/browse/MYPROJECT [...] [...]

Re: Best approach to deploy in websphere app server

2006-04-18 Thread David J. M. Karlsen
Wayne Fay wrote: David, this URL does not work for me either. When I go to just the root davidkarlsen.com page, it forwards me to /portal which is a JBoss portal 2.0 release candidate site. Looks like you're moving some stuff around... That's the portal (which by the way will be changed - not

Re: Maven integration with WAS5

2006-04-18 Thread David J. M. Karlsen
Lee Meador wrote: That link doesn't work on my computer. Fixed - I ran into some trouble and had to withdraw it - it's OK now: site: http://www.davidkarlsen.com/maven-was-plugin repo: http://www.davidkarlsen.com/m2 -- David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com http://m

Modules and paths

2006-04-18 Thread Peter Karlsson
Hi, I have this line which reads my Spring bean declarations from the named relative path. "file:WebContent/WEB-INF/applicationContext-hibernate.xml" When running the web module pom, this works correctly, however when running the parent pom it cannot find the file. If I prepend "MyWebModule" to

+ Java-EE-Application with Maven2 +

2006-04-18 Thread Serge Emmanuel Pagop
Hi maven2 gurus, I try to build the tutorial from Java EE 5 Tutorial with maven2 and it works good. But I have to do some tasks manually. First, my application-hierarchy looks like this: javaeetutorial5 + pom.xml + converter-ejb + pom.xml + src + main + target +

[m2] question about deploy

2006-04-18 Thread Luca Gmail
Hi all, I deployed an anrtifact with version 1.0. When I redeploy the artifact with the same version (override) is the new available? I'm asking this because the changes seem not be available to the other developers. Tnx a lot, Luca

Using variables with site

2006-04-18 Thread nicholas . trandem
I'd like to be able to display the value of the element of my pom in my site without hardcoding it in index.apt. Is there a way to use variables in the index.apt (or some other file) so that it will be resolved when I run a mvn site? Thanks! _ Nicholas Alexander Trandem, Developer IS Visi

RE: [m2] question about deploy

2006-04-18 Thread Jörg Schaible
Hi Luca, Luca Gmail wrote on Tuesday, April 18, 2006 2:23 PM: > Hi all, > > I deployed an anrtifact with version 1.0. > > When I redeploy the artifact with the same version (override) > is the new > available? On the server, yes. > I'm asking this because the changes seem not be available to

RE: [m2] question about deploy

2006-04-18 Thread Stevenson, Chris
Hi Luca, If you deploy version 1.0 to a repository maven assumes that this will not change (else you will not have reproducible builds) so the first 1.0 that your collegues downloaded will be the one they are stuck with, unless they delete the entry in their local repos. If you are actively devel

RE: [m2] question about deploy

2006-04-18 Thread Luca Gmail
Tnx to all. Luca -Original Message- From: Stevenson, Chris [mailto:[EMAIL PROTECTED] Sent: martedì 18 aprile 2006 15.09 To: 'Maven Users List' Subject: RE: [m2] question about deploy Hi Luca, If you deploy version 1.0 to a repository maven assumes that this will not change (else you wi

RE: Maven and WSAD or RAD

2006-04-18 Thread Mike Perham
Please check the archives. This has been discussed ad infinitum. -Original Message- From: Aaron Freeman [mailto:[EMAIL PROTECTED] Sent: Monday, April 17, 2006 10:54 PM To: Maven Subject: Maven and WSAD or RAD Is anyone using Maven with either WebSphere Studio Applicaiton Developer or R

RE: Jira Changes plugin

2006-04-18 Thread Mike Perham
The JIRA changes report does not work with JIRA 3.x. Try downloading by hand the URL it prints out below. JIRA is returning an HTML error page instead of the expected XML content. -Original Message- From: javed mandary [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 18, 2006 4:50 AM To:

Re: Maven and WSAD or RAD

2006-04-18 Thread Serge Emmanuel Pagop
Which local env. do u like to get at (runtime, compile, ...) ? On 4/18/06, Mike Perham <[EMAIL PROTECTED]> wrote: > > Please check the archives. This has been discussed ad infinitum. > > -Original Message- > From: Aaron Freeman [mailto:[EMAIL PROTECTED] > Sent: Monday, April 17, 2006 10:5

RE: Maven a Developer's notebook : Upgraded to M2 is available somewhere online ?

2006-04-18 Thread Andreas Guther
Jaikumar, A while ago I read that a Maven 2 book is in work and will be made available online. If I remember correctly it is planned to be available this quarter, but I haven't seen any new information on that project. If you use Maven 2 it does make little sense to use the Maven 1 book (which w

RE: [M2] Force order of jar files in classpath

2006-04-18 Thread Andreas Guther
Brett, Beanshell classes are included in both TestNG jar files (1.4 and 1.5). Probably to make the inclusion on the classpath easier. There are also other dependencies included. It might be better to have different flavors of jar files for TestNG. I often see projects that have a all-dependency

Exploded WAR in exploded EAR

2006-04-18 Thread brianwainwright
Hi, I am currently trying to move my teams large multi-project/multi-webapp/multi-ear application from Maven 1.x to Maven 2, and overcome most of the problems I've had on the way, but there's one issue I can't work out. Our current (Maven 1.x) build, we have a customized goal which produces an e

Re: generating Classpath for war modules

2006-04-18 Thread Wayne Fay
You're missing the inside which contains . Wayne On 4/18/06, Janos Mucsi <[EMAIL PROTECTED]> wrote: > Wayne > Thanks for replying, but it does not work. Here is your advice: > > I think you're looking for... > > > maven-war-plugin > > > > true > > > > > > HTH.

[m2] Aggregated Javadoc dependency problems

2006-04-18 Thread Wendy Smoak
The 'mvn javadoc:javadoc' command works fine with the latest plugin built from source and this in struts/action/trunk/pom.xml: org.apache.maven.plugins maven-javadoc-plugin It drops into each module and builds the javadoc there. However

Re: Exploded WAR in exploded EAR

2006-04-18 Thread Kevin Galligan
For our build, I hacked the ear plugin. I added an 'explodedUri' attribute to the web artifact configuration. When the application.xml file is built, it sets the web component to the exploded url on the file system. The down side is that you have to have a relative reference to your web xml proj

Re: [m2] Aggregated Javadoc dependency problems

2006-04-18 Thread Brett Porter
This was reported recently by Jules. I intended to revisit it before releasing the plugin. If it isn't in JIRA already, would you mid filing it? Thanks, Brett On 4/19/06, Wendy Smoak <[EMAIL PROTECTED]> wrote: > The 'mvn javadoc:javadoc' command works fine with the latest plugin > built from sou

Re: [M2] Force order of jar files in classpath

2006-04-18 Thread Brett Porter
Andreas, I think you are missing my point. If you declare this: org.testng testng 4.7 jdk15 bsh bsh This will be as if testng did not declare it and yours will be used instead. It may be a good idea to make it optional in the testng pom if it really is optio

m2 uberjar (assembly jar-with-dependency-jars)

2006-04-18 Thread Geoffrey De Smet
First I considered using assembly's jar-with-dependencies, but this has the problem that META-INF data gets lost (which gives various issues). I 'd like to use some kind of uberjar: jar-with-dependency-jars, basically a jar with all the other jars inside. Is there any support for this planned

Re: Exploded WAR in exploded EAR

2006-04-18 Thread brianwainwright
Thanks for the quick reply Kevin! I feared that the solution may involve hacking the plugins! It's essentially what we had to do with Maven 1.x, but I'd just hoped that there'd be a more "complete" solution in M2? Although, to be honest, I don't mind "hacky" too much at the moment, I've had to

RE: Email Notifier Configuration

2006-04-18 Thread Xavier Frisaye
Hi everybody, I've configured mail notifier in our pom like this : continuum mail true true true

Re: Maven with C++ projects

2006-04-18 Thread dan tran
http://mojo.codehaus.org/maven-native/native-maven-plugin/ On 4/17/06, Vandermi Joao da Silva <[EMAIL PROTECTED]> wrote: > > Hi guys, I work with Maven2 and Continuum and it's very nice tools , but > now I need work with C and C++ projects. > How can work with C++ project in to maven2 projects. Wh

Re: Exploded WAR in exploded EAR

2006-04-18 Thread Kevin Galligan
Attaching a diff for the ear plugin.  Its a diff from 380736 to my local vendor branch.  There are some extra things, like the deploy repository is our local path, but you should be able to see what I did to the code from the diff file. On 4/18/06, brianwainwright <[EMAIL PROTECTED]> wrote: Thanks

Using maven to setup Eclipse plugin project

2006-04-18 Thread Hua
Hi experts, We setup Eclipse project from Maven by using the following way: 1. Create project.xml file 2. Create project.property file 3. From command line type "maven eclipse" to create Eclipse project 4. From Eclipse, do "File->Import..." and "Import existing project into the workspace" to impo

[surefire] systemProperties-Style clarification

2006-04-18 Thread Jens Zastrow
see http://jira.codehaus.org/browse/MSUREFIRE-79 Which style to use for the System-Properties? I have a lot of properties like: http://www.caucho.com/download/resin-3.0.18.zip Must i convert them al to the more complex form to be compatible with maven 2.0.4+ (old style does not work anymore)

Re: Exploded WAR in exploded EAR

2006-04-18 Thread Wayne Fay
Just FYI Kevin... Either you didn't attach the diff, or it got chopped in transit somewhere. Wayne On 4/18/06, Kevin Galligan <[EMAIL PROTECTED]> wrote: > Attaching a diff for the ear plugin. Its a diff from 380736 to my local > vendor branch. There are some extra things, like the deploy reposi

Re: m2 uberjar (assembly jar-with-dependency-jars)

2006-04-18 Thread Torsten Curdt
...on my disk :) give it a few more days and I will send a patch > I 'd like to use some kind of uberjar: jar-with-dependency-jars, > basically a jar with all the other jars inside. > > Is there any support for this planned in Maven 2? > In assembly or with a separate plugin? As part of the depen

Re: Using maven to setup Eclipse plugin project

2006-04-18 Thread Kathryn Huxtable
I use a custom archetype based on the 1.0-alpha-4 webapp archetype and added appropriate .classpath and .project files for Eclipse using the Maven2 plugin for Eclipse. The .classpath doesn't generally need to change much from project to project. I also added our standard Spring setup and all... -

Help me about changes plugin

2006-04-18 Thread Vijay Shanker
As per requirement, I have to prepares reports about changes in files between current version and previous version of files so could any body suggest me the approach for achieving this goal. I got to know from maven website that there are two plugins neams as "changes" and "changelog" but when

Re: Exploded WAR in exploded EAR

2006-04-18 Thread Kevin Galligan
Right-o. I'll paste it inline... ** STARTING DIFF ** Index: src/main/java/org/apache/maven/plugin/ear/WebModule.java === --- src/main/java/org/apache/maven/plugin/ear/WebModule.java (...

Plugin repository issue

2006-04-18 Thread Mark Misurak
Hello. I'm having an issue with setting up a plugin repository on a development server (I'm setting up this repository so that our organization's developers will use the development server's repository instead of Ibiblio). In my pom.xml for my project saved locally, I have the following: ...

Re: Help me about changes plugin

2006-04-18 Thread ian . d . stewart
There are a number of dead links on maven.apache.org. The plugin documentation links are the most visible, primarily because those are the ones that long term Maven users are most interested in (personal opinion/observation here. Any relation to objective fact is purely coincidental). Is this so

Re: Help me about changes plugin

2006-04-18 Thread Lee Meador
Put this in your pom.xml to add a report showing what has changed in the version control during the last 30 days. There are some config settings you can add that change just what is shown in the report. org.codehaus.mojo changelog-maven-pl

Re: Testing with JUnit 4

2006-04-18 Thread Tiago Fernandez
Thanks again Wayne. So all we can do is wait, but no problem :-) On 4/18/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > This was discussed in a thread titled "[M2] surefire plugin and JUnit > 4" on April 9-10. Please check the Maven User list archive. > > If you have any additional questions after r

RE: Help me about changes plugin

2006-04-18 Thread Vijay Shanker
Hi Lee, Thanks a lot. It is great help to me, I will try to use changelog plugin as per your suggestion and let you know shortly. I think if changes plugin works as you explained then that is what we are looking for. Thanks again. Vijay From: [EMAIL PROTECTED] on behalf of Lee Meador

Re: [m1] AspectJ plugin and Clover

2006-04-18 Thread Lukas Theussl
Wim, I am not a clover nor an aspectj expert, that's why I am probably confused by the test project attached to MPCLOVER-47. First, just running 'aspectj' fails the build, so I cannot reproduce already half the alleged bug. Second, the aspectj:compile is defined as a preGoal of java:compile,

Re: [surefire] systemProperties-Style clarification

2006-04-18 Thread dan tran
cargo.resin3x.url http://www.caucho.com/download/resin-3.0.18.zip is the correct format. -D On 4/18/06, Jens Zastrow <[EMAIL PROTECTED]> wrote: > > see http://jira.codehaus.org/browse/MSUREFIRE-79 > > Which style to use for the System-Properties? > > I have a lot of properties

Re: Maven and WSAD or RAD

2006-04-18 Thread justin_fung
I've found that the eclipse:eclipse task works very nicely at setting up your workspace as WSAD is built upon Eclipse. I would imagine RAD is no different but I have no exposure to RAD. The only other things you'll need to do are: Add a Java -> classpath variable in your settings to "M2_REPO" po

Re: Testing with JUnit 4

2006-04-18 Thread Wayne Fay
Well you should be able to run JUnit4 tests under JUnit3 (and thus Surefire) if you use the JUnit4TestAdapter approach... at least, I think you should. ;-) Wayne On 4/18/06, Tiago Fernandez <[EMAIL PROTECTED]> wrote: > Thanks again Wayne. > So all we can do is wait, but no problem :-) > > On 4/18

OutOfMemoryError causing build failure that doesn't occur from cmd line

2006-04-18 Thread SkipWalker
My multi-project builds a war and uses the tomcat:deploy plugin to deploy the war via the tomcat manager app into tomcat. The build works fine from the command line. However, when run by continuum, the build keeps throwing an OutOfMemoryError when trying to deploy the app. I've increased the

Re: Testing with JUnit 4

2006-04-18 Thread Tiago Fernandez
I could run my tests with JUnit4TestAdapter in Eclipse, but not with Maven. It ran only tests extending TestCase, perhaps I'm missing something... Tiago On 4/18/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > Well you should be able to run JUnit4 tests under JUnit3 (and thus > Surefire) if you use t

Bug #2050

2006-04-18 Thread cowwoc
Can someone please evaluate this issue? http://jira.codehaus.org/browse/MNG-2050 I tried taking a look at the source-code but I don't know which classloader is responsible. Thank you, Gili signature.asc Description: OpenPGP digital signature

RE: hibernate3-maven-plugin:hbm2java - Setup Problems

2006-04-18 Thread Roye, Suhneel BGI SF
Sweet! This is exactly what I was looking for. Thanks for getting the plugin updated so quickly. There is one other small enhancement that would be nice - the generated POJO's use capital letters to start variable names that represent associated entities (other variables are fine). It would be nic

Checking in-use compiler?

2006-04-18 Thread Gwyn
Hi, I'm running Maven2 on WinXP, with a JDK 1.5 system, but when I try & build some classes that use some 1.5 features, specifically MessageFormat.format(String, Object... ), then I get a "cannot find symbol" error on the compile. (The var-args is new in 1.5) Compiling via Ant or IntelliJ using

RE: Checking in-use compiler?

2006-04-18 Thread Roye, Suhneel BGI SF
Take a look at this link: http://maven.apache.org/plugins/maven-compiler-plugin/howto.html You have to explicitly specify that you want to compile with Java 1.5 -Original Message- From: Gwyn [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 18, 2006 10:06 AM To: users@maven.apache.org Subj

RE: hibernate3-maven-plugin:hbm2java - Setup Problems

2006-04-18 Thread Roye, Suhneel BGI SF
FYI, here's the stack trace that led me to believe that the hibernate3-maven-plugin requires Log4J: [INFO] [hibernate3:hbm2java] [INFO] [ERROR] FATAL ERROR [INFO] -

RE: Plugin repository issue

2006-04-18 Thread EJ Ciramella
>From Wayne Fay: I think the problem is that some of these Maven poms are defining new Repos which are added to the Repos list when they are added as dependencies. maven-help-plugin-2.0 has none defined but it specifies maven-plugin-parent-2.0 as a dependency which specifies snapsh

Re: OutOfMemoryError causing build failure that doesn't occur from cmd line

2006-04-18 Thread Emmanuel Venisse
maven builds are launch in an other jvm and not with continuum jvm. If you want to set jvm options for maven, you need to set MAVEN_OPTS env var. Emmanuel SkipWalker a écrit : My multi-project builds a war and uses the tomcat:deploy plugin to deploy the war via the tomcat manager app into tomc

Re: Modules and paths

2006-04-18 Thread ian . d . stewart
Relative paths are resolved relative to the current working directory. You can either use the system properties specified within the POM (e.g., {maven.war.warSourceDirectory}/WEB-INF/applicationContext-hibernate.xml) or use a classpath: url (e.g., classpath:applicationContext-hibernate.xml) HTH,

Re: Email Notifier Configuration

2006-04-18 Thread Emmanuel Venisse
It's fixed in 1.0.3 that will be release soon Emmanuel Xavier Frisaye a écrit : Hi everybody, I've configured mail notifier in our pom like this : continuum mail

Re: Email Notifier Configuration

2006-04-18 Thread Emmanuel Venisse
addresses are separated by ",", so in your case, it will be: continuum http://my.company.com:8080/continuum/ mail true [EMAIL PROTECTED],[EMAIL PROTECTED] mail true [EMAIL PROTECTED] Emmanuel And

Re: Email Notifier Configuration

2006-04-18 Thread Wayne Fay
Given that the Maven standard is moving from comma-separated values in a single XML element to multiple sub-elements under a single XML node ie: xyz lmnop qwerty It seems to make more sense to me that you follow that "standard". ;-) But having said that... email standards accept "[EMAIL PROTECT

Re: [M2] Is it possible to create an assembly w/o assembly.xml?

2006-04-18 Thread Gautham Pamu
Is this plugin multiple project aware. If I run the command from top level, it is doing assembly only for the top project but not for the children. Is there fix for this problem. Thanks Gautham Pamu On 4/8/06, Gautham Pamu <[EMAIL PROTECTED]> wrote: > > HiJakub, > > I tried this mvn assembly:asse

m2 is assemly plugin mulitple project aware

2006-04-18 Thread Gautham Pamu
Hi Everyone, Is assembly plugin multiple project aware ? I notice that is not running the goal on child projects when you run the goal on top level projects. -- -Gautham Pamu

Re: m2 is assemly plugin mulitple project aware

2006-04-18 Thread ian . d . stewart
As far as I can tell, it is not. Ian It's better to be hated for who you are than loved for who you are not Ian D. Stewart Appl Dev Analyst-Advisory, DCS Automation JPMorganChase Global Technology Infrastructure Phone: (614) 244-2564 Pager: (888) 260-0078

Re: Maven and WSAD or RAD

2006-04-18 Thread Gautham Pamu
Hi Justin, When you create the web project in rad, it add following variables to .classpath but mvn eclipse does not seem to add these variables.. is it possible to configure the eclipse plugin to add these variables.. Thanks Gautham Pamu On 4/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> w

Re: [m2] Aggregated Javadoc dependency problems

2006-04-18 Thread Wendy Smoak
On 4/18/06, Brett Porter <[EMAIL PROTECTED]> wrote: > This was reported recently by Jules. I intended to revisit it before > releasing the plugin. > > If it isn't in JIRA already, would you mid filing it? I didn't see it there, (but I also didn't see it mentioned in the archives!) so: http://jir

Use local settings with Maven

2006-04-18 Thread Carlos Henriquez
Hi all, I'm using Continuum with Maven 2.0.2 and I'm trying to use my local settings but I can't. There is no user folder for Continuum because it runs as a service. I don't want to use global settings (mavenDir/conf/settings.xml) but local settings. Something like ~/.m2/settings.xml I tried to r

RE: hibernate3-maven-plugin:hbm2java - Setup Problems

2006-04-18 Thread Johann Reyes
Hello Suhneel Hmm looks like you are talking about the namingstrategy in hibernate, that you can find about it here: http://www.hibernate.org/hib_docs/v3/api/org/hibernate/cfg/NamingStrategy.ht ml Also thanks for the stacktrace, I'll have a fun weekend trying to tackle this, lol. If you need mor

RE: Checking in-use compiler?

2006-04-18 Thread Gwyn
Roye, Suhneel BGI SF wrote: > > Take a look at this link: > http://maven.apache.org/plugins/maven-compiler-plugin/howto.html > > You have to explicitly specify that you want to compile with Java 1.5 > Hmm, so it appears... Thanks! /Gwyn -- View this message in context: http://www.nabble.co

RE: hibernate3-maven-plugin:hbm2java - Setup Problems

2006-04-18 Thread Gwyn
Hi, I'm no expert, but it looks to me as if the log4j connection is as a result of clogging. Whether it's as a result of implicit or explict config, I've no idea... /Gwyn -- View this message in context: http://www.nabble.com/hibernate3-maven-plugin%3Ahbm2java---Setup-Problems-t1463811.html#a3

RE: Help me about changes plugin

2006-04-18 Thread Vijay Shanker
I have my cvs repository in C:/viewcvsinstall/CVSROOT and it has test1 directory for my projects. I have defined following tag in my project's pom.xml but I get invalid scm tag error. scm:cvs|local|C:/viewcvsinstall/CVSROOT|test1/Project1 scm:cvs|local|C:/viewcvsinstall/CVSROOT|Pr

RE: Plugin repository issue

2006-04-18 Thread Mark Misurak
Thanks for the reply. Unfortunately, I do not believe this is the problem. I cleaned out my local repository, then ran mvn clean on my project. The same error appeared: [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'or

Re: Maven and WSAD or RAD

2006-04-18 Thread justin_fung
I think you've got a couple options here. You could define a new JRE System library in your workspace and switch to that for the project or you could manually install the necessary JARs using mvn install:install-file (see the maven site for docs) and then define these dependencies on your POM.

[ANN] Mevenide's Maven2 Netbeans integration 2.1 released

2006-04-18 Thread Milos Kleint
Hello, The Mevenide team is proud to announce an initial release of Mevenide2 Netbeans 2.1. It's IDE integration for Maven2 project management and build tool. It allows to open Maven2 projects in the IDE directly, helps with writing the Maven project files etc. Noteworthy in 2.1: - updated maven

Re: Use local settings with Maven

2006-04-18 Thread Emmanuel Venisse
1- Continuum can run as a service only with a real account 2- Continuum 1.0.2 doesn't load correctly settings because it use old maven api. This problem is fixed in 1.0.3 Emmanuel Carlos Henriquez a écrit : Hi all, I'm using Continuum with Maven 2.0.2 and I'm trying to use my local settings b

Re: Using maven to setup Eclipse plugin project

2006-04-18 Thread Hua
Hello K. Thank you for the reply. I need everyone in our team to run maven and setup the plugin project in Eclipse. I cannot expect them to change .classpath file manually. Does maven have a command "maven eclipse plugin" or something like that, so we can import the plugin project with its plugin

Re: Using maven to setup Eclipse plugin project

2006-04-18 Thread Kathryn Huxtable
Not that I know of. That's why I made the archetype. -K -- Kathryn Huxtable Middleware Architect Core Middleware Information Technology, a division of Information Services The University of Kansas On 4/18/06 2:22 PM, "Hua" <[EMAIL PROTECTED]> wrote: > > Hello K. > > Thank you for the reply. I

Re: Using maven to setup Eclipse plugin project

2006-04-18 Thread Mark Misurak
Yes, there's a Maven plugin called Eclipse. Run the default goal just once at the commandline, and your .classpath will be set for you. Just don't forget to set the MAVEN_REPO variable in your build path before you do so (Window -> Preferences -> Java -> Build Path -> Classpath Variables). If you'r

Re: Using maven to setup Eclipse plugin project

2006-04-18 Thread Kathryn Huxtable
But it doesn't do what one really wishes if one is using the M2Eclipse plugin in eclipse, which is to get the dependencies from the POM file. A fairly standard .classpath file using the M2Eclipse plugin would look something like: See the difference? I find

Re: Using maven to setup Eclipse plugin project

2006-04-18 Thread justin_fung
I'm not quite sure I follow. Between eclipse:eclipse, install:install-file, the maven dependencies plugin and the various options you have with the POM, I haevn't had a reason to code a custom eclipse plugin. Every one of my dependencies is managed inside the POM.xml file and I am using WSAD 5

Re: Using maven to setup Eclipse plugin project

2006-04-18 Thread Mark Misurak
Ah yes, I see what you mean - I use M2Eclipse as well, so I should have known that's what you meant. >>>[EMAIL PROTECTED] 04/18/06 2:46 pm >>> But it doesn't do what one really wishes if one is using the M2Eclipse plugin in eclipse, which is to get the dependencies from the POM file. A fairly st

Running Doxia from Subversion

2006-04-18 Thread Elliot Metsger
Hi Everyone, I'm on Linux, Java 1.4.2, Maven 2.0.4. It looks like there are some neat improvments being added to the Maven Site mojo [0]. I'm attempting to learn what elements can be placed into the site descriptor, and to puzzle out the behavior I am seeing with the element. To that end I've

RE: Email Notifier Configuration

2006-04-18 Thread Andreas Guther
Of course, that makes sense! A comma separated list of addresses is a valid email address! But how would I have guessed that? I guess I could have, but I did not :( Regarding Wayne's reply: I think the configuration should support the multiple address entry (list of addresses) as well, which

Re: Using maven to setup Eclipse plugin project

2006-04-18 Thread Kathryn Huxtable
I didn't code a custom Eclipse plugin. I am using the Eclipse plugin referenced on the maven.apache.org website. It allows you to treat your repository as a container with dependencies loaded from the pom.xml file. Using it, you do not have to run "mvn eclipse:eclipse" each time you make a depende

Mojo File array parameter and system properties

2006-04-18 Thread Beyer,Nathan
I'm building a Maven 2 Plugin (as a MOJO) and I have a parameter that's a java.io.File array and I'm trying to figure out how I would create an expression for passing this as a system property. Currently, the parameter is configured as follows. /** * * The list of report file paths

Re: Tomcat plugin

2006-04-18 Thread lsacco
I’m attempting to use your plug-in for deploying to Tomcat. It says it’s successful but I don’t see the application deployed in any way. Can you advise? My pertinent information: Tomcat 5.0.28 (note that I’m not trying to precompile JSP so this should be ok, no?) Maven 1.0.2 plugin version 1.2

best way to choose between development/production files

2006-04-18 Thread Janos Mucsi
Ray Thanks, I start to understand profiles. However, I would like to see how you would use a property that a profile sets to copy additional resources. Any sample pom.xml? Let's say my directory structure is like this: src main java resources devresources test .. I w

How to request: Creating custom notifiers

2006-04-18 Thread Ryan C. Payne
I have just began using Continuum on a new project and it has proven to be a very cool tool in our arsenal. At this point I am in the initial stages of creating our own specialized notifier. I was wondering if there is any documentation on creating custom notifiers? I am wondering about how the

[ANN] JAVAWUG BOF XVII / Friday 28th April 2006 @ 19:00 / Oracl e City of London

2006-04-18 Thread Peter Pilgrim
Dear All The JAVAWUG (Java Web User Group) has rescheduled the BOF XVIII (Number 17) from Thursday 20th April to now Friday 20th April 2006. The birds-of-feather will still take place at the same venue, Oracle's City of London office between 7-9:30 pm. The presentations are and the confirme

m2 How to add generated source to the compilation path from a new plugin

2006-04-18 Thread Gautham Pamu
Hi Everyone, I am new to maven plugin development. I developed a plugin which generates source code, how do i add the output directory of the generated code to the compilation path. Is there some annotation I need to set in the MOJO ? axistools-maven-plugin does generate code and adds to the comp

Re: m2 How to add generated source to the compilation path from a new plugin

2006-04-18 Thread dan tran
see build-helper-maven-plugin source. -D On 4/18/06, Gautham Pamu <[EMAIL PROTECTED]> wrote: > > Hi Everyone, > > I am new to maven plugin development. I developed a plugin which generates > source code, how do i add the output directory > of the generated code to the compilation path. Is there

Re: best way to choose between development/production files

2006-04-18 Thread Wayne Fay
Hi Janos, I believe the proper "Maven2 way" of doing this would be with a single set of files for all deployment environments with variable substitution using values derived from profiles. Then you issue "mvn package -P dev" and it uses the values from profile "dev" when filtering the property fi

Re: Mojo File array parameter and system properties

2006-04-18 Thread Wayne Fay
First off, I haven't done a lot of Maven plugin development, so take this with a grain of salt. I don't believe this error is simply due to the fact that you're trying to pass a string value into a File property. I think its also because your mojo is expecting an array of files. Other people have

Re: Mojo File array parameter and system properties

2006-04-18 Thread Rinku
I would get around this by having a Mojo property of type String and then pass comma-separated list to it - should work from both command line and pom.xml configuration. No doubt there is some boiler-plate involved to create a File array but a.t.m seems like the only work around IMHO. I'd be

unpack only a single dependency

2006-04-18 Thread andreas.ebbert-karroum
Hi, I trying to use the assemply:unpack mojo to extract sources from a dependency into the source directory. When I add the dependency in the main section of the pom it works, but then the unpack mojo also extracts all the other dependencies. And when I try to specify the dependency for the as

  1   2   >