Re: too many dependency excludes

2006-01-23 Thread Stephen Duncan
Not sure I see what the problem is. Almost all the dependencies are true, and therefore don't come through transitively. Therefore you don't need to exclude them. -Stephen On 24 Jan 2006 04:40:00 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Why oh why is it so painful to setup a new pr

RE: too many dependency excludes

2006-01-23 Thread wireframe . 14937378
Just to followup, i've posted an issue on JIRA for this: http://jira.codehaus.org/browse/MEV-313 And here's the corrected link: http://jroller.com/page/wireframe/?anchor=seperate_artifacts_for_seperate_dependencies - To unsubscr

too many dependency excludes

2006-01-23 Thread wireframe . 14937378
Why oh why is it so painful to setup a new project?Transitive dependencies are actually causing more pain than they are helping me. This is largely due to the poor state of the spring POM's, but I think it's highly unrealistic to expect new java projects to jump through the hoops of specifing

Re: [m2] log4j.properties: where in the standard layout should this b e saved?

2006-01-23 Thread Kathryn Huxtable
On 1/23/06 7:44 PM, "Treloar, Barrie (SAPOL)" <[EMAIL PROTECTED]> wrote: > Where in the standard layout should log4.properties go? > > src/main/resources > - so that it is available on the classpath > > src/main/config/log4j > - because it is a configuration file > > If I have missed the documen

Re: AW: Worst documentation in the whole apache projects

2006-01-23 Thread Man-Chi Leung
yes, I read thru the documentation on at peopleware.be too. this is pretty good, including some tips and best practice. ~manchi On Jan 23, 2006, at 8:29 PM, Lutz Fechner wrote: Your wiki linked to the Maven wiki hosted by codehaus.org which linked to http://cvs.peopleware.be/training/maven

Re: [M2][maven-ejb-plugin] Files ending with Session.class are not being included in ejb-client jar

2006-01-23 Thread Parveen Beniwal
hi i m facing the same problem.I think this must be a bug. On 1/23/06, Peschier J. (Jeroen) <[EMAIL PROTECTED]> wrote: > > I am seeing odd behaviour with the generation of ejb-client jars. It > seems all files that end in "Session.class" are not being included in > the ejb-client. They show up f

Re: incuding ejb-jar.xml,jboss.xml in the .ear file

2006-01-23 Thread Parveen Beniwal
hi farinaz i think u have to add tags in the pom.xml for the xml files to be added. On 1/23/06, Farinaz Ghasemi <[EMAIL PROTECTED]> wrote: > > Dear friends I want to make an ear file with maven hesre is my > project.xmlfile: > > ejb/project.xml > example > > > > > xerces >

Re: [m2] not 4.0.0 pom error

2006-01-23 Thread Napoleon Esmundo Ramirez
Hello, It seems that the pom isn't updated yet. An artifact in a Maven2 repsitory should have an Version 4.0.0 pom. You should file a JIRA issue at Maven Evangelism (MEV) for that. :) Cheers! Nap On 1/24/06, Konstantin Polyzois <[EMAIL PROTECTED]> wrote: > > build it from svn. There was some bu

[m2] log4j.properties: where in the standard layout should this b e saved?

2006-01-23 Thread Treloar, Barrie (SAPOL)
Where in the standard layout should log4.properties go? src/main/resources - so that it is available on the classpath src/main/config/log4j - because it is a configuration file If I have missed the documentation that discusses where different artefacts live a pointer to that documentation would

Re: Too many jars in my war

2006-01-23 Thread Stein Kråbøl
Yes, this solved the problem! Thanks! Stein Stephen Duncan writes: Compile scope jars are included in the war. Provided scope jars are not. -Stephen On 1/23/06, Stein Kråbøl <[EMAIL PROTECTED]> wrote: But as you see in the webapps pom.xml; compile scope does not prevent jars from being

Re: Too many jars in my war

2006-01-23 Thread Stephen Duncan
Compile scope jars are included in the war. Provided scope jars are not. -Stephen On 1/23/06, Stein Kråbøl <[EMAIL PROTECTED]> wrote: > But as you see in the webapps pom.xml; > compile scope does not prevent jars from being copied to the war. > Any other suggestion? > > Carlos Sanchez writes: >

Re: [m2] Best practice for in-place webapp development?

2006-01-23 Thread Guo, Jiaqi
I used to work on my webapp with appserver and war plugins in maven1, which requires an "maven war:webapp" command everytime a web resource like JSP is changed (I wouldn't directly change the files in target). With an eclipse file synchronization plugin, this maven command can be eliminated.

Re: [m2] Best practice for in-place webapp development?

2006-01-23 Thread Brett Porter
Sorry KC, I missed that. You are definintely going to need to continue copying to a staging location. Personally, I never filter things inside the web application, keeping configuration outside of the webapp (eg, in a tomcat context file). - Brett On 1/23/06, KC Baltz <[EMAIL PROTECTED]> wrote:

[M2.0.2] Recursive checkout from CVS possible?

2006-01-23 Thread Mang Jun Lau
Hi, I have an application that is divided into many different projects. Is there a way to checkout multiple modules from CVS from one parent pom.xml? I know that you can't have multiple tags in one pom. Say I have a parent pom and a child pom and both have a connection URL defined. If I i

Re: Too many jars in my war

2006-01-23 Thread Jesse McConnell
set them to provided On 1/23/06, Stein Kråbøl <[EMAIL PROTECTED]> wrote: > > But as you see in the webapps pom.xml; > compile scope does not prevent jars from being copied to the war. > Any other suggestion? > > Carlos Sanchez writes: > > > test-ejb should have test scope > > > > On 1/23/06, Stein

Re: Too many jars in my war

2006-01-23 Thread Stein Kråbøl
But as you see in the webapps pom.xml; compile scope does not prevent jars from being copied to the war. Any other suggestion? Carlos Sanchez writes: test-ejb should have test scope On 1/23/06, Stein Kråbøl <[EMAIL PROTECTED]> wrote: When I'm using mvn war:war all dependent jars are copied

[M2.0.2] Recursive checkout from CVS possible?

2006-01-23 Thread Mang Jun Lau
Hi, I have an application that is divided into many different projects.  Is there a way to checkout multiple modules from CVS from one parent pom.xml?  I know that you can't have multiple tags in one pom.  Say I have a parent pom and a child pom and both have a connection URL defined.  If I invo

Re: [M2] Too many jars in my war

2006-01-23 Thread Carlos Sanchez
test-ejb should have test scope On 1/23/06, Stein Kråbøl <[EMAIL PROTECTED]> wrote: > When I'm using mvn war:war > all dependent jars are copied into my war. > I put the dependencies in my pom to be able to compile. > Hers my pom: > > > javax.servlet > servlet-api > 2.

[M2] Too many jars in my war

2006-01-23 Thread Stein Kråbøl
When I'm using mvn war:war all dependent jars are copied into my war. I put the dependencies in my pom to be able to compile. Hers my pom: javax.servlet servlet-api 2.4 compile com.mycompany.Test test-ejb 1.0.1 compile In adition com

RE: [m2] Best practice for in-place webapp development?

2006-01-23 Thread KC Baltz
Vincent, Brett, Your responses don't seem to address the issue of the filtered web.xml file. The solutions you linked to look good, but I don't see how they address that specific problem. Stephen's suggestions seem workable, but they also appear to depend on plugins or IDE features that don

M1 multiproject Build Order still wrong

2006-01-23 Thread Osborne, Matthew
Okay I got my previous issue fixed only to run straight into another. Not sure exactly how the multiproject plugin determines the proper build order for a given project, but for mine it is not being determined correctly (It is trying to build a module first that has a dependency on another that is

RE: Problems with build order using M1 multiproject plugin

2006-01-23 Thread Osborne, Matthew
Thanks that did the trick Matt Osborne -Original Message- From: Lukas Theussl [mailto:[EMAIL PROTECTED] Sent: Monday, January 23, 2006 12:28 PM To: Maven Users List Subject: Re: Problems with build order using M1 multiproject plugin > > --

RE: [m2] Where to place resources for unit tests?

2006-01-23 Thread Jeff Lowe
>> I believed it too, but I have some problems with resources retrievedusing classpath in a multiproject application and discovered thatresources get added to the generated jar. It's working for me as expected, using the following structure: - src main resources test

Re: A way to force builds?

2006-01-23 Thread Punkin Head
One more question about this: Would there be a way to force it to build if any of the other modules JAR files changed that it had dependencies on? Thanks, Adam On 1/23/06, Punkin Head <[EMAIL PROTECTED]> wrote: > > Ok. Filed as http://jira.codehaus.org/browse/CONTINUUM-568 > > On 1/22/06, Emmanu

RE: [m2] Next maven-war-plugin release?

2006-01-23 Thread Mike Perham
Right, so Richard just deploy your snapshot to your internal repository and then depend on the exact version auto-generated for that deployment. We use a bunch of them here internally. For example: org.apache.maven.plugins maven-war-plugin

Re: [m2] re-enabling a blacklisted repository [Virus checked]

2006-01-23 Thread Konstantin Polyzois
I read it is only blacklisted as long as maven is running your current build... 2006/1/20, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Hi, > > during some tests with maven-proxy, i had my central repository > blacklisted. Is there a way to re-enable it? Where is this information > stored? > > any

Re: [m2] not 4.0.0 pom error

2006-01-23 Thread Konstantin Polyzois
build it from svn. There was some bug up until 30 minutes ago 2006/1/23, Mick Knutson <[EMAIL PROTECTED]>: > How can I get covertures to work: > > [INFO] > > Downloading: > http://repo1.maven.org/maven2/maven-plugins/m

support for non-java tasks like ftp

2006-01-23 Thread Shukla, Sanjay
In my ant build I have task to ftp certain static content folders to a web server that sits in front of the app server layer. Is there a recommendation on how to handle such stuff ? Should I call the same ant task from the pom ? Thanks, Sanjay Shukla, HPI Product Engineering, 2 Penn Plaza

Re: Release plugin needs MAJOR warnings...

2006-01-23 Thread Daniel Kulp
Jason, > > WARNING: the release plugin performs several actions that are > > potentially irreversible including modifying the pom.xml files as > > well as performing SCM operations. > > Nothing is irreversible provided you are using an SCM correctly. That's not exactly true. The fact that the

RE: Release plugin needs MAJOR warnings...

2006-01-23 Thread Brian E. Fox
Jason, I'm in the same boat with MRELEASE-75 and was planning on seeing how I could fix it. I'd rather spend some time there than manually making repeated releases. (we're just entering our first test cycle since switching to mvn) -Original Message- From: Jason van Zyl [mailto:[EMAIL PROT

Re: [M2.0.2] cobertura-maven-plugin not working with 2.0.2

2006-01-23 Thread Konstantin Polyzois
ok now it works again nice 2006/1/23, Brett Porter <[EMAIL PROTECTED]>: > fixed in SVN of the cobertura plugin. > > On 1/23/06, Weichsel, Ingo <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > I like the cobertura-maven-plugin a lot, which I builded from the > > mojo-sandbox. This plugin did work f

Re: [m2] Next maven-war-plugin release?

2006-01-23 Thread Brett Porter
It's for reproducibility. You need to be able to check out the tag and build it again. - Brett On 1/23/06, Mike Perham <[EMAIL PROTECTED]> wrote: > I don't understand why release:prepare fails if you depend on a plugin > snapshot. That makes no sense. You should not depend on snapshots for > co

Re: [M2.0.2] cobertura-maven-plugin not working with 2.0.2

2006-01-23 Thread Brett Porter
https://svn.codehaus.org/mojo/trunk/mojo/ (mojo-sandbox/cobertura-maven-plugin) - Brett On 1/23/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > Can I get the svn address? > I tried svn://svn.codehaus.org/mojo/scm/trunk/mojo but could not find it > there. >

RE: [m2] Next maven-war-plugin release?

2006-01-23 Thread Mike Perham
I don't understand why release:prepare fails if you depend on a plugin snapshot. That makes no sense. You should not depend on snapshots for compile/test/runtime dependencies but plugins are a build-time dependency and so should have no affect on a release. Once something is released, it is neve

Re: [M2.0.2] cobertura-maven-plugin not working with 2.0.2

2006-01-23 Thread Mick Knutson
Can I get the svn address? I tried svn://svn.codehaus.org/mojo/scm/trunk/mojo but could not find it there. Thanks Mick Knutson http://www.BASELogic.com http://www.MickKnutson.com MSN Messenger: [EMAIL PROTECTED]

RE: [m2] Best practice for in-place webapp development?

2006-01-23 Thread Vincent Massol
... and http://blogs.codehaus.org/people/vmassol/archives/001307_cargo_v07_and_maven 2_plugin_v01.html. -Vincent > -Original Message- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: lundi 23 janvier 2006 19:27 > To: Maven Users List > Subject: Re: [m2] Best practice for in-place we

Re: Release plugin needs MAJOR warnings...

2006-01-23 Thread Jason van Zyl
Daniel Kulp wrote: IMO, the Release plugin needs to have some MAJOR documentation updates to include some extra warnings in big red letters at the top.I'm talking about both the plugin docs and the mini-guides at: http://maven.apache.org/plugins/maven-release-plugin/index.html http://maven.

Re: [m2] Best practice for in-place webapp development?

2006-01-23 Thread Stephen Duncan
Options: 1) Don't work directly out of workspace, but have your IDE transparently copy the necessary files around behind you. To allow filtering, your IDE would have to do the filtering on the fly too. Or it would have to work out of the target directory, and copy all source changes, including J

Re: [m2] Next maven-war-plugin release?

2006-01-23 Thread dan tran
One way to get away from this problem is - remove element from your plugin, so that release:prepare will work - download the latest svn of war plugin and build. maven will pickup the local snapshot build from there on. When the next war plugin release, you can put the version back. -

Re: [M2.0.2] cobertura-maven-plugin not working with 2.0.2

2006-01-23 Thread Brett Porter
fixed in SVN of the cobertura plugin. On 1/23/06, Weichsel, Ingo <[EMAIL PROTECTED]> wrote: > > Hello, > > I like the cobertura-maven-plugin a lot, which I builded from the > mojo-sandbox. This plugin did work fine with the maven-2.0.1 release, but is > not working with maven-2.0.2 any more. Does

Re: M2: Having trouble with legacy repository

2006-01-23 Thread Brett Porter
The site plugin issue has already been filed. - Brett On 1/23/06, Helck, Christopher <[EMAIL PROTECTED]> wrote: > Hi Edwin, > > Ok, I'll try repoclean. > > But I don't understand why this is such a problem since the rest of > Maven2 seems to be able to handle the legacy repository. If it is too >

Re: [m2] Best practice for in-place webapp development?

2006-01-23 Thread Brett Porter
http://maven.apache.org/plugins/maven-war-plugin/inplace-mojo.html http://blogs.codehaus.org/people/brett/archives/001306_developing_with_jetty_where_have_you_been_all_my_life.html On 1/23/06, KC Baltz <[EMAIL PROTECTED]> wrote: > I'd like to convert our project to use M2 for web app development

Re: [m2] Next maven-war-plugin release?

2006-01-23 Thread Richard Wallace
The project doesn't depend on a plugin from within the section of the pom. I had to add this org.apache.maven.plugins maven-war-plugin 2.0-beta-3-SNAPSHOT in the to make m2 use the right version of the maven-war-plugin. Without that, it will use the release

[m2] not 4.0.0 pom error

2006-01-23 Thread Mick Knutson
How can I get covertures to work: [INFO] Downloading: http://repo1.maven.org/maven2/maven-plugins/maven-cobertura-plugin/1.1.1/maven-cobertura-plugin-1.1.1.pom 6K downloaded [INFO] -

Re: [m2] Multiprojects and inherited SCM URLs

2006-01-23 Thread Yann Le Du
Emmanuel, I couldn't build maven-scm trunk, there are test failures in maven-scm-provider-svn I tried to put the deployed 20060115.041342 SNAPSHOTs in continuum/lib and to use relativePath, but I got the same problem when I add the module in Continuum : the URL is resolved as svn://host/PROJECT/pa

Issue with commons-httpclient?

2006-01-23 Thread Craig L Russell
Hi Maveners,The latest Maven 1.0.2 has a problem when using these directions:Find the line of maven.xml in the project.properties file with the maven.remote.repo property, and add "http://www.apache.org/~clr/downloads/maven" to the ibiblio and jpox urls.What happens is that www.apache.org/~clr is r

Release plugin needs MAJOR warnings...

2006-01-23 Thread Daniel Kulp
IMO, the Release plugin needs to have some MAJOR documentation updates to include some extra warnings in big red letters at the top.I'm talking about both the plugin docs and the mini-guides at: http://maven.apache.org/plugins/maven-release-plugin/index.html http://maven.apache.org/guides/mi

Re: A way to force builds?

2006-01-23 Thread Punkin Head
Ok. Filed as http://jira.codehaus.org/browse/CONTINUUM-568 On 1/22/06, Emmanuel Venisse <[EMAIL PROTECTED]> wrote: > > You can't because a forced build is actually a manual operation. Please, > file an issue. > > Emmanuel > > Punkin Head a écrit : > > Hi all, > > Thanks again for you help on the l

[m2] Best practice for in-place webapp development?

2006-01-23 Thread KC Baltz
I'd like to convert our project to use M2 for web app development and I've run into a bit of a snag. Right now, we use Eclipse with the Sysdeo plugin so we can run our webapp in Tomcat, directly from Eclipse without any sort of deployment/copying steps. The files we edit are the ones Tomcat is

Re: Problems with build order using M1 multiproject plugin

2006-01-23 Thread Lukas Theussl
- # subprojects to include (relative maven.multiproject.basedir) maven.multiproject.includes=client-src/java/project.xml maven.multiproject.includes=src/java/project.xml -

RE: Problems with build order using M1 multiproject plugin

2006-01-23 Thread Osborne, Matthew
Actually I did. I spoke a bit too soon about my issue - the first problem was a typo in the file path specified in the jar override in my module's project.properties file. However, it appears that you can only define one subproject to include in the build process. I declare two, and maven keeps

RE: [m2] how to disable download from repo1.maven.org/maven2

2006-01-23 Thread Mordo, Aviran (EXP N-NANNATEK)
In your settings.xml I think you need to define a mirror called central. Aviran http://www.aviransplace.com -Original Message- From: Stevenson, Chris [mailto:[EMAIL PROTECTED] Sent: Monday, January 23, 2006 11:39 AM To: 'Maven Users List' Subject: RE: [m2] how to disable download from r

RE: Eclipse Maven Plug-in??

2006-01-23 Thread Durfee, Bernard
The link is fine, it's a network issue. The site has been inaccessible today. > -Original Message- > From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] > Sent: Monday, January 23, 2006 11:33 AM > To: Maven Users List > Subject: Re: Eclipse Maven Plug-in?? > > > This link works fine. >

RE: [m2] how to disable download from repo1.maven.org/maven2

2006-01-23 Thread Stevenson, Chris
Fredy, you can turn maven to offline mode with -o switch, maybe this will help? Chris -Original Message- From: Fredy [mailto:[EMAIL PROTECTED] Sent: 23 January 2006 15:45 To: users@maven.apache.org Subject: [m2] how to disable download from repo1.maven.org/maven2 Hi all, i'm getting cr

Re: Problems with build order using M1 multiproject plugin

2006-01-23 Thread Gail Jakubowski
Did you include the section in the project.xml for the dependent project? - Original Message - From: "Osborne, Matthew" <[EMAIL PROTECTED]> To: "Maven Users List" Sent: Monday, January 23, 2006 10:47 AM Subject: Problems with build order using M1 multiproject plugin Hopefully one fi

Re: Eclipse Maven Plug-in??

2006-01-23 Thread Emmanuel Venisse
This link works fine. Emmanuel Zheng Wen Zhe a écrit : Hi, I just read book:Maven-a developer's notebook.Author mentioned 'mevenide'--an eclipse plugin in the first chapter. However, web link doesnt seem right(http://mevenide.codehaus.org/mevenide-ui-eclipse/update/index.html). Does anyone know

RE: [m2] how to disable download from repo1.maven.org/maven2

2006-01-23 Thread Martin, John M. \(Number Six Software\)
Fredy, How did you tell Maven to search your internal repository first? -->John -Original Message- From: Fredy [mailto:[EMAIL PROTECTED] Sent: Monday, January 23, 2006 10:45 AM To: users@maven.apache.org Subject: [m2] how to disable download from repo1.maven.org/maven2 Hi all, i'm get

Eclipse Maven Plug-in??

2006-01-23 Thread Zheng Wen Zhe
Hi, I just read book:Maven-a developer's notebook.Author mentioned 'mevenide'--an eclipse plugin in the first chapter. However, web link doesnt seem right(http://mevenide.codehaus.org/mevenide-ui-eclipse/update/index.html). Does anyone know a working link? Regards, Jason -

RE: [m2] how to disable download from repo1.maven.org/maven2

2006-01-23 Thread Mike Perham
Setup a mirror of central in your settings.xml that points to your internal repository. -Original Message- From: Fredy [mailto:[EMAIL PROTECTED] Sent: Monday, January 23, 2006 9:45 AM To: users@maven.apache.org Subject: [m2] how to disable download from repo1.maven.org/maven2 Hi all, i'

[m2] ajaxanywhere?

2006-01-23 Thread Jurgen Lust
Hi, Are there maven 2 artifacts available for ajaxanywhere? I've been looking for them on the central repository but couldn't find them... Jurgen -- Among flowers, the cherry blossom. Among men, me. - To unsubscribe, e-mail

Re: guide-deploy-ssh-external improvements: scpexe & cygwin for deploy

2006-01-23 Thread Geoffrey De Smet
Jörg Schaible wrote: Geoffrey De Smet wrote on Monday, January 23, 2006 12:26 PM: On my computer, using Cygwin (under windows), the guide on http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html didn't work because of scpexe: ssh-repository scpexe://reposito

[m2] how to disable download from repo1.maven.org/maven2

2006-01-23 Thread Fredy
Hi all, i'm getting crazy, the internet here is more than slow, it seems to be not present ,- How can i disable downloading from "repo1.maven.org/maven2" ?? I've already defined a internal repository. Maven searches there an if it didn't find anything, it searches in "repo1.maven.org/maven2

Problems with build order using M1 multiproject plugin

2006-01-23 Thread Osborne, Matthew
Hopefully one final issue I'm encountering in trying to build a Maven 1.0 build system for our project at work - I have successfully gotten the builder to see each project, but it tries to build everything simultaneously. I have one project thats dependent on another's created jar file, but when I

[M2][maven-ejb-plugin] Files ending with Session.class are not being included in ejb-client jar

2006-01-23 Thread Peschier J. (Jeroen)
I am seeing odd behaviour with the generation of ejb-client jars. It seems all files that end in "Session.class" are not being included in the ejb-client. They show up fine in the ejb-jar. When I rename the file to SessionX.class they become available in the ejb-client. This is reproduceable fo

incuding ejb-jar.xml,jboss.xml in the .ear file

2006-01-23 Thread Farinaz Ghasemi
Dear friends I want to make an ear file with maven hesre is my project.xml file: ejb/project.xml example xerces xerces 1.4.4 true ${pom.groupId} ejb ${pom.currentVersion} ejb true

Using a third party ear with maven.

2006-01-23 Thread Owen Fellows
Hi, I'm trying to use the contents of a third party ear as dependencies in my Maven 2 project. I thought I could do this by expanding the ear (using an ant task within maven, if there is a better way someone please let me know). Then using maven-install-plugin to copy each jar individually into t

RE: M2: Having trouble with legacy repository

2006-01-23 Thread Helck, Christopher
Hi Edwin, Ok, I'll try repoclean. But I don't understand why this is such a problem since the rest of Maven2 seems to be able to handle the legacy repository. If it is too hard for the site plugin to navigate the v3 POM (which I can understand) then couldn't the plugin just put a warning in the

m2: I'd like some help with maven-proxy

2006-01-23 Thread Frank Russo
Can anyone point me to a good writeup on using maven-proxy in maven 2? The docs on the maven-proxy site at codehaus are not only subpar, but pretty much non-existant. Any help is much appreciated... Frank Russo Senior Developer FX Alliance, LLC 900 Third Avenue, 3rd Floor New York, NY 10022 646

RE: [m2.0.1] Problem in Installing the Maven 2.0.1

2006-01-23 Thread Shukla, Sanjay
Did you look at this - http://maven.apache.org/download.html#installation. You may want to highlight specific issues you are facing. Sanjay Shukla, HPI Product Engineering, 2 Penn Plaza, NY. 212 904 3629 Office 732 692 4419 Cell -Original Message- From: narayan dhumale [mailto:[EMAIL

Profile Id and filtering of resources by Profile

2006-01-23 Thread Pete
I am trying to reference a profile id e.g env_live env_live at the moment I have to declare a property (see profile.name above) that is the same as the profile id. I then use the profile.name in the filtering specification e.g. src/main/filters/${profile.name}/filter.properties

RE: guide-deploy-ssh-external improvements: scpexe & cygwin for deploy

2006-01-23 Thread Jörg Schaible
Geoffrey De Smet wrote on Monday, January 23, 2006 12:26 PM: > On my computer, using Cygwin (under windows), the guide on > http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html > didn't work because of scpexe: > > > >ssh-repository >scpexe://repository.mycompa

Re: [m2] jdepend plugin works, but how to convert in a html view?

2006-01-23 Thread tony nys
Hi fredy, I am also trying to run jdpend in maven 2 but I allways have the error that it cannot find the plugin, could you mail your pom.xml ? thanks Tony --- Fredy <[EMAIL PROTECTED]> wrote: > Hi all, > the plugIn generates the jdepend-report.xml, but is > there a posibillity to convert it to

Re: [m202] Ant based maven plugin problem

2006-01-23 Thread Alexandre Russel
Hi john, I had the same problem and running the -U flag didn't help. I think the problem was solved on version 2.1.SNAPSHOT(version 329948): http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugin-tools/maven-plugin-tools-api but the most recent available is 2.0.2: http://www.ibiblio

AW: Worst documentation in the whole apache projects

2006-01-23 Thread Lutz Fechner
Your wiki linked to the Maven wiki hosted by codehaus.org which linked to http://cvs.peopleware.be/training/maven/maven2/index.html Which doesn't seem to be that bad. Seems to help. By Lutz -Ursprüngliche Nachricht- Von: Eric Redmond [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 21. Ja

Re: Maven & JBoss EJB3 Embeddable

2006-01-23 Thread Alexandre Russel
maybe system dependencies can help you http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html alex Marco Mistroni a écrit : hello all, i am trying to run some unit tests for my ejb3 using jboss ejb3 embeddable contianer. In order to successfully have the jboss emb

Maven & JBoss EJB3 Embeddable

2006-01-23 Thread Marco Mistroni
hello all, i am trying to run some unit tests for my ejb3 using jboss ejb3 embeddable contianer. In order to successfully have the jboss embeddable runninng for my tests, i need to include in my classpath couple of things from jboss embeddable distribution - a lib directory, which contains all

RE: [M2] Is generating an application.xml with connector module possible?

2006-01-23 Thread Peschier J. (Jeroen)
You are right about the the connector module being for RAR modules only. I read up on it and it seems SARs are not deployed from application.xml, but jboss-app.xml instead. My bad. I currently build my SAR module as a jar since sar is not working for me as a packaging type. I noticed sarModule

RE: Exception in thread "main" java.lang.NoClassDefFoundError: ?? ??

2006-01-23 Thread Zheng Wen Zhe
Thanks a million,Gisbert! That's very helpful. Best Regards, Jason -Original Message- From: Gisbert Amm [mailto:[EMAIL PROTECTED] Sent: 23 January 2006 11:14 To: Maven Users List Subject: Re: Exception in thread "main" java.lang.NoClassDefFoundError: ?? ?? Zheng Wen Zhe wrote: > Sorry,my

guide-deploy-ssh-external improvements: scpexe & cygwin for deploy

2006-01-23 Thread Geoffrey De Smet
On my computer, using Cygwin (under windows), the guide on http://maven.apache.org/guides/mini/guide-deploy-ssh-external.html didn't work because of scpexe: ssh-repository scpexe://repository.mycompany.com/repository I constantly got a permission exception, even with co

Re: Exception in thread "main" java.lang.NoClassDefFoundError: ?? ??

2006-01-23 Thread Gisbert Amm
Zheng Wen Zhe wrote: Sorry,my fault! Just mis-typed "target".Class App is executed successfully this time with command:C:\my-apps\genapp>java -cp target\test-application-1.0.jar mdn.testapp.App; That's what I reckoned ;-) Does this mean i have to use -cp parameter everytime executing a clas?

Re: [m2] Multiprojects and inherited SCM URLs

2006-01-23 Thread Yann Le Du
2006/1/20, Sean Schofield <[EMAIL PROTECTED]>: > > > How about this: > > scm:svn:svn://host/PROJECT/${pom.artifactId} > > > > This should work if you use the same name for the part in your svn > > repository as their artifactIds. > > This works. Unfortunately in our case the svn module does not ma

RE: Exception in thread "main" java.lang.NoClassDefFoundError: ?? ??

2006-01-23 Thread Zheng Wen Zhe
Sorry,my fault! Just mis-typed "target".Class App is executed successfully this time with command:C:\my-apps\genapp>java -cp target\test-application-1.0.jar mdn.testapp.App; Does this mean i have to use -cp parameter everytime executing a clas? And,I found it didnt make any difference by setting "

Re: [m2.0.1] Problem in Installing the Maven 2.0.1

2006-01-23 Thread Emmanuel Venisse
Instructions are there : http://maven.apache.org/download.html Next time, please, use the correct address (dev@maven.apache.org) Emmanuel narayan dhumale a écrit : Hello, I am a newbie to Maven .I am not able to install it. please guide me Regards, --

RE: Exception in thread "main" java.lang.NoClassDefFoundError: ?? ??

2006-01-23 Thread Zheng Wen Zhe
Sorry,my fault! Just mis-typed "target".Class App is executed successfully this time with command:C:\my-apps\genapp>java -cp tartget\test-application-1.0.jar mdn.testapp.App; Does this mean i have to use -cp parameter everytime executing a clas? And,I found it didnt make any difference by setting

[M2.0.2] cobertura-maven-plugin not working with 2.0.2

2006-01-23 Thread Weichsel, Ingo
Hello, I like the cobertura-maven-plugin a lot, which I builded from the mojo-sandbox. This plugin did work fine with the maven-2.0.1 release, but is not working with maven-2.0.2 any more. Does any of you know a workaround or will there be an updated version soon? Regards, Ingo Stacktrace: [IN

Re: Exception in thread "main" java.lang.NoClassDefFoundError: ?? ??

2006-01-23 Thread Gisbert Amm
The main class is still not found. Did you type "tartget" (mind the "t") at the commandline? Try it again with "target". How does your jar look like? Does App.class sit within mdn/testapp? Does App.java in your project really reside within src/java/mdn/testapp? -Gisbert Zheng Wen Zhe wrote:

RE: Exception in thread "main" java.lang.NoClassDefFoundError: ?? ??

2006-01-23 Thread Zheng Wen Zhe
I run the command again with -cp parameter,but got a different error?? do you have any clue about it? Regards, Jason ** C:\my-apps\genapp>java -cp tartget\test-application-1.0.jar mdn.testapp.App; Exception in thread "main" java.lang.NoClassDefFoundError: mdn/testapp/App;

Re: Exception in thread "main" java.lang.NoClassDefFoundError: ????

2006-01-23 Thread Gisbert Amm
Setting the classpath could also help: C:\my-apps\genapp\test-app>java -cp target\test-app-1.0.jar mdn.testapp.App Regards, Gisbert Amm Gisbert Amm wrote: You probably want to set the maven.jar.mainclass attribute to get the main class entry written to the jar manifest file. See http://maven.

Re: Exception in thread "main" java.lang.NoClassDefFoundError: ????

2006-01-23 Thread Gisbert Amm
You probably want to set the maven.jar.mainclass attribute to get the main class entry written to the jar manifest file. See http://maven.apache.org/maven-1.x/reference/plugins/jar/properties.html Regards, Gisbert Amm Zheng Wen Zhe wrote: Hi, I experienced an exception Error while executing th

Exception in thread "main" java.lang.NoClassDefFoundError: ????

2006-01-23 Thread Zheng Wen Zhe
Hi, I experienced an exception Error while executing the App class of my project. Could any body give some advice? where is the fault? Regards, Jason 1.Run maven genapp to execute genapp goal to create a new project; 2.execute jar goal with maven jar; 3.execute A

RE: [m2] Generating was5 ejb code ?

2006-01-23 Thread Marcel Schutte
Hi Malcolm, Are the EJB classes it is complaining about inside the jar you are trying to generate the deploy code for? I seem to recall that WAS doesn't like it when EJB classes are not directly in the jar but instead are referenced through a manifest classpath entry. Regards, Marcel --- Malcolm

Re: [m2.0.1] Problem in Installing the Maven 2.0.1

2006-01-23 Thread Philippe Faes
This mail should have gone to the list users@maven.apache.org, without cross-posting it to the developers list. On the maven webpage you find good instructions: http://maven.apache.org/download.html#installation if these fail, you need to point what exactly goes wrong. k.r. Philippe On Mon, 2006

[m2.0.1] Problem in Installing the Maven 2.0.1

2006-01-23 Thread narayan dhumale
  Hello, I am a newbie to Maven .I am not able to install it. please guide me Regards,

[m1] Advice for output from Java-plugin

2006-01-23 Thread Jörg Schaible
Hello folks, Currently I am writing a M1 plugin, but to make the transition to M2 less painless, it's almost completly written in Java. So far so good. The plugin will deal with files and create some special ones. Therefore I am utilizing Ant tasks, which works also fine. But what I do not mana

Re: [m2.0.1] Problems with release:perform and the maven-project-2.0.1 plugin

2006-01-23 Thread Emmanuel Venisse
it's certainly a timeout on ibiblio connection. Retry it. You can update your m2 to 2.0.2, we have fixed some bugs on file transfer. Emmanuel Michael McCrann a écrit : Hi, Until today, I have had 'release:prepare' and 'release:perform' working with Maven2. Today, I did a 'release-prepare', wh

Re: Download page title

2006-01-23 Thread Emmanuel Venisse
Fixed in svn. Thanks. Emmanuel John Fallows a écrit : fyi - the download page title (window title) still says "Download Maven 2.0.1" instead of "Download Maven 2.0.2". http://maven.apache.org/download.html Kind Regards, John Fallows. -- http://apress.com/book/bookDisplay.html?bID=10044 Author