Re: Problem with consecutive builds

2005-11-17 Thread Oscar Picasso
I have just installed 1.0.1 and have the same problem. The sent message as changed a little though: Build Error: Provider message: The

Re: Problem with consecutive builds

2005-11-17 Thread Emmanuel Venisse
it isn't a pb with continuum but with svn. This message come from subversion. Try to do a 'svn cleanup' in your working directory, this command will repair svn cache. Emmanuel Oscar Picasso a écrit : I have just installed 1.0.1 and have the same problem. The sent message as changed a

Re: Flat structure supported ?

2005-11-17 Thread Emmanuel Venisse
yes, it's supported, but you need to have your module accessible from parent pom url with relative path. if your parent pom url is http://server/path/rep1/parent/pom.xml and module name is ../mymodule then, http://server/path/rep1/mymodule/pom.xml must be a valid url Emmanuel Christian

m2 VSS access

2005-11-17 Thread Maruf Aytekin
Hello, I use VSS as SCM. any ideas how can I access VSS to fetch the source for a maven2 project?? Thanks, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: m2 VSS access

2005-11-17 Thread Emmanuel Venisse
it isn't possible actually. We don't have a VSS provider implementation in maven-scm, but you can perhaps help us to do it. Emmanuel Maruf Aytekin a écrit : Hello, I use VSS as SCM. any ideas how can I access VSS to fetch the source for a maven2 project?? Thanks,

RE : [m2] uniqueVersion=true with Maven One Plugin exits ?

2005-11-17 Thread Olivier Lamy
In which project ? There is not maven-one-plugin or sandbox in http://jira.codehaus.org/secure/Dashboard.jspa And the Issue Tracking doesn't display where : http://maven.apache.org/sandbox/issue-tracking.html - Olivier -Message d'origine- De : Brett Porter [mailto:[EMAIL PROTECTED]

Re: [m2] Using modules/

2005-11-17 Thread Wim Deblauwe
I have said that in my initial post. They do not follow the layout and I have created a parent pom that both extend. In that parent pom, I have this: project build directorytemp/directory outputDirectorytemp/classes/outputDirectory finalName${artifactId}-${version}/finalName

problem creating eclipse project

2005-11-17 Thread Luca Gmail
Hi all, i created a simple project starting from a my archetype (the name is simple-servlet). After that I'd like to create an eclipse project so inside the project root directory I created the variable M2_REPO and executed mvn eclipse:eclipse. From eclipse I imported the project (File Import

Ant Tasks - Multiple remote repositories

2005-11-17 Thread Ong Wee Tat NCS
Hi, I would like to check whether it's possible to use multiple remote repositories at the moment, as specified in the Declaring Repositories section of this page: http://maven.apache.org/ant-tasks.html I tried with the following code but it only seems to connect to the first repository, which

Re: [m2] Using modules/

2005-11-17 Thread Anuerin Diaz
sorry, i was just clarifying it since you did not show if the same layout applies to all sub-modules. you can also configure the source directory using the maven-compiler-plugin. i was just browsing its documentation page because i realized that all compilations have debug turned on (shouldn't it

Re: RE : [m2] uniqueVersion=true with Maven One Plugin exits ?

2005-11-17 Thread Emmanuel Venisse
file it in MNG, we'll move it later if necessary. Emmanuel Olivier Lamy a écrit : In which project ? There is not maven-one-plugin or sandbox in http://jira.codehaus.org/secure/Dashboard.jspa And the Issue Tracking doesn't display where : http://maven.apache.org/sandbox/issue-tracking.html -

Ant Tasks - Multiple remote repositories

2005-11-17 Thread Ong Wee Tat NCS
Hi, I would like to check whether it's possible to use multiple remote repositories at the moment, as specified in the Declaring Repositories section of this page: http://maven.apache.org/ant-tasks.html I tried with the following code but it only seems to connect to the first repository, which

RE: [m2] assembly : assembling multiple bundles

2005-11-17 Thread Cabasson Denis
That was what I feared :/ Thx anyway for your answer. I'm looking forward for the next version of M2 ^^ -Message d'origine- De : Brett Porter [mailto:[EMAIL PROTECTED] Envoyé : jeudi 17 novembre 2005 04:34 À : Maven Users List Objet : Re: [m2] assembly : assembling multiple bundles

RE: problem creating eclipse project

2005-11-17 Thread [EMAIL PROTECTED]
Luca, The eclipse:add-maven-repo goal contyains a bug. The M2_REPO variable is created in the wrong directory. If you use: mvn eclipse:add-maven-repo -Declipse.workspace=c:\myWorkspace the variables will be created in c:\myWorkspaceX The X is added to the workspace dir. This is a bug. Copy the

RE: problem creating eclipse project

2005-11-17 Thread Luca Gmail
Thnak you Martijn, the problem is subsequent to the bug, infact before import simple.servlet in eclipse I followed instrucions in http://jira.codehaus.org/browse/MNG-1433 and eclipse see M2_REPO variable. But I don't know why eclipse tell Path '/' must denote location inside project

[m2] Idea plugin bug?

2005-11-17 Thread Wim Deblauwe
Hi, There seems to be a bug in the maven-idea-plugin. This is my structure (note that I use a master pom that defines my slightly different structure): + modules + utils + utils-lang + pom.xml + src + main + test + utils-logging + pom.xml + src + main + test The utils-lang module depends on

RE: m2 VSS access

2005-11-17 Thread Maruf Aytekin
I am trying to use maven-antrun-plugin to run antscripts to access VSS with following in pom.xml: build plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-antrun-plugin/artifactId executions execution

SSH executable

2005-11-17 Thread Jose Gonzalez Gomez
Hi there, I'm trying to use the external sshExecutable setting in the settings.xml file, kind of this: server idmy.server/id usernameme/username privateKeyE:\.ssh\id_dsa/privateKey configuration sshExecutableC:\Archivos de

Re: SSH executable

2005-11-17 Thread Christophe DENEUX
Hi, Have you try to replace the directory name Archivos de programme by its 8.3 form (somthing like Archiv~1) ? Christophe Jose Gonzalez Gomez wrote: Hi there, I'm trying to use the external sshExecutable setting in the settings.xml file, kind of this: server idmy.server/id

Re: SSH executable

2005-11-17 Thread Jose Gonzalez Gomez
I have tried it right now, and have hitted another bug: Caused by: org.apache.maven.wagon.TransferFailedException: Exit code: 1 - pscp: unknown option -o try typing just pscp for help I'm going to file a bug in JIRA 2005/11/17, Christophe DENEUX [EMAIL PROTECTED]: Hi, Have you try

Re: m2 VSS access

2005-11-17 Thread David Sag
My heart goes out to you. We used VSS on a project back in 2000 and it was a truly horrible experience. Do you have the option to change to a more collaborative tool such as subversion, or even CVS? Kind regards, Dave Sag Maruf Aytekin [EMAIL PROTECTED] wrote on 17-11-2005 09:43:32:

Re: SSH executable

2005-11-17 Thread Jose Gonzalez Gomez
This has been fixed in version 312817: http://svn.apache.org/viewcvs.cgi/maven/wagon/trunk/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ScpExternalWagon.java?rev=331168r1=312817r2=331168diff_format=h 2005/11/17, Jose Gonzalez Gomez [EMAIL PROTECTED]:

Re: SSH executable

2005-11-17 Thread Jose Gonzalez Gomez
Sorry, fixed in 331168 2005/11/17, Jose Gonzalez Gomez [EMAIL PROTECTED]: This has been fixed in version 312817:

[M2] deploy 'classifier'ed artifacts

2005-11-17 Thread Piéroni Raphaël
Hello, I have noticed that some projects defines the classifier element in their dependencies. But i still wonder how to create such an artifact and deploy it in a repostory. This is the case for the maven embedder library which defines a full dependencies classifier which is used by the

[m2] Ear and security roles

2005-11-17 Thread [EMAIL PROTECTED]
Hi, Maven creates the application.xml in the ear project by using the maven-ear-plugin. However I want to define some security roles. Is that possible with Maven? How do I define the security roles in the pom.xml? Thanks. Martijn de Bruijn

Exception in site generation

2005-11-17 Thread Jose Gonzalez Gomez
I'm getting this when trying to generate a site: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager executing goal

I cannot run otional ant tasks by usind maven-antrun-plugin

2005-11-17 Thread Maruf Aytekin
I have used http://maven.apache.org/plugins/maven-antrun-plugin/ to run ant tasks in pom.xml. It runs core ant tasks successfully but it doesn't run optional tasks.. any ideas???

Re: [m2] Ear and security roles

2005-11-17 Thread Stephane Nicoll
Check MNG-1596. If you have ideas folks, do no hesistate to coment the Jira issue. Thanks, Stéphane On 11/17/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, Maven creates the application.xml in the ear project by using the maven-ear-plugin. However I want to define some security roles. Is

[m2] Why META-INF/maven ?

2005-11-17 Thread Christian Schulte
Hi, what is the reason for the META-INF/maven content in the jar files produced by maven 2 ? Is there a possibility to avoid the creation of these entries in the jar ? -- Christian - To unsubscribe, e-mail: [EMAIL

[m2] Problematic properties ?

2005-11-17 Thread Christian Schulte
Hi, when I deploy some artifacts to our developer repository the deployed poms look like this. project parent artifactId${scfArtifactPrefix}_Core/artifactId groupId${scfGroupPrefix}.core/groupId version${scfMajorVersion}.${scfMinorVersion}-1-SNAPSHOT/version /parent

[m1] How to define my own remote repository in my maven installation ?

2005-11-17 Thread Blaise Gosselin
Hello, Is it possible to define my own remote repository in the installation directories of Maven 1 ? If yes, where should I configure it ? I know that it can be configured in a file project.properties of a maven project, but I'd like to define it only once for all my projects. Thanks in

[m1]How to ignore dependencies from the parent projet??

2005-11-17 Thread Minds Work
Hi I Have a project that extends from other project.xml ( the parent project), but I want to ignore some dependencies of the parent project, is there a way to do this??? []s Freddy

RE: [m1] How to define my own remote repository in my maven installation ?

2005-11-17 Thread Jörg Schaible
Blaise Gosselin wrote on Thursday, November 17, 2005 1:46 PM: Hello, Is it possible to define my own remote repository in the installation directories of Maven 1 ? If yes, where should I configure it ? I know that it can be configured in a file project.properties of a maven project,

RE: [m1] How to define my own remote repository in my maven installation ?

2005-11-17 Thread Blaise Gosselin
What do you mean by home directory ? I suppose it is the C:\Documents and Settings\user\.maven for Windows ? Isn't it possible to define it in my installation directory ? ___ _ _ _ bgOnline -Original Message- From: Jörg Schaible [mailto:[EMAIL PROTECTED] Sent: jeudi

Re: [m2] Why META-INF/maven ?

2005-11-17 Thread Julien Stern
On Thu, Nov 17, 2005 at 01:38:03PM +0100, Christian Schulte wrote: Hi, what is the reason for the META-INF/maven content in the jar files produced by maven 2 ? Is there a possibility to avoid the creation of these entries in the jar ? I had the same issue. It seems that it is not

Re: Exception in site generation

2005-11-17 Thread Rik Bosman
Jose, I do have the same problems. Today I started populating the local repository on a new machine and these errors follow, maybe somebody knows whats happening to the plexus plugins. Rik [WARNING] POM for: 'org.codehaus.plexus:plexus-utils:pom:1.0.4' does not appear to be valid. Its will be

[m2] antlib artifact:deploy and wagon-scm

2005-11-17 Thread Darren Hartford
Hey all, Has anyone used the wagon-scm provider for use with the antlib artifact:deploy task? We keep a separate repository of jar's in Subversion (for versioning control and security of those jars/poms) and would like to automate this task with the build.xml file using the maven2 antlibs.

[m2] firewall and proxy problems

2005-11-17 Thread Tomas Maven
Hi, apologies if this question has been posted before. I have both maven 1.0.2 and maven 2.0 installed at the same computer at my office behind a corporate firewall. I have configured my maven 1.0.2 to handle the proxy, and I'm able to get it to download needed jar files without any problems.

Re: [m2] firewall and proxy problems

2005-11-17 Thread Jose Gonzalez Gomez
2005/11/17, Tomas Maven [EMAIL PROTECTED]: Hi, apologies if this question has been posted before. I have both maven 1.0.2 and maven 2.0 installed at the same computer at my office behind a corporate firewall. I have configured my maven 1.0.2 to handle the proxy, and I'm able to get it to

Re: [m2] firewall and proxy problems

2005-11-17 Thread Tomas Maven
The verbose output I get from running the very first example in the Maven How do I make my first Maven project? can be found below. Are there any other options in the setting.xml file I should be aware of? The options and values I have set for maven 1.0.2 is the the very same I have set for

RE: M2 : Major Bug in xdoclet plugin ?

2005-11-17 Thread Peschier J. (Jeroen)
I ran into this myself too. It's a known bug in XDoclet itself. See http://opensource2.atlassian.com/projects/xdoclet/browse/XDT-1505 The problem is the old definition of destDir is used which results in the class being generated in a place you don't want or even expect them. As a workaround you

RE: [m1] How to define my own remote repository in my maven installation ?

2005-11-17 Thread Jörg Schaible
Blaise Gosselin wrote on Thursday, November 17, 2005 1:52 PM: What do you mean by home directory ? I suppose it is the C:\Documents and Settings\user\.maven for Windows ? No your Windows home directory (might be in your case): C:\Documents and Settings\user Isn't it possible to define it

ssh-askpass

2005-11-17 Thread Rafael Silva
Hi, I'm using SSH connection to the CVS. I installed the program ssh-askpass to put the password. I'd like to know if there's a way to create a file with the ssh pass to don't need to put the pass every time when the build starts. If there's another solution, how can I make it?

Re: [maven2] Failed to build model from plexus-utils-1.0.4.pom

2005-11-17 Thread Jeremy Hughes
Thanks that works for me now. On 11/16/05, Carlos Sanchez [EMAIL PROTECTED] wrote: Hi, What I believe is that this file was not saved as UTF8, and should be as it is the default xml encoding. I've changed it in the repo and now it works fine. Regards On 11/4/05, Jeremy Hughes [EMAIL

Re: [M2] Using variable expressions

2005-11-17 Thread dan tran
See inline On 11/16/05, Dietrich Schulten [EMAIL PROTECTED] wrote: Hi, Every now and then I see references to variables in the format ${some.expression}. However, I do not fully understand them: which variables are there? 1. User variables You can define your own variables and use them

indicate the started build

2005-11-17 Thread Vov@ Sadovyy
Hi colleagues, Maybe it is a simple question and everybody knows it but… I got a task to indicate that build is already started. It is needed to refuse parallel launch by other users before completion of previous process. My first thought was to create a property stored in file (or even

Re: [m2] Why META-INF/maven ?

2005-11-17 Thread Christian Schulte
Emmanuel Venisse schrieb: Julien Stern a écrit : On Thu, Nov 17, 2005 at 01:38:03PM +0100, Christian Schulte wrote: Hi, what is the reason for the META-INF/maven content in the jar files produced by maven 2 ? Is there a possibility to avoid the creation of these entries in the jar ?

Re: M2 : Major Bug in xdoclet plugin ?

2005-11-17 Thread Pete
Yes thanks very much for that. I only realised this myself yesterday, I had re-posted the same problem under a different title yesterday hoping to get more response, but then (as always) noticed the bug myself ! On 17/11/05, Peschier J. (Jeroen) [EMAIL PROTECTED] wrote: I ran into this myself

[m2] where to put test data

2005-11-17 Thread David Sag
I am writing the unit tests for a simple xml transformer and want to know 2 things. 1) where is the maven2 approved place to put the test xml and xslt files? If I put them in src/test/resources then they end up in a jar file, and I am not sure how i refer to their path when i invoke File xml =

Re: [m2] Why META-INF/maven ?

2005-11-17 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There are two general things that go in that directory: plugin descriptors, and POM information. For the former, we need some way of describing a Maven plugin to the system, to determine how to startup the plugin and execute it. For the latter, we

Re: [m2] where to put test data

2005-11-17 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Sag wrote: | | I am writing the unit tests for a simple xml transformer and want to | know 2 things. | | 1) where is the maven2 approved place to put the test xml and xslt | files? If I put them in src/test/resources then they end up in a jar

RE: [m2] was5 plugin

2005-11-17 Thread oddmar.sandvik
Good question - I am wondering about this myself. Any takers? Oddmar Sandvik -Opprinnelig melding- Fra: Malcolm Wong Ho [mailto:[EMAIL PROTECTED] Sendt: 17. november 2005 06:45 Til: users@maven.apache.org Emne: [m2] was5 plugin Is there plans for websphere 5.1 plugin for maven2 ?

Re: [m2] was5 plugin

2005-11-17 Thread Eric Redmond
What is wrong with the eclipse plugin? On 11/17/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Good question - I am wondering about this myself. Any takers? Oddmar Sandvik -Opprinnelig melding- Fra: Malcolm Wong Ho [mailto:[EMAIL PROTECTED] Sendt: 17. november 2005 06:45 Til:

use of ArtifactHandler

2005-11-17 Thread Nigel Magnay
Hello - I have been trying to follow the configuration for ArtifactHandlers - I have in my components.xml component roleorg.apache.maven.artifact.handler.ArtifactHandler/role role-hintuberwar/role-hint

Re: [M2] Eclipse doesn't refresh properly after running mvn as an external command?

2005-11-17 Thread Eric Redmond
I wouldn't go so far as to call it a bug, but it definately an annoyance :) It is true that Eclipse does not poll projects to look for changes on the filesystem unless a particular file is open at the time of change (then eclipse will pop up a little message telling you something has changed,

RE: [m2] was5 plugin

2005-11-17 Thread oddmar.sandvik
Generate EAR, deploy on server, restart server, etc. Currently only for Maven 1. Oddmar Sandvik DnB NOR, IT og Betalingsformidling Tlf (552)19227 Mob 41436724 -Opprinnelig melding- Fra: Eric Redmond [mailto:[EMAIL PROTECTED] Sendt: 17. november 2005 17:03 Til: Maven Users List

Re: [m2] Why META-INF/maven ?

2005-11-17 Thread Julien Stern
On Thu, Nov 17, 2005 at 10:39:40AM -0500, John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There are two general things that go in that directory: plugin descriptors, and POM information. For the former, we need some way of describing a Maven plugin to the system, to

[M2] What's going on with Plexus POMs????

2005-11-17 Thread Jose Gonzalez Gomez
I'm getting a lot of lines like this in every build: [WARNING] POM for: 'org.codehaus.plexus:plexus-utils:pom:1.0.4' does not appear to be valid. Its will be ignored for artifact resolutio n. Reason: Parse error reading POM [WARNING] POM for:

Re: Continuum rocks

2005-11-17 Thread Tim McCune
On Wed, 2005-11-16 at 09:22 +1100, Brett Porter wrote: Thanks Tim! Would you mind us sharing your testimonial on the web site at some point? No problem. Also, can you perhaps offer some feedback on what the high priority plugins would be for you? Xdoclet, site, dashboard, cobertura, pmd,

[M2] clover:check bug?

2005-11-17 Thread Duane Homick
If I run a clover check as part of my build, I get the following error when running mvn install: [INFO] Checking for coverage of 0% Loaded results from 1 coverage recording. [INFO] [install:install] [INFO] Installing M:\dhomick_main\sw\projects\sample\target\classes to M:\dhomick_m

Re: use of ArtifactHandler

2005-11-17 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You're defining this components.xml in a plugin, right? Do you have extensionstrue/extensions defined in the plugin reference within your plugin-user POM? If not, it will use a default artifact handler that has the same type as your packaging, and

Re: [m2] Why META-INF/maven ?

2005-11-17 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fair enough. We need to add a flag to the maven-archiver, and propagate that flag out to the maven-jar-plugin. Care to submit a patch? :) We need to make sure this is in jira somewhere - regardless of whether you submit a patch - so would you mind?

Re: use of ArtifactHandler

2005-11-17 Thread Nigel Magnay
Yep - I'm pretty sure it's reading it as there is also a LifecycleMapping which is being used correctly. Are the private member variables supposed to get read set by some persistence mechanism from the configuration node ? On 11/17/05, John Casey [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED

RE: [M2] clover:check bug?

2005-11-17 Thread Duane Homick
Typo in my error message (I modified the plugin to try to figure out what was going on): [INFO] Checking for coverage of 0% Loaded results from 1 coverage recording. [INFO] [install:install] [INFO] Installing M:\dhomick_main\sw\projects\sample\target\clover\classes to M:\dhomick_m

MNG-1427 status

2005-11-17 Thread Serge Bogatyrjov
Hi http://jira.codehaus.org/browse/MNG-1427 The issue is marked as closed, but the page http://maven.apache.org/maven2/dependency-mechanism.html is still unavailable. (I encountered this issue while googling maven2 dependency scope). Serge Bogatyrjov.

[m1] Run jar without the tests ?

2005-11-17 Thread Blaise Gosselin
Is it possible, in Maven 1, to disable the tests while executing the jar command ? __ _ _ _ bgOnline

RE: MNG-1427 status

2005-11-17 Thread Allison, Bob
Try http://maven.apache.org/guides/introduction/introduction-to-dependency-m echanism.html -Original Message- From: Serge Bogatyrjov [mailto:[EMAIL PROTECTED] Sent: Thursday, November 17, 2005 11:27 To: users@maven.apache.org Subject: MNG-1427 status Hi

Re: I cannot run otional ant tasks by usind maven-antrun-plugin

2005-11-17 Thread Anuerin Diaz
for clarifications: - have you included the ant-optional dependency in your project? - what task was failing? if it is related to a task that has an EnumeratedAttribute parameter then please vote for http://jira.codehaus.org/browse/MNG-1490 so it can have a greater priority. ciao! On

Re: ssh-askpass

2005-11-17 Thread Emmanuel Venisse
you can use public/private ssh keys or a ssh agent. Emmanuel Rafael Silva a écrit : Hi, I'm using SSH connection to the CVS. I installed the program ssh-askpass to put the password. I'd like to know if there's a way to create a file with the ssh pass to don't need to put the pass

Re: [m1] Run jar without the tests ?

2005-11-17 Thread Patrick Kimber
maven -Dmaven.test.skip=true jar On 17/11/05, Blaise Gosselin [EMAIL PROTECTED] wrote: Is it possible, in Maven 1, to disable the tests while executing the jar command ? __ _ _ _ bgOnline - To

RE: [m2] Wrapping an existing Mojo with a proxy Mojo

2005-11-17 Thread David Jackman
Since ${project.version} contains dots and CVS tags don't allow that, I can't just drop the version into the tag like that. But this is just one aspect of the problem I'm describing. Here's another: when doing a release, there are other things I would like to verify are correct before running

[m2] How to detach Maven plugin from the lifecycle and attach my own plugin

2005-11-17 Thread Richard Allen
How do I detach the maven-war-plugin from the build lifecycle and attach my own plugin in it's place? Thanks, Richard Allen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] Why META-INF/maven ?

2005-11-17 Thread Julien Stern
On Thu, Nov 17, 2005 at 11:42:24AM -0500, John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fair enough. We need to add a flag to the maven-archiver, and propagate that flag out to the maven-jar-plugin. Care to submit a patch? :) We need to make sure this is in jira somewhere

Re: [m2] Why META-INF/maven ?

2005-11-17 Thread Anuerin Diaz
On 11/17/05, Julien Stern [EMAIL PROTECTED] wrote: On Thu, Nov 17, 2005 at 11:42:24AM -0500, John Casey wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fair enough. We need to add a flag to the maven-archiver, and propagate that flag out to the maven-jar-plugin. Care to submit a

Re: I cannot run otional ant tasks by usind maven-antrun-plugin

2005-11-17 Thread Kenney Westerhof
On Thu, 17 Nov 2005, Anuerin Diaz wrote: I've closed that issue since you shouldn't be using extensions for plugin-space dependencies. See the comments on the issue for details. The antrun plugin doesn't include any optional tasks, just ant 1.6.5 and the launcher (to be able to run external

Re: I cannot run otional ant tasks by usind maven-antrun-plugin

2005-11-17 Thread Anuerin Diaz
On 11/17/05, Kenney Westerhof [EMAIL PROTECTED] wrote: On Thu, 17 Nov 2005, Anuerin Diaz wrote: I've closed that issue since you shouldn't be using extensions for plugin-space dependencies. See the comments on the issue for details. The antrun plugin doesn't include any optional tasks, just

RE: [M2] Eclipse doesn't refresh properly after running mvn as an external command?

2005-11-17 Thread KC Baltz
You're right that my Ant runners are listed in the External Tools screen as Ant Build object whereas my Maven stuff is under Programs. However, the Refresh tab looks the same for both types of runners. I filed a bug against Eclipse. K.C. -Original Message- From: Eric Redmond

Can't use maven2 (offline)

2005-11-17 Thread Eric Parpal
I'm back. First, thank you for your answers. Sorry to say this but the more I try it, the more I find it strange (under linux) ... and I can't start using a tool with such questions haunting me. Question 1 : I work under Linux (this could be important because I never succeeded in using the

eclipse.downloadSources is killing me

2005-11-17 Thread Barry Kaplan
Could there be anyway to specify this option on a dependency specific basis? I want to download just two or three of the dependency sources (which I keep in a local repository), but m2 dragging on the other fifty dependencies. And that is multiplied by a dozen or so projects. So what was

RE: [m2] Howto Hack JavadocReport.java

2005-11-17 Thread Pilgrim, Peter
Quick question You need to add quote on your group element, eg: groupUnit Tests com.csfb.foo.test*:com.csfb.bar.test*/group Does the javadoc plug-in work with multiple group tags? How do you specifiy multiple package groups exactly? I tried the following groupUnit Tests

Re: eclipse.downloadSources is killing me

2005-11-17 Thread Barry Kaplan
Also, might there be a way to instead of downloading a source jar, tell the eclipse plugin, for a particular dependency, that the source is already in the eclipse workspace or on disk somewhere. If I recall, this was possible with M1, but then the plugin architecture was nowhere as decoupled

Re: [m2] Generating Source in Ant

2005-11-17 Thread Lee Meador
I have this source: /** * Goal which runs ant and then adds some path to the compile source root list * * @goal run * @phase generate-sources * @description Run ant and then add a folder to the list of places that hold * code to compile */ public class AntRunAddGenerateMojo extends AntRunMojo {

RE: [M2] clover:check bug?

2005-11-17 Thread Vincent Massol
Hi Duane, This is a bug in Maven 2.0 that has been fixed in Maven 2.0.1. We need to try modifying the Clover plugin so that it can still work on Maven 2.0. This is not done yet. If you want to have it work right now you'll need to build m2 from trunk and build the clover plugin from trunk too.

m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
i am having problems trying to create a new web application. I searched the documentation and found a reference to building a web application project. I run the command and it builds a webapp. But i have no idea where i should stick my java source files so that when i do a mvn war:war,

Re: m2 webapp support

2005-11-17 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 src/main/webapps, IIRC. You might check out http://maven.apache.org/plugins/maven-war-plugin/ for more information. - -j Nathaniel G. Auvil wrote: | i am having problems trying to create a new web application. I searched the documentation and

[m2] creating a par package and including it in an ear

2005-11-17 Thread Bruno Aranda
Hi all, I am doing my first steps with maven... I have a multi-module setup that involves the creation of jars, wars, pars and an ear with everything inside. I've been told to use a plugin to create the par file [1]. However, when the par is set as a dependency in the pom.xml file to create the

RE: [M2] clover:check bug?

2005-11-17 Thread Duane Homick
So, I finally tracked down what was going on here. Not sure who the bug is against. The problem is that the compile:compile step will define the artifactFile that is used by the install plugin to determine what to copy to the local repository. From maven-compile-plugin: public void

Re: m2 webapp support

2005-11-17 Thread Bruno Aranda
You have to put your source files in the src/main/java folder. Regards, Bruno 2005/11/17, Nathaniel G. Auvil [EMAIL PROTECTED]: i am having problems trying to create a new web application. I searched the documentation and found a reference to building a web application project. I run

Re: [m2] creating a par package and including it in an ear

2005-11-17 Thread Arik Kfir
I think you need to use the 'maven-par-plugin' (in the mojo project, at http://mojo.codehaus.org/) However, AFAIK its not released yet. On 11/17/05, Bruno Aranda [EMAIL PROTECTED] wrote: Hi all, I am doing my first steps with maven... I have a multi-module setup that involves the creation of

Re: use of ArtifactHandler

2005-11-17 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Yes, the private member vars are injected with values from the configuration. That's how plexus works by default (plexus is the underlying container Maven uses). So, you have a POM with packaginguberwar/packaging, and it's setting the extension to

Plugin Classes

2005-11-17 Thread Durfee, Bernard
I've created a plugin with the following in the plugin.jelly file... ?xml version=1.0 encoding=UTF-8? project xmlns:ant=jelly:ant goal name=uportal:update-web-xml description=Updates the web.xml for deploying into uPortal ant:echo message=Invoking Portlet Application Deployment Tool /

Re: [m2] creating a par package and including it in an ear

2005-11-17 Thread Bruno Aranda
Thanks, I know, to summarise, my question was if someone has successfully included a par generated with that plugin inside an ear... Thanks, Bruno 2005/11/17, Arik Kfir [EMAIL PROTECTED]: I think you need to use the 'maven-par-plugin' (in the mojo project, at http://mojo.codehaus.org/)

Re: [maven2] Failed to build model from plexus-utils-1.0.4.pom

2005-11-17 Thread Carlos Sanchez
Hi, Seems that it breaks in other systems, what machine, os, jdk are you running on? Regards On 11/17/05, Jeremy Hughes [EMAIL PROTECTED] wrote: Thanks that works for me now. On 11/16/05, Carlos Sanchez [EMAIL PROTECTED] wrote: Hi, What I believe is that this file was not saved as

Re: [M2] What's going on with Plexus POMs????

2005-11-17 Thread Carlos Sanchez
We know the problem and has been already fixed or will be in the next hours. Delete the poms from your local repo to get the latests. On 11/17/05, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: I'm getting a lot of lines like this in every build: [WARNING] POM for:

Re: m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
i tried this and it does not work for a web application. I also tried placing them under WEB-INF/classes and that did not work. Bruno Aranda [EMAIL PROTECTED] wrote: You have to put your source files in the src/main/java folder. Regards, Bruno 2005/11/17, Nathaniel G. Auvil : i

Re: [M2] What's going on with Plexus POMs????

2005-11-17 Thread Emmanuel Venisse
I fixed them, you need to removed them in your local repo Emmanuel Carlos Sanchez a écrit : We know the problem and has been already fixed or will be in the next hours. Delete the poms from your local repo to get the latests. On 11/17/05, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: I'm

Re: m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
So i have to manually create and specify where all the directories are? I thought maven would do this? I dont mean to offend anyone, but if i have to manually do this, why not just use Ant by itelf? Maybe i am confused in what Maven does? I thought Maven provides a project

Re: m2 webapp support

2005-11-17 Thread Bruno Aranda
Hi Natahniel, put the sources in src/main/java and then execute mvn compile war:war (or mvn install). The issue is that with mvn war:war the sources are not being compiled... Regards, Bruno 2005/11/17, Nathaniel G. Auvil [EMAIL PROTECTED]: So i have to manually create and specify where all

Re: m2 webapp support

2005-11-17 Thread Nathaniel G. Auvil
wow. cool. that is it. I did not understand that i had to string the commands together. Thank you very much. Bruno Aranda [EMAIL PROTECTED] wrote: Hi Natahniel, put the sources in src/main/java and then execute mvn compile war:war (or mvn install). The issue is that with mvn

Re: m2 webapp support

2005-11-17 Thread Stephen Duncan
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html Generally, it's probablyy better to say: mvn package than to manually string the steps together (mvn compile war:war). Certainly it's shorter and easier. -Stephen On 11/17/05, Nathaniel G. Auvil [EMAIL PROTECTED]

  1   2   >