Error parsing SCM url for site-deploy target

2006-06-02 Thread CDickson
Hi, The tag in my POM looks like this: scm:cvs:pserver:behrcvs.masco-coatings.com:/usr/cvsroot:commons-maven/uber-pom There is no tag as we have no anonymous access. I have no problems executing the deploy target. However when I execute the site-deploy target I get this error: [INFO] ---

M2: SCM properties being replaced during release

2006-06-02 Thread CDickson
Hi, The section of a pom in CVS for a pom archetype project looks like this prior to executing release:prepare : ${base.cvs.url}:commons-maven/uber-pom ${base.cvs.url}:commons-maven/uber-pom ${base.viewcvs.url}/commons-maven/uber-pom Then after executing release:prepare, th

Re: One more simple question

2006-06-02 Thread Kieran Brady
Does it work though? ;-) Where Maven is concerned if it works, I'd use it. - Original Message - From: "EJ Ciramella" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Friday, June 02, 2006 11:53 PM Subject: RE: One more simple question That would be a misuse of final name: finalNam

Re: One more simple question

2006-06-02 Thread Max Cooper
I am not aware of any convention in that area. And I am breaking my pledge to stop trying to answer emails. Hopefully I don't give you bad advice this time. :-) Some options/issues: 1. ../lib -- fails if /bin is not the current working directory, like if you run './target/bin/somestartscript.

How to change SMTP server for mail notification?

2006-06-02 Thread janderse
Hi, I stumbled upon Continuum yesterday, and I really appreciate its simplicity and features. I've setup cruisecontrol and looked at anthill before, and those took a lot of work to get those setup. The quick-start web interface in Continuum is great. I'm running into a problem in configuri

RE: One more simple question

2006-06-02 Thread EJ Ciramella
In a related note, how are the scripts that are used to start/stop applications built by maven supposed to build up the proper class path? So during the build for this one application we have, the jar file is placed in target/lib now. ALSO - as the resources are processed, the scripts wind up in

RE: One more simple question

2006-06-02 Thread EJ Ciramella
That would be a misuse of final name: finalNameThe filename (excluding the extension, and with no path information) that the produced artifact will be called. The default value is ${artifactId}-${version}. -Original Message- From: Max Cooper [mailto:[EMAIL PROTECTED] Sent: Frida

Re: One more simple question

2006-06-02 Thread Max Cooper
Oh yeah, that's better than my jarName solution. Okay, I think I will stop trying to answer emails today before I give any more lousy advice. :-) -Max EJ Ciramella wrote: Also, wouldn't it be basedir according to that documentation? -Original Message- From: EJ Ciramella [mailto:[EM

Re: One more simple question

2006-06-02 Thread Kieran Brady
You'll need something like this in your POM: lib/${artifactId}-${version} and maybe you'll also need to create the lib directory. - Original Message - From: "EJ Ciramella" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Friday, June 02, 2006 11:30 PM Subject: One more simple que

Re: One more simple question

2006-06-02 Thread Max Cooper
Sorry -- what I said wasn't right. This works: org.apache.maven.plugins maven-jar-plugin lib/${project.artifactId}-${project.version} -Max EJ Ciramella wrote: [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionExceptio

RE: One more simple question

2006-06-02 Thread EJ Ciramella
Also, wouldn't it be basedir according to that documentation? -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 6:46 PM To: Maven Users List Subject: RE: One more simple question [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionExceptio

RE: One more simple question

2006-06-02 Thread EJ Ciramella
[INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring: org.apache.maven.plugins:maven-jar-plugin. Reason: ERROR: Cannot overr ide read-only parameter: outputDirectory in goal: jar:jar maven-jar-plugin ${project.build.outputDirectory}/lib

Re: One more simple question

2006-06-02 Thread Max Cooper
http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html Set outputDirectory to ${project.build.outputDirectory}/lib in the jar plugin configuration. -Max EJ Ciramella wrote: By default, jars are placed in the root of target, how do you move them to target/lib? ---

eclipse, wtp, maven and web apps

2006-06-02 Thread kvpetrov
Eclipse allows you to deploy the web applications using the WTP's servers. It seems like it uses the src/main/webapp folder and it also supplies the classpath which is comprised of target/classes folder and all the dependencies that you define in your POM. Isn't it wrong though to use the src/mai

how can i skip some goal in multi-projects

2006-06-02 Thread shen kai
i have a project has two modules.. all of them have pom.xml. when i run a goal, such as jboss:deploy.. will build error on parent project. how can i skip it in parent project, only run in the child projects. i must build three project together.

One more simple question

2006-06-02 Thread EJ Ciramella
By default, jars are placed in the root of target, how do you move them to target/lib?

Re: maven-was-plugin

2006-06-02 Thread Max Cooper
I just read your original message, and I remembered some other issues with spaces in paths that I had with jboss-maven-plugin... I had to go through and add quotes to some of the scripts in the plugin so that the scripts would execute correctly when there are spaces in paths. If maven-was-plu

Re: maven-was-plugin

2006-06-02 Thread Max Cooper
I had an issue with the jboss-maven-plugin in cases where there are spaces in the path to my project's exploded webapp. One of the jboss-maven-plugin goals constructs a URL with the path as an HTTP parameter value. This was the problem. The solution was to URLEncoder.encode() the path when con

Multiple passes of filtering

2006-06-02 Thread rudy.bistrovich
Is there a way to do multiple passes of filtering? I have one property file that I want filtered 4 times to 4 different target directories from 4 different filter files since I have to deal with creating property files for 4 different Server environments. It would be nice to do this in one

Re: Free book on maven 2.0

2006-06-02 Thread Dennis Lundberg
If you find any errors in the book, that are not covered on the errata page [1], please send them to Mergere. The adress is on the errata page. [1] http://www.mergere.com/m2book_errata.jsp Piéroni Raphaël wrote: There are some typo remaining like "the the" 2006/6/2, Carlos Sanchez <[EMAIL PRO

RE: Compiling sub-modules/artifacts in different jdks...

2006-06-02 Thread Daryl.Dwyer
Thank you, both - will try and let you know. I was hoping there was a way to compile the EJB in 1.5 but fork the process to compile the client with a different JDK (1.4) within the generateClient portion of the EJB plugin (vs. a separate custom module for the EJB client), though. Thanks, Daryl

RE: scripts/bin directory

2006-06-02 Thread EJ Ciramella
What is the lifecycle to use to have these copied over to the target directory? I have this: bin maven-assembly-plugin src/main/assembly/dep.xml But I can't get them copied over... -Original Message- From: Dennis Lu

Re: scripts/bin directory

2006-06-02 Thread Dennis Lundberg
EJ Ciramella wrote: According to the following document http://maven.apache.org/guides/introduction/introduction-to-the-standard -directory-layout.html Where are scripts supposed to be located (and where is this mentioned on the site)? The scripts for Maven 2 itself is in src/bin/ See: h

Re: scripts/bin directory

2006-06-02 Thread Max Cooper
I am just another Maven user, so don't take this response as Maven gospel... I assume you mean scripts that end users will run to start your application, or something of that nature. I am not aware of any plugins that do anything with such scripts, so I don't think there is a prescribed locat

Re: [M2] How to change log level of maven?

2006-06-02 Thread Szczepan Faber
I was hoping I can set WARN or even ERROR only :( thanks! Szczepan On 6/2/06, Kenney Westerhof <[EMAIL PROTECTED]> wrote: On Fri, 2 Jun 2006, Szczepan Faber wrote: > How to change log level of maven? I mean the output on the console > when you launch mvn goal. > > By default I guess that 'INFO

RE: ArcheType definition

2006-06-02 Thread Bravo, Kris
Yes it is: http://maven.apache.org/guides/mini/guide-creating-archetypes.html Unfortunately, the command line for a custom tag is a bit clunky. You have to pass the artifactId and groupId of your archetype as parameters. kris bravo * Clarify Development * office: 678.893.1288 * mobile: 678.296.8

Re: Maven Assembly

2006-06-02 Thread Lee Meador
I am using 2.0.4 and I do not get two copies. I checked a zip file built just 3 minutes ago. This is what's in my assembly xml file: /lib false runtime I recently deleted my entire repository and reloaded everything. All that means is that

Re: Stand-alone app

2006-06-02 Thread Lee Meador
Thank you. My setup, so similar to yours, generates things organized as you want. That's what I want as well. I don't know why yours doesn't. Sometimes knowing that someone else is doing something similar to what you are doing and they get the right results is useful. So the real question is wha

Re: Problem with filtering of property files

2006-06-02 Thread Max Cooper
I am not precisely sure what the difference is, but from looking at the filtering code in the maven-resources-plugin in the past, I know that it does treat *.properties files differently than other files. These things might make a difference, too: 1. What delimiters are you using for the token

scripts/bin directory

2006-06-02 Thread EJ Ciramella
According to the following document http://maven.apache.org/guides/introduction/introduction-to-the-standard -directory-layout.html Where are scripts supposed to be located (and where is this mentioned on the site)?

Firing off a shellscript prior to unittesting

2006-06-02 Thread EJ Ciramella
Quick question - if I need to have a server started for unittesting (which is started up via a shell script), how does one go about doing this and is this considered safe (I wouldn't consider these unittests personally)?

Changing the version specified in a middle tier module...

2006-06-02 Thread EJ Ciramella
Here's the scenario - we have three levels of modules - top, middle, bottom. In the top level module, that pom says it depends on some snapshot of the middle level module. That middle level module depends on some version of the bottom level module. If the middle tier doesn't change, how can I

RE: Problem with filtering of property files

2006-06-02 Thread Bravo, Kris
Are the files underneath subdirectories? You may need to go from this: context.xml version.properties To this: context.xml **/version.properties kris bravo * Clarify Development * office: 678.893.1288 * mobile: 678.29

RE: Maven Assembly

2006-06-02 Thread Midtskogen, Erik
Hi Rudy, Yes, I'm seeing this when assembly runs. And yes, I'm using maven 2.0.4. I wonder if this is related to my issue of seeing all the dependency jar libraries jarred up into the executable jar I'm trying to create during the package (jar:jar) lifecycle. --Erik -Original Message-

Re: Stand-alone app

2006-06-02 Thread Tim Kettler
Erik, I have sent you the project in a private mail too. Have you received that? However, I misunderstood you until now. I thought your only problem was the dependencies in the executable jar and not the duplicate executable jar in the created assembly. I get this as well. I will send you anot

Maven Assembly

2006-06-02 Thread rudy.bistrovich
Has anyone else noticed how the main jar file you create is now included as a "dependency" when using the in an assembly file? Now the zip I create has 2 copies of my main jar in it? One under the output directory for files picked up as dependencies and one under the main directory? BTW t

Pragma: no-cache on GET requests?

2006-06-02 Thread Gordon Henriksen
Here's a GET that Maven 2.0.4 generated: GET /maven/mirror/ibiblio/org/apache/maven/plugins/maven-surefire- plugin/2.2-SNAPSHOT/maven-surefire-plugin-2.2-SNAPSHOT.pom HTT P/1.1 Pragma: no-cache User-Agent: Java/1.5.0_06 Host: dev.manhunt.net Accept: text/html, image/gif, image/jpeg, *; q=.2, */

RE: [M2] Ghost dependencies

2006-06-02 Thread Bravo, Kris
Move this to the tag instead of and try again. ... jakarta-regexp jakarta-regexp 1.4 runtime kris bravo · Clarify Development · office: 678.893.1288 · mobile: 678.296.8723 -Original Message- From: Sebastien Arbogast [mailto:[EMAIL PROTEC

RE: Stand-alone app

2006-06-02 Thread Midtskogen, Erik
Hi Lee, I'm sorry. I misunderstood your query. Yes, the situation I'm seeing is exactly as you described. I'm getting unwanted dependency jars copied into the executable jar in addition to the ones I do want copied into the file system under (for example) ./lib. I thought you were asking if th

RE: Stand-alone app

2006-06-02 Thread Midtskogen, Erik
Quick question: is there any way to put jar libraries that are located under the virtual directories inside an executable jar onto the class path, other than by writing code into your application to do this or by unzipping the jars into the computer's filesystem prior to running the executable? I'

RE: Stand-alone app

2006-06-02 Thread Midtskogen, Erik
Hi Lee, "The situation is that the assembly jar contains the executable jar and the dependencies under the lib folder. The executable jar also contains the dependency jars along with the application class files itself. Is that right? Are the dependency jars inside some folder in the executable jar

Re: Stand-alone app

2006-06-02 Thread Lee Meador
I have a build very much like yours. My config for the jar plugin is virtually the same. My assembly xml file is similar. I do NOT get any extra jar files in the executable jar. They are only in the assembled jar under /lib. Here are some differences. I don't see any that should matter. I don't

getting dependencies

2006-06-02 Thread Dave Maung
is there way to get all the depenedencies of artifactid, version, and groupId from antrun plugin (build.xml)? Dave

RE: Stand-alone app

2006-06-02 Thread Midtskogen, Erik
Hi Wendy, Thanks. I'll definitely keep that in mind--once I get the thing actually working the way I want it to work! --Erik -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 2:53 PM To: Maven Users List Subject: Re: Stand-alone app On 6/2/06,

Re: Stand-alone app

2006-06-02 Thread Wendy Smoak
On 6/2/06, Midtskogen, Erik <[EMAIL PROTECTED]> wrote: Hi Wayne, Where would I put such documentation? I don't really see any place on the maven site to put documentation of "tips and techniques". If I were to create a assembly:stand-alone-app goal, then at least I'd have somewhere to hang the

RE: Stand-alone app

2006-06-02 Thread Midtskogen, Erik
Hi Wayne, Where would I put such documentation? I don't really see any place on the maven site to put documentation of "tips and techniques". If I were to create a assembly:stand-alone-app goal, then at least I'd have somewhere to hang the documentation. I guess my thinking is that if you can m

RE: Stand-alone app

2006-06-02 Thread Midtskogen, Erik
Hi Tim, I'm sorry, but I didn't receive the attachment. It only came through as what looked like the end of a text message. I suspect that some firewall must have intervened and deleted the bulk of the attachment. Also, I was wrong about getting exactly what I wanted in the root directory from

Re: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Lee Meador
In one situation, I put some log4j settings in a file in the jar or war and allow putting an override properties file on the classpath. I use the settings inside the jar to configure log4j and then override the log levels from the classpath file (if it is there). [You could override whatever suits

Re: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Wayne Fay
This is a great suggestion. I'm going to take this approach when JNDI is not feasible. Thanks Carlos. Wayne On 6/2/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote: My suggestion is, include ALL the properties files and in your code look for a system property to choose one. If it's not present you

Re: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Carlos Sanchez
I didn't see the log4j part. That looks more like a log4j question. IIRC there's a web.xml config option that specify the path of the configuration. Maybe I saw that in spring utilities. SLF4J facade may also help you, http://www.slf4j.org/ On 6/2/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:

Re: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Carlos Sanchez
My suggestion is, include ALL the properties files and in your code look for a system property to choose one. If it's not present you can default to dev environment or fail, whatever you want. Then you just have to run your server with that property -Denv=prod That's it On 6/2/06, Wayne Fay <[E

Re: site:deploy -p switch

2006-06-02 Thread Carlos Sanchez
Man, I told you in http://jira.codehaus.org/browse/MSITE-145 SFTP is NOT FTP You configured Maven to use SFTP You are connecting by hand to FTP http://en.wikipedia.org/wiki/SSH_file_transfer_protocol http://en.wikipedia.org/wiki/File-Transfer_Protocol On 6/1/06, Borut Bolčina <[EMAIL PROTECTE

Re: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Wayne Fay
How do you handle this in ant? Assuming of course that you're coming from ant, and that you've previously solved this problem. Wayne On 6/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Although I could do this for log4j - what about other 3rd party frameworks that use classpath resources fo

Re: Stand-alone app

2006-06-02 Thread Tim Kettler
Midtskogen, Erik schrieb: Hi Tim, Ohhh! I think I see what's happening. I was expecting the final result zip file to appear under the ./target directory instead of right in the root directory. After running assembly:assembly there is a zip file under the ./target directory with a somewhat lon

Re: Maven2 book version 1.1?

2006-06-02 Thread Carlos Sanchez
It will be done, sure. I think around end of June. On 6/2/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote: When I started reading the new Maven2 book, I noticed quite a few mistakes here and there and I tried to mark them in the PDF in order to report them later... until I noticed that the Erra

Re: maven-was-plugin

2006-06-02 Thread Lee Meador
Also in windows each folder and file has "short name" that has no spaces in it and is 8 or less characters. You can see the short name by going to a DOS box and using "dir /X" which adds a column about midscreen showing the short form. Then specify the short names to define that path. It would be

RE: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Carlos.Fernandez
Although I could do this for log4j - what about other 3rd party frameworks that use classpath resources for configuration. Log4j was just kind of a stand-in for a more general condition. Do you end up having to spool up and configure all of those resources programmatically in order to externalize

RE: MANIFEST.MF generation outside of jar:jar plugin

2006-06-02 Thread Mike Perham
war:manifest will generate a standalone MANIFEST.MF in /META-INF. Despite the war association it does not require a war project; you can use it anywhere (for ejb/mdb projects for instance). Example: maven-war-plugin WebContent

RE: Why do my builds fail to honor the repositories settings?

2006-06-02 Thread Dave Hoffer
Correction...local ftp problem is fixed; I only have trouble with the remote repositories. -dh -Original Message- From: Dave Hoffer [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 1:08 PM To: users@maven.apache.org Subject: Why do my builds fail to honor the repositories settings?

Re: Stand-alone app

2006-06-02 Thread Wayne Fay
Writing a plugin from scratch that basically duplicates existing effort/code is probably a waste of time. Adding it under the assembly plugin sounds reasonable. But given that you got it working with a few configurations in your pom, I'm not even sure that's necessary. Instead I'd prefer that you

RE: Stand-alone app

2006-06-02 Thread Midtskogen, Erik
Hi Tim, Ohhh! I think I see what's happening. I was expecting the final result zip file to appear under the ./target directory instead of right in the root directory. After running assembly:assembly there is a zip file under the ./target directory with a somewhat longer name "pairfinder-0.9-sta

Inheriting POM

2006-06-02 Thread cristal
Now, I have 20 or so POM's that are all taking a top level POM as the parent shown below: com.mycompay.apps BaseApp 9.5-SNAPSHOT ../BaseApp Now the question is - if we later on change the version of the BaseApp, we will have to modify the section in ea

Why do my builds fail to honor the repositories settings?

2006-06-02 Thread Dave Hoffer
I thought I was progressing in my knowledge of how to configure maven2 so that multiple developers can build with maven. However today, I no longer can download anything from repositories configured in my project pom.xml file. Here is a typical setting in a module's pom: int

Re: archetype pom.xml not same as archetype-resources/pom.xml

2006-06-02 Thread ertnutler
wayne, thanks for your response. now that i think about it, i changed the maven-archetype pom in my local repo as you suggested in the thread below because i was having the problem described there: http://www.nabble.com/Archetype-installation-and-creation-of-the-app-problem-t1593239.html#a434085

Re: [M2] How to change log level of maven?

2006-06-02 Thread Kenney Westerhof
On Fri, 2 Jun 2006, Szczepan Faber wrote: > How to change log level of maven? I mean the output on the console > when you launch mvn goal. > > By default I guess that 'INFO' level is applied. Yes, the default is INFO. You can enable DEBUG by specifying the '-X' option. Currently these are the o

Re: specifying plugin parameters in POM

2006-06-02 Thread Eugeny N Dzhurinsky
On Fri, Jun 02, 2006 at 07:31:00PM +0300, Eugeny N Dzhurinsky wrote: > Is it possible to alter some plugin parameters in POM? > > For example, if project consists of several modules, I would like to provide > some module-specific parameters (for instance - for dependency plugin I need > to provide

Re: MANIFEST.MF generation outside of jar:jar plugin

2006-06-02 Thread Steven Coco
Hi. What I'm looking for is a way to generate or manipulate the MANIFEST.MF such that it contains values from the POM, like version, etc. I can do this via the 'archive' element in the 'configuration' of the jar plugin, but this doesn't leave an artifact for use outside of the JAR, such as being

Re: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Kris Nuttycombe
I'm not talking about manually setting up the appenders, etc - I'm just talking about configuring log4j from a properties file that can vary by the deployment environment (i.e, be called something other than log4j.properties.) I have a somewhat similar issue to what you have, except that I use

specifying plugin parameters in POM

2006-06-02 Thread Eugeny N Dzhurinsky
Is it possible to alter some plugin parameters in POM? For example, if project consists of several modules, I would like to provide some module-specific parameters (for instance - for dependency plugin I need to provide different target directory to place dependencies into, and for packaging plugi

[M2] How to change log level of maven?

2006-06-02 Thread Szczepan Faber
How to change log level of maven? I mean the output on the console when you launch mvn goal. By default I guess that 'INFO' level is applied. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Re: archetype pom.xml not same as archetype-resources/pom.xml

2006-06-02 Thread Roland Asmann
I must be sleeping on the job, I completely missed that sentence! :-S Roland On Friday 02 June 2006 17:59, Wayne Fay wrote: > I agree with you on the rewriting POMs bit Roland, except that he said > "this worked a couple of days ago, so i can't tell if this is > something that i've done or some

M2 Validate/verify that all dependencies are in the internal remote repositories

2006-06-02 Thread Geoffrey De Smet
One problem I 've encountered a few times now is that everything builds locally but team mates can't build because my local repository differs from theirs. For example, I am working on 2 different projects, each with it's own internal remote repo. The internal repo A contains the ejb3 jar, but t

Re: archetype pom.xml not same as archetype-resources/pom.xml

2006-06-02 Thread Wayne Fay
I agree with you on the rewriting POMs bit Roland, except that he said "this worked a couple of days ago, so i can't tell if this is something that i've done or something that's changed underneath me". So if it worked a few days ago, and he's done nothing, then I'd suspect there might have been s

RE: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Carlos.Fernandez
It is more work than writing a properties file. Also, I am lazy. Which is probably why I want to use maven on my projects. Carlos -Original Message- From: Kris Nuttycombe [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 11:51 AM To: Maven Users List Subject: Re: REPOST: [M2] exter

Re: archetype pom.xml not same as archetype-resources/pom.xml

2006-06-02 Thread Roland Asmann
I'm not sure on this, but I've seen that Maven 'rewrites' the POM (e.g. when asking him for the effective-pom) and doesn't like the XML Namespace-stuff... As for the dependencies, it might be that Maven just ignores empty xml-blocks... Try putting a real dependency in there, just for testing sake

Re: Stand-alone app

2006-06-02 Thread Tim Kettler
Just to be sure I understand you correctly: Your problem is that the dependendcies of your project are included in in the created jar artifact ('pairfinder-0.9.jar')? I ask this because I can't reproduce your problem with the pom/descriptor you posted. I just replaced your internal dependency w

Re: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Kris Nuttycombe
Out of curiosity, why is programmatically configuring log4j (say in a servlet context listener) not a great idea? Kris [EMAIL PROTECTED] wrote: I don't think my team will react nicely if I tell them that in order to have all the maven niceties we have to buy and run oracle app server or have

RE: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Carlos.Fernandez
I don't think my team will react nicely if I tell them that in order to have all the maven niceties we have to buy and run oracle app server or have half a dozen instances of tomcat running on our servers. Is this what people commonly do with maven built wars? What I am trying to figure out is ro

Re: archetype pom.xml not same as archetype-resources/pom.xml

2006-06-02 Thread Wayne Fay
Since you claim nothing has changed on your side, I would generally suspect that some new archetype plugin was released in the last few days/weeks that has changed something that you weren't aware of. Go check your local repo for artifacts with dates newer than the last time this executed properl

Re: site:deploy -p switch

2006-06-02 Thread ian . d . stewart
Hi Wayne, I'm more than happy to be proven wrong, but if memory serves the '-p' switch was introduced in GNU Fileutils. It may been picked up in other utilities (let's face it, it is an extremely handy feature!), but I don't believe it is part of the POSIX standard. Even if it is, Windows is not

RE: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Carlos.Fernandez
Are you referring to using profiles to filter properties files or otherwise tailor the build and resulting artifact to a particular environment? If that is your suggestion, I have some issues with that. In filtering the configuration information, you generate an artifact, such as a war or ear, th

Re: Help explaining maven 2

2006-06-02 Thread rebels_mascot
Ya I've a bit of reading to do alright, tis endless!! Sorry, wrote the pregoals sentence wrong, I'm trying to explain how they're handled in maven 2 by using plugins. As in I need to say to them, goals are no longer used instead you do 1, 2, 3 ... -- View this message in context: http://www.nabb

Re: Problems while running maven2

2006-06-02 Thread Tom Joad
Hi Gregory, could you run mvn with -e option to get stacktracee error. Tom. 2006/6/2, legrand gregory <[EMAIL PROTECTED]>: Hi everybody. I'm sorry for my poor English, but I'm French and I'm not fluent ;-) I am trying to use maven2, but every time I try some commands line I've got this error:

Re: Help explaining maven 2

2006-06-02 Thread Roland Asmann
First, I think you should grab a copy of the book discussed on the mailing-list a couple of times. Check the Maven homepage for it. Second, the pregoal-stuff is no longer available in Maven. I think you want to discuss the life-cycle. For that, there's also a nice bit of documentation on the Mave

archetype pom.xml not same as archetype-resources/pom.xml

2006-06-02 Thread ertnutler
for some reason when i create a new project from an existing archetype, the pom.xml copied to the root of the new project has its element stripped of the xml namespace information and the empty element is removed, as is the element. this worked a couple of days ago, so i can't tell if this is

Re: [m2] Need a release to run mvn release:prepare/perform

2006-06-02 Thread dan tran
I doubt you can get a release of this plugin soon, you can cut the release yourself internally by fetching the latest source from svn and give it a version number like 1.0-[somenumber], build, and deploy to your internal repository. I use svn revision number for the version, just incase i need to

Help explaining maven 2

2006-06-02 Thread rebels_mascot
Hi I'm a student on work placement and the company I'm working for asked me to investigate updating to maven 2. So I've been modifying one of their projects to use maven 2, they currently use maven 1. 1st, what would ye say if ye had to explain maven 2 to someone who has been using maven 1 but do

[m2] Need a release to run mvn release:prepare/perform

2006-06-02 Thread Galleri, Xavier (CALYON)
Title: Message Hi,   I need a released version of the maven-csharp stuff in order to be able to use the maven release plugin. Indeed, with the SNAPSHOT version, the following occurs:       > mvn release:prepare   [INFO] [release:prepare]  [INFO] Verifying that there are no local mo

Problems while running maven2

2006-06-02 Thread legrand gregory
Hi everybody. I'm sorry for my poor English, but I'm French and I'm not fluent ;-) I am trying to use maven2, but every time I try some commands line I've got this error: FATAL ERROR INFO org.apache.maven.profiles.ProfileManager.LoadSettingsProfiles(Lorg/apache/maven/settings/Settings;)V

APT: Images and links

2006-06-02 Thread Erhard Schultchen
Hi, I noticed that with APT, the following constructs are supported: {{}} for hyperlinks, [] to place images in the generated site. Is there some way to combine those, like putting an image which is surrounded by a hyperref? Like {{{http://example.com} [/images/myimage.png]}}. I tried this one,

RE: Change build order for multi-module build

2006-06-02 Thread Björn Beskow
Thanks Wayne for the suggestion. Yes, my parent is only a pom, interited by the module poms. I have considered refactoring into a separate module for the site generation (a "logical parent", but technically a sibling to the modules that it is supposed to aggregate information from), just to get th

Re: resolving and including dependency libraries

2006-06-02 Thread Eugeny N Dzhurinsky
On Fri, Jun 02, 2006 at 04:35:00PM +0200, Tim Kettler wrote: > Hi, > > maybe the dependecy-maven-plugin at > http://mojo.codehaus.org/dependency-maven-plugin/ and the assembly-plugin > at http://maven.apache.org/plugins/maven-assembly-plugin/ are what you are > looking for. http://mojo.codehau

Maven2 book version 1.1?

2006-06-02 Thread Sebastien Arbogast
When I started reading the new Maven2 book, I noticed quite a few mistakes here and there and I tried to mark them in the PDF in order to report them later... until I noticed that the Errata section on Mergere's site was already quite complete. My question is, do you plan to release an updated ver

RE: Stand-alone app

2006-06-02 Thread Midtskogen, Erik
Hi Tim, Hi Tim. Yes, I'm using the assembly plugin to copy the dependencies into a subdirectory called "./lib", and I'm using the jar plugin to build the executable jar, and actually everything works basically OK. My only problem is that the jar plugin is adding the dependency jar files into the

Re: [M2] Ghost dependencies

2006-06-02 Thread Sebastien Arbogast
2.1-SNAPSHOT of the war plugin only includes dependencies with a runtime scope for exploded,inplace and war goals. I think by default an artifact has a compile scope unless you modify the default scope then it shouldn't be included in the war. I don't know which version of the war plugin I'm usi

Re: maven-was-plugin

2006-06-02 Thread Wayne Fay
Spaces in directories on Windows are a known issue in Java when dealing with RMI. And while I don't use it myself, its a good guess that this plugin uses RMI to talk to the WAS for deploying your EAR. You will need to reinstall to a directory with no spaces. Alternatively, you could perhaps use

Re: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Wayne Fay
One suggestion would be to use an app server that allows instancing of webapps. We run Oracle App Server, and each webapp is deployed to its own OC4J instance. Each OC4J instance has its own full directory structure which allows us to copy things like log4j.properties files and other configuratio

Re: REPOST: [M2] external config of artifact and dependencies

2006-06-02 Thread Tim Kettler
Hi, you can define different profiles for the environments you deploy to in your pom. In these profiles you can then define resource locations to pull the config files from. -Tim [EMAIL PROTECTED] schrieb: Sorry - about the repost, but my 10 month old daughter has taught me that the crying w

Re: Getting Started / Problem with plugin

2006-06-02 Thread Thierry Barnier
got the same problem M2 plugin for Eclipse ignored the M2_REPO shell variable, the Repossitory location defined from inside the IDE plugins property page/ The only one it accepts is ~/.m2/settings.xml I don't have this problem with MVN command line tool Maybe should be documented in "troubles

Snapshot repository

2006-06-02 Thread Alexandre Poitras
Hi all, I have been having problem with snapshot repositories lately. My internal repository doesn't want to serve snapshot anymore. I think it has begun with Maven 2.0.4 since it was working well in the past. I know some other people have complained about the same thing so I was wondering if thi

  1   2   >