Eclipse:eclipse additional configs

2008-07-18 Thread Balasubramanian, Ravi Shankar
Hi all, I am creating eclipse projects using the maven eclipse plugin. However, i need to add an additional linked resource to the project that the plugin creates. Is there a way to do this ? To be specific, i want the following to be added to all the eclipse projects that the plugin creates: (und

RE: Plugin version definition not taken into account in MVN 2.0.9?

2008-07-18 Thread Brian E. Fox
The plugin section should override the pluginManagement. More likely what was happening is in one of the other poms in your reactor, you have not specified a version. Maven 2.0.x uses the first version of a plugin it sees in a reactor across the whole build. -Original Message- From: Detel

Re: dependency plugin

2008-07-18 Thread Kathryn Huxtable
Use the assembly plugin instead. It's very customizable and can likely do what you want. -K On Jul 18, 2008, at 7:43 AM, Laura Lozano wrote: Hello, I'm using the dependency plugin in order to copy the dependencies from the repository to a target platform. The problem is that I need to cop

Re: How to execute a perl script from maven ?

2008-07-18 Thread Russ Tremain
At 2:59 PM +0200 7/18/08, nicolas de loof wrote: >Right, but this requires perl to be available on every developer system. > >I was looking for a pure java solution. But maybe there is no Java >interpreter for Perl... > porting perl to the java-vm is a task no one has taken on. maybe later. howev

Problem with Dependencies Report Generation

2008-07-18 Thread Dhruva Reddy
Hi, I am on a multi-module project with a large number of dependencies. I am trying to run the "site:site" goal in Maven 2.0.8. When it gets to the Dependencies report, it appears to process all of the dependencies, but then it seems to connect to each of our specified repositories several times

Re: Plugin FSMC+? statecharts to nusmv

2008-07-18 Thread Elisabeth Wolf
Mr Tiella replied and he's working to get it online soon, probably next week. In the meanwhile, we may take a look at a draft version of the documentation he has uploaded at http://ed.fbk.eu/fsmcp/1.5-SNAPSHOT/ especially at sections 'getting started' and 'user manual'. Best regards, Elisab

Re: newbie question - creating web projects

2008-07-18 Thread Wayne Fay
Best practices with Maven would suggest that you not embed the Java files in the Web project. Rather, you should create a standard jar project, put the Java files there, and then put a in the Web project so that Jar file is brought in when the War is created. Alternatively, you can simply create

Re: [mojo-dev] [ANN] jdepend-maven-plugin 2.0-beta-2 released

2008-07-18 Thread Kalle Korhonen
Superb job David, congrats and thanks! Kalle PS. To reply to one of the remarks in JIRA, codehaus release repo is automatically synched with repo1.maven.org. On Fri, Jul 18, 2008 at 5:02 AM, david vicente <[EMAIL PROTECTED]> wrote: > The Mojo team is pleased to announce the release of JDepend

Re: Child site.xml insists on inheriting the parent's site.xml

2008-07-18 Thread Dennis Lundberg
This sounds a lot like one of the bugs that was fixed in version 2.0-beta-7 of Maven Site Plugin. Make sure you are using that version of the plugin. Ed Hillmann wrote: Can someone please tell me what I am doing wrong. I've read that menu items, by default, do not get inherited. I'm using Ma

Re: scope "Optional"

2008-07-18 Thread Wendy Smoak
On Fri, Jul 18, 2008 at 8:21 AM, Thomas Darbois <[EMAIL PROTECTED]> wrote: > I'm having some trouble with the scope Optional and the plugin maven > dependency plugin. > > I'm having a dependency to an artefact which scope is optional. Optional isn't a scope, it's a separate element: true. http:

scope "Optional"

2008-07-18 Thread Thomas Darbois
I'm having some trouble with the scope Optional and the plugin maven dependency plugin. I'm having a dependency to an artefact which scope is optional. I had to choose this scope because I can't see any other scope that was doing what I wanted : a dependency that I absolutely need during genera

A question about configuring in "project.xml" by using maven1

2008-07-18 Thread thomas2004
I use maven1. The dependency code in my "project.xml" looks as follow: ... ... commons-logging commons-logging 1.0.4 jar ... ... And the repository structure looks as

Re: A question about maven site and the created JavaDocs

2008-07-18 Thread thomas2004
great, many thanks! Stefan Seidel wrote: > > erm, maybe you should look here: http://java.sun.com/j2se/javadoc/ > > Stefan > > thomas2004 wrote: >> Hi Marco, >> >> You are right. But where can I find information about the order of such >> parameter settings? I use Eclipse. After I type the

newbie question - creating web projects

2008-07-18 Thread snakelocks
When I create a web project using: mvn archetype:create \ -DarchetypeGroupId=org.apache.maven.archetypes \ -DarchetypeArtifactId=maven-archetype-webapp \ -DgroupId=com.mycompany.app \ -DartifactId=my-webapp I do not get the src/main/java folder created. But I do get this created

Re: wanna deploy jar here, sources there, etc.

2008-07-18 Thread Geoffrey Wiseman
On Fri, Jul 18, 2008 at 9:54 AM, Max Bowsher <[EMAIL PROTECTED]> wrote: > Maven simply isn't designed to work in such a fashion. I can't think of > any POM configuration that will make this work. > Not hard to imagine an automated process to move auto-deployed artifacts from a temporary holding r

how to use JBoss SystemPropertiesServiceMBean in a Maven build?

2008-07-18 Thread torsten . reinhard
Hi, JBoss has a class SystemPropertiesServiceMBean, located in server\default\lib\properties-plugin.jar. I couldn´t find this jar in any repo, even not at http://repository.jboss.com/maven2/org/jboss/ I know i could deploy it myself to our repository by mvn deploy:deploy-file - but i like mor

Re: wanna deploy jar here, sources there, etc.

2008-07-18 Thread Max Bowsher
Lorenzo Bigagli wrote: > Dear all, > > our policy requires different artifacts (jars, sources, javadocs, etc.) > to be deployed to possibly different repos. > I guess this is possible through deploy:deploy-file, but I would > actually like to encode such policy in profiles, so that everything is >

Re: Deploy a site generated by mvn site with FTP

2008-07-18 Thread Stefan Seidel
Hi, ftp should work. If not, look through the issues in JIRA[0]. Stefan [0] http://jira.codehaus.org Alexandre Touret wrote: Hello is there a way to deploy a website generated with mvn site by FTP ? According to the documentation I only saw file & scp. Do you know an other way ? thanks in a

Deploy a site generated by mvn site with FTP

2008-07-18 Thread Alexandre Touret
Hello is there a way to deploy a website generated with mvn site by FTP ? According to the documentation I only saw file & scp. Do you know an other way ? thanks in advance for your help regards, Alexandre -- View this message in context: http://www.nabble.com/Deploy-a-site-generated-by-mvn-

Re: wanna deploy jar here, sources there, etc.

2008-07-18 Thread Lorenzo Bigagli
Mmmm, this solution would deploy all the artifacts to the same repository (the one that is "active" at the moment). I'd actually need to deploy the various _classes_ of artifacts (sources, javadoc, etc.) to different repositories... Thanks for the moment, L Giancarlo Degani ha scritto: Maybe

Re: How to execute a perl script from maven ?

2008-07-18 Thread nicolas de loof
Right, but this requires perl to be available on every developer system. I was looking for a pure java solution. But maybe there is no Java interpreter for Perl... 2008/7/18 Siegfried Goeschl <[EMAIL PROTECTED]>: > Hi Nicolas, > > have you seen http://mojo.codehaus.org/exec-maven-plugin/exec-m

Re: How to execute a perl script from maven ?

2008-07-18 Thread Siegfried Goeschl
Hi Nicolas, have you seen http://mojo.codehaus.org/exec-maven-plugin/exec-mojo.html ?! Cheers, Siegfried Goeschl nicolas de loof wrote: Hello, My build process must use a legacy and complex perl script to process some conf files. Is there any plugin to support such use case ? Migrating the p

Re: A question about maven site and the created JavaDocs

2008-07-18 Thread Stefan Seidel
erm, maybe you should look here: http://java.sun.com/j2se/javadoc/ Stefan thomas2004 wrote: Hi Marco, You are right. But where can I find information about the order of such parameter settings? I use Eclipse. After I type the @ and Ctrl-space, I get a context menu with a list of paramaters suc

dependency plugin

2008-07-18 Thread Laura Lozano
Hello, I'm using the dependency plugin in order to copy the dependencies from the repository to a target platform. The problem is that I need to copy also some artifacts that are not dependencies and using copy I have to specify the version, this is not very useful becasuse when the version change

Re: A question about maven site and the created JavaDocs

2008-07-18 Thread thomas2004
Hi Marco, You are right. But where can I find information about the order of such parameter settings? I use Eclipse. After I type the @ and Ctrl-space, I get a context menu with a list of paramaters such as @reture, @see etc. I wonder there should be something like @comments. Regards Thomas

Re: simple zip/tar packaging

2008-07-18 Thread Stefan Seidel
Henri Gomez wrote: Hi to all, I'd like to package some files (no code just html/css/images) into a tar.gz or zip file. What's the consensus, solution for this ? The status is not clear from what I could see in http://jira.codehaus.org/browse/MNG-1683 Wow, what a discussion. Why not use the mav

How to execute a perl script from maven ?

2008-07-18 Thread nicolas de loof
Hello, My build process must use a legacy and complex perl script to process some conf files. Is there any plugin to support such use case ? Migrating the perl script to another language is not an option as it is allready very complex ... Nicolas

[ANN] jdepend-maven-plugin 2.0-beta-2 released

2008-07-18 Thread david vicente
The Mojo team is pleased to announce the release of JDepend Maven Plugin, version 2.0-beta-2. http://mojo.codehaus.org/jdepend-maven-plugin/ Release Notes - MOJO - JDepend - Version 2.0-beta-2 ** Bug * [MOJO-613

Re: wanna deploy jar here, sources there, etc.

2008-07-18 Thread Giancarlo Degani
Maybe you can try with a specific profile for each type of artifact/repository. Something like this : 4.0.0 com.mycompany multirepo jar 1.0-SNAPSHOT multirepo archiva.internal Internal Release Repository ...

Re: A question about maven site and the created JavaDocs

2008-07-18 Thread Marco Huber
Hi Thomas, I think you don't use the javadoc correctly. You comment must be followed by the @param tags: /** * My comments: This function sets ... * * @param i Percentage */ See also http://java.sun.com/j2se/javadoc/writingdoccomments/ Regards Marco thomas2004 wrote: A class looks as fo

simple zip/tar packaging

2008-07-18 Thread Henri Gomez
Hi to all, I'd like to package some files (no code just html/css/images) into a tar.gz or zip file. What's the consensus, solution for this ? The status is not clear from what I could see in http://jira.codehaus.org/browse/MNG-1683 Regards --

A question about maven site and the created JavaDocs

2008-07-18 Thread thomas2004
A class looks as follow: /** * * @author Thomas * */ public class PriceIncrease { /** Logger for this class and subclasses */ protected final Log logger = LogFactory.getLog(getClass()); private int percentage; /** * * @param i Per

Re: Antwort: How to set/configure the maven.repo.local?

2008-07-18 Thread thomas2004
Good to know. Many thanks! :-) torsten.reinhard wrote: > > you can pass -Dmaven.repo.local=. > > That´s very usefull too, if you have a Continuous Build system running, > where each build should work on its own "local repository". > > Torsten > > > > > thomas2004 <[EMAIL PROTECTED]>

How to invoke the MVN Release plugin for multiple modules

2008-07-18 Thread hungryandrestless
I have got a project structure in which I have a number of child modules being built from the top level pom and the default goal is install I was wondering how does the release plugin supposed to work, should I add the release plugin to the top level pom and just call the release:perform in this

How to generate a *complete* JUnit report using Maven?

2008-07-18 Thread Vincent Thévenin
Hello, I am using Maven 2.0.9. In my project, there are JUnits executed during the test phase. It produces files under a surefire-reports directory. For each test, there is a text file (from the surefire plugin) and an XML file (outputed by JUnit). My question is about the test report. The s

wanna deploy jar here, sources there, etc.

2008-07-18 Thread Ing. Lorenzo Bigagli
Dear all, our policy requires different artifacts (jars, sources, javadocs, etc.) to be deployed to possibly different repos. I guess this is possible through deploy:deploy-file, but I would actually like to encode such policy in profiles, so that everything is more streamlined and easy for th

Strange plugin version resolution

2008-07-18 Thread Yordanov, Detelin
> Hi, > We noticed some strange behaviour when switching to Maven 2.0.9. The > background is: > > We have a patch for maven-javadoc-plugin that we applied internally > and built a new version - 2.4.1 (while wating for the official 2.5 > release with our patch applied). > The 2.4.1 version is de

Strange plugin version resolution

2008-07-18 Thread Yordanov, Detelin
Hi, We noticed some strange behaviour when switching to Maven 2.0.9. The background is: We have a patch for maven-javadoc-plugin that we applied internally and built a new version - 2.4.1 (while wating for the official 2.5 release with our patch applied). The 2.4.1 version is deployed to our in

Plugin version definition not taken into account in MVN 2.0.9?

2008-07-18 Thread Detelin Yordanov
Hi, We noticed some strange behaviour when switching to Maven 2.0.9. The background is: We have a patch for maven-javadoc-plugin that we applied internally and built a new version - 2.4.1 (while wating for the official 2.5 release with our patch applied). The 2.4.1 version is deployed to our int

JAR and WAR packaging

2008-07-18 Thread Ilya Ermolov
Hello, I have the following problem. My web-project have a great number of subprojects which have complex dependencies with each other. I want pack all .class files in JAR and then pack my web-app in WAR file. But how to do it having the only pom.xml? -- View this message in context: http://www