Re: Depend on other files?

2006-11-09 Thread Dan Tran
you can deploy the xml file have other project to use it as dependency. see build-helper-maven-plugin for deployment. -D On 11/8/06, jiangshachina [EMAIL PROTECTED] wrote: Hi, I have known that a project can depend on artifacts. The artifact can be pom or jar, and ear project can depend on

How to configure ArchiveManager

2006-11-09 Thread Stefano Nichele
Hi All, from assembly plugin home page : Currently it can create distributions in the following formats: * zip * tar.gz * tar.bz2 * jar * dir * war * and any other format that the ArchiveManager has been configured for My question is, how to configure the ArchiveManager ?

maven-ejb-plugin : take too long

2006-11-09 Thread Dmystery
The maven-ejb-plugin when asked to addclasspath takes abnormal long time to complete. plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId version2.1-SNAPSHOT/version configuration !-- This takes a lot of time -- archive

Re: Too many jars added to lib?

2006-11-09 Thread Wayne Fay
You can certainly do whatever you want to your local repo, including moving artifacts to a new groupId and modifying the pom.xml files to suit your needs. Changing the groupId is not entirely uncommon -- sometimes you need to build a release of your own project but depend on a SNAPSHOT, and

Re: [m2] eclipse:eclipse and checkstyle nature

2006-11-09 Thread Nicolas DE LOOF
I think Barrie would like the .eclipse to be created by the Eclipse (or Checkstyle ?) plugin according to the project checkstyle configuration. Nico. Rolf Strijdhorst a écrit : what do you need the .checkstyle file for. I mean eclipse finds it on its own. as soon as you include de builder

Re: maven-ejb-plugin : take too long

2006-11-09 Thread Wayne Fay
Run mvn -X -e ... and perhaps you'll see what's going on differently in the console when you add the addClasspath setting. Wayne On 11/9/06, Dmystery [EMAIL PROTECTED] wrote: The maven-ejb-plugin when asked to addclasspath takes abnormal long time to complete. plugin

Passing Maven Variable as a system property to the tests

2006-11-09 Thread Binil Thomas
Hi all, The Surefire plugin documentation (http://maven.apache.org/plugins/maven-surefire-plugin/examples/system-properties.html) mentions: [snip] Take note that String valued properties can only be passed as system properties. Any attempt to pass any other maven variable type (i.e. List or a

Re: Puzzles on Standard Directory Structure?

2006-11-09 Thread jiangshachina
Hello, I may have known the goal of src/main/assembly(assembly descriptor files used by maven-assembly-plugin). Now I want to ask what files should be put at src/main/conf? It seems that the folder would include configuration files, but which configuration files? To src/main/java, Maven just

Re: maven-ejb-plugin : take too long

2006-11-09 Thread Dmystery
Nothing that i see in particular. [DEBUG] adding entry META-INF/maven/proj/proj-server-ejb/pom.xml [DEBUG] adding entry META-INF/maven/proj/proj-server-ejb/pom.properties Big pause ( 1) [DEBUG] adding entry

Re: maven-ejb-plugin : take too long

2006-11-09 Thread Wayne Fay
Sounds like you'll need to debug the Maven process to see what's causing the pause, then. Wayne On 11/9/06, Dmystery [EMAIL PROTECTED] wrote: Nothing that i see in particular. [DEBUG] adding entry

Re: Too many jars added to lib?

2006-11-09 Thread jiangshachina
Dear Wayne, You can certainly do whatever you want to your local repo, including moving artifacts to a new groupId and modifying the pom.xml files to suit your needs. I also think I have the free :D Changing the groupId is not entirely uncommon -- sometimes you need to build a release of

Re: [M2] move resource files

2006-11-09 Thread aXXa
...some more info... The reason why I want to move the file 'fenix-servlet.xml' (a Spring bean definition file) from src/main/resources to WEB-INF: When running tests Spring cannot seem to find the 'fenix-servlet.xml' file when it resides in the WEB-INF folder

Re: [M2] move resource files

2006-11-09 Thread Konstantin Polyzois
You can configure Spring to find it in WEB-INF/classes instead by using the following in your web.xml: context-param param-namecontextConfigLocation/param-name param-value/WEB-INF/classes/fenix-servlet.xml/param-value /context-param listener listener-class

Re: Depend on other files?

2006-11-09 Thread jiangshachina
Hi Dan, Thanks for your help. see build-helper-maven-plugin for deployment. I get the plugin at http://mojo.codehaus.org/build-helper-maven-plugin/index.html Unfortunately, I don't understand why the plugin can help me. In my mind, the plugin just add extra source directories to one project.

RE: dependency plugin

2006-11-09 Thread Sebastien Brunot
In fact I've already have a pom that describes the dependencies, as they are shared by many modules. Using artifactItems on this pom with unpack-dependencies will help me, except that I don't want the transitive dependencies from the pom dependencies to be copied... Can I use some sorts of

Re: Aspectj compilation?

2006-11-09 Thread Dmystery
Not sure about that, but i'm using the 'aspectj-maven-plugin'. plugin groupIdorg.codehaus.mojo/groupId artifactIdaspectj-maven-plugin/artifactId configuration ajdtBuildDefFileajbuild.properties/ajdtBuildDefFile aspectLibraries aspectLibrary

PMD-plugin doesn't verify automatically

2006-11-09 Thread Stefan Hübner
Hi all, I've just started to use the PMD- (2.1), Cobertura- (2.0), and Checkstyle-Plugins (2.1) to verify some metrics on our internal projects. One strange thing with all these plugins though is, that despite of their documentation states, they would be invoked automatically during the

Resource filtering using environment variables

2006-11-09 Thread Gareth Tilley
Hi All, Gunther Popp-2 wrote: - All (platform-specific) Environment variables (Just add the prefix env. For example ${env.M2_HOME} returns the Maven2 installation path). Has anyone actually been able to get this working? All of the filtering works fine for me, but the environment

Re: how to debug bundled dependencies?

2006-11-09 Thread Mark Hobson
On 08/11/06, Wayne Fay [EMAIL PROTECTED] wrote: Unfortunately it sounds like you're going to need to grok that 10k mvn -X debug command to find out why those extra dependencies are getting pulled in. Or wait for my MPH-14 patch that depends on MNG-2654 - makes the dependency tree slightly

Re: dependency plugin

2006-11-09 Thread Dan Tran
artifactItem does not support transitive dependencies. so no need for exclusion. But you need to specify every item. -D On 11/9/06, Sebastien Brunot [EMAIL PROTECTED] wrote: In fact I've already have a pom that describes the dependencies, as they are shared by many modules. Using

Re: Depend on other files?

2006-11-09 Thread Dan Tran
the plugin also allows you to attach arbitrary artifact to maven to be deployed. - On 11/9/06, jiangshachina [EMAIL PROTECTED] wrote: Hi Dan, Thanks for your help. see build-helper-maven-plugin for deployment. I get the plugin at

RE: dependency plugin

2006-11-09 Thread Sebastien Brunot
I think I didn't manage to express clearly my concern: I have a pom artifact that declare a list of (many) dependencies (let's name it the optimized-3dparties-dependencies pom). In another module (actually an EAR module), I want to pack the list of artifact declared in

Re: dependency plugin

2006-11-09 Thread Dan Tran
not possible. I have similar usecase and ended up to use artifactItems. Btw in artifactItem you dont need to define version, it will be looked in your dependency list. -D On 11/9/06, Sebastien Brunot [EMAIL PROTECTED] wrote: I think I didn't manage to express clearly my concern: I have a

Re: Passing Maven Variable as a system property to the tests

2006-11-09 Thread Dan Tran
${basedir}/target could be the work around -D On 11/9/06, Binil Thomas [EMAIL PROTECTED] wrote: Hi all, The Surefire plugin documentation ( http://maven.apache.org/plugins/maven-surefire-plugin/examples/system-properties.html ) mentions: [snip] Take note that String valued properties can

Re: How Do I Deploys The Sources To The Repository

2006-11-09 Thread Adam Hardy
[EMAIL PROTECTED] wrote: Adam Hardy [EMAIL PROTECTED] wrote on 11/08/2006 02:32:34 [EMAIL PROTECTED] wrote: mvn -DperformRelease=true deploy and you get both source and javadoc jars in the repository along with the main artifact. It also works with the install target. Very interesting. I

RE: [m2] XMLBeans Plugin

2006-11-09 Thread Peter . Pilgrim
-Original Message- From: Pilgrim, Peter ==== I written my solution as a blog instead (How to use Maven 2.0 XMLBeans Plug-in) http://jroller.com/page/peter_pilgrim?entry=how_to_use_maven_2 One thing I did not quite figure out for myself. Why would people want to use

Re: Newbie help needed with Eclipse project

2006-11-09 Thread Adam Hardy
Hi Rick, it depends which maven plugin you are talking about. m2eclipse I assume. Have you tried browsing their mailing list: http://www.nabble.com/Maven-Eclipse---User-f14525.html You can use a standard maven heirarchical directory layout, but eclipse will not allow you to create a project

Re: [M2] move resource files

2006-11-09 Thread aXXa
Konstantin, Brilliant! it works excellent when I added the init-param tag pointing out where to find the bean definition file in my servlet tag. Thanks! Konstantin Polyzois wrote: You can configure Spring to find it in WEB-INF/classes instead by using the following in your web.xml:

Re: Executin a plugin goal from another plugin

2006-11-09 Thread Mikko
Hi Any ideas how the following could be accomplished? br, Mikko Mikko wrote: Hi, What I'm getting at is that I have a multimodule build and that I would like to use the assembly plugin to assemble it and once I have the whole binary in one jar file I need to preverify it and sometimes

Re: Unable to lookup ....pssForceAdminUserInterceptor ... plexus misconfiguration

2006-11-09 Thread Frank Kunemann
Hi, just ran into the same problem. Made a clean install from svn, made everything mentioned on the getting started site to get archiva to work with tomcat. All I get is this error message and I think the following exception is causing it: Component Composition failed. No field of name:

RE: Maven 2, Eclipse WTP

2006-11-09 Thread hermod.opstvedt
Hi Sorry, I am using a newer version that obviously supports 1.5 (At least it does not complain when I specify that parameter). Use 1.0 instead then with your version. Hermod -Original Message- From: Daniel Serodio [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 07, 2006 2:47 PM To:

Re: Mirror of Maven

2006-11-09 Thread FTP Manager
Thanks for you replay. Shortly we'll start the mirror process. Best regards. Carlos Sanchez wrote: The central repository requires around 10 GB and growing, and it's updated every 4 hours. You can mirror the central repository using rsync with rsync -v -t -l -r ftp.ibiblio.org::maven2

javadoc plugin failures and recent behaviour change

2006-11-09 Thread kelvin goodson
I have a build failure that's happening when creating javadoc and it seems to be due to a change in the javadoc plugin behaviour. Here is a mvn execution log that exhibits the problem https://svn.apache.org/repos/asf/incubator/tuscany/sandbox/kgoodson/javadocProblems/fresh.log Here are the

Exception while registering Interceptor class pssForceAdminUserInterceptor

2006-11-09 Thread Erik Ruisma
Hello, I've followed the archiva installation instruction as described on: http://maven.apache.org/archiva/guides/getting-started/index.html However I keep getting the same errors over and over. The first problem I encountered was when running plexus.bat (I'm on Windows XP), which resulted in:

Re: [M2] move resource files

2006-11-09 Thread Konstantin Polyzois
I hade the same problem a week ago :-) On 11/9/06, aXXa [EMAIL PROTECTED] wrote: Konstantin, Brilliant! it works excellent when I added the init-param tag pointing out where to find the bean definition file in my servlet tag. Thanks! Konstantin Polyzois wrote: You can configure

Newbie question

2006-11-09 Thread Gianfranco Oldani
Hi, I am trying to build a web application using Spring and Hibernate. All goes find except that my jsp pages and all the *.hbm.xml are not copied in the target war. The directory structure is the standard one for a web app as advised by maven book. Thanks for help. Gianfranco OLDANI

Re: Newbie question

2006-11-09 Thread Valerio Schiavoni
your jsp pages should be in src/main/webapp/WEB-INF/jsp and your hbm.xml in src/main/resources given that you're using that directory layout, can you post your pom.xml ? On 11/9/06, Gianfranco Oldani [EMAIL PROTECTED] wrote: Hi, I am trying to build a web application using Spring and

maven-clover-plugin excludes problem

2006-11-09 Thread Van Niekerk, Ida
Hi there, I am using the maven clover plugin 2.3 and am trying to exclude files from instrumentation. My package structure is the following : src\main\java\za\co\fnb\ssc\dynabob\atm\somepackage\page\*.java. I don't want the page package to be instrumented, so have added the following

Creating MavenProject within plugin

2006-11-09 Thread Jonas Olsson
Hi! This could be a no-no, but can I create a MavenProject object from a POM (other than the one executed) within my plugin? I've traversed the JavaDocs, but there is no obvious way (all methods require arguments I cannot provide, e.g. ProfileManager). /jonas

EJB JAR Manifest

2006-11-09 Thread Sebastien Brunot
Hi all, how can one specify a Class-Path: entry in the manifest of an EJB jar ? Thanks for your help, Sebastien

RE: EJB JAR Manifest

2006-11-09 Thread Sebastien Brunot
Maybe I'm facing a bug similar to http://jira.codehaus.org/browse/PLX-158 ..., but with the EJB plugin ? Sebastien -Original Message- From: Sebastien Brunot [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 1:59 PM To: Maven Users List Subject: EJB JAR Manifest Hi all,

Re: Newbie question

2006-11-09 Thread Gianfranco Oldani
Hi Valerio, Thanks for the advise. The hbm.xml are now copied ok. But the jsp aren't even if I put the jsp directory under WEB-INF. Attached my pom. Thanks for your help Gianfranco OLDANI Original Message Follows From: Valerio Schiavoni [EMAIL PROTECTED] Reply-To: Maven Users List

Re: maven-clover-plugin excludes problem

2006-11-09 Thread Jeff Mutonho
On 11/9/06, Van Niekerk, Ida [EMAIL PROTECTED] wrote: Hi there, I am using the maven clover plugin 2.3 and am trying to exclude files from instrumentation. My package structure is the following : src\main\java\za\co\fnb\ssc\dynabob\atm\somepackage\page\*.java. I don't want the page

RE: maven-clover-plugin excludes problem

2006-11-09 Thread Van Niekerk, Ida
Thanks so much for your response. I have four projects and a pom.xml in each. So it will be something like c:\Somefolder\DynabobATM\pom.xml. Where DynabobATM is one of my projects. -Original Message- From: Jeff Mutonho [mailto:[EMAIL PROTECTED] Sent: 09 November 2006 03:09 PM To: Maven

RE: EJB JAR Manifest

2006-11-09 Thread Jörg Schaible
Sebastien Brunot wrote on Thursday, November 09, 2006 1:59 PM: Hi all, how can one specify a Class-Path: entry in the manifest of an EJB jar ? You have to configure it: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-ejb-plugin/artifactId

Re: maven-clover-plugin excludes problem

2006-11-09 Thread Jeff Mutonho
On 11/9/06, Van Niekerk, Ida [EMAIL PROTECTED] wrote: Thanks so much for your response. I have four projects and a pom.xml in each. So it will be something like c:\Somefolder\DynabobATM\pom.xml. Where DynabobATM is one of my projects. I meant relative to

Re: [maven2] CruiseControl surfire reports

2006-11-09 Thread Alex Schwartz
Hello Prasad, thanks for your answer and the complete list of references covering the dashboard problem. I am working with an m2-base build system of a product with 120+ maven projects. Hence the current lack of a dashboard is a big issue. I appreciate any approach to realize a dashboard

Re: [maven2] CruiseControl surfire reports

2006-11-09 Thread Daniel Kulp
On Tuesday November 07 2006 9:08 am, Alex Schwartz wrote: Hi, I am running a maven2 build with CruiseControl (http://cruisecontrol.sourceforge.net/). Now I would like to configure maven2 such that the surefire XML test reports are collected for CruiseControl and displayed on the

Re: [maven2] CruiseControl surfire reports

2006-11-09 Thread Alex Schwartz
Hello everyone, I figured out a simple solution to display the surefire test results of a maven2 project in the CruiseControl build results page: The CruiseControl config contains an element merge which merges given test result XML files into the build result XML file. Configure the merge

RE: EJB JAR Manifest

2006-11-09 Thread Sebastien Brunot
Thanks for your help Jörg. Sebastien -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 2:20 PM To: Maven Users List Subject: RE: EJB JAR Manifest Sebastien Brunot wrote on Thursday, November 09, 2006 1:59 PM: Hi all, how can one

RE: maven-clover-plugin excludes problem

2006-11-09 Thread Van Niekerk, Ida
Sorry bout that :), it's at the same level as the src directory. -Original Message- From: Jeff Mutonho [mailto:[EMAIL PROTECTED] Sent: 09 November 2006 03:32 PM To: Maven Users List Subject: Re: maven-clover-plugin excludes problem On 11/9/06, Van Niekerk, Ida [EMAIL PROTECTED] wrote:

PMD Plugin error during mvn site

2006-11-09 Thread Gianfranco Oldani
Hi, Somebody can help me to fix that: Can't use JDK 1.5 for loop syntax when running in JDK 1.4 mode! I put in the plugin configuration section : targetjdk1.5/targetjdk but it's not enough. Thanks Gianfranco OLDANI _ Sentez

RE: EJB JAR Manifest

2006-11-09 Thread Sebastien Brunot
I also tried with: configuration generateClienttrue/generateClient archive manifest manifestFilepath/to/my/file/manifestFile /manifest /archive

Re: Newbie question

2006-11-09 Thread Manu
you should remove your sourceDirectory tag as it specifies only the java part. The default value should fit in you case. Hope this helps Manu 2006/11/9, Gianfranco Oldani [EMAIL PROTECTED]: Hi Valerio, Thanks for the advise. The hbm.xml are now copied ok. But the jsp aren't even if I put the

RE: EJB JAR Manifest

2006-11-09 Thread Sebastien Brunot
Ok, I've found the error (there should be no enclosing manifest tags around manifestFile). Sorry for the annoyance... Sebastien -Original Message- From: Sebastien Brunot [mailto:[EMAIL PROTECTED] Sent: Thursday, November 09, 2006 3:00 PM To: Maven Users List Subject: RE: EJB JAR

Pulling jars into local repository

2006-11-09 Thread Steinar Bang
I have a script now that picks a lot of OSGi bundles I've built myself from my local maven repository, and drops them into a directory together with the eclipse runtime (as proposed earlier on this list), that is used as the target location for eclipse plug-in development. Now I need to

RE: How Do I Deploys The Sources To The Repository

2006-11-09 Thread Yves Van Steen
Hey greg, It doesn't seem to work with the install goal. It generates the javadoc sources file but doesn't deploy it to the local repo. It does work with the deploy goal. Thx. -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Verzonden: dinsdag 7 november 2006

Re: [M1] QALab 0.9.1 and Maven plugin released

2006-11-09 Thread dvicente
could you join this effort = http://jira.codehaus.org/browse/MSITE-189 ? Thanks David Benoitx wrote: Paul Could you show us your POM that generates the XML for Cobertura? We're working on the M2 plugin for QALab... Thanks Benoit Benoitx wrote: Paul Can you post this on

Let Maven alter a config file

2006-11-09 Thread Deluigi Marcus
Hi I have Maven that has a dependency to Tomcat, i.e. retrieves Tomcat if it is not already installed. Unfortunately, I _must_ have some specific settings in the Tomcat configuration file (which is in XML). Is there any plugin that can check the files settings and alter it if necessary? Thanks

Re: Newbie help needed with Eclipse project

2006-11-09 Thread Marco Mistroni
Hi rick, try this link http://blogs.unixage.com/blojsom/blog/adam.kruszewski/eclipse/?permalink=Maven2-Eclipse-plugin-with-latest-WTP-from-callisto-update-site.html looks like an 'updated version' of maven2 plugin for eclipse... i m using it too.. even though i m running mvn from command line

Re: [M1] QALab 0.9.1 and Maven plugin released

2006-11-09 Thread Benoitx
Dear David, We really need to have 188 fixed... http://jira.codehaus.org/browse/MSITE-188 It is the last hurdle for QALab. I will keep an eye on 189 too but we cannot become too specific to Maven 2, QALab works accross ant, Maven 1 and now (in beta soon) Maven 2. I find QALab complementary to

RE: How Do I Deploys The Sources To The Repository

2006-11-09 Thread Yves Van Steen
-Oorspronkelijk bericht- Van: Yves Van Steen [mailto:[EMAIL PROTECTED] Verzonden: donderdag 9 november 2006 15:33 Aan: 'Maven Users List' Onderwerp: RE: How Do I Deploys The Sources To The Repository Hey greg, Sorry for this wrong information it does seem to work with the install

Re: [M1] QALab 0.9.1 and Maven plugin released

2006-11-09 Thread dvicente
Hi, I think that the idea is to choose a dashboard plugin (qalab for example) for maven 2 and all other developers help to improve it instead of to develop many plugins. If Qalab is the most advanced plugin, it can be choosen as dashboard reference for Maven 2. Benoitx wrote: Dear David,

Re: [M1] QALab 0.9.1 and Maven plugin released

2006-11-09 Thread dvicente
at this time, my only solution is to generate in 2 phases mvn clean site = to generate the site with all links mvn dashboard-report:dashboard = to generate again the dashboard with good and last values of other reports Benoitx wrote: Dear David, We really need to have 188 fixed...

RE: Too many jars added to lib?

2006-11-09 Thread Barrett Nuzum
Sha Wayne: I would propose that a better idea would be that once things have been installed in your local repository, to change your settings.xml to offlinetrue/offline. That way you have limited your local repository to a desired set of artifacts, but still can reconnect up or upgrade

Re: Too many jars added to lib?

2006-11-09 Thread Wayne Fay
I certainly am not using any custom local repo w/custom artifacts etc except in extremely rare cases, and I really don't think anyone else should either just because it will be a management nightmare IMO. Someone else posted some similar questions/problems about a month or so ago -- it seems

Re: Let Maven alter a config file

2006-11-09 Thread Wendy Smoak
On 11/9/06, Deluigi Marcus [EMAIL PROTECTED] wrote: I have Maven that has a dependency to Tomcat, i.e. retrieves Tomcat if it is not already installed. Unfortunately, I _must_ have some specific settings in the Tomcat configuration file (which is in XML). Is there any plugin that can check the

[OT][ANN] REMINDER: JAVAWUG BOF 23 / Skills Matter Sun London / 15 Sept 2006 @ 18:30 / Open Space Discussion

2006-11-09 Thread Peter . Pilgrim
Hi I would like to formally announce that ``JAVAWUG'' (Java Web User Group) is holding the Twenty Third Birds-of-Feather at the Skills Matter's London Office on Wednesday, 15th Novemeber 2006 from 18:30. +-+--+ | TWO QUESTIONS | Open

Re: Resource filtering using environment variables

2006-11-09 Thread Haroon Rafique
On Today at 2:08am, GT=Gareth Tilley [EMAIL PROTECTED] wrote: GT GT Hi All, GT GT Gunther Popp-2 wrote: GT - All (platform-specific) Environment variables (Just add the prefix GT env. For example ${env.M2_HOME} returns the Maven2 installation path). GT GT Has anyone actually been

Testing Mojos

2006-11-09 Thread Sebastien Brunot
Hi, does anyone have a good documentation starting point regarding unit testing and integration testing of mojos ? Thanks for your help, Sebastien

RE: Let Maven alter a config file

2006-11-09 Thread Deluigi Marcus
I have Maven that has a dependency to Tomcat, i.e. retrieves Tomcat if it is not already installed. Unfortunately, I _must_ have some specific settings in the Tomcat configuration file (which is in XML). Is there any plugin that can check the files settings and alter it if necessary?

Re: Let Maven alter a config file

2006-11-09 Thread Wayne Fay
You might have a better response to this question on the Cargo users mailing list... Wayne On 11/9/06, Deluigi Marcus [EMAIL PROTECTED] wrote: I have Maven that has a dependency to Tomcat, i.e. retrieves Tomcat if it is not already installed. Unfortunately, I _must_ have some specific

Re: Let Maven alter a config file

2006-11-09 Thread Wendy Smoak
On 11/9/06, Deluigi Marcus [EMAIL PROTECTED] wrote: Cargo seems to have the desired functionality, but I couldn't figure out how to use it. The documentation is very limited. Could someone provide an example? I'm not yet sure what you need an example of. :) Please come join us on the Cargo

RE: Testing Mojos

2006-11-09 Thread Barrett Nuzum
Sebastien: I don't think there is much mature info out there. Unit testing should be easy -- MOJOs are, after all, POJOs, so any unit testing strategy should work very well. If you want to have more in-depth testing, apparently the maven-plugin-testing-harness is designed to facilitate

Re: Resource filtering using environment variables

2006-11-09 Thread Haroon Rafique
On Today at 11:20am, HR=Haroon Rafique [EMAIL PROTECTED] wrote: HR [..snip..] HR Something like the following should work (not tested): import org.codehaus.plexus.util.cli.CommandLineUtils; HR filterProperties = new Properties(); HR HR // System properties HR

Re: Pulling jars into local repository

2006-11-09 Thread Tom Huybrechts
The maven dependency plugin is your friend: http://maven.apache.org/plugins/maven-dependency-plugin/resolve-mojo.html You can also use a different goal of the same plugin to copy them directly to the target location. Tom On 11/9/06, Steinar Bang [EMAIL PROTECTED] wrote: I have a script now

Re: Properties/Variables in pom?

2006-11-09 Thread Gunther Popp
Hi! AFAIK, this only works _within_ the POM itself (i.e. in the configuration section of plugins). I don´t know if it works for the file-filtering stuff. CU, Gunther Gareth Tilley schrieb: Hi All, Gunther Popp-2 wrote: - All (platform-specific) Environment variables (Just add the

Examples of using Spring with JUnit

2006-11-09 Thread Mick Knutson
I am wondering if anyone has some examples of calling a test Spring resource (test/resources/applicationContext.xml) from JUnit to run when Maven is running my Unit tests... -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson

Re: Examples of using Spring with JUnit

2006-11-09 Thread David Whitehurst
Mick: Take a look at the source for appfuse2 David On 11/9/06, Mick Knutson [EMAIL PROTECTED] wrote: I am wondering if anyone has some examples of calling a test Spring resource (test/resources/applicationContext.xml) from JUnit to run when Maven is running my Unit tests... -- Thanks DJ

Re: Examples of using Spring with JUnit

2006-11-09 Thread Greg_Vaughn
Mick Knutson [EMAIL PROTECTED] wrote on 11/09/2006 01:11:38 PM: I am wondering if anyone has some examples of calling a test Spring resource (test/resources/applicationContext.xml) from JUnit to run when Maven is running my Unit tests... It's been really straightforward for me. Use

Re: Examples of using Spring with JUnit

2006-11-09 Thread Mick Knutson
Which appfuse has the Maven integration? On 11/9/06, David Whitehurst [EMAIL PROTECTED] wrote: Mick: Take a look at the source for appfuse2 David On 11/9/06, Mick Knutson [EMAIL PROTECTED] wrote: I am wondering if anyone has some examples of calling a test Spring resource

JSP pre-compilation

2006-11-09 Thread Morgovsky, Alexander \(US - Glen Mills\)
I am trying to use jspc-maven-plugin to precompile my JSP pages. The issue is that it creates its own web.xml, which is then to be used by the maven-war-plugin. Here, I have my own web.xml, so how do I pass my own web.xml to jspc-maven-plugin, so that I can use the generated web.xml in the

Re: JSP pre-compilation

2006-11-09 Thread Mick Knutson
You basically use your own web.xml, but add a declaration as to where the jspc to add the CFG: ?xml version = '1.0' encoding = 'windows-1252'? web-app xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee

Example POM for WebLogic servicegen needed

2006-11-09 Thread Jeff Bailey
I need to create a WebService from a session bean using the WebLogic 8.1.4 servicegen ant task. Can anyone provide me a good example of a clean way to accomplish this in the POM? I'm successfully using the weblogic-maven-plugin to run appc, but the plugin does not yet support servicegen.

anyone using XDoclet with Maven to generate Mock's with EasyMock?

2006-11-09 Thread Mick Knutson
anyone using XDoclet with Maven to generate Mock's with EasyMock? -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson

[ANN] Proximity RC6 is out!

2006-11-09 Thread Tamás Cservenák
Hi, Proximity RC6 is out, with a lot of fixes and few new features. There are a lot of bugfix and major refactorings. The indexer is now completely dissected from Proximity bean, which serves the essentials only (repo aggregation and request routing), the Repositories are simplified too

Re: Assembling files

2006-11-09 Thread Arnaud Bailly
Anyone ? Maybe some explanations would help: Project layout: src/main/resources/File1: menuen til højre finder du en oversigt over de emner, vi har udgivet ${some.variable} håndbøger indenfor. Klik på emnet og se om der er nogle bøger, som har din interesse. Her kan du også bestille den

Aggregate site generation

2006-11-09 Thread Morgovsky, Alexander \(US - Glen Mills\)
I have a parent POM which has two modules. Module A's sites get deployed to host/A/. Module B's sites get deployed to host/B/. What do I need to do in the parent POM so that I can have these modules show up in the modules section of the parent pom so that they could be accessed? Thanks. This

Plugin Annotation to control Inheritance

2006-11-09 Thread Barrett Nuzum
Hi Maven mavens. OK -- my turn for a query. I've written a plugin. I do *not* want that plugin to be inherited by children poms. Our design is like this: ParentPom \-- ProjectPom \-- ModulePom (1..n) I want my plugin to be executed by the ProjectPom but not seen by the

Re: [m2] eclipse:eclipse and checkstyle nature

2006-11-09 Thread Barrie Treloar
On 11/9/06, Rolf Strijdhorst [EMAIL PROTECTED] wrote: what do you need the .checkstyle file for. I mean eclipse finds it on its own. as soon as you include de builder and the nature. The .checkstyle file does not exist. It is automatically created when you go into the preference pages and turn

Release Rollback

2006-11-09 Thread Daniel Murley
Hi All, Is it at all possible to rollback a release after calling release:perform? Thanks Daniel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Performing tasks before a goal

2006-11-09 Thread Paul Barry
That might work, but I think what I'd rather do is just create a one TestSuite that does the setup beforehand, then run the tests. I have noticed that maven seems to run the tests based on a naming convention, *Test.java gets run, but *Tests.java don't. Can I override this somehow? I'd like to

Re: Creating MavenProject within plugin

2006-11-09 Thread Maria Odea Ching
Hi Jonas, There's a MavenProjectStub class available in the maven-plugin-testing-harness if you're interested. But its basically used for plugin testing. I'm not sure if it would be useful for you, but you can take a look at it here:

Re: Performing tasks before a goal

2006-11-09 Thread Wendy Smoak
On 11/9/06, Paul Barry [EMAIL PROTECTED] wrote: That might work, but I think what I'd rather do is just create a one TestSuite that does the setup beforehand, then run the tests. Are you using JUnit? It sounds like a TestSetup class would be useful here. I have noticed that maven seems to

Trunk build does not run in either plexus or tomcat

2006-11-09 Thread Ryan, Scott D
I get the following stack trace when trying to access Archiva for the first time when pulling new code from the trunk. It looks like some sort of configuration I missed. Can someone point me to the file I need to configure? Thanks jvm 1| [INFO] The appserver server has started. jvm 1|

Re: Depend on other files?

2006-11-09 Thread jiangshachina
Hi dan, Thanks, I'll care the plugin. But its examples are very simple, the plugin would take me some time. a cup of Java, cheers! Sha Jiang dan tran wrote: the plugin also allows you to attach arbitrary artifact to maven to be deployed. - On 11/9/06, jiangshachina [EMAIL

Regular Plugin parameters are not working

2006-11-09 Thread Morgovsky, Alexander \(US - Glen Mills\)
I have a short pom.xml. project artifactIda/artifactId groupIdagroupId version1.0/version build plugins plugin artifactIdb/artifactId groupIdb/groupId

Re: Too many jars added to lib?

2006-11-09 Thread jiangshachina
Dear friends, I really don't want to miss the boat on Maven. If cut the connection between Maven and my local repository, I'll miss some benefits provided by Maven. For example, I want to use Apache commons-configuration as dependency. [1]I just re-install all jars simply, and don't enhance

Re: Too many jars added to lib?

2006-11-09 Thread Wendy Smoak
On 11/9/06, jiangshachina [EMAIL PROTECTED] wrote: Undoubtedly, Maven central repository is crucial. My question just be why so many unessential artifacts are added to pom? May there are some reasons I don't know. The usual case is that the project in question is not using Maven, so the

Re: Depend on other files?

2006-11-09 Thread Wayne Fay
Perhaps you can contribute your more complex configuration(s) back for inclusion in future documentation efforts, once you have figured it out and completed your project with the configuration you are looking for etc? Wayne On 11/9/06, jiangshachina [EMAIL PROTECTED] wrote: Hi dan, Thanks,

  1   2   >