Re: Converting AppFuse to a Maven 2 Project

2006-07-19 Thread Alex Shneyderman
Simply build a toolkit.war with your files to share. Let other wars dependend on it and anything will be copied over. See war plugin documentation. WAR plugin does not allow for custom merging (web.xml, springContext.xml, etc.), so take a look at cargo:uberwar (cargo.codehaus.org). It allows

Re: cargo:uberwar question

2006-07-15 Thread Alex Shneyderman
this is what I get while runing the uberwar traget [INFO] FATAL ERROR: Unable to configure the Maven application Error stacktrace: org.apache.maven.reactor.MavenExecutionException: You must specify descriptor or

Re: cargo:uberwar question

2006-07-15 Thread Alex Shneyderman
just a typo. should be: descriptorsrc/assemble/merge.xml/descriptor this descriptorIdmerge/descriptorId does not work either with merge.xml being at /uberjar/merge.xml On 7/15/06, Jörg Schaible [EMAIL PROTECTED] wrote: Alex Shneyderman wrote: [snip] descriptorsrc/assemble/merge.xml

Re: uncompress order of war

2006-07-14 Thread Alex Shneyderman
use cargo:uberwar. (http://cargo.codehaus.org) I think war plugin is inadequate, for any serious war merging. On 7/14/06, Lucas Gonçalves [EMAIL PROTECTED] wrote: How can i control the uncompress order of my war dependencies? My application have dependency with two war modules(module1,

cargo:uberwar question

2006-07-14 Thread Alex Shneyderman
Sorry if this question is not posted to the correct mailing list, but I can not find a way to sign up for Cargo list. Anyway here is the question: I am trying to use cargo:uberwar and I follow instructions given on the cargo maven2 plugin page (http://cargo.codehaus.org/Maven2+plugin). When I

setting a property in settings.xml?

2006-07-13 Thread Alex Shneyderman
I am using Cargo plugin to deploy war to my local tomcat and need to specify catalina home directory. Now I do mvn -Dcatalina.home=c:/tc and it works but typing this on my command line every time is tedious. Is there a way to define it in settings.xml? I just can't seem to find it. -- Thanks,

Re: setting a property in settings.xml?

2006-07-13 Thread Alex Shneyderman
Nice, thank you very much. Maven doc is quite confusing about the settings.xml On 7/13/06, rebels_mascot [EMAIL PROTECTED] wrote: I think ... settings profiles profile idyourapp/id properties catalina.homec:/tc/catalina.home

Is there a way to install pom locally

2006-07-12 Thread Alex Shneyderman
when I execute mvn install:install-file? I install outside jars in my local repo but pom is not automatically generated resulting in a round trip to the central repo. -- Thanks, Alex. - To unsubscribe, e-mail: [EMAIL

Re: Is there a way to install pom locally

2006-07-12 Thread Alex Shneyderman
that is great. thanks On 7/12/06, Wayne Fay [EMAIL PROTECTED] wrote: Add -generatePom=true to the install:install-file command... it will generate an empty pom for the project using very basic data about the artifact and install it alongside the artifact in your local repo. Wayne

Re: Super POM

2006-07-10 Thread Alex Shneyderman
I built (myslef) 2.1 yesterday and relativePath is not working. So is this bug only commited to 2.0.5 branch? On 7/10/06, Carsten Karkola [EMAIL PROTECTED] wrote: There was a Bug that is fixed in 2.0.5 (I'm waiting for the public release, to try it out :-) ):

Multi module versioning - how to?

2006-07-10 Thread Alex Shneyderman
I have a multi-module project. in my aggregator module I declare smthg like this: version0.2-SNAPSHOT/version modelVersion4.0.0/modelVersion packagingpom/packaging modules module../lawnet-web-core/module module../lawnet-web-jcomp/module /modules and in

Re: Multi module versioning - how to?

2006-07-10 Thread Alex Shneyderman
Do the module lawnet-web-core's pom.xml defines a parent ? if no, it must define a version. the question is why? Say I have a bunch of modules, that always get built and versioned together, hence the aggregator. The aggregator assigns version to all the modules at a the time of build. I would

Re: realtivePath - what is it?

2006-07-08 Thread Alex Shneyderman
It is a bit confusing since maven has all the information to find pom in the repository. scratch that, what's confusing is the fact that I need to specify groupId,artifactId and version when I specify the realtive path. I assume maven can deduct those from the pom I am pointing to. Am I

realtivePath - what is it?

2006-07-08 Thread Alex Shneyderman
in the parent element of pom.xml parent groupIdedu.columbia.law/groupId artifactIdrootpom/artifactId version1.0/version relativePath../cls-pom/relativePath /parent what is the meaning of relativePath? How do I use it? It is a bit confusing since maven has all the

Re: Dependency question: Designate class from jar instead of whole jar?

2006-07-08 Thread Alex Shneyderman
I do not think it is possible although wrting a plugin to do just that should be a piece of cake. On 7/8/06, Chris Wall [EMAIL PROTECTED] wrote: This might be an odd request, but does Maven allow you to designate a class or set of classes within a jar as a dependency? The use case is that I'd

Maven-Proxy ?

2006-07-07 Thread Alex Shneyderman
With maven1 we are runing maven-proxy to cache the jars we care about. Now I am looking how to do this with maven2 artifacts and can not figure how to make it work. I have something like this in my pom (maven2): project repositories repository idcentral/id nameProxy Central

Disecting a webapp?

2006-07-06 Thread Alex Shneyderman
How does one disect a web app into many modules but deploy it as one web app? This is what I mean: We have a web application that is quite big. We can identify many modules of it. There is a few core modules, and a bunch of child modules. Practically all children are dependendent on core

Re: Disecting a webapp?

2006-07-06 Thread Alex Shneyderman
a look at the better builds with maven book, there is an example in there. On 7/6/06, ben short [EMAIL PROTECTED] wrote: Create a project for each of the core module and the children. then the webapp can pull them in as dependancies. On 7/6/06, Alex Shneyderman [EMAIL PROTECTED] wrote

Re: Archetype installation and creation of the app problem

2006-05-11 Thread Alex Shneyderman
That did it! Thanks a ton! On 5/10/06, Wayne Fay [EMAIL PROTECTED] wrote: I generally would not suggest this, but to fix your problem *right now*, I would go into your local repository (assuming Windows, it will be in C:\Documents and Settings\your.name\.m2\repository), find the

Archetype installation and creation of the app problem

2006-05-10 Thread Alex Shneyderman
hmm, I created an archetype following directions at http://maven.apache.org/guides/mini/guide-creating-archetypes.html this is waht I get when I run the archetype:create $ mvn archetype:create -DarchetypeGroupId=com.opensymphony -DarchetypeArtif actId=webwork-app -DarchetypeVersion=0.1

Re: Archetype installation and creation of the app problem

2006-05-10 Thread Alex Shneyderman
, ${project.version} is *not* valid in a released pom. This should probably be filed as a JIRA bug in component MVN. Probably once this is fixed, your issue will also be resolved. Wayne On 5/10/06, Alex Shneyderman [EMAIL PROTECTED] wrote: hmm, I created an archetype following directions

Re: Maven 1.0.2 documentation

2006-03-30 Thread Alex Shneyderman
http://maven.apache.org/maven-1.x/ On 3/30/06, Yuri Leikind [EMAIL PROTECTED] wrote: Hi everyone, I am going to support a project which uses Maven 1.0.2 as a project management tool. I've read the docs about Maven 2.0, played with it , and found it very easy to use, intuitive and powerful.

Re: Spaces in -D?

2006-03-29 Thread Alex Shneyderman
should not it be like this: mvn compile -Dfoo=bar baz ? On 3/29/06, Gordon Henriksen [EMAIL PROTECTED] wrote: Even if I properly escape spaces in a path at the shell level, Maven seems to attempt to re-tokenize the command parameters. For instance, on Unix, the following seems as if it

Classpath problems

2006-03-02 Thread Alex Shneyderman
I have a problem runing tests under m2. I can compile my sources successfully but for some reason runing tests is a problem: here is my output with -X flag on [INFO] Setting reports dir: c:\eclipse\workspace\domain-driven-aj\target/surefire-reports [DEBUG] Test Classpath : [DEBUG]

RE: [MavenBook] Using a public/private key scheme for site deployment

2005-08-16 Thread Aleksandr Shneyderman
Agreed, SSH stuff is probably the creepiest stuff to set up. Once figured out works pretty well though. The problem I think is that instructions are pretty much dependent on the exact combination of server/client ssh stuff you run. Here is what worked for me with pointers where your actions might

RE: Best approach in using maven w/ eclipse

2005-07-25 Thread A. Shneyderman
If you run command line I can not see the need for tomcat plugin. Just make maven assemble and deploy your application. The following maven.xml works magic for me: ?xml version=1.0? project xmlns:ant=jelly:ant goal name=app:deploy prereqs=war:war ant:unwar

RE: jcoverage.ser file: purpose clean impact?

2005-06-02 Thread Aleksandr Shneyderman
I do not know what the purpose of jcoverage.ser file but you can tell maven to instruct jcoverage to place it in your target by using maven.jcoverage.merge.outputDir property, so when you do clean it will remove the jcoverage.ser file too. Alex. -Original Message- From: Jeff Jensen

RE: jcoverage.ser file: purpose clean impact?

2005-06-02 Thread A. Shneyderman
that property to change the output location? Quoting Aleksandr Shneyderman [EMAIL PROTECTED]: I do not know what the purpose of jcoverage.ser file but you can tell maven to instruct jcoverage to place it in your target by using maven.jcoverage.merge.outputDir property, so when you do clean

RE: how update local repo?

2005-04-19 Thread Aleksandr Shneyderman
I usually run maven console and quit. -Original Message- From: Alexander Rupsch [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 19, 2005 3:30 PM To: Maven Users List Subject: how update local repo? Hi, is there a goal I can use to let maven update an artifact in the local

RE: Hibernate dependencies

2005-04-14 Thread A. Shneyderman
Here is what I have: dependency groupIdcglib/groupId artifactIdcglib/artifactId versionfull-2.0/version properties war.bundletrue/war.bundle /properties /dependency dependency

RE: Disable certain goal dependencies?

2005-02-22 Thread Aleksandr Shneyderman
Set maven.test.skip=true somewhere or if it is temprary provide it as -D option -Original Message- From: Guy Davis [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 4:58 PM To: Maven Users List Subject: Disable certain goal dependencies? Hi there, We recently

Jar:deploy and directory group ownership

2005-02-15 Thread Aleksandr Shneyderman
I am trying to deploy my jars and while the group ownership is set allright the directories that are created to place the jar file into are not well group owned. They are basically set group not writable, which prevents anyone trying to deploy artifact after me into the same directory. Any ideas

RE: Repository http://www.ibiblio.org/maven/

2004-12-15 Thread Aleksandr Shneyderman
Denmark, but the link is not working for me at least. -Original Message- From: dan tran [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 12:19 PM To: Maven Users List Subject: Re: Repository http://www.ibiblio.org/maven/ where is 'dk'? US? -D On Wed, 15 Dec

RE: Creating a hibernate archive (HAR)

2004-12-15 Thread Aleksandr Shneyderman
LOL, What the heck is HAR? for renaming use ant:copy I'm relatively new to Maven, and I'm trying to use some of the built in utilities to build a HAR (hibernate archive). My problem stems from a lack of knowledge of maven in general. I am having difficulties getting a config

RE: Multiproject -- not from top directory?

2004-12-15 Thread Aleksandr Shneyderman
Dan, thanks! First, make sure to add maven.multiproject.type to all submodules If a a module depends on another module, add the dependetn module to its list (ie, the finaly module, should have the dependencies list to include all other modules) Then from root, call maven

More of multiproject questions

2004-12-15 Thread Aleksandr Shneyderman
I started to think in terms of multiprojects lately and can not think of a good way to handle the following situation: I have business tier (BT) that relies on spring, that in turn relies on hibernate to do my ORM stuff. So BT declares the dependency on hibernate. Then I have a web

Multiproject -- not from top directory?

2004-12-14 Thread Aleksandr Shneyderman
I have a project that consists of multiple submodules All of the modules are on the same level. One module is the one that assembles the final app. How do I tell multiproject to look for dependent modules in ${basedir}/../dep-mod-A, ${basedir}/../dep-mod-B and so on? Thanks, Alex.

RE: German translation

2004-11-11 Thread Aleksandr Shneyderman
Try altavista they are the language translation experts, but thye only have limited selection of languages to translate to. I guess German is one of the languages on the list -Original Message- From: Daniel Frey [mailto:[EMAIL PROTECTED] Sent: Thursday, November 11, 2004 6:23 PM To:

RE: automated eclipse projects

2004-08-27 Thread Aleksandr Shneyderman
Use Multiproject import plugin. So you would run maven -Dgoal=eclipse multiproject:goal This will create .classpath and .project files Then use mutiproject plugin to import projects in bulk. Here is the link to the plugin: http://eclipse-plugins.2y.net/eclipse/plugin_details.jsp?id=599 Alex.

RE: Building Webapps

2004-08-12 Thread Alex Shneyderman
You can change it to resource directory${basedir}/src/directory targetPathresources/targetPath includes include**/*/include /includes /resource to achieve that. Alex. -Original Message- From: David Erickson [mailto:[EMAIL

RE: Building Webapps

2004-08-12 Thread Alex Shneyderman
Sorry, of course no targetPath element -Original Message- From: Alex Shneyderman [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 3:43 PM To: 'Maven Users List' Subject: RE: Building Webapps You can change it to resource directory${basedir}/src

RE: Building Webapps

2004-08-12 Thread Aleksandr Shneyderman
Webapps But then that will include tons of stuff I dont want that is within my src directory, ie i dont want my .java files going along with it.. nor my test resources etc etc.. -David - Original Message - From: Alex Shneyderman [EMAIL PROTECTED] To: 'Maven Users List' [EMAIL PROTECTED

RE: Multi-Project for Eclipse and Directory Structure

2004-07-13 Thread Alex Shneyderman
I have a couple of questions about using the multi-project plugin. 1. I'm basing my project structure off of the example at (http://wiki.codehaus.org/maven/CreatingJ2eeApplications) because it's Eclipse friendly. However, it's unclear how I can manage my project with Eclipse using this

RE: Maven Goals within Eclipse Debug environment?

2004-07-04 Thread Alex Shneyderman
up is complete. I've been having problems with some of my unit tests however, is it possible to launch maven tasks within Eclipse in a debug environment so you can set breakpoints and what not to see whats going on? Do you have problems from within maven only? If not then the easiest would

RE: Eclipse-Plugin: No Junit in .classpath file

2004-07-02 Thread Alex Shneyderman
Does your project contain unit tests source declaration in project.xml? -Original Message- From: Stefan Kleineikenscheidt [mailto:[EMAIL PROTECTED] Sent: Friday, July 02, 2004 12:59 PM To: [EMAIL PROTECTED] Subject: Eclipse-Plugin: No Junit in .classpath file Hi all, the

Patch, how to submit? Whom to bother?

2004-07-01 Thread Alex Shneyderman
I made some modifications to hibernate plugin. 1. Added aggregate-mappings goal. When executed the goal will aggregate mappings from separate mapping files into one single mapping file. 2. Modified schema-export goal, so that you can specify multiple base directories. Basically my generated

RE: Patch, how to submit? Whom to bother?

2004-07-01 Thread Alex Shneyderman
:[EMAIL PROTECTED] Sent: Thursday, July 01, 2004 8:23 PM To: Maven Users List; [EMAIL PROTECTED] Subject: Re: Patch, how to submit? Whom to bother? is this MPHIBERNATE-6 that I think I saw go past? On Thu, 1 Jul 2004 13:35:48 -0400, Alex Shneyderman [EMAIL PROTECTED] wrote: I made some

Maven 2 - development whereabouts

2004-06-25 Thread Alex Shneyderman
I wanted to take a pick at Maven 2 source. How do I find it in CVS? Is it in HEAD or somewhere else? Thanks, Alex. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: GMail Accounts

2004-06-24 Thread Alex Shneyderman
Alex Shneyderman -Original Message- From: Dion Gillard [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 4:05 AM To: Maven Users List Subject: GMail Accounts If anyone is after one, pop me an email with your first and last names

RE: GMail Accounts

2004-06-24 Thread Alex Shneyderman
Don't your friends have a digital camera :-) ? -Original Message- From: Konstantin Priblouda [mailto:[EMAIL PROTECTED] Sent: Thursday, June 24, 2004 5:35 AM To: Maven Users List Subject: Re: GMail Accounts --- Dion Gillard [EMAIL PROTECTED] wrote: On Thu, 24 Jun 2004 01:27:54

RE: Manual deploying Jar files - Update

2004-06-22 Thread Alex Shneyderman
Anyway, does anyone have a (relatively) simple maven based project for a beginner to look at, in a manner that would be helpful as a learning tool? Ultimately, that's what I am looking for. Just run genapp and you will get the project as simple as you can possibly get. Alex.

RE: IntelliJ (or any IDE) classpath

2004-05-08 Thread Aleksandr Shneyderman
I am not sure how IntelliJ does it but in Eclipse I configure a variable to point to my local maven Repository and mount relevant jars for the project Using the variable. All of my prjects use realtively Small amount of jars, so it is feasible in my case. Also, make sure to run maven for the

Building optinal plugins - problem

2004-03-25 Thread Aleksandr Shneyderman
I checked out CVS sources of optional plugins and was trying to build them. It builds the first few and then chokes on appserver plugin; at this point maven kick me out, saying build failed. I append the output of a sample run. Couple of questions though. If appserver is the first offending

Re: XDoclet plugin strange behavior

2004-01-04 Thread Aleksandr Shneyderman
Konstantin Priblouda wrote: Well, if yoyu use gourpid, you have to call your xjavadoc xdoclet-xjavadoc.whatever.jar According to the documentation the files are located according to the following pattern: ${repo}/${groupId}/${type}s/${artifactId}-${version}.${type} So if my dependency looks

XDoclet plugin strange behavior

2004-01-03 Thread Aleksandr Shneyderman
As you have probably noticed for the last couple of days I was struggling with XDoclet plugin. What I did is I downloaded their 1.2 version, created xdoclet/jars directory in my local repository, copied over the jars that come with the xdoclet. I then copied xdoclet's maven-plugin jar to my

Re: Maven Xdoclet problem

2004-01-02 Thread Aleksandr Shneyderman
dependency artifactIdxdoclet-hibernate-module/artifactId groupIdxdoclet/groupId version1.2b4/version typejar/type /dependency I have: dependencies dependency idxdoclet+hibernate-module/id version1.2/version

Re: Maven Xdoclet problem

2004-01-02 Thread Aleksandr Shneyderman
depend on version 3.0 of B pacakge. It seems a bit awkward to chase the dependencies. I was wondering how would I depend on package rather than jar files? Thanks, Alex. Aleksandr Shneyderman wrote: dependency artifactIdxdoclet-hibernate-module/artifactId groupIdxdoclet/groupId