HELP with directories

2006-09-15 Thread Rodriguez, Victor
Guys, I need to deploy these two directories into the deployment target directory: src\main\scripts\linux src\main\scripts\windows These two directories should be in target\linux and target\windows. I tried writing my own assembly descriptor, but with no luck. Any suggestions? Thanks in

RE: Uploading to a local repository

2006-09-15 Thread hermod.opstvedt
Hi What I mean by my user, is that what I upload (deploy task) ends up in a directory under my useraccounts home directory on the remote (repository) machine instead of in the Maven 2 repository. Do we need to create a common user that has as it's home directory the Maven repository? I

How to fix artifact extension in multi-module project

2006-09-15 Thread Clement Escoffier
Hello, I have a maven plugin packaging a project as a OSGi bundle. The plugin works when calling on a single project, but sometimes in multi-module project the installed artifact has a wrong extension (osgi-bundle instead of jar). The problem occurs when I have different module packaged

Re: HELP with directories

2006-09-15 Thread dan tran
maven-antrun-plugin? -D On 9/14/06, Rodriguez, Victor [EMAIL PROTECTED] wrote: Guys, I need to deploy these two directories into the deployment target directory: src\main\scripts\linux src\main\scripts\windows These two directories should be in target\linux and target\windows. I tried

Re: section

2006-09-15 Thread deng_ching
Hi, Markus, were you able to get what Franz was saying about the relationship between the MavenArchiveConfiguration javadoc and archive configuration (for the jar plugin)? From the provided example in the Jar Plugin docs, specifically

Re: section

2006-09-15 Thread Markus KARG
Yes, I already got it. :-) deng_ching schrieb: Hi, Markus, were you able to get what Franz was saying about the relationship between the MavenArchiveConfiguration javadoc and archive configuration (for the jar plugin)? From the provided example in the Jar Plugin docs, specifically

Re: surefire and hibernate+spring

2006-09-15 Thread Guillaume Bilodeau
Problem solved. Solution is described here: http://jroller.com/page/gbilodeau/?anchor=of_running_jpa_unit_tests1. Guillaume Bilodeau wrote: I am experiencing a similar problem when using entity beans in the form of annotated classes: the tests run fine under Eclipse but fail under Maven

RE: Uploading to a local repository

2006-09-15 Thread hermod.opstvedt
Hi Figured it out: You need to add 2 forward slashes after scp:. So it is scp://host[:port]/. Hermod -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, September 15, 2006 8:10 AM To: users@maven.apache.org Subject: RE: Uploading to a local

Need some help about m2, eclipse and inter-modules dependencies

2006-09-15 Thread christophe blin
Hi, ATM, I've the following classical strucutre project |-pom.xml |-module1 | |-pom.xml | |-src |-module2 | |-pom.xml | |-src the code in module2 relies heavily on code from module1, so in the module2/pom.xml there is a dependency declaration : dependency groupIdcom.tennaxia.t3/groupId

Re: Need some help about m2, eclipse and inter-modules dependencies

2006-09-15 Thread Nick Stolwijk
Try a maven eclipse:eclipse command in your root directory of the project. It will create project files for module1 and module2 in such a way, that the eclipse projects are depended on each other, instead of that module2 is depended on module1.jar file. You don't have to do mvn install but you

Running surefire-report goal as part of maven test goal

2006-09-15 Thread Manish Shah
Hi, We're maven newbies and would like to configure our surefire-report:report goal so that it always runs as part of the test goal. This would mean we wouldn't have to manually run it when a test failed. Here's the except from our pom: plugin groupIdorg.apache.maven.plugins/groupId

Maven changes plugin and jira report

2006-09-15 Thread hermod.opstvedt
Hi I am trying to get the maven changes-plugin to generate a jira report, but it always comes out empty. I have configured the issueManagement and have also added the jira-report to the reports section of the maven-changes-plugin. When I run mvn site I see that it downloads the correct url

J2EE Client Application JAR is not detected as J2EE module

2006-09-15 Thread Markus KARG
I am using the EAR packaging to let Mvn2 create an .ear file plus automatically create an application.xml inside of it. It detects all my EJB modules, but it doesn't detect that one of the included JARs is not a utility JAR but in fact a J2EE Client Application JAR. Maybe the packaging type I

Re: J2EE Client Application JAR is not detected as J2EE module

2006-09-15 Thread Stephane Nicoll
you mean ejb-client? Your dependency should be 'ejb-client' not 'jar'. Anyhow, if you want a jar to be included in the application.xml, just configure the plugin acccordingly (includeInApplicationXml) [1] Cheers, Stéphane [1] http://maven.apache.org/plugins/maven-ear-plugin/howto.html On

Re: Need some help about m2, eclipse and inter-modules dependencies

2006-09-15 Thread christophe blin
thanks it works but I can not use the m2 plugin [1] to handle the dependencies anymore (buildpath conflict). This is no big deal as I do not modify my pom file every day. I am going to fill a bug report for enhancement on the m2 plugin. Thanks for the help chris [1]

Re: J2EE Client Application JAR is not detected as J2EE module

2006-09-15 Thread Markus KARG
No I do not mean ejb-client but J2EE Client Application: What you mean is a JAR containing the interfaces of the EJBs, but what I mean is a standalone (Swing) application that is to be run inside of a J2EE Client Container. I have seen that EJB-JARs are enlistet in the EAR's application.xml

RE: From multiple source folders pr. project to one

2006-09-15 Thread Adrian Shum
normally have something like parentProj/ parentProj/part1 parentProj/part2 parentProj/part3 parentProj/part4 parentProj have a POM containing the 4 modules and in POM of each module, defines its dependency there e.g. in part4, add dependency to make it depends on part1, part2, part3 so when u

Re: From multiple source folders pr. project to one

2006-09-15 Thread Ståle Undheim
How do I then i part2 define a dependency on part1? Is it possible to inherit the version from the parentProj to the part1 and part2 projects so I dont have to synchronize it on all levels? Adrian Shum wrote: normally have something like parentProj/ parentProj/part1 parentProj/part2

RE: From multiple source folders pr. project to one

2006-09-15 Thread Adrian Shum
Such kind of dependency is nothing different from dependencies u normally see. I suggest u have a look in the maven guides, and Better Builds with Maven book. Look at section of multi-module project and u can get the answer of questions u just asked, including version number inheritence.

Re: Company-wide Maven repo

2006-09-15 Thread Aleksei Valikov
Hi. it depends on Your needs... Thanks for the response! Needs are simple. We are a small company with ~20 developers. Different people do different projects. Projects often depend on each other. Currently we have no central repo for our firma. Therefor if my project depends on 10 other

[m2] Creating site docs on multi-module project

2006-09-15 Thread Orford, Ian
Hi all, This may well be a newbie question. I've got a parent directory/pom which has sub-modules. I haven't created a src/site/site.xml file - I'm hoping the defaults will be good enough for a first attempt. Question 1 - I don't get an index.html. In the sub-modules, the generated site works

Re: [m2] Creating site docs on multi-module project

2006-09-15 Thread Geoffrey De Smet
Orford, Ian wrote, On 2006-09-15 2:16 PM: Hi all, This may well be a newbie question. I've got a parent directory/pom which has sub-modules. I haven't created a src/site/site.xml file - I'm hoping the defaults will be good enough for a first attempt. Question 1 - I don't get an index.html.

Locally Patched Maven War Plugin

2006-09-15 Thread jp4
I have patched the Maven War Plugin locally and installed it into my local repository with mvn install. I bumped the version from 2.0.1 to 2.0.2. It works fine when installed in the local repository, but when I upload to the development repository, other developers can't seem to get it to work.

Re: filtering web.xml with profile properties

2006-09-15 Thread ertnutler
it works fine when i use a filter file, but i want to use properties defined in profiles. the resources plugin uses them appropriately. any idea when the war plugin will do the same? -- View this message in context:

Re: filtering web.xml with profile properties

2006-09-15 Thread ertnutler
strange. i got it to work by changing the resource directory from ${basedir}/src/main/webapp/WEB-INF to ${basedir}/src/main/webapp. i can't explain why it doesn't work for WEB-INF... -- View this message in context:

RE: [m2] Creating site docs on multi-module project

2006-09-15 Thread Orford, Ian
That's great, thanks... 1. I like the idea of configuring maven-info-reports-plugin. At the moment, I've just added the bits suggested in http://maven.apache.org/plugins/maven-project-info-reports-plugin/howto.html . It generates all 7 bits. I cant see any documentation about how to generate the

RE: [m2] Creating site docs on multi-module project

2006-09-15 Thread Orford, Ian
OK, I found the index and summary components of the info-report plugin. So that's ok. I guess the main documentation is out of date. Still puzzled about scp tho. Ian -Original Message- From: Orford, Ian [mailto:[EMAIL PROTECTED] Sent: 15 September 2006 14:51 To: 'Maven Users List'

Re: J2EE Client Application JAR is not detected as J2EE module

2006-09-15 Thread Wayne Fay
If the current release of the EAR plugin does not support the functionality you desire, you have a few options: 1. Complain about missing functionality on the Maven User list. 2. File a JIRA Enhancement report and hope someone looks at your issue and decides it is worth spending some time to

Re: [m2] Creating site docs on multi-module project

2006-09-15 Thread Geoffrey De Smet
4 places with docs on that: - the free m2 book from mergere.com - site plugin docs - mini guide docs on maven.apache.org - In spring-rich-c.sf.net we're using maven 2 to generate and deploy the website to SF (trhough scp or ssh). Just take a look at the parent's pom distributionManagement

Building not all subprojects

2006-09-15 Thread Roberto de Castro
Hi there! I'll configure my project to be built by Maven2. There are 5 subprojects in my main project, but, sometimes there is modifications in only one module, so It is not necessary to build all subprojects again. What can I do NOT to build all subprojects of my main projects? Best regards,

Re: J2EE Client Application JAR is not detected as J2EE module

2006-09-15 Thread Alexander Sack
I'm pretty sure the J2EE client application descriptor you speak of is a BEA only primitive and not generic enough to be included in the EAR plugin (please correct me if I'm wrong, I don't remember ever seeing this in the J2EE spec). With that said a light bult has sort of went off and perhaps

test resource problem

2006-09-15 Thread gulhan
Hi all, I am using maven1.0.2 to run my projects unit tests'. The src/java which contains my source classes has a folder that keeps the resource files and the test classes use this directory. I have tried to add this directory as resource in project.xml file but it does not see this directory

RE: [m2] Creating site docs on multi-module project

2006-09-15 Thread Tom Hurley
OK, I found the index and summary components of the info-report plugin. So that's ok. I guess the main documentation is out of date. Where did you find this? Tom. -Original Message- From: Orford, Ian [mailto:[EMAIL PROTECTED] Sent: 15 September 2006 14:51 To: 'Maven Users List'

Re: Building not all subprojects

2006-09-15 Thread dan tran
Maven itself is not smart enought to do that yet. But Continuum can do that for you automatically. If a source of a sub project change, Continuum will build all projects that depend on the change project as well. -D On 9/15/06, Roberto de Castro [EMAIL PROTECTED] wrote: Hi there! I'll

Need help resolving deployment issues

2006-09-15 Thread Mykel Alvis
The following elements of my situation are completely non-negotiable: 1. over 200 developers, some internal to the enterprise and some outside the enterprise network and allowed access only to DMZ hosts 2. Maven was chosen as the build system (hence my presence here), and Subversion as the SCM

maven-jdepend-plugin for M2 ?

2006-09-15 Thread Sharma, Jaikumar
Dear. Where can I find working maven-jdepend-plugin for M2, I found one under the following URL : http://www.ibiblio.org/maven2/maven/maven-jdepend-plugin/ but version 1.4 1.5 - throwing NPE during execution of this plugin from reporting section in pom.xml. Can somebody please

Re: Need help resolving deployment issues

2006-09-15 Thread Tamás Cservenák
Hi, Proximity's WebDAV adapter is just finished in SVN last night :) IF you deploy from Maven only (will not mount it as a volume in windows, since current implementation have some M$ related issues due to buggy namespace handling of webfolders...) -- it should work. Altough i'm going for

filesets

2006-09-15 Thread Morgovsky, Alexander \(US - Glen Mills\)
I am using org.apache.commons.io.filefilter.* to try to return the directories which have the src subdirectories in them, or effectively, to return what the **/src expression in Ant would do. However, it is not working, and I spent over 6 hours on this, so I would please apprciate any help given,

Interesting news on a Maven bundle for Spring

2006-09-15 Thread Alexandre Poitras
http://blog.interface21.com/main/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: maven-jdepend-plugin for M2 ?

2006-09-15 Thread Alexandre Poitras
http://mojo.codehaus.org/jdepend-maven-plugin/usage.html On 9/15/06, Sharma, Jaikumar [EMAIL PROTECTED] wrote: Dear. Where can I find working maven-jdepend-plugin for M2, I found one under the following URL : http://www.ibiblio.org/maven2/maven/maven-jdepend-plugin/ but version 1.4

Re: Building not all subprojects

2006-09-15 Thread Roberto de Castro
Hi, Dan, but I don't want to use continuos integration in my project. I would like to control when to build the subprojects. Maven1 is able to build whatever project exits in a directory below the main project. i. e., main project triggers subprojects only if they were download to local directory

Re: Eclipse target directory

2006-09-15 Thread Michael Schlotfeldt
Does anybody know if eclipse supports different classpaths for each source directory? You can have multiple source directories with different build destinations but can each source also have a list of different dependencies? I am pretty certain there is no support in the interface but have

Re: Building not all subprojects

2006-09-15 Thread dan tran
Remove unwanted modules out of pom temporarily? -D On 9/15/06, Roberto de Castro [EMAIL PROTECTED] wrote: Hi, Dan, but I don't want to use continuos integration in my project. I would like to control when to build the subprojects. Maven1 is able to build whatever project exits in a

Re: Building not all subprojects

2006-09-15 Thread Roberto de Castro
How can I do this dinamycally? I mean, sometimes I need to build different modules. That is, suppose there are modules A, B and C in my project. Sometimes, I need to build modules A and B, and in another day I need to build module A only. In fact, I need to build the modules that have, at least,

Re: Maven changes plugin and jira report

2006-09-15 Thread Dennis Lundberg
[EMAIL PROTECTED] wrote: Hi I am trying to get the maven changes-plugin to generate a jira report, but it always comes out empty. I have configured the issueManagement and have also added the jira-report to the reports section of the maven-changes-plugin. When I run mvn site I see that it

Re: Interesting news on a Maven bundle for Spring

2006-09-15 Thread Wayne Fay
Good stuff, thanks for the pointer Alexandre. I would have missed it otherwise... Wayne On 9/15/06, Alexandre Poitras [EMAIL PROTECTED] wrote: http://blog.interface21.com/main/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For

How do I change the default goal in Continuum

2006-09-15 Thread Thomas Boyles
Greetings. We'd like to change the global default goal for Maven 2.0 projects. I don't see this as a param in the application.xml. Any help would be appreciated. Thomas BoylesProduction / Release EngineerMobile - 415.624.7496Home - 415.738.8733

Re: Modified WAR Plugin

2006-09-15 Thread Max Cooper
I think we found that maven just used the plugin from our tree. I tested this by adding silly debug statements in one of the Java files from the plugin. But that might only be true if you are building the whole project tree, as opposed to just building a war module. Hmmm... I don't think we

Re: Building not all subprojects

2006-09-15 Thread dan tran
configure maven profile to do that http://maven.apache.org/guides/introduction/introduction-to-profiles.html -D On 9/15/06, Roberto de Castro [EMAIL PROTECTED] wrote: How can I do this dinamycally? I mean, sometimes I need to build different modules. That is, suppose there are modules A, B

using third party ant tasks in maven)

2006-09-15 Thread rampage
i'm having trouble with maven's classpath i know it's dependencies are loaded from $MAVEN_HOME/lib... but that seems to be about all I've tried to load resources from new jars in that dir, with no success specifically, I'm trying to do an xmlns:axis=antlib:org.apache.axis... or an ant:taskdef

RE: [m2] Creating site docs on multi-module project

2006-09-15 Thread Tom Hurley
Ian: OK, I found the index and summary components of the info-report plugin. So that's ok. I guess the main documentation is out of date. Can you share where you found this information? I've just arrived at this problem and would also just like to access the default generated site for now.

Re: test resource problem

2006-09-15 Thread manoj kaushik
hi you can try this: unitTestSourceDirectorysrc/test/unitTestSourceDirectory !-- Unit test classes -- unitTest includes include**/Test*.java/include /includes /unitTest On 9/15/06, gulhan [EMAIL PROTECTED] wrote: Hi all, I am using maven1.0.2 to run my projects

[m2] JUnit and eclipse

2006-09-15 Thread Grant
Hi, I've been using Maven through the Mergere plug-in for eclipse, but I'm wondering how others are working with JUnit tests. When I get a test failure, I get output like this: [ERROR] mojo-execute : surefire:test Diagnosis: There are test failures. FATAL ERROR: Error executing Maven

[m2] JUnit and eclipse

2006-09-15 Thread Grant
Hi, I've been using Maven through the Mergere plug-in for eclipse, but I'm wondering how others are working with JUnit tests. When I get a test failure, I get output like this: [ERROR] mojo-execute : surefire:test Diagnosis: There are test failures. FATAL ERROR: Error executing Maven

Re: J2EE Client Application JAR is not detected as J2EE module

2006-09-15 Thread Markus KARG
Alexander, please read J2EE 1.4 specification: The J2EE Client Application Descriptor is a mandatory part of J2EE 1.4. It is no BEA invention. Quoted from Java(tm) 2 Platform Enterprise Edition Specification, v1.4 chapter 9.7 J2EE Application Client XML Schema: J2EE.9.7 J2EE Application Client