[M2]How to get more details(such as exception stack) when unit tests fail?

2005-11-01 Thread Hong Xing
When I used -e parameter, stack information looks not enough. org.apache.maven.lifecycle.LifecycleExecutionException: There are some test failure. at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:544) at org.apache.maven.lifecycle.

Re: Problem with plugin compilation

2005-11-01 Thread Nitko2
No, repository is available all the time and i get this error all the time. I also have maven-plugin-plugin in local repository. Everything is the same as in tutorial, except local repository location which I changed in M2_HOME/conf/settings.xml Brett Porter wrote: It seems like there wa

Re: LinkageError

2005-11-01 Thread Brett Porter
Maven 1.1 beta 2 is mostly backwards compatible and significantly faster in general. For tests, not forking probably works (as it uses the bundled JDK parser instead of an endorsed xerces), but even if not it offers "forkmode=once" support for tests meaning all the benefits of forking without the p

LinkageError

2005-11-01 Thread James Sadler
Hi All, I am on a mission trying to make my company's integration build go faster. We have loads of tests to run and currently the only way they will run is when maven.junit.fork = true. If we don't do this, we get the XML-related LinkageError. I have been reading this mailing list, but t

Re: test-jar transitive dependencies

2005-11-01 Thread Barry Kaplan
Brett Porter wrote: We deferred this until 2.1, as it was preferable to have a transitive dependency-less solution in place for 2.0 rather than deferring the whole feature. Ah! I just spent an hour trying to figure out why this was not working. I searched and searched and searched, but could

Re: How to use CheckStyle plugin?

2005-11-01 Thread Edwin Punzalan
You have to wait for the patch to be applied though. The jira issue to monitor is here: http://jira.codehaus.org/browse/MNG-1113 Edwin Punzalan wrote: Hi, There seems to be a confusion for the propertiesFile for m2 checkstyle plugin. propertiesFile in m2 checkstyle is the overriding pro

Re: failed to resolve GroupId javax-persistence

2005-11-01 Thread Buntingster
javax-persistence ejb 3.0-public_review In the repository (and the command that you used to install...) I see this artifact with groupId "javax.persistence" - you appear to be using "javax-persistence". -Jared -

Re: How to use CheckStyle plugin?

2005-11-01 Thread Edwin Punzalan
Hi, There seems to be a confusion for the propertiesFile for m2 checkstyle plugin. propertiesFile in m2 checkstyle is the overriding properties sent to checkstyle report. From the name itself, it accepts formatting configurations in = format. If you're configuration is in XML format, it

[m2] Location of source for integration-test

2005-11-01 Thread Bill Siggelkow
I apologize if this is a stupid question, but what is the proper location for integration-test source (as opposed to the src/test/java for unit tests)? I read the intro to the std dir layout and did not see any mention of this. -Bill Siggelkow --

Re: failed to resolve GroupId javax-persistence

2005-11-01 Thread Rico (privat)
Before I used that lib I installed it first in my local repository: mvn install:install-file -Dfile=D:\src\entwicklung\java\api\hibernate-3.1\annotations\lib\ejb3-persistence.jar -DgroupId=javax.persistence -DartifactId=ejb -Dversion=3.0-public_review -Dpackaging=jar So it exist local, but w

failed to resolve GroupId javax-persistence

2005-11-01 Thread Rico (privat)
Hi, for correct compiling an hibernate project with annotations the ejb jar file is need too. So my pom.xml file has one more dependency: javax-persistence ejb 3.0-public_review But Maven says following: Downloading: http://repo1.maven.org/maven2/javax-persistence/ejb

Re: [m2] deployment of Jetty 6

2005-11-01 Thread David H. DeWolf
David Jencks wrote: On Oct 26, 2005, at 3:30 AM, Greg Wilkins wrote: Brett Porter wrote: . . . Ideally, I think apache should branch all the standard javax stuff into a project of it's own. That way tomcat, jetty and geronimo would all be siblings and there would be no cross dependanci

Re: Did you ever get an answer to: Surefire crashing..?

2005-11-01 Thread Erick Dovale
Nope, no answer so far.. I opened a jira issue on it though.. Will be hearing about it soon... hopefully.. cheers, [EMAIL PROTECTED] wrote: I'm getting the same thing and looking for an answer. Reporter method testStarting completed abruptly with an exception. java.lang.StringIndexOutOfBoun

Re: [m2] Help! scp, sftp deploy is failing

2005-11-01 Thread Brett Porter
No, sorry - you can't use a password with scpexe as we can't read the input. Generally it is used with an ssh-agent and private/public key pair. - Brett On 11/2/05, KC Baltz <[EMAIL PROTECTED]> wrote: > Home directory bug filed. > > scpexe is failing. It complains with the following message: > >

RE: [m2] Help! scp, sftp deploy is failing

2005-11-01 Thread KC Baltz
Home directory bug filed. scpexe is failing. It complains with the following message: Permission denied (publickey,password) I'm guessing it doesn't know how to pass my password. I have a defined in my settings that appears to work with sftp and scp, so I don't think that's it. Any ideas

RE: [m2] How to exclude WEB-INF/lib/*.jar without excluding dependent jars?

2005-11-01 Thread KC Baltz
No luck. That appears to have no effect at all. I end up with all the jars, those from source control and those from dependencies. K.C. -Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 01, 2005 3:39 PM To: Maven Users List Subject: Re: [m2] How t

RE: Building C++ projects with Maven (2)

2005-11-01 Thread Donszelmann, Mark
Hi Chris, for maven 1 we create zip files (.nar extension) which we download using the nar plugin. These files have the same name as a properties file which the user depends on, but with a postfix -aol (architecture-os-linker) or -noarch, and extension .nar The -noarch file is for include files.

Re: [m2] org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found

2005-11-01 Thread Brett Porter
I think repo1.maven.org is having some issues at present. We're working to rectify them - please try again soon. You can also set up a mirror - there should be instructions on the web site. - Brett On 11/2/05, cameron clarke <[EMAIL PROTECTED]> wrote: > Caveat …I'm new to Maven! > Downloaded ins

[m2] org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found

2005-11-01 Thread cameron clarke
Caveat …I'm new to Maven! Downloaded installed successfully, mvn –v works OK. Following Maven getting started guide.. mvn archetype:create -DgroupId=uk.co.something -DartifactId=projName pom.xml / directory structures / App.java and AppTest.java created. (modified pom.xml for jdk1.5 as prescribed

Re: [m2] Help! scp, sftp deploy is failing

2005-11-01 Thread Brett Porter
Please file a bug on the home directory thing. No progress on the "session is down" issue just yet, unfortunately. There is another alternative: scpexe, or standard ftp. See the documentation for details. - Brett On 11/2/05, KC Baltz <[EMAIL PROTECTED]> wrote: > I'm trying to switch our developm

[m2] Help! scp, sftp deploy is failing

2005-11-01 Thread KC Baltz
I'm trying to switch our development to Maven2 and I'm having trouble because I can't seem to get scp or sftp to work with Maven. scp dies because it can't cd to my home directory on the target server (Home directories aren't mounted on that server). It looks like the following: : Upload

Re: Problems with assembly:assembly

2005-11-01 Thread Brett Porter
I think currently it aggregates dependencies, not modules. I believe there is already a feature request in JIRA. - Brett On 11/2/05, Colin Chalmers <[EMAIL PROTECTED]> wrote: > Hi , > > I'm trying to use the assembly plugin on M2 to build one jar including > the classes from the three sub-project

Re: Building C++ projects with Maven (2)

2005-11-01 Thread Chris Berry
Hi Mark, So, if I have it right, your solution is to transparently augment the versionId on-the-fly?? And you keep all of these artifacts together in the same repo dir i.e. all under the same version subdir (in m2) i.e. openssl/0.9.8/i386-linux-gcc-openssl-nar-0.9.8.nar Thanks, -- Chris On 11/1/05

Re: [m2] compilerId for maven-compiler-plugin

2005-11-01 Thread Brett Porter
Please file this in JIRA - it looks like it should work to me. - Brett On 11/2/05, Lars Trieloff <[EMAIL PROTECTED]> wrote: > Hi, > > according to the maven-compiler-plugin documentation I can set the > compiler to be used by adding the compilerId element to my pom.xml. > > However my small examp

Re: [M2] site:site has errors when dependencies are from maven 1 projects

2005-11-01 Thread Brett Porter
This is a bug in the dependency report (I'm not sure if it is fixed yet - you can file a JIRA if there isn't one already). You'd need to use true in reporting to disable the default project-info reports. -Brett On 11/2/05, Kris Nuttycombe <[EMAIL PROTECTED]> wrote: > Hi, all, > > I'm getting th

[m2] compilerId for maven-compiler-plugin

2005-11-01 Thread Lars Trieloff
Hi, according to the maven-compiler-plugin documentation I can set the compiler to be used by adding the compilerId element to my pom.xml. However my small example POM which includes following build configuration is unable to work with maven. maven-compiler-plug

Re: Building C++ projects with Maven (2)

2005-11-01 Thread Brett Porter
We have a -classifier element in the artifact in the repository which was envisaged as encopassing this, however it won't allow it to be later broken down into individual pieces. What it does mean is that all the variants have the same POM and are treated as one dependency that just differs on oth

Re: Building C++ projects with Maven (2)

2005-11-01 Thread Alex Honor
Just as another use case to throw in... We use a maven-1 structured repository and we are now beginning to migrate to the m2 style structure. We use our repository not only to store java-based build artifacts such as .jar, .war, .ear files, but also other kinds of release artifacts which mi

Re: Problem with plugin compilation

2005-11-01 Thread Brett Porter
It seems like there was an error contacting the repository while downloading the plugin plugin. Are there any other errors? Does it happen on repeated attempts? - Brett On 11/2/05, Anonimac Anonimac <[EMAIL PROTECTED]> wrote: > Hi, > I'm following example from "Guide to developing Java plugins" a

Re: [m2] How to exclude WEB-INF/lib/*.jar without excluding dependent jars?

2005-11-01 Thread Brett Porter
try WEB-INF/lib/*.jar On 11/2/05, KC Baltz <[EMAIL PROTECTED]> wrote: > I'm in the process of converting a webapp from Ant builds to Maven2 builds > and I'm running into a hitch with the packaging. When I first built the > webapp, it put duplicate jars in my WEB-INF/lib since they exist th

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

2005-11-01 Thread Brett Porter
The VM_... errors are really just warnings and can be ignored. I'm not able to reproduce the problems with mvn -X compile on a new archetpye though. What are the stack traces? - Brett On 11/2/05, Jeremy Hughes <[EMAIL PROTECTED]> wrote: > Hi, thanks for responding. The files in the maven-2.0-bin

[M2] site:site has errors when dependencies are from maven 1 projects

2005-11-01 Thread Kris Nuttycombe
Hi, all, I'm getting the following error from running mvn site: java.lang.IllegalArgumentException: Can't find a valid Maven project in the repository for the artifact [gt2:oracle-spatial:2.0.x-eds]. at org.apache.maven.report.projectinfo.DependenciesReport$DependenciesRenderer.renderBody

RE: Building C++ projects with Maven (2)

2005-11-01 Thread Donszelmann, Mark
Hi that is what we did with our NAR (Native Archive) plugin in Maven 1, which we are porting to M2 at this time. See for maven 1: http://java.freehep.org/freehep-nar-plugin we let the user depend on an artifact, and add Architecture-OS-Linkername to it. Regards Mark Donszelmann > -Orig

Re: Maven2: javadoc-1.4.jar does not exist in repository

2005-11-01 Thread Carlos Sanchez
No, you need to remove poms under commons-attributes in your local repo. They had wrong dependencies On 11/1/05, Chris Wilkes <[EMAIL PROTECTED]> wrote: > Edson Yanaga insula.com.br> writes: > > I'm trying to migrate my projects from Maven 1.1b2 to 2, but when I > > insert the following dependenc

Re: [102] How to get/create the ClassLoader for current project

2005-11-01 Thread Brett Porter
Aside from how you'd actually do this (which could be a bit tricky), the example below would actually be included in the default classloader the plugin gets. - Brett On 11/2/05, Guo, Jiaqi <[EMAIL PROTECTED]> wrote: > One of my jelly tag classes(Class extending > org.apache.commons.jelly.TagSuppo

[102] How to get/create the ClassLoader for current project

2005-11-01 Thread Guo, Jiaqi
One of my jelly tag classes(Class extending org.apache.commons.jelly.TagSupport, defined by ) in maven plugin needs the ClassLoader object which can find any class in current project or the depending libraries. If I do I can only use this path definition in ant tags through classpath

Re: [M2]Dumb question

2005-11-01 Thread Brett Porter
http://maven.apache.org/maven2/scm/maven-scm-plugin/ This definitely need sto be linked in from the plugin reference and the SCM site. Also, the SCM site lists a bunch of SCM tools - these look like we support them to me, but we don't support most, they are just planned. Headings might be helpful

How to use CheckStyle plugin?

2005-11-01 Thread David Parry
Can anyone suggest the canonical way to use the CheckStyle plugin? Based on an example someone else supplied to me, I have done this: ... org.apache.maven.plugins maven-checkstyle-plugin

Re: Maven2: javadoc-1.4.jar does not exist in repository

2005-11-01 Thread Chris Wilkes
Edson Yanaga insula.com.br> writes: > I'm trying to migrate my projects from Maven 1.1b2 to 2, but when I > insert the following dependency: > > > springframework > spring-mock > 1.2.5 >

[M2]Newbie question : Difference between the resources and config directories?

2005-11-01 Thread Alexandre Poitras
Hi all, I wanted to know what were the differences between the src/main/config and src/main/resources directories defined in the standard directory layout. Right now, I don't know in wich one to put my application.xml file (standard j2ee descriptor) and my log4j.xml file. Any pointer? Thank for th

Re: [m2] internal repository docs?

2005-11-01 Thread Wendy Smoak
On 11/1/05, Chris Berry <[EMAIL PROTECTED]> wrote: > > Hi Wendy, > I had to do this too and used:: > ... > file:///C:/cberry/work/3rdparty-repo/ > Thanks! I went with: irm-repo IRM Maven Repository file://\\server\files\repository Seems to be working, in between the complaints about missing

Re: [M2]Dumb question

2005-11-01 Thread Alexandre Poitras
Yeah but it written it's supported on the matrix. And, correct me if I am wrong, but we have to use this plugin to checkout our project. Anyway thank for the help. On 11/1/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > On 11/1/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > > > Where is the s

Re: Building C++ projects with Maven (2)

2005-11-01 Thread Roger Hoover
Good point. Source RPM handles this with options you can pass to the rpmbuild command. Maven could have either command line or configuration options to do the same. From http://www.rpm.org/max-rpm-snapshot/s1-rpm-multi-build-install-detection.html , "The *--buildarch* and *--buildos* options can

Re: [M2]Dumb question

2005-11-01 Thread Wendy Smoak
On 11/1/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > Where is the scm plugin homepage? I have been looking for it for the past > 20 > minutes and I can't seem to find it. Thanks! It's not on the list of m2 plugins: http://maven.apache.org/plugins/index.html See also: http://docs.codehaus

Re: [m2] internal repository docs?

2005-11-01 Thread Chris Berry
Hi Wendy, I had to do this too and used:: CWB file:///C:/cberry/work/3rdparty-repo/ legacy Note the /// on windoze. And note the trailing / Cheers, -- Chris On 11/1/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > I asked Google about 'maven internal repository' and it turned up: > http://maven

Problems with assembly:assembly

2005-11-01 Thread Colin Chalmers
Hi , I'm trying to use the assembly plugin on M2 to build one jar including the classes from the three sub-projects/modules. However it doesn't seem to be traversing the modules to pick up the classes, the jar is as good as empty. If I omit the target/classes element it seems to aggregate al

Re: Migrate jelly execute scripts to M2? (was RE: Wanted: Help with documentation on M2)

2005-11-01 Thread Chris Berry
Hi Siegfried, I think the short answer is; write a plugin. Now if you're like me, and your Jelly was mostly just a bunch of Ant calls with a bit of Jelly glue, then you might consider using the new m2 Ant plugins. This would allow you to transfer the knowledge directly to an Ant buildfile and simpl

[M2] merging war files

2005-11-01 Thread Damian_Bradicich
I just thought I would share with everyone our solution to merging war files (special thanks goes out to Roland Bali for the dependency-copier-plugin). Note that there is no auto-merging of the web.xml as we didn't have a necessity for that. Basically I setup the war I need as a dependency, t

Errors when starting Continuum which is built on my machine

2005-11-01 Thread Frank Zhao
On Linux machine, I check out the Continuum trunk from the svn repository, run "./build.sh", the compilation was OK (with a few test failure). Then followed the README file, under the "continuum-plexus-application/target/plexus-test-runtime/", I ran "./bin/plexus.sh", I got the following erro

[M2]Dumb question

2005-11-01 Thread Alexandre Poitras
Where is the scm plugin homepage? I have been looking for it for the past 20 minutes and I can't seem to find it. Thanks! -- Alexandre Poitras Québec, Canada

Re: Building C++ projects with Maven (2)

2005-11-01 Thread Chris Berry
Good point Sean. But I think the original question still holds; How should we handle this in the repo itself?? I do not think that one can use either groupId or artifactId without violating the platform independence of the POM. I think this implies a smarter "Artifact Resolver" than we have to toda

Re: Maven 2 Repository - Logging Missing jars etc.

2005-11-01 Thread Tomislav Stojcevich
That particular jar is a sun licensed jar so it won't be in the central repository, you will have to get it yourself, it's POM has the download url (the POM in the original location, not the new one http://www.ibiblio.org/maven2/jdbc/jdbc-stdext/2.0/jdbc-stdext-2.0.pom). See: http://maven.apache.

RE: Refering to a resource by a property

2005-11-01 Thread Arnaud HERITIER
You can use the system property basedir For example : http://svn.apache.org/viewcvs.cgi/maven/maven-1/plugins/trunk/xdoc/src/test/org/apache/maven/NavBeanTest.java?rev=170200&view=markup Arnaud > -Message d'origine- > De : Alexandre Poitras [mailto:[EMAIL PROTECTED] > Envoyé : mardi 1

Re: M2 Problem with running getting started example

2005-11-01 Thread Anuerin Diaz
Hi, If you are behind a http proxy then you might want to read the following links to enable m2 to access the remote repositories.. http://maven.apache.org/maven2/guides/mini/guide-proxies.html http://maven.apache.org/maven2/maven-settings/settings.html ciao! On 11/1/05, Sipho Mothobi

Re: Build problem

2005-11-01 Thread Emmanuel Venisse
I already answer to your previous mail but it seems it never arrive on the list. This pb is fixed in svn, it's due to a pb in scm execution. Emmanuel Malcolm Wong Ho a écrit : Continuum build failing, not sure what the cause is. Using Maven2 and Continuum1. Log :- jvm 1| 2005-11-

Re: problem with Hibernate:schema-export task

2005-11-01 Thread Marco Mistroni
hELLO all, i solved my problem... i had to specify in project.properties the location of my hibernate.properties maven.hibernate.properties=Backend/src/conf/hibernate.properties thanx anyway and regards marco On 11/1/05, Marco Mistroni <[EMAIL PROTECTED]> wrote: > > hello all, > i am tryin

M2 Problem with running getting started example

2005-11-01 Thread Sipho Mothobi
Hi, I am Maven 1.x user and just started to go through the M2 documentation and examples. I'm trying to run the "How do I make my first Maven project?" and getting errors, i have also tried to to run mvn install an get the same error. I also tried to place in this directory a pom.xml which d

surefire not running..

2005-11-01 Thread Erick Dovale
Hi there, I am having trouble getting the surefire plugin to run my unit tests. It seems to be running the first unit test and crashing right after with the following exception: Reporter method testStarting completed abruptly with an exception. java.lang.StringIndexOutOfBoundsException: String

Maven 2 Repository - Logging Missing jars etc.

2005-11-01 Thread Jasper . Morgan
Does anyone know where the best place is to log problems with Repository Dependencies. The sort of problems I'm talking about, is .pom file referencing a jar that isn't in the Maven2 Repository (e.g. http://repo1.maven.org/maven2/javax/sql/jdbc-stdext/2.0/jdbc-stdext-2.0.jar). I have looked a

[M2] surefire crashing.

2005-11-01 Thread Erick Dovale
Sorry if this gets posted twice. I send the email a couple of hours a go it did not get through. here goes again: Hi there, I am having trouble getting the surefire plugin to run my unit tests. It seems to be running the first unit test and crashing right after with the following exception:

Re: Compiling J2SE 5.0

2005-11-01 Thread Erick Dovale
Hi Graham, This how it is done in 2.0 In your pom.xml's build section you must tell the compiler plugin what version to use: org.apache.maven.plugins maven-compiler-plugin 1.5 1.5

Re: [M2] war project using war type dependencies

2005-11-01 Thread Kevin Galligan
This concept has been floating around the list for a while. I've got the same problem. I'm hoping somebody has a solution or at least a good idea of what road to go down. I'd be happy to try coding something, but I have a feeling that somebody is already working on this. If not, any thoughts

RE: Building C++ projects with Maven (2)

2005-11-01 Thread Sean Hennessy
If one considers an alternative use case scenario where a single host (build server) is cross compiling for multiple targets. Then would not the maven "sense the machine architecture" solution would only support one target environment? Perhaps a mechanism for management of iterative profiles in ord

Re: Building C++ projects with Maven (2)

2005-11-01 Thread Chris Berry
I think not. Using groupId or artifactId is insufficient -- at least in it's present form. If I have a dependency on, say, version 1.2 of a shared library -- that dependency is platform independent. If not, then you would have to have different POMs for different platforms. Obviously that doesn't

[M2] Bug with javadoc when the project name has spaces?

2005-11-01 Thread Alexandre Poitras
Has somebody else noticed that if your project name got spaces in it, javadoc generation fails? I think it's because the name is used on the javadoc command line (for the title) and not embedded between String quotes. I can fill a bug on Jira about this but I just wanted to know if I wasn't the onl

Re: Maven2: javadoc-1.4.jar does not exist in repository

2005-11-01 Thread Carlos Sanchez
I think it has been already fixed. You need to remove poms under commons-attributes in your local repo On 11/1/05, Edson Yanaga <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to migrate my projects from Maven 1.1b2 to 2, but when I > insert the following dependency: > > >

Re: Building C++ projects with Maven (2)

2005-11-01 Thread Roger Hoover
The concern I would have with this is that you have the same logical package (let's say apr 1.2.2) built for different architectures needing to have a different groupId or artifactId for each architecture type. Unless the groupId or artifactId is constructed dynamically, poms that depend on a nativ

Re: Building C++ projects with Maven (2)

2005-11-01 Thread Roger Hoover
Right. I suspect that native artifacts will have to be delineated by both CPU architecture and OS distribution. There's generally a tight coupling between the binary and the compiler version and glibc version and possibly other system libraries. So the repository would need a scheme something like

Re: Building C++ projects with Maven (2)

2005-11-01 Thread dan tran
You can use groupId for platform specific or add platform specific string to your artifact id. -D On 11/1/05, Chris Berry <[EMAIL PROTECTED]> wrote: > > This brings up a bigger question; How does maven want to handle OS > information in the repo?? To be successful w/ other languages like C, the

Re: Third party JAR version naming conventions

2005-11-01 Thread Carlos Sanchez
http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html I'm preparing a naming conventions doc that will be available at http://maven.apache.org/guides/mini/guide-naming-conventions.html On 11/1/05, Richard Allen <[EMAIL PROTECTED]> wrote: > I'm new to Maven and I'm trying to convert

Re: Building C++ projects with Maven (2)

2005-11-01 Thread Chris Berry
This brings up a bigger question; How does maven want to handle OS information in the repo?? To be successful w/ other languages like C, the repo will need to delineate information such as "i586" and "linux". Are these to be rolled into the groupId?? That doesn't smell right. Seems that we may need

RE: Installing Commercial Jars and missing POM XML files

2005-11-01 Thread KC Baltz
Peter, Your MvnCreateLocalPom works well, but I think it needed a small fix and an enhancement. You have two places in dumpPom(String, String) where groupId is used to create a path. I appended .replace('.', '/') to the groupId to handle dotted groups. Also, when you actually create the po

Re: Building C++ projects with Maven (2)

2005-11-01 Thread dan tran
Hi David, There is a work in progress for native-maven-plugin http://svn.mojo.codehaus.org/trunk/mojo/maven-native/ You can build it and take a look at some doc. -Dan On 11/1/05, David Jackman <[EMAIL PROTECTED]> wrote: > > I've just found out that I'm going to need to expand our Maven buil

Refering to a resource by a property

2005-11-01 Thread Alexandre Poitras
Hi to all the maven experts out there! I'm looking for a way in my pom to refer to my resources directory in a dynamic way (by a property). Right now, the entry is looking like "src/main/resources/xsd/gdu.xsd" but I would like to have something like "{ pom.build.resources...}". By the way, do you

Building C++ projects with Maven (2)

2005-11-01 Thread David Jackman
I've just found out that I'm going to need to expand our Maven build process to include several C++ project (which I believe are built using gcc). I seem to remember seeing some traffic on this list from people doing this sort of thing (which I promptly ignored because I wasn't at the time). Can

RE: Build Error

2005-11-01 Thread Allison, Bob
I'm using Linux, not Windows, so this may not be 100% correct. As I recall, if you want to put the drive designator in the SCM URL, you need to use something other than ':' as a delimiter. Try scm|local|C:\Documents and Settings\WongHoma\.m2\repository|status-change -Original Message-

Migrate jelly execute scripts to M2? (was RE: Wanted: Help with documentation on M2)

2005-11-01 Thread Siegfried Heintze
I would like to migrate my custom m1 jelly script from m1 to m2 that executes my program. As per Dan's advice, I have been searching with "execute" and not having much luck. Can I get a few more hints? Also, I've been thinking: what I really want is a way to automatically generate either C++ (usin

[M2] surefire crashing

2005-11-01 Thread Erick Dovale
Hi there, I am having trouble getting the surefire plugin to run my unit tests. I created a jira issue on this because I was unable to send emails to the user lists. I apoligize if this is a problem of my own. Surefire seems to be running the first unit test and crashing right after with the

Re: Maven2 - Where is JMX.jar??

2005-11-01 Thread dan tran
http://www.ibiblio.org/maven2/mx4j/ On 11/1/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > If you want to use the Sun reference implementation, please refer to this > page : > http://maven.apache.org/maven2/guides/mini/guide-coping-with-sun-jars.html > > Sun JMX RI : > http://java.sun.com/

SCM and build using Maven 1.0.2

2005-11-01 Thread Rupali Desai
Hello, I have writeen a maven script which has goals defined to do cvs checkout and then goal to build and package . The file looks as follows ${goals} Now attaining goal number ${goalNumber}, which is ${goal} However when i run the script with task : maven nightly

problem with Hibernate:schema-export task

2005-11-01 Thread Marco Mistroni
hello all, i am trying to run the hibernate:schema-export task, but so far unsuccessfully :( here's my hibernate.properties file hibernate.connection.driver_class=org.hsqldb.jdbcDriver hibernate.connection.url=jdbc:hsqldb:foo hibernate.connection.username=sa hibernate.dialect=net.sf.hibernate.di

Maven2: javadoc-1.4.jar does not exist in repository

2005-11-01 Thread Edson Yanaga
Hi, I'm trying to migrate my projects from Maven 1.1b2 to 2, but when I insert the following dependency: springframework spring-mock 1.2.5 test My build fails. It req

[m2] internal repository docs?

2005-11-01 Thread Wendy Smoak
I asked Google about 'maven internal repository' and it turned up: http://maven.apache.org/reference/internal-repositories.html It's at the top level of the site, so I'd expect it to apply to m2, but it doesn't seem to. I need to set up an internal repository to be accessed with file:// . I thin

Third party JAR version naming conventions

2005-11-01 Thread Richard Allen
I'm new to Maven and I'm trying to convert an existing build process that uses Ant to Maven 2. I've started creating a POM where I have to add third party SUN JARs as dependencies, one of them being JAI. JAI version 1.1.2_01 includes three JARs. Is there a way to install JAI into my reposito

Problem with plugin compilation

2005-11-01 Thread Anonimac Anonimac
Hi, I'm following example from "Guide to developing Java plugins" and I can't compile plugin. It fails with [INFO] The plugin 'org.apache.maven.plugins:maven-plugin-plugin' does not exist or no valid version could be found If I change packaging parameter to jar, everything compiles. This is my p

[m2] How to exclude WEB-INF/lib/*.jar without excluding dependent jars?

2005-11-01 Thread KC Baltz
I'm in the process of converting a webapp from Ant builds to Maven2 builds and I'm running into a hitch with the packaging. When I first built the webapp, it put duplicate jars in my WEB-INF/lib since they exist there in my source directory and it also included the jars defined in my pom depend

Re: Maven2 - Where is JMX.jar??

2005-11-01 Thread Alexandre Poitras
If you want to use the Sun reference implementation, please refer to this page : http://maven.apache.org/maven2/guides/mini/guide-coping-with-sun-jars.html Sun JMX RI : http://java.sun.com/products/JavaManagement/download.html On 11/1/05, João Carlos Bortoletto Junior <[EMAIL PROTECTED]> wrote: >

Re: Build Error

2005-11-01 Thread Emmanuel Venisse
This pb is fixed in svn, it's due to a pb in scm execution. Emmanuel Malcolm Wong Ho a écrit : Continuum build failing, not sure what the cause is. Using Maven2 and Continuum1. Log :- jvm 1| 2005-11-01 09:00:00,013 [scheduler1_Worker-11] INFO SchedulesActivator - >

Maven2 - Where is JMX.jar??

2005-11-01 Thread João Carlos Bortoletto Junior
Hi friends, From where can I download jmx.jar? It exists at IBIBLIO repository under maven2? My application works with Tomcat embedded and this library is mandatory... Thanks!!! João Bortoletto

Re: [m2] repository hell

2005-11-01 Thread Wendy Smoak
On 11/1/05, Xavier Toth <[EMAIL PROTECTED]> wrote: > > I see this a problem also in that the users like myself aren't necessarily > qualified to provide a fix for someone elses pom. I still think the > contributor/maintainer needs to be known and notified since they would > have > the knowledge of

Re: [m2] repository hell

2005-11-01 Thread Xavier Toth
I see this a problem also in that the users like myself aren't necessarily qualified to provide a fix for someone elses pom. I still think the contributor/maintainer needs to be known and notified since they would have the knowledge of how to resolve the issue. On 11/1/05, John Casey <[EMAIL PROTE

Re: [m2] repository hell

2005-11-01 Thread John Casey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Basically, the best way to address this (at least so far) is to file a MEV issue with the fixes for that POM. http://jira.codehaus.org/browse/MEV It's going to take awhile to get the repository completely cleaned up, particularly since it's metadata

[m2] repository hell

2005-11-01 Thread Xavier Toth
There seem to be a number of issues here are several: a.) different poms with dependencies on the same jar but using different groupId/artifactId (ex. jetty/jetty and jetty/org.mortbay.jetty) causing multiple copies to be downloaded and stored b.) poms using syntax like ${commons_beanutils_version

Re: finding groupId/artifactId of unlisted libs

2005-11-01 Thread Wendy Smoak
On 11/1/05, Rico (privat) <[EMAIL PROTECTED]> wrote: > > my project needs the jdbc driver of firebird (jaybird driver: > firebirdsql-full.jar). Where if this is not listed on > http://www.ibiblio.org/pub/packages/ > can I get the correct groupId / artifactId ? There was a thread not too long ago

finding groupId/artifactId of unlisted libs

2005-11-01 Thread Rico (privat)
Hi, my project needs the jdbc driver of firebird (jaybird driver: firebirdsql-full.jar). Where if this is not listed on http://www.ibiblio.org/pub/packages/ can I get the correct groupId / artifactId ? Rico - To unsubscribe,

[M102] I'm trying to use maven.xml to override variables in the pom

2005-11-01 Thread Thomas_Perry
hello to all, I have used variable notation for values in the pom, rather than hard coded values. example, for Site Directory I've coded ${maven.site.location} I'd like to use jelly script in maven.xml to set these pom variables, I can't use static values in project.properties. Testing has

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

2005-11-01 Thread Jeremy Hughes
Hi, thanks for responding. The files in the maven-2.0-bin.tar.gz file I downloaded are dated 2005-10-18. I just cleared out my ~/.m2 directory and did: cd ~ mvn -X archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app cd my-app mvn -X compile stdout and stderr for each of the mvn comm

Re: keyword "SNAPSHOT" in depedency version is ignored

2005-11-01 Thread Katsuya Takahashi
Hi My point is what Brian explained. I'm sorry for wandering from the subject. Brett Porter wrote: This functionality already exists in Maven 2.0. [1.0,) indicates >= 1.0 I tried this functionality and it works well! Thank you all! Katsuya Takahashi -

[m2] using a local mirror

2005-11-01 Thread Anuerin Diaz
hi, i am new to maven and will be using it for a migration project that i will be working with. i come from a solid Ant background so i am still coming to gripes with some of the paradigm shift. excellent work but since the documentation is rather sparse at the moment i will be scouring the arc

Re: can a goal executing in a project execute goals in other projects?

2005-11-01 Thread Minds Work
It works, Thank you []s Freddy On 11/1/05, Dion Gillard <[EMAIL PROTECTED]> wrote: > > Couldn't you make it a system property: > > ${systemScope.put('name', varFromTstamp)} > > On 11/2/05, Minds Work <[EMAIL PROTECTED]> wrote: > > Thanks, it works, > > I have another related question > > > > I wa

  1   2   >