Re: How to add projects with modules????

2007-07-12 Thread Napoleon Esmundo C. Ramirez
Can you provide us with more details? Like snippets of your pom.xml, output, etc. As I see, there are 3 levels of projects you have there. In what level did you put your SCM section? Please verify that you have it in the topmost pom.xml and the hierarchy of projects are declared appropriately

Re: How to add projects with modules????

2007-07-12 Thread Napoleon Esmundo C. Ramirez
Oh I forgot to tell you that adding the topmost pom.xml will add all of it's submodules recursively. On 7/10/07, javijava [EMAIL PROTECTED] wrote: is it Trunk or trunk ? trunk -- View this message in context:

Re: System time problem in Solaris 10 environment (Ant + Continuum)

2007-07-12 Thread Otto Kolsi
LAMY Olivier wrote: Can you attached your simple ant file to http://jira.codehaus.org/browse/CONTINUUM-723 ? Just attached the Ant build file to that ticket. -- Otto

RE: System time problem in Solaris 10 environment (Ant + Continuum)

2007-07-12 Thread LAMY Olivier
Thanks. Concerning your trouble adding a ant to default group and impossible to see it after. It has been solved with CONTINUUM-1340 -- Olivier -Message d'origine- De : Otto Kolsi [mailto:[EMAIL PROTECTED] Envoyé : jeudi 12 juillet 2007 09:42 À : continuum-users@maven.apache.org Objet

Re: How to add projects with modules????

2007-07-12 Thread javijava
first, thans for reply Napoleon. I use the continuum version stable. I put other example of structure more easy: (if this woks then i try after the 3 levels structure :p) repo | | |all-pom.xml //the superpom | | |---proyectA | |---

Re: Maven Build Problem - XFire

2007-07-12 Thread MPF
Hi! Now i added following dependencies: but some packages missed: javax.xml.bin.annotation does not exist org.codehaus.xfire.jaxb2 does not exist my webservice use XFire 1.2.6 If you wrong understood: the webservice work (i can combile it and make a war file), the problem ist the

Failed to validate POM warning

2007-07-12 Thread Joel COSTIGLIOLA \(Services DPT SYSTEME D INFORMATION METIER\)
Hi, One of my project (ObjetTrouveService) depends on another project of mine (SapiensCommonsCore). When building ObjetTrouveService I have a warning telling me that SapiensCommonsCore pom is not valid. Here's the trace : [INFO] Scanning for projects... [INFO]

Jar truncated on download

2007-07-12 Thread kelvin goodson
Hi, I'm seeing a situation where a jar is downloaded and the maven build output shows the correct size file being downloaded, but the file in the local repo at the end of the build is truncated. The build fails on missing symbols, and jar -tvf on the file fails with an exception of the file

RE: Jar truncated on download

2007-07-12 Thread Vaishali.Pande
Check for your proxy settings if you are working on a restricted network. There might be some runtime dependencies which are not getting downloaded meanwhile you are downloading the artifact; which results in the reduced size of the downloaded jar file. thanks,

How to use webdac under maven1 to deploy artifacts

2007-07-12 Thread Piotr Oktaba
Hi. I want to deploy artifacts to WebDAV based repository. I cannot find any plugin under Maven 1 that provides such functionality. Is there any way to achieve that? I know that one of Maven 2 plugins have that functionality, but I have to use Maven 1. Thanks in advance, Piotr Oktaba

RE: Failed to validate POM warning

2007-07-12 Thread Vaishali.Pande
Hi, There can be two reasons for the scenario: 1. If you are working with the global repo; then your specific (SapiensCommonsCore) dependencies which might not be found by the POM (ObjetTrouveService). So you can provide a relative path for the same in your ObjetTrouveService POM file.

Re: How to use webdac under maven1 to deploy artifacts

2007-07-12 Thread Lukas Theussl
It's never been implemented: http://jira.codehaus.org/browse/MPARTIFACT-16 -Lukas Piotr Oktaba wrote: Hi. I want to deploy artifacts to WebDAV based repository. I cannot find any plugin under Maven 1 that provides such functionality. Is there any way to achieve that? I know that one of

How to make a multimodules site

2007-07-12 Thread Sylvain Mazaleyrat
Hello, When I build the site of my project, I have several site in each module/target and my top site isn't connected with each module. I don't know how to put each site module in the parent site. Thanks in advance, -- Sylvain Mazaleyrat

RE: Failed to validate POM warning

2007-07-12 Thread Joel COSTIGLIOLA \(Services DPT SYSTEME D INFORMATION METIER\)
ObjetTrouveService is refering to SapiensCommonsCore, SapiensCommonsCore artifact is in my local repo. I had already executed mvn install command for SapiensCommonsCore project, is that what you meant by doing a manual install ? anyway executing mvn install on SapiensCommonsCore has not

Re: How to use webdac under maven1 to deploy artifacts

2007-07-12 Thread Arnaud HERITIER
The main problem is that we have to downgrade the httpclient to version 2.0.2 in the core :-( The wagon-webdav and its libraries doesn't work with httpclient 3.x arnaud On 12/07/07, Lukas Theussl [EMAIL PROTECTED] wrote: It's never been implemented:

Re: How to make a multimodules site

2007-07-12 Thread maarten roosendaal
Haven;t figured that one out either but when you deploy the site (for example c:\mysite) it works fine. You have to add the deplomentManagement tags to your pom.xml - Original Message From: Sylvain Mazaleyrat [EMAIL PROTECTED] To: users@maven.apache.org Sent: Thursday, July 12, 2007

Re: How to add projects with modules????

2007-07-12 Thread Emmanuel Venisse
javijava a écrit : first, thans for reply Napoleon. I use the continuum version stable. If it's 1.0.3, I'm not sure it works fine with ../ in module path You can try 1.1-alpha-2, a first beta will be release in few days. and alpha-2 is stable too. Emmanuel I put other example of

Problems with Release plugin 2.0-beta-6

2007-07-12 Thread Reinhard Nägele
Hi, The latest beta (2.0-beta-6) of the Release plugin caused different problem here, so we went back to using 2.0-beta-5, which works fine. Problem 1: We use Java 5 including features such as generics etc. In our super pom, the compile plugin is configured to use 1.5 source and target.

Re: Maven Build Problem - XFire

2007-07-12 Thread Siegfried Goeschl
Hi Markus, I use the following dependencies for my xfire client !-- xfire dependencies -- dependency groupIdorg.codehaus.xfire/groupId artifactIdxfire-aegis/artifactId version1.2.6/version /dependency dependency groupIdorg.codehaus.xfire/groupId

Re: m2] OT checkstyle verse Jalopy sun standards checks...

2007-07-12 Thread Dennis Lundberg
Yes, that's what I would do. The extra (non-sun code convetions) checks that Checkstyle has are good, so following them is something that should be encouraged. It would be nice if someone could contribute a jalopy configuration file, to the Jalopy project, that matches Checkstyle's rules.

Re: m2] OT checkstyle verse Jalopy sun standards checks...

2007-07-12 Thread Dennis Lundberg
Mick Knutson wrote: It sounds like I should just get Jalopy to follow Checkstyle though Right? On 7/11/07, Dennis Lundberg [EMAIL PROTECTED] wrote: The sun_checks.xml provided by Checkstyle actually goes further than the Sun Coding Conventions. It also has rules from the Java Language

Re: XML parser versions

2007-07-12 Thread Chris Searle
On 3. jul. 2007, at 22.16, Bryan Loofbourrow wrote: Sorry for the late reply - a little hectic with a new son in the house :) I'm assuming that you have your preferred version of xerces listed in a dependencyManagement section of your root pom.xml. That's a good thing, Not that I am

Re: How to make a multimodules site

2007-07-12 Thread Sylvain Mazaleyrat
It's work fine when you have just one module. When I do : $ mvn site $ mvn site:deploy I have several directories : myproject-parent/$VERSION/MySite myproject-webapp/$VERSION/MySite myproject-core/$VERSION/MySite I just want to have : myproject/$PARENT-VERSION/MyparentSite/webbappSite etc

[M2]skip parent

2007-07-12 Thread Rémy Sanlaville
Hi, I wonder if it is possible in a multimodules project to skip the execution just for the parent. For instance, if you have 2 modules and you declare the maven-antrun-plugin configuration in the your parent pom : project ... modules modulemodule1/module

Re: [M2]skip parent

2007-07-12 Thread Wendy Smoak
On 7/12/07, Rémy Sanlaville [EMAIL PROTECTED] wrote: It's fine with a such simple example. But if you use for instance weblogic ant tasks, it's a problem. The build failed because it can't deploy a war package at the parent level. So, It would be very nice to can skip the execution at the

Re: [M2]skip parent

2007-07-12 Thread Tim Kettler
Hi, you should split the common configuration (parent pom) and the project aggregation (modules/ tag) in two separate poms: myproject | |-myproject-parent |-module1 |-module2 You then would have all three modules declared in the top level pom and module1 and module2 would have

Compilation Error

2007-07-12 Thread mirayma.rodriguez
Hi: I have a problem when trying to compile a project with maven. The project was compiling fine until it started to give compilation errors that some third party classes were not found even though the necessary jars were in the repository. Is not a code error because I can compile the same

Re: Compilation Error

2007-07-12 Thread Wayne Fay
Post the specific errors and perhaps we'll have some ideas. Also, are you using Maven1 or Maven2? Wayne On 7/12/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi: I have a problem when trying to compile a project with maven. The project was compiling fine until it started to give

Re: Failed to validate POM warning

2007-07-12 Thread Steven Rowe
Hi Joël, Have you tried using the -X option to mvn? It might give more details on the problem. I checked your SapiensCommonsCore POM against maven-4.0.0.xsd, and it appears to be valid, but you don't have a groupId there - are you expecting to inherit it from the parent? It might also be

Re: m2] Exclude Test files from Maven Jalopy?

2007-07-12 Thread Mick Knutson
Can you tell me how to exclude files from Jalopy? This did not work: configuration conventionjalopy.xml/convention failOnErrortrue/failOnError includes include**/*.java/include

Re: m2] Exclude Test files from Maven Jalopy?

2007-07-12 Thread Dennis Lundberg
According to the docs [1], that's the way to do it. [1] http://www.triemax.com/products/jalopy/manual/plugin-maven.html Mick Knutson wrote: Can you tell me how to exclude files from Jalopy? This did not work: configuration conventionjalopy.xml/convention

Re: m2] Exclude Test files from Maven Jalopy?

2007-07-12 Thread Mick Knutson
That is for the Trimax plugin, not the codehaus one... On 7/12/07, Dennis Lundberg [EMAIL PROTECTED] wrote: According to the docs [1], that's the way to do it. [1] http://www.triemax.com/products/jalopy/manual/plugin-maven.html Mick Knutson wrote: Can you tell me how to exclude files from

Where is the recommended location of the settings.xml

2007-07-12 Thread Franck Smith
Hi, I would like to customize the settings.xml for all my projects in order to put the settings to access to our remote repository where is the recommended location to put this settings.xml ? The team contains 10 developers. Indeed there are 3 locations - In the ${maven_home}/conf of every

Doing maven install without recompiling sources

2007-07-12 Thread Pachol, Benjamin
I have a component I built with some custom java files and used maven. I was wondering if there is a way to get maven to just use the .class files and not recompile the .java source files when doing a maven install command? Thanks Ben Pachol Consultant 276-889-7527 SW VA, CGI-AMS

Re: m2] Exclude Test files from Maven Jalopy?

2007-07-12 Thread Dennis Lundberg
OK, how about this page then: http://mojo.codehaus.org/jalopy-maven-plugin/howto.html Mick Knutson wrote: That is for the Trimax plugin, not the codehaus one... On 7/12/07, Dennis Lundberg [EMAIL PROTECTED] wrote: According to the docs [1], that's the way to do it. [1]

RE: Where is the recommended location of the settings.xml

2007-07-12 Thread Siegmann Daniel, NY
Our developers share a single Maven installation, which is located in our code repository (CVS). This allows settings.xml to be easily shared (in ${maven_home}/conf), and updates to be easily distributed. It's worked well so far, so that's my recommendation. -- Daniel Siegmann FJA-US, Inc. 512

questions about using different config files, such as persistence.xml in maven configs

2007-07-12 Thread Ryan Moquin
Hi, I know that in order to use different configuration files (such as a persistence.xml), such as test configurations vs. production configurations I need to setup profiles to allow these different files to be used. What is the preferred way to indicate to maven how to find a configuration file

How can i add clover report generation into maven and have the ability to turn on/off?

2007-07-12 Thread Baz
All, How can i add clover report generation into maven and have the ability to turn on/off? Meaning, after implementation, when running mvn install, it will not run clover unless doing something like mvn install -Dclover=true? What is the recommended way to do it? Thanks. A.

Maven Native C Compile to generate .a files Question

2007-07-12 Thread MinQ
As you know, when I compile a code which is written in C, so .C file, through maven, there are two output files(.lib and .obj) generated in the target folder. Since I thought it would be very nice if i could generate .a file when I compiled in the same way, automatically through the

Re: Maven Native C Compile to generate .a files Question

2007-07-12 Thread Dan Tran
mvn native:compile produces the .a file in on step http://svn.codehaus.org/mojo/trunk/mojo/maven-native/native-maven-plugin/src/it/linkages/solaris/libSubFuncStatic/ -D On 7/12/07, MinQ [EMAIL PROTECTED] wrote: As you know, when I compile a code which is written in C, so .C file, through

Maven site plugin Doxia issue ..

2007-07-12 Thread Giovanni Azua
Hi all, I have spent quite a bit trying to have doxia installed and running. Basically I need couple of features only available with doxia: 1-. Ability to customize my index.html to something like e.g. maven 2 site does using the index.xml.vm velocity template. 2-. Use the snippet macro

problem with archetype

2007-07-12 Thread Erik Weibust
I'm trying to use a simple archetype command and getting an unexpected error. When I run: mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp -DarchetypeArtifactId=maven-archetype-webapp I get the error listed below. I don't understand why I would get an error message asking

Add Maven ear properties file to war manifest classpath

2007-07-12 Thread Timothy Reilly
I am trying to add an additional classpath element to the manifest created by the war plugin. Is it possible to do this? I see how to add a manifest entry and I see how to specify the war classpath should be generated, but how to get this: Manifest-Version: 1.0 Class-Path:

Re: Maven site plugin Doxia issue ..

2007-07-12 Thread Vincent Siveton
Hi, You need to install it from svn: http://svn.apache.org/viewvc/velocity/site/tools/velocity-site-doxia-renderer/ Ask [EMAIL PROTECTED] to provide it on the Apache Snapshot Repository. Cheers, Vincent 2007/7/12, Giovanni Azua [EMAIL PROTECTED]: Hi all, I have spent quite a bit trying to

Maven checkstyle plugin - how to get working?

2007-07-12 Thread Si_Simon
When running the checkstyle plugin I get out of memory errors: --- Embedded error: Error rendering Maven report: Exit code: 1 - c:\home\roge se6\presence-util\src\main\java\com\presence\util\PtUtils.java:6: warning Sun proprietary API and may be removed in a future release import

FYI: potential issue using enforcer:enforce-once

2007-07-12 Thread Brian E. Fox
Hi all, I helped debug an issue today that is indirectly caused by the new enforcer release. You can see here for details: http://jira.codehaus.org/browse/MENFORCER-11 The workaround is very simple, only use the enforcer:enforce goal. The aggregator part that is added by enforce-once is known

Installer Scripts Best Practice

2007-07-12 Thread Rodrigo Madera
Hello all, I was wondering if anyone has a suggestion on the best practice to execute post-build scripts, such as copying output files to a template directory for installer generation. Right now I'm using a shell script to do the copying and calling my installer-generating scripts, but I'm sure

Eclipse Plugin WTP 2.0

2007-07-12 Thread paulgrove
Does the Eclipse plugin support WTP 2.0? -- View this message in context: http://www.nabble.com/Eclipse-Plugin-WTP-2.0-tf4072295s177.html#a11573356 Sent from the Maven - Users mailing list archive at Nabble.com. - To

Appending date and time to packaged artifact name?

2007-07-12 Thread Paul G
How can I easily add the date and time to a package artifact name, I use the finalName to change the packaged name but is the and easy way to get a handle onto the date and time? -- View this message in context:

Re: Eclipse Plugin WTP 2.0

2007-07-12 Thread Arnaud HERITIER
No, not yet. http://jira.codehaus.org/browse/MECLIPSE-264 But I suppose that if you create a WTP 1.5 config for your project, WTP will ask you to convert it ? (it can be a temporary solution) If someone knows what was changed in a WTP 2.0 config, you can tell us in the issue, that will help us to

Re: Doing maven install without recompiling sources

2007-07-12 Thread Tim Kettler
Hi, if the recompilation is really an issue for you 'mvn jar:jar install:install' should do what you want. -Tim Pachol, Benjamin schrieb: I have a component I built with some custom java files and used maven. I was wondering if there is a way to get maven to just use the .class files and