Re: Using maven for JavaScript projects

2007-10-01 Thread Raphaël Piéroni
Hi Nicolas, Maybe you typoed the URL ? new one: http://hammerfest.wiki.sourceforge.net/maven-javascript-tools Raphaël 2007/10/1, nicolas de loof [EMAIL PROTECTED]: I've created a wiki entry (http://hammerfest.wiki.sourceforge.net/mavan-javascript-tools) to resume the ideas exposed in this

Re: Improving Maven Site Docs (was maven is hard)

2007-10-01 Thread Greg Morgan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brian E. Fox wrote: A common theme in the maven is hard thread is bad documentation and Lets list some positive improvements that can be made to the existing Maven site in this thread. I started to respond to this thread. Then decided to

[Site] Deployment on a network drive

2007-10-01 Thread RomainTaz
Hi all, I have a project with several modules: myProject myProject/commons myProject/business ... I want to deploy my site on a network drive, for example \\\y, in a directory site\my-site. If this network drive (e.g. F:\site\my-site), then I have no problem to deploy it using the following

Doubt about settings.xml and properties

2007-10-01 Thread Raffaele
Hi all, I tried to follow an example found in chapter 7 of Better Builds with Maven free book. In particular, I have defined a settings.xml in conf folder of maven's installation directory, the following is a piece of that file: ... server idprivate-internal-repository/id

Re: Not downloading dependencies from managed repository via HTTP

2007-10-01 Thread melpelotones
Hi, The problem is fixed: To get to the external internet we use an organizational http proxy, and in my settings.xml I had this http proxy configured. The server where I ve installed archiva was inside the internal network, and therefore not accesible via http via the proxy I deactivate

RE: Using maven for JavaScript projects

2007-10-01 Thread Richard Chamberlain
This looks good. I'm looking forward to contributing. If we can produce a unified view on how to develop js I don't see any reason not to adopt this. Rich -Original Message- From: nicolas de loof [mailto:[EMAIL PROTECTED] Sent: 01 October 2007 06:10 To: Maven Users List Subject: Re:

Mavenide clashes with NB checkstyle plugin

2007-10-01 Thread John Coleman
Hi, We managed to get the Maven sites checkstyle report crashing when run from Netbeans with the checkstyle plugin installed. Some kind of classpath clash I suspect. We fixed this by removing the NB checkstyle plugin, I just wondered if others have seen this or had any comments? It would

Re: Mavenide clashes with NB checkstyle plugin

2007-10-01 Thread Milos Kleint
You haven't included any details, but I assume I've seen myself something similar as well, with some reports. I suppose the issue will go away once we upgrade the maven embedder in use for project loading/building. in the meantime the workaround is to use the command line maven instance for

Re: Using maven for JavaScript projects

2007-10-01 Thread nicolas de loof
I've created a work-in-progress page : http://hammerfest.wiki.sourceforge.net/maven-javascript-plugin++Work+in+Progress The proposed lifecycle is : process-sources : ability to merge multiple individual js files into one (or more ?) js using a assembly schema. compile : copy js to target/scripts

RE: Duplicate jars/dependencies when building war module

2007-10-01 Thread Jörg Schaible
Kjartan Aanestad wrote on Friday, September 28, 2007 11:50 AM: Hi, We have a strange issue when building the war module. We have a couple of common modules that are built by continuum and used as dependencies in our project. Somehow these dependecies sometimes end up twice in the war file

Re: ?Project build start successful build finish hooks?

2007-10-01 Thread Emmanuel Venisse
jep a écrit : I am in the process of converting a large project from Subversion/Ant/CruiseControl to Subversion/Maven/Continuum(1.1-beta-2). 1.1-beta-3 is released. One of the things done on the CruiseControl machine is to restore a database to a known state before the build starts (so

Re: continuum with oracle

2007-10-01 Thread Emmanuel Venisse
Actually, oracle db isn't supported due to some field lengths. A patch similar to the one for mssql can be done: http://svn.apache.org/repos/asf/maven/continuum/trunk/continuum-model/src/main/resources/package-mssql.orm Emmanuel Cla Monsch a écrit : hi it's an unlovely story! with 1.0.3 it

Is this a bug (Maven needs pom to read global settings.xml)?

2007-10-01 Thread Vanja Petreski
Hello, I have Maven 2.0.7 installation on the SVN with configured settings.xml, so every developer can update changes (for example, about repo, etc..). I am using Artifactory for repository management and everything work perfectly until now. If I use, for example, mvn archetype:create

Do WAR overlays merge web.xml entries?

2007-10-01 Thread Manos Batsis
Subject says it all :-) Thanks, Manos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Do WAR overlays merge web.xml entries?

2007-10-01 Thread John Coleman
It seems not. When I tried this the dependency WARs web.xml file is lost, you just get the web.xml of the project you are building. That was what I wanted, so I was happy. But I was unhappy that I had to put an empty web.xml in my dependency WAR just to conform to standards. John -Original

Re: Do WAR overlays merge web.xml entries?

2007-10-01 Thread Tomasz Pik
On 10/1/07, Manos Batsis [EMAIL PROTECTED] wrote: Subject says it all :-) With packagingwar/packaging - nop. But - maybe this: http://cargo.codehaus.org/Merging+WAR+files will help. Note that this is not a part of [EMAIL PROTECTED], it's a separate project ([EMAIL PROTECTED]) providing a plugin

tutorial doxia and maven plugin

2007-10-01 Thread Giovanni Pedone
hello, may you please publish a quick tutorial on how to set up dozia and use it ? I have a maven project with documentantion generated by maven site given a set of xdoc documents under src/site/xdoc with a maven site.xml for generation. I would like to generate the same docs thru doxia maven

Re: Is this a bug (Maven needs pom to read global settings.xml)?

2007-10-01 Thread Gisbert Amm
This one? http://jira.codehaus.org/browse/ARCHETYPE-81 -Gisbert Vanja Petreski wrote: Hello, I have Maven 2.0.7 installation on the SVN with configured settings.xml, so every developer can update changes (for example, about repo, etc..). I am using Artifactory for repository management and

Re: tutorial doxia and maven plugin

2007-10-01 Thread Lukas Theussl
See http://maven.apache.org/doxia/book/index.html The section titles need to match the source documents name, eg section idsection-1/id /section will get the source from a file apt/section-1.apt, or xdoc/section-1.xml, etc. You don't have to specify a title tag inside a section, the title

Re: [maven]Problem with settings.xml

2007-10-01 Thread Tim Kettler
zhongliang zhang schrieb: So,if I did not create manually,it will use the ${MAVEN_HOME}\conf\settings.xml by default,is it right? It is used even when you create a private settings.xml in ~/.m2. The content of the two files is merged, with settings in your private one taking precedence.

Re: Is this a bug (Maven needs pom to read global settings.xml)?

2007-10-01 Thread Vanja Petreski
Yes! V On 10/1/07, Gisbert Amm [EMAIL PROTECTED] wrote: This one? http://jira.codehaus.org/browse/ARCHETYPE-81 -Gisbert Vanja Petreski wrote: Hello, I have Maven 2.0.7 installation on the SVN with configured settings.xml, so every developer can update changes (for example, about

Can properties in settings.xml be used inside settings.xml ?

2007-10-01 Thread Arne Styve
Hi A quick semi-newbie question: If I define a property within settings.xml (the one found at maven_home/conf), can that property be used within the same setting.xml file ? Example: settings xmlns=http://m. profiles profile idtest/id !--

Re: Optional Mojo Execution?

2007-10-01 Thread Tim Kettler
Hi, Manos Batsis schrieb: Suppose i bundle several mojos under one plugin artifactId, how can i make their execution optional? In other words, I only want to run a specific mojo when there is an execution element is present for it's goal in the plugin configuration. Isn't that the default

Re: Maven JavaScript Plugin 1.2 released

2007-10-01 Thread Insitu
Hello, When trying to build it from sources, I got: [INFO] Scanning for projects... [INFO] [INFO] Building MobilVox Maven JavaScript Plugin [INFO]task-segment: [install] [INFO]

Re: Is this a bug (Maven needs pom to read global settings.xml)?

2007-10-01 Thread Gisbert Amm
Vote for it ... -Gisbert Vanja Petreski wrote: Yes! V On 10/1/07, Gisbert Amm [EMAIL PROTECTED] wrote: This one? http://jira.codehaus.org/browse/ARCHETYPE-81 -Gisbert Vanja Petreski wrote: Hello, I have Maven 2.0.7 installation on the SVN with configured settings.xml, so every

Re: continuum with oracle

2007-10-01 Thread Cla Monsch
yes - that should work for 1.0.3. but in addition to this with 1.1 versions we had other problems: INFO | jvm 1| 2007/08/08 14:05:04 | 2007-08-08 14:05:04,897 [WrapperSimpleAppMain] ERROR RDBMS - An exception was thrown while adding/validating class(es) ORA-00904:

Re: Including JavaScript in xdoc

2007-10-01 Thread Damien Lecan
I tried putting quot; in the xdoc, but it still comes out as quot; in the html, and the alert box doesn't work. Any ideas? And with xml CDATA tag ? ?xml version=1.0? document properties titleHello/title /properties body section name=Test You should see a JavaScript alert...

Re: Including JavaScript in xdoc

2007-10-01 Thread Lukas Theussl
That doesn't work either, we have already opened some JIRA tickets: http://jira.codehaus.org/browse/DOXIA-154 http://jira.codehaus.org/browse/MSITE-257 Cheers, -Lukas Damien Lecan wrote: I tried putting quot; in the xdoc, but it still comes out as quot; in the html, and the alert box doesn't

Re: Including JavaScript in xdoc

2007-10-01 Thread Manos Batsis
This is probably useless to the OP, but we also wanted to use scripts and went directly for a custom site skin. Cheers, Manos Lukas Theussl wrote: That doesn't work either, we have already opened some JIRA tickets: http://jira.codehaus.org/browse/DOXIA-154

Re: Optional Mojo Execution?

2007-10-01 Thread Manos Batsis
Tim Kettler wrote: Hi, Manos Batsis schrieb: Suppose i bundle several mojos under one plugin artifactId, how can i make their execution optional? In other words, I only want to run a specific mojo when there is an execution element is present for it's goal in the plugin configuration.

Re: Maven JavaScript Plugin 1.2 released

2007-10-01 Thread Adam Altemus
Can you give me some information on your environment? I'm pretty sure I know what the error is but, I need to make sure. Thanks, Adam On 10/1/07, Insitu [EMAIL PROTECTED] wrote: Hello, When trying to build it from sources, I got: [INFO] Scanning for projects... [INFO]

RE: tutorial doxia and maven plugin

2007-10-01 Thread Giovanni Pedone
I just tried with a simple txt file to be converted to PDF, but I get this error: [INFO] Error while generating book in format 'pdf'. Embedded error: Error while parsing document: F:\projects\Gio\gioMaven\src\site\xdoc\bindings.xml. only whitespace content allowed before start tag and not t

Re: Maven JavaScript Plugin 1.2 released

2007-10-01 Thread Manos Batsis
Adam Altemus wrote: Can you give me some information on your environment? I'm pretty sure I know what the error is but, I need to make sure. Looks like a java 1.4 environment trying to compile java 1.5 to me ;-) Manos - To

RE: indiscriminate dependencies ...

2007-10-01 Thread Brian E. Fox
Try mvn dependency:analyze It will tell you when you are not using dependencies and also when you haven't declared things you are directly using. -Original Message- From: Giovanni Azua [mailto:[EMAIL PROTECTED] Sent: Sunday, September 30, 2007 8:27 AM To: 'Maven Users List' Subject:

Re: tutorial doxia and maven plugin

2007-10-01 Thread Lukas Theussl
This is a simple xml parsing error, nothing to do with doxia. Your input document src\site\xdoc\bindings.xml is not well-formed (is it being processed by the site plugin?). -Lukas Giovanni Pedone wrote: I just tried with a simple txt file to be converted to PDF, but I get this error:

Re: Maven JavaScript Plugin 1.2 released

2007-10-01 Thread Adam Altemus
I was thinking that as well. The errors seem to be occurring at the @override tags that were added in during the creation of the code in Eclipse. I removed them because I have seen other instances where they have been problematic and it is fine without them. On 10/1/07, Manos Batsis [EMAIL

Incorrect Build state with Maven2

2007-10-01 Thread Manuel.Renz
Hi, I 've tried the tipp from the FAQs, and added if %MAVEN_TERMINATE_CMD% == on exit %ERRORLEVEL% to my mvn.bat file, but it still does not recognize the return code. I had the same behaviour wit 1.0.3 , but could solve it with the above mentioned fix, but this time it does not help.

Re: Optional Mojo Execution?

2007-10-01 Thread Manos Batsis
Manos Batsis wrote: Suppose i bundle several mojos under one plugin artifactId, how can i make their execution optional? In other words, I only want to run a specific mojo when there is an execution element is present for it's goal in the plugin configuration. Isn't that the default

RE: 1.1-beta-3 LDAP

2007-10-01 Thread Madsen,Bryan
We do not allow guest accounts on our LDAP server. If I remove the 'redback.default.guest' configuration I see this exception below. Is there a way to bypass that? I would like all users with an LDAP sign-on to be considered a registered user once signed in and then administer their access

Re: Optional Mojo Execution?

2007-10-01 Thread Manos Batsis
Manos Batsis wrote: According to the documentation, this seems irrelevant to my original question, which is, how to make reporting mojo execution optional, i.e. not happen unless the user specifies an execution for it. Maybe i need to override canGenerateReport[1] for this and try to figure

Re: Improving the documentation of plugins (was maven is hard)

2007-10-01 Thread Tristan Cebulla
Dennis Lundberg-2 wrote: Now on to the first question for all users out there: Which of the numbered items above needs more work? Please be either concrete with examples like: option A for goal B in plugin C is really bad or give more general thoughts that are valid for all plugins

RE: How does a plugin unpack a needed resoure

2007-10-01 Thread Brian E. Fox
The dependency plugin has a few unpack goals: http://maven.apache.org/plugins/maven-dependency-plugin -Original Message- From: Mark Russell [mailto:[EMAIL PROTECTED] Sent: Sunday, September 30, 2007 11:12 PM To: users@maven.apache.org Subject: How does a plugin unpack a needed resoure

Re: Using maven for JavaScript projects

2007-10-01 Thread Haroon Rafique
On Today at 7:09am, ndl=nicolas de loof [EMAIL PROTECTED] wrote: ndl I've created a wiki entry ndl (http://hammerfest.wiki.sourceforge.net/mavan-javascript-tools) ndl to resume the ideas exposed in this thread. ndl ndl please be nice and don't blame me for my ugly english ;-) ndl (any native

Can plugins call other plugins

2007-10-01 Thread Mark Russell
I am writing a maven plugin that at execute time needs to call another maven plugin. How do I do that? -- Mark Russell Instantiations, Inc. 724-368-3331 (land line) http://www.instantiations.com smime.p7s Description: S/MIME Cryptographic Signature

ghost dependencies

2007-10-01 Thread Darren Salomons
When I package up my WAR file I get a jar file(avalon-framework) bundled up with it that is not a dependency nor a transitive dependency. Running dependency:resolve it mysteriously shows up as a compile time dependency but when I run the dependency:tree it doesn't show up. I did a full text

Re: ghost dependencies

2007-10-01 Thread Nick Stolwijk
Could you run mvn -X install on your project and search the output for this dependency. Maybe that will clear things up? Hth, Nick Stolwijk Darren Salomons wrote: When I package up my WAR file I get a jar file(avalon-framework) bundled up with it that is not a dependency nor a transitive

Re: ghost dependencies

2007-10-01 Thread Wayne Fay
Is it possible that you used to have a dependency on it (perhaps transitively), and haven't run mvn clean to remove it from target, so it is still getting bundled in the WAR? Wayne On 10/1/07, Darren Salomons [EMAIL PROTECTED] wrote: When I package up my WAR file I get a jar

Unusual error from JavaMojoDescriptorExtractor

2007-10-01 Thread robert . egan
Greetings, I made a transpositional error in the execute method of my Mojo, and produced some rather unusual diagnostics. Since the root cause was user error there may not be any great interest in looking further, but I'll post it here anyway... getLog().info(Files to be deleted: +

Re: Using maven for JavaScript projects

2007-10-01 Thread Haroon Rafique
On Today at 9:56am, HR=Haroon Rafique [EMAIL PROTECTED] wrote: HR HR Hi Nico, HR HR Could you add another js tool to the list? I haven't started using it, but HR it also looks promising in the link/compress category. HR HR Its the yuicompressor-maven-plugin HR

Re: Maven JavaScript Plugin 1.2 released

2007-10-01 Thread Insitu
Adam Altemus wrote: Can you give me some information on your environment? I'm pretty sure I know what the error is but, I need to make sure. Looks like a java 1.4 environment trying to compile java 1.5 to me ;-) Manos hello, This problem has sometimes bitten me in the past and is due

Re: Incorrect Build state with Maven2

2007-10-01 Thread Emmanuel Venisse
If you run mvn 2.0.7, you can fix it with this fixed version: http://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/maven-core/src/bin/ Emmanuel [EMAIL PROTECTED] a écrit : Hi, I 've tried the tipp from the FAQs, and added if %MAVEN_TERMINATE_CMD% == on exit %ERRORLEVEL% to

Re: Unusual error from JavaMojoDescriptorExtractor

2007-10-01 Thread robert . egan
Double oops. Apparently I've left my good typing hands at home :). The real error was here for (int i = 0; i files.length; i++)// Forget the brace resulting in a missing right hand brace at the end of the file. Sorry about that. Robert Egan [EMAIL PROTECTED] wrote on 10/01/2007

Re: Using maven for JavaScript projects

2007-10-01 Thread nicolas de loof
I plan to add support for the yahoo compressor. I have some issues with the dojo one (needs to reset the rhino context, and found no way to do so) I'll look at the plugin you pointed, thanks. 2007/10/1, Haroon Rafique [EMAIL PROTECTED]: On Today at 9:56am, HR=Haroon Rafique [EMAIL PROTECTED]

RE: tutorial doxia and maven plugin

2007-10-01 Thread Giovanni Pedone
It is just this: document properties titlePage Title/title author email=[EMAIL PROTECTED]John Doe/author /properties head titlePage Title/title /head body section name=bindings pHi!/p ciao ciao gio /section /body /document And I just run the command:

Re: ghost dependencies

2007-10-01 Thread Darren Salomons
Thanks Nick, that helped. I was confused because the dependency tree from the command line in my site was not showing this transitive dependency. Darren Nick Stolwijk-3 wrote: Could you run mvn -X install on your project and search the output for this dependency. Maybe that will clear

Re: Improving the documentation of plugins (was maven is hard)

2007-10-01 Thread Tristan Cebulla
Tristan Cebulla wrote: Stupid trying out can be very tedious and I don't want to sit eight hours every day long testing options/parameters to get it work properly ;) Regards, Tristan Cebulla Just to correct my last post: it was not intended to sound rigorous, I'm just looking for

Re: Optional Mojo Execution?

2007-10-01 Thread Tim Kettler
Ah, it wasn't clear from you original mail that you are talking about report plugins. Manos Batsis schrieb: Manos Batsis wrote: According to the documentation, this seems irrelevant to my original question, which is, how to make reporting mojo execution optional, i.e. not happen unless the

Maven multilple dependency

2007-10-01 Thread Eguzki Astiz Lezaun
Hello, In our project, we have two different modules separated into two eclipse projects. We use ant for project compilation, packaging and deployment. Dependency management is achieved using maven inside ant build.xml script. One of the modules depends on the other, i.e. module B depends on

Re: Optional Mojo Execution?

2007-10-01 Thread Manos Batsis
Hello Tim, Many thanks for your email. Tim Kettler wrote: Ah, it wasn't clear from you original mail that you are talking about report plugins. Yeah sorry about that :-/ The proper way of excluding certain reports from rendering is however, to specify a reportSet configuration in the

Maven 2.1 release

2007-10-01 Thread Martin.Goulet
Hello all, Does anyone know when Maven 2.1. is intended to be released? Is there a project roadmap published somewhere that I could have a look at? Thx! MG -- Martin Goulet, B.Sc. * Vice President, Java Architecture, CSA * SunGard [EMAIL PROTECTED] * http://www.sungard.com/csa

RE: Maven 2.1 release

2007-10-01 Thread Siegmann Daniel, NY
Does anyone know when Maven 2.1. is intended to be released? Is there a project roadmap published somewhere that I could have a look at? IIRC work is being done to determine what issues should go to 2.1, and which should be later. It is also planned to release an alpha soon (I would expect

Error when project group has trailing spaces..

2007-10-01 Thread Iker Almandoz
Hi All, I am using continuum 1.1-beta2 with maven 2.0.7. I am getting the following error when building one of my applications: Output:

The build classpath

2007-10-01 Thread Yan Huang
Hello, Is there a maven property which I can get the build classpath for a project? the ${java.class.path} doesn't provide that. Or, I have to write a mojo to get it through the call to MavenProject.get*ClasspathElements()? Thanks Yan

Re: Maven 2.1 release

2007-10-01 Thread Wayne Fay
What in particular do you need/want that is available in 2.1 and not in 2.0? Or is this more of a general roadmap question. Wayne On 10/1/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote: Does anyone know when Maven 2.1. is intended to be released? Is there a project roadmap published

Re: Is this a bug (Maven needs pom to read global settings.xml)?

2007-10-01 Thread Vanja Petreski
done.. On 10/1/07, Gisbert Amm [EMAIL PROTECTED] wrote: Vote for it ... -Gisbert Vanja Petreski wrote: Yes! V On 10/1/07, Gisbert Amm [EMAIL PROTECTED] wrote: This one? http://jira.codehaus.org/browse/ARCHETYPE-81 -Gisbert Vanja Petreski wrote: Hello, I have

Maven String Argument

2007-10-01 Thread morrison19
Is it possible to pass in a custom argument to maven that could be used through out the pom files? I'm struggling with finding documentation if this is a possibility or not. -- View this message in context: http://www.nabble.com/Maven-String-Argument-tf4549492s177.html#a12982863 Sent from the

Re: Maven String Argument

2007-10-01 Thread Eric Redmond
Are you talking about a property? Like: mvn compile -Dmyprop=value POM: project ... dependency ... version${myprop}/version Like that? -- Eric Redmond http://coderoshi.blogspot.com/ On 10/1/07, morrison19 [EMAIL PROTECTED] wrote: Is it possible to pass in a custom argument to

Re: Is there equivalent maven 2 tag for the dependency property tag eclipse.dependency from maven 1

2007-10-01 Thread Yan Huang
This tag is for maven 1 eclipse plug-in and used for defining dependencies as eclipse projects. By default, the dependencies defined in the POM would be in jars format. However, they can be projects in the eclipse workspace. If a dependency is an eclipse project, a property needs to be added to

Weird behavior in user management

2007-10-01 Thread Iker Almandoz
Hi All, I'm using continuum-1.1-beta-2 with maven 7. I am running the system as admin and i am getting a project group twice when i look at my permission list: * Project Administrator - Aggregators * Project User - Aggregators * Project Administrator - Aggregators * Project

compilerArguments for maven-compiler-plugin

2007-10-01 Thread Yan Huang
Hello, Regarding maven-compiler-plugin, is there a way to pass compiler arguments on the command line rather than through pom.xml? I don't find expression defined in its manual page though. Thanks Yan

Re: Weird behavior in user management

2007-10-01 Thread Emmanuel Venisse
You can upgrade your continuum to 1.1-beta-3, some issues in redback (security framework) are fixed. Emmanuel Iker Almandoz a écrit : Hi All, I'm using continuum-1.1-beta-2 with maven 7. I am running the system as admin and i am getting a project group twice when i look at my permission

Re: Error when project group has trailing spaces..

2007-10-01 Thread Emmanuel Venisse
What do you get in the build output? Emmanuel Iker Almandoz a écrit : Hi All, I am using continuum 1.1-beta2 with maven 2.0.7. I am getting the following error when building one of my applications: Output:

Re: Is there equivalent maven 2 tag for the dependency property tag eclipse.dependency from maven 1

2007-10-01 Thread Wayne Fay
As far as I know, no such tag exists in M2. I'm still not sure why (or even if) you need it. Wayne On 10/1/07, Yan Huang [EMAIL PROTECTED] wrote: This tag is for maven 1 eclipse plug-in and used for defining dependencies as eclipse projects. By default, the dependencies defined in the POM

Re: Error when project group has trailing spaces..

2007-10-01 Thread Iker Almandoz
Hi Emmanuel, See below the whole output report Thanks for the help, Regards, Iker Online report : http://continuum_server:8080/continuum/buildResult.action?buildId=1740projectId=211 Build statistics: State: Failed Previous State: Failed Started at: Sun 30 Sep 2007 19:51:34 -0700

Re: compilerArguments for maven-compiler-plugin

2007-10-01 Thread Wayne Fay
Maven does not really like passing things via arguments -- this is the exception rather than the norm. You could probably use -Dmy.arg=blah blah and then in the m-compiler-p set compilerArguments${my.arg}. But this is not the right way to use Maven. If you have a few different sets of arguments,

custom jar contents?

2007-10-01 Thread Sonar, Nishant
Hi I have a structure as MyAppModule Src Main Java Com Myapp Bankapplication Some classes Utilities FormulaCalc someclasses DateCalc

Re: custom jar contents?

2007-10-01 Thread Wayne Fay
Your email lost its formatting. Please post on pastebin or a similar site and send the url as it is unclear what you are working with. In general, if you want 2 jars, you should make 2 modules which means 2 poms and 2 directories. If one set of files depends on the other (impl dep on api), then

Re: custom jar contents?

2007-10-01 Thread Éric Daigneault
Simple answer : If you need two jars then your project needs to be broken into two separate projects. To get a better understanding I would like to know why you require to have two jars ? different configurations ? optional components ? Believe me here I got through this a while ago on Maven

RE: Maven 2.1 release

2007-10-01 Thread Martin.Goulet
I'm looking for this fix: http://jira.codehaus.org/browse/MNG-553 MG -- Martin Goulet, B.Sc. * Vice President, Java Architecture, CSA * SunGard [EMAIL PROTECTED] * http://www.sungard.com/csa -Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: Monday, October 01,

RE: Maven 2.1 release

2007-10-01 Thread Martin.Goulet
Thx Daniel! MG -- Martin Goulet, B.Sc. * Vice President, Java Architecture, CSA * SunGard [EMAIL PROTECTED] * http://www.sungard.com/csa -Original Message- From: Siegmann Daniel, NY [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 12:10 To: Maven Users List Subject: RE: Maven

RE: Improving the documentation of plugins (was maven is hard)

2007-10-01 Thread Brian E. Fox
The mojo project has mailing lists (http://mojo.codehaus.org/mail-lists.html) for those projects. -Original Message- From: Tristan Cebulla [mailto:[EMAIL PROTECTED] Sent: Monday, October 01, 2007 9:55 AM To: users@maven.apache.org Subject: Re: Improving the documentation of plugins (was

Re: Improving the documentation of plugins (was maven is hard)

2007-10-01 Thread Dennis Lundberg
Tristan Cebulla wrote: Dennis Lundberg-2 wrote: Now on to the first question for all users out there: Which of the numbered items above needs more work? Please be either concrete with examples like: option A for goal B in plugin C is really bad or give more general thoughts that are valid

Re: Improving the documentation of plugins (was maven is hard)

2007-10-01 Thread Raphaël Piéroni
Hi, the dashboard plugin is still snapshot and reside in the mojo sandbox. It not yet being released. Raphaël 2007/10/1, Brian E. Fox [EMAIL PROTECTED]: The mojo project has mailing lists (http://mojo.codehaus.org/mail-lists.html) for those projects. -Original Message- From:

Re: Maven JavaScript Plugin 1.2 released

2007-10-01 Thread Adam Altemus
I removed the tags that seem to have been causing the problem. If the problem still persists, enter it as an issue and I'll fix it ASAP. Thanks, Adam Altemus http://www.mobilvox.com On 10/1/07, Insitu [EMAIL PROTECTED] wrote: Adam Altemus wrote: Can you give me some information on your

Setup gotchya

2007-10-01 Thread Jason Nerothin
Hello, I've been trying to get maven 2 working for a while now, and have had next to zero luck doing so. I suspect has something to do with codehaus servers being down, which maven apparently wishes to contact for downloading from central. I've tried forcing mvn to contact a mirror in place of

Re: Setup gotchya

2007-10-01 Thread John Quinn
Why not try commenting ibiblio out in your settings.xml to check your theory. Then downloads would come from the central repository: urlhttp://repo1.maven.org/maven2/url On 10/1/07, Jason Nerothin [EMAIL PROTECTED] wrote: Hello, I've been trying to get maven 2 working for a while now, and

What value do I set M2_REPO to?

2007-10-01 Thread siegfried
I've been reading http://mojo.codehaus.org/pde-maven-plugin/ and http://maven.apache.org/guides/mini/guide-ide-eclipse.html and I'm not sure which page I want. What does the latter page mean when it says Eclipse needs to know the path to the local maven repository. Therefore the classpath

Re: What value do I set M2_REPO to?

2007-10-01 Thread Alexander Sack
Your Maven 2 repository which on windows would be: C:\Documents and Settings\username\.m2\repository etc. -aps On 10/1/07, siegfried [EMAIL PROTECTED] wrote: I've been reading http://mojo.codehaus.org/pde-maven-plugin/ and http://maven.apache.org/guides/mini/guide-ide-eclipse.html and I'm

How to fabricate class path and execute program from Maven (RE: How to run maven goals from Eclipse?)

2007-10-01 Thread siegfried
I believe Carlos already responded to my question below. I think he said to google search for the plug in (I could not find his response, maybe I deleted it). Well I did some searching and successfully demonstrated the anttasks features at

multi-module unit testing

2007-10-01 Thread Awaragi
Hi All, i hope that this question was not asked before as I am new to maven and to this forum. I am trying to build a multi-module project with three modules: libraries A and B and application C which depends on A and B. Libraries A and B have their unit testing classes which use a setup class

Re: multi-module unit testing

2007-10-01 Thread Éric Daigneault
Hi Pierre, The way I solved this for myself was to create a test project and put all the common test code in it (as normal stuff, not as test stuff) then I used the test project in all other projects as a dependency. This way I have access to the common test stuff. then to ensure that the extra

RE: How to fabricate class path and execute program from Maven (RE: How to run maven goals from Eclipse?)

2007-10-01 Thread Brian E. Fox
There is something called the exec plugin I believe and I think something also called the app-builder. Try searching using the google search on the maven.apache.org page. The dependency plugin can output the classpath to a file for later execution. -Original Message- From: siegfried

Re: Setup gotchya

2007-10-01 Thread Wayne Fay
Why are you trying to connect to ibiblio at all? Just use the standard repo1.maven.org as suggested by John. Additionally, try adding -U to force updates of artifacts. And/or delete the ~/.m2/repository directory to get rid of bad metadata and try again with a -U. Wayne On 10/1/07, John Quinn

HOW TO RUN MULTIPLE PACKAGING USING DIFFERENT ENV?

2007-10-01 Thread mailming
I am trying to implement packaging multiple into multiple ear files using profile activation, using classifier. for example mvn package -DEnv=Alpha maven package into file-0.5-snapshot-alpha.ear and then mvn package -DEnv=Delta maven package into file-0.5-snapshot-delta.ear but I need

Re: uploading jars to a internal repository using mvn deploy

2007-10-01 Thread [EMAIL PROTECTED]
cstamas wrote: you could try to use WebDAV (confgure it as build extension in mvn 2.0.7) and point the repo URL to address: http://devserver1:/px-webapp/dav/inhouse Thank you so much for that suggestion!! it got me that little closer to the answer, which seems to be (notice the

How to always get latest version of the dependency?

2007-10-01 Thread siegfried
How do I always download the latest version of the dependency? So far, I've always had to specify the version of the dependency I want. Thanks, Siegfried

access to MavenProject help

2007-10-01 Thread Mark Russell
I am trying to develop a plugin and get access to the MavenProject. Here is my code: /** * parameter expression=${project} */ private MavenProject mavenProject; . . . if (mavenProject != null) { List repositories = mavenProject.getRepositories();

Re: multi-module unit testing

2007-10-01 Thread Awaragi
Hi Eric, Thank you for your reply. Your solution is definitly getting me there but I am still a little bit confused about dependencies of these projects. Won't you run into a cirucular dependency issue between common test project and the library it support? From example, A, B are lib projects

?Project build start successful build finish hooks?

2007-10-01 Thread jep
I am in the process of converting a large project from Subversion/Ant/CruiseControl to Subversion/Maven/Continuum(1.1-beta-2). One of the things done on the CruiseControl machine is to restore a database to a known state before the build starts (so the integration tests run during the build

Re: continuum with oracle

2007-10-01 Thread Cla Monsch
hi it's an unlovely story! with 1.0.3 it was possible to use an oracle db. there you had to adjust some mappings within the package.jdo file in the jpox jar. we also tried to switch the 1.1-alpha2 version to oracle but we gave it up due to problems between jpox and oracle. i suspect there

  1   2   >