Re: [m2] Downloading m1 JARs from a legacy repo

2006-01-20 Thread Edwin Punzalan
Hi. mvn will not create a default m2 pom when it did not find a valid v4 pom in the remote repository. This is done to make mvn to keep on checking the remore repo for a valid v4 pom. Anyway, the output you see is just a warning and if mvn does not see a pom in its local repo, it will

Re: Maven2: Error trying to run tests.

2006-01-20 Thread Edwin Punzalan
I think the information you gave may not be enough... can you try running mvn with the -X option? Thanks. Gerard Garrigan wrote: Hello, I have set up a maven project. When I try to run /mvn test /from within eclipse I get the following error. Compiling 453 source files to

Re: [m2] Mailing list how to deploy 3rd party jars ?

2006-01-20 Thread Romain Rouvoy
About Q2... The compiler can be configured to use a certain compiler version. Please see: http://maven.apache.org/plugins/ maven-compiler-plugin/howto.html Ok but once the jar is compiled is there any metadata stored to specify that it has been compiled with a 1.5 or 1.4 compiler ?

Re: [m2] Central repository in a standalone environment

2006-01-20 Thread Edwin Punzalan
From the error output, the configuration for the remote repository you've set did not take effect. That is, because profiles need to be explicitly activated before it gets used. You'll need a profile id, too. To explicitly activate a profile, you need to put -P profileId with the mvn

Re: running an antrun task alone -- or pulling a maven classpath from the pom?

2006-01-20 Thread John Casey
You've bound the configuration of the antrun plugin to an execution, which is bound to the test lifecycle phase. This is a good thing. However, you won't be able to use the configuration within an execution from a direct, command-line invocation like `mvn antrun:run`. Instead, try running

SV: Dependency on hibernate

2006-01-20 Thread Bengt-Erik Fröberg
Hi You're facing the SUN jarmaggeddon. http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html 1) go to http://java.sun.com/products/jta/ and download class files 2) check out http://maven.apache.org/guides/mini/guide-installing-3rd-party-jars.html 3) Replace path-to-file with the

Re: [m2] Multiprojects and inherited SCM URLs

2006-01-20 Thread Yann Le Du
Thanks Emmanuel, I'll try with maven-scm trunk then. - Yann 2006/1/19, Emmanuel Venisse [EMAIL PROTECTED]: Actually, you need to define scm url in all your modules if you want to use relative path. This problem is fixed in maven-scm trunk. Emmanuel Yann Le Du a écrit : Hi, In order

RE: [m2] Central repository in a standalone environment

2006-01-20 Thread COUVREUR jacques
Hi Edwin and thanks !... But I have tried the following settings as you hinted me: profiles profile !--activationactiveByDefault //activation-- iddev-profile/id repositories repository idcentral/id nameLocal repositoryname

Re: [m2] Multiprojects and inherited SCM URLs

2006-01-20 Thread Yann Le Du
Actually, yes, I use artifactId for directory names, and had thought of this solution. But I'd supposed it would give me : scm:svn:svn://host/PROJECT/module/module I can't try today, but will do on Monday and let you know. Thank you anyway. - Yann 2006/1/19, Dennis Lundberg [EMAIL PROTECTED]:

Re: [m2] Question about writing my first Mojo

2006-01-20 Thread John Casey
I *think* you could use a ${project} parameter, which will return an instance of org.apache.maven.project.MavenProject (artifactId: maven-project), and then use something like: MavenProject.setArtifacts(..) or something (the exact API here escapes me, but a good IDE should help you). You'll

Re: Transitive sibling builds

2006-01-20 Thread John Casey
This just means that you could create a couple of orchestration only poms, each with a war project and its dependency components specified as modules...and with a packaging of pom which means it'll organize the submodules (war and components) according to dependencies, and then build them.

RE: [M1] Ant Zip task excluded empty directories

2006-01-20 Thread Arnaud HERITIER
You can get a snapshot of the 1.1 beta 3 here : http://people.apache.org/~aheritier/maven/1.X/snapshots/ I'll try to put a newer one this WE or in the beginning of the next week when I'll succeed to fix some regressions Arnaud -Message d'origine- De : Afkham Azeez [mailto:[EMAIL

[m2] Manipulatinga Maven ${project} in ANT Mojo

2006-01-20 Thread Michael Böckling
Hey there, I'm trying to figure out how to add an entry to ${project.compileSourceRoot} inside a Mojo written in ANT. How would I go about this? Are there any special Ant tasks that aren't documented? Regards, Michael -- Giniality AG - Michael Böckling; Steinenberg 21, CH-4051 Basel P:

RE: [m2] Generating was5 ejb code ?

2006-01-20 Thread Malcolm Wong Ho
I am getting this error, any idea what the cause is ? [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSessionHome.java(5): CHKJ2907E: Type ejbs.DefaultSessionHome, or one of its supertypes, cannot be reflected. Check the classpath. [wsejbdeploy] [*Error] ejbModule/ejbs/DefaultSessionBean.java(5):

RE: [M1.1b2] problem with site generation : missing dependency

2006-01-20 Thread Arnaud HERITIER
I didn't take notice of it. There's a problem with the rewritting rules (http://www.ibiblio.org/maven/batik/jars/batik-1.5-fop-0.20-5.jar). We'll fix it ASAP. Brett, can you take a look at it ? Arnaud -Message d'origine- De : Hervé BOUTEMY [mailto:[EMAIL PROTECTED] Envoyé :

Re: [m2] Central repository in a standalone environment

2006-01-20 Thread Edwin Punzalan
hmmm... where did you put your settings.xml ? It should be in ~/.m2 COUVREUR jacques wrote: Hi Edwin and thanks !... But I have tried the following settings as you hinted me: profiles profile !--activationactiveByDefault //activation-- iddev-profile/id repositories

Re: [M1.1b2] problem with site generation : missing dependency

2006-01-20 Thread stéphane bouchet
Hi, the jar is here : http://www.ibiblio.org/maven/batik/jars/ it seems your ${maven.repo.remote} property is missing or not configured, because maven is trying to download that jar from the URL you specified in your project.xml ... Stéphane Hervé BOUTEMY a écrit : Maven site generation

Re: [m2] multiple project's component dependency declaration possible or too complex?

2006-01-20 Thread Edwin Punzalan
I think he means to use it at build time for mvn use. dan tran wrote: how about create one big zip file?? then use antrun to unpack. I do that quite often -Dan On 1/19/06, Edwin Punzalan [EMAIL PROTECTED] wrote: You mean you want a single pom to have several jars associated with it?

RE: [m2] Central repository in a standalone environment

2006-01-20 Thread Jörg Schaible
COUVREUR jacques wrote on Friday, January 20, 2006 9:36 AM: Hi Edwin and thanks !... But I have tried the following settings as you hinted me: profiles profile !--activationactiveByDefault //activation-- iddev-profile/id repositories repository

Re: [m2] Central repository in a standalone environment

2006-01-20 Thread Edwin Punzalan
Oh yeah. I think that's better. ^_^ Jörg Schaible wrote: COUVREUR jacques wrote on Friday, January 20, 2006 9:36 AM: Hi Edwin and thanks !... But I have tried the following settings as you hinted me: profiles profile !--activationactiveByDefault //activation--

Re: Dependency on hibernate

2006-01-20 Thread Ralph Pöllath
Hi, I find it much more convenient to simply replace the dependencies on sun's jars with their equivalents from geronimo, as mentioned at http://mavenbook.xwiki.com/xwiki/bin/view/Main/J2eeDependencies Here's how my hibernate dependency looks like: dependency

RE: [M1.1b2] problem with site generation : missing dependency

2006-01-20 Thread Arnaud HERITIER
Hi, the jar is here : http://www.ibiblio.org/maven/batik/jars/ The link is broken. Since we use rewritting rules over the m2 repository to create the m1 one, these directories listings are outdated. arnaud it seems your ${maven.repo.remote} property is missing or not configured,

RE : release plugin removes sections in the pom.xml ???

2006-01-20 Thread Olivier Lamy
My bad only reporting section. -Message d'origine- De : Olivier Lamy [mailto:[EMAIL PROTECTED] Envoyé : vendredi 20 janvier 2006 10:21 À : Maven Users List (users@maven.apache.org) Objet : release plugin removes sections in the pom.xml ??? Hi, I have some trouble with the release

release plugin removes sections in the pom.xml ???

2006-01-20 Thread Olivier Lamy
Hi, I have some trouble with the release plugin. I have released a company root pom. Then I'm surprised to see that some sections have been removed in commit made by mvn : - reporting section - profiles section Is there any issue regarding this ?? - Olivier This e-mail, any attachments and

[m2]Guide to Developing Ant Plugins error

2006-01-20 Thread Alexandre Russel
Hi, I am following the Guide to Developing Ant Plugins, first example hello world plugin: here is the error and at the end of the mail the exact file I used(cut/paste from the guide): mvn install [INFO] Scanning for projects... [INFO]

Re: [M1.1b2] problem with site generation : missing dependency

2006-01-20 Thread stéphane bouchet
Arnaud HERITIER a écrit : Hi, the jar is here : http://www.ibiblio.org/maven/batik/jars/ The link is broken. Since we use rewritting rules over the m2 repository to create the m1 one, these directories listings are outdated. Right ! I found the jar (working) on a mirror :

Re: SV: Dependency on hibernate

2006-01-20 Thread Christian Andersson
not sure if this has been suggested before.. Since this problem might exist not only for sun dependencies but for other dependencies also, could one sollution be to in the maven repository (on ibiblio,etc) create a pom for these dependencies but NOT include the dependency itself, but in the

Re: Last : Keep my MANIFEST.MF and not use auto-generate ?

2006-01-20 Thread Olive
Nobody to How change manuely the classpath of manifest.mf in WAR archive . Because i can t give it my manifest to maven. manifestFile/META-INF/MANIFEST.MF/manifestFile [INFO] Failed to configure plugin parameters for: org.apache.maven.plugins:maven-jar-plugin:2.0 Cause: Cannot

[m2] Profile inheritance

2006-01-20 Thread Rubén Barroso
Is there any standard way or even if it's possible to get a profile be inherited (some of its properties) from another one? (i.e. is profile inheritance implemented?) Thanks in advance. rb

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

2006-01-20 Thread gernot . eger
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 help appreciated regards, gernot - To unsubscribe, e-mail: [EMAIL

Re: Dependency on hibernate

2006-01-20 Thread Ralph Pöllath
On 20.01.2006, at 11:05, Christian Andersson wrote: not sure if this has been suggested before.. Since this problem might exist not only for sun dependencies but for other dependencies also, could one sollution be to in the maven repository (on ibiblio,etc) create a pom for these

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

2006-01-20 Thread david
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. I searched maven documentation and found that it was the correct behaviour ??? I tried testResourceexcludes/, but then

Re: [m2] project-info-reports plugin fails (doxia-core-1.0-alpha-7 doesn't hold SiteRenderer anymore)

2006-01-20 Thread Orjan Austvold
Is it only me who has problems getting the maven-project-info-reports version 2.0-beta-3 on maven 2.0.2 work? Isn't anybody using it on 2.0.2? Ørjan Orjan Austvold wrote: The maven-project-info-reports plugin fails in maven 2.0.2 due to doxia-core no longer holding the

Problem in Installing Plug-in from a Remote repository

2006-01-20 Thread narayan dhumale
Hi, I am trying to download the plugins from a Remote Repository.For this i have taken following steps:- 1added the the attribute in project.properties=http://maven-plugins.sf.net/maven ( i have tried by adding http://www.ibiblio.org also) Still its not downloading However the plugins are not

Re: [m2]Guide to Developing Ant Plugins error

2006-01-20 Thread Henrik Mejlgaard
Hi Alexandre, I had the same problem. It seems there is a problem in the transitive dependencies somewhere. My very ugly hack to get past this error was to copy the 2.0.1 versions into the 2.0 versions of maven-plugin-tools-api in my local repository - renaming the version of the file of course.

Re: SV: Dependency on hibernate

2006-01-20 Thread Geoffrey De Smet
The JAXB jars are up java.net's repository. Maybe if we poke them a bit more, they add activation, javamail etc too :) http://weblogs.java.net/blog/kohsuke/archive/2006/01/jaxb_jars_are_a.html http://blogs.sun.com/roller/page/theaquarium?entry=maven_repository_at_java_net Bengt-Erik Fröberg

jdepend plugin does not work on maven 2.0.2

2006-01-20 Thread tony nys
Hi I try to generate a sample jdepend report on a new default project generated by the archetype:create I have added the report configuration as document on codehaus website, but when I run site:site or jdepend:generate, it cannot find the plugin. When I Look manually on the repository

Re: Problem in Installing Plug-in from a Remote repository

2006-01-20 Thread Stephane Nicoll
Do you have a direct access to the Internet or do you need to use a proxy server? On 20 Jan 2006 11:30:05 -, narayan dhumale [EMAIL PROTECTED] wrote: Hi, I am trying to download the plugins from a Remote Repository.For this i have taken following steps:- 1added the the attribute in

RE: [m2] Central repository in a standalone environment

2006-01-20 Thread COUVREUR jacques
I have just tried this It seems better... but it does not work yet! I have: (1) First played the mvn test in my project with the proxy settings to download the needed dependencies. (2) Commented my proxy settings and put mirror settings (in my C:\Documents and

Is there some M1 documentation that is also interesting for M2?

2006-01-20 Thread softwarearchitekt
Hey all, i don't know m1, and sometime i miss some docu for m2, is there some documentation from m1 that is already actuall? Fredy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Maven Output Verbosity

2006-01-20 Thread Mike Lantink
I am using M2...-q does not seem to be a supported option. Is there a equivalent in M2 ? Michael Lantink Software Engineer (519) 880-2400 ext 2765 www.sandvine.com -Original Message- From: Gisbert Amm [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 2:53 AM To: Maven Users

Howto setup a maven project for eclipse plugin dev?

2006-01-20 Thread Kai Klesatschke
Hey, anybody out there who can tell me howto setup a maven project for eclipse plugin development? The PDE-Tools expect the META-INF/MANIFEST.MF and the plugin.xml in the root folder of a project but maven wants them in a resource directory. If moving the files there deploying a plugin will

Multiple Project Ant Dependencies

2006-01-20 Thread Taleswapper
It seems like if I have one pom with modules that also has an ant task, if one of the modules has an ant task, then the parent's ant task doesn't notice dependencies (resulting in not being able to recognize regular expressions, say). I stripped down to an example with one parent

[m2] How would I do the following in M2?

2006-01-20 Thread John Wells
From the same source files, I want to produce two jar files. Here are the requirements: 1. One JAR file would contain all the sources compiled with J2SE 5.0 2. One JAR file is for clients, and must be compiled with J2SE 1.4 Imagine the following packages: org.whatever.common- These

[m2] Nightly build using assembly

2006-01-20 Thread Sean Schofield
I'm trying to publish our project's nightly builds using assembly:assembly publish. The resulting tarballs are published but so are the poms and meta-data.xml. Ideally this would not be published as the end user does not care about such things. They just want to download the tarball. Also, if

RE: Worst documentation in the whole apache projects

2006-01-20 Thread Jeff Jensen
Examples are one thing, reference info is another. I think anyone can contribute both. Particularly, if even a small number of users would look at the pom: http://maven.apache.org/maven-model/maven.html read the description of each element, and submit patches to improve it to this JIRA or

[m2] modularisation of projects

2006-01-20 Thread softwarearchitekt
Hey all, i've a question about modularisation of projects. My project has a common module, a database-base module, a module for each database and a service module for eacxh service: common db_base db_1... db_n service_1... service_n app_1... app_n dependencies: service_n has 0..* service_n

Re: [m2] Nightly build using assembly

2006-01-20 Thread Sean Schofield
I'm trying to publish our project's nightly builds using assembly:assembly publish. Actually I'm using assembly:assembly deploy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[m2] Newbie question...

2006-01-20 Thread Paolo Perrucci
Hi all, to experiment with m2 I'm trying to define the pom for a legacy project build with ant. The existing ant build process create two jar: with and without debug infos. How can I use m2 to create the same jars without using the old ant build? Thanks Paolo

Re: [m2] Multiprojects and inherited SCM URLs

2006-01-20 Thread Sean Schofield
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 match the artifactId. It would be nice if they could deviate and

Ref : [m2] How would I do the following in M2?

2006-01-20 Thread adelie-lemoing . consultant
Try this : - pom.xml - dependencies + src + client - pom.xml - configured to produce the client jar with J2SE 1.4 + server - pom.xml - configured to produce the server jar with JSE 5.0 David LE MOING John Wells [EMAIL PROTECTED] 20/01/2006 14:47 Veuillez répondre à Maven Users

Problem deploying to internal repository using ssh2/sftp

2006-01-20 Thread Frank Russo
I'm trying to use wagon to deploy to an internal server. We use ssh2, so I read that I'm supposed to use the sftp protocol. Here are my entries in pom.xml: ... extensions extension groupIdorg.apache.maven.wagon/groupId

java.lang.VerifyError using maven 2

2006-01-20 Thread Shukla, Sanjay
Hey Guys, I am in a terrible situation compiling my code with maven 2 produces a java.lang.VerifyError when the code runs. However using my previous ant build the code build fine. I am really baffled at this, can anyone suggest a way to debug this situation. Thanks, Sanjay Shukla,

RE: Problem deploying to internal repository using ssh2/sftp

2006-01-20 Thread Frank Russo
Forgot to mention that I'm using version 2.0.2. Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Frank Russo Sent: Friday, January 20, 2006 10:15 AM To: users@maven.apache.org Subject: Problem deploying to internal repository using ssh2/sftp I'm trying to use

Release plugin completely breaks inheritance

2006-01-20 Thread Brian E. Fox
Hopefully I'm just doing something wrong: I have a super parent where I control all my dependencyManagement and pluginManagement etc. When I do release prepare, all the values from my super parent get injected into my children poms and then checked in and tagged. I'm ok so far. Then it rolls

functionnal testing

2006-01-20 Thread BURGHARD Éric
Hi, Is there a standard way to do functionnal testing with m2 ? I just wrote a quick and dirty mojo for that, but i think there should be a better way: I just spawn a jetty6:run in a thread, wait until the container is ready, run a set of tasks (mojos that effectively do html testing) with the

[m2] Integrating an eclipse RCP app with maven

2006-01-20 Thread Duncan Krebs
As of now I have all of my projects under maven control with exception to a collection of eclipse plugins that compose an RCP app. I have one plugin that serves as a jar library and have a class in that plugin that manually goes into my local repository to update snapshot jars after I run over

[1.0] How do you implement a moduleparent relationship in Maven 1.0

2006-01-20 Thread Osborne, Matthew
In my continuing quests, I am trying to create a Maven 1.0 builder for a project I'm working on alongside a Maven 2.0 builder. However, I've hit a little issue and would appreciate some guidance on the matter: In the Maven 2.0 builder, the parent pom.xml referred to the child pom.xml as a

[m2] deploy:deploy-file deletes my local pom file before uploading it ...

2006-01-20 Thread Romain Rouvoy
Hello, I'm trying to deploy a 3rd party jar using the deploy:deploy-file mvn command: mvn deploy:deploy-file -Dfile=fractal-2.0.1.jar - DpomFile=fractal-2.0.1.pom -Durl=... -DrepositoryId=objectweb-release These files have been previously successfully copied to my local repository using

Re: [m2] deploy:deploy-file deletes my local pom file before uploading it ...

2006-01-20 Thread Romain Rouvoy
Ok, I found the solution In fact I can not use the default pom file generated by install-file to deploy. I need to rename it before deploying ... otherwise the rewriting of the pom file will failed :-( Sorry for the noise :-/ Romain Le 20 janv. 06 à 17:22, Romain Rouvoy a écrit : Hello,

RE: [m2] deploy:deploy-file deletes my local pom file before uploading it ...

2006-01-20 Thread Brian E. Fox
That seems like a bug. -Original Message- From: Romain Rouvoy [mailto:[EMAIL PROTECTED] Sent: Friday, January 20, 2006 11:31 AM To: Maven Users List Subject: Re: [m2] deploy:deploy-file deletes my local pom file before uploading it ... Ok, I found the solution In fact I can not use

Re: [m2] axistools:wsdl2java

2006-01-20 Thread Nathan Sowatskey
Hi I have come back to the plugin, did a svn update, and now I have: [INFO] [INFO] Trace org.apache.maven.reactor.MavenExecutionException: POM 'org.codehaus.mojo:mojo-sandbox' not found in repository: Unable to

RE: [m2] multiple project's component dependency declaration possible or too complex?

2006-01-20 Thread Jim Babka
Well, this is interesting. I ran into the issue of needing multiple build artifacts from a single project, and even though I theorized that this was not possible, no one either agreed or disagreed with me at that time. Now this posting agrees with my theory, and moreover, states that it is a

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

2006-01-20 Thread ZhiQiang He
Default is ${basedir}/src/test/resources 2006/1/20, [EMAIL PROTECTED] [EMAIL PROTECTED]: 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. I searched maven

Where is the spring.jar for Spring 2.0 m1?

2006-01-20 Thread Chris Richardson
Hi, I've started to migrate the example source code for my book to Spring 2.0M1. However, http://www.ibiblio.org/maven2/org/springframework/spring/2.0-m1/ does not contain a spring.jar. I've had to replace the dependency on spring.jar with dependencies on the smaller jars: spring-code.jar,

Re: Where is the spring.jar for Spring 2.0 m1?

2006-01-20 Thread Carlos Sanchez
I missed it, it'll be added asap (although I strongly suggest not using it and use the smaller ones) On 1/20/06, Chris Richardson [EMAIL PROTECTED] wrote: Hi, I've started to migrate the example source code for my book to Spring 2.0M1. However,

[m2] XMLBeans Plugin and Surefire Reports

2006-01-20 Thread Kieran Brady
Hello list :) We've recently moved from using XMLBeans 1 via the antrun plugin to using the codehaus xmlbeans plugin for m2 and it has introduced a small problem inside our JUnit XML reports in that they have two 'xml' declarations at the top of the file: [EMAIL

RE: [m2] Multiprojects and inherited SCM URLs

2006-01-20 Thread DELMOTTE Grégory
Yann, si t'es en ligne, c'est où sur RICFILED que tu précisent les options de compil Javac pour MAVEN ?? Greg De : Yann Le Du [mailto:[EMAIL PROTECTED] Envoyé : vendredi 20 janvier 2006 09:36 À : Maven Users List Objet : Re: [m2] Multiprojects and inherited SCM

Re: Where is the spring.jar for Spring 2.0 m1?

2006-01-20 Thread Chris Richardson
Carlos, Thanks. I certainly like the idea of using the smaller ones and I've updated by pom.xml's to do that. However, its a lot easier to just depend on spring.jar :-) Chris On 1/20/06, Carlos Sanchez [EMAIL PROTECTED] wrote: I missed it, it'll be added asap (although I strongly suggest not

Re: [m2] Multiprojects and inherited SCM URLs

2006-01-20 Thread Grégory Joseph
On 20/01/06, DELMOTTE Grégory [EMAIL PROTECTED] wrote: Yann, si t'es en ligne, c'est où sur RICFILED que tu précisent les options de compil Javac pour MAVEN ?? DTC _ Ps: catherine, est-ce que tu peux prendre du pain en sortant du boulot, merci. Greg

Re: [1.0] How do you implement a moduleparent relationship in Maven 1.0

2006-01-20 Thread Doug Douglass
Matthew, M1 doesn't carry such information in its POM, as you've found out. Take a look at the M1 maven-multiproject-plugin: http://maven.apache.org/maven-1.x/reference/plugins/multiproject/ Specifically read about the following properties on the properties page

Re: [m2] How would I do the following in M2?

2006-01-20 Thread Kathryn Huxtable
On 1/20/06 7:47 AM, John Wells [EMAIL PROTECTED] wrote: From the same source files, I want to produce two jar files. Here are the requirements: 1. One JAR file would contain all the sources compiled with J2SE 5.0 2. One JAR file is for clients, and must be compiled with J2SE 1.4

Ant Tasks: Can I call tasks like validate?

2006-01-20 Thread Rollo, Dan
I'm trying to use the Ant libs for Maven 2.0.2 to handle dependencies (and to unpack some files needed during the ant build). I'm using a pom.xml in which I've bound the maven dependency plugin to the validate phase,using the unpack goal: pom.xml: ... plugin

Re: Problem deploying to internal repository using ssh2/sftp

2006-01-20 Thread Kathryn Huxtable
On 1/20/06 9:15 AM, Frank Russo [EMAIL PROTECTED] wrote: I'm trying to use wagon to deploy to an internal server. We use ssh2, so I read that I'm supposed to use the sftp protocol. Here are my entries in pom.xml: ... extensions extension

[m2] deploy to weblogic 9

2006-01-20 Thread Mordo, Aviran (EXP N-NANNATEK)
Is there a plugin that lets you deploy a war file to weblogic 9 ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to I migrate repositories?

2006-01-20 Thread Brett Porter
We are also building an application with built in conversion tools. - Brett On 1/20/06, Edwin Punzalan [EMAIL PROTECTED] wrote: There is a repo-clean tool the maven team uses to convert m1 to m2 poms. There are no docs on it for now, but you can look at the source here:

Re: release plugin removes sections in the pom.xml ???

2006-01-20 Thread Brett Porter
There are some open issues about this already. On 1/20/06, Olivier Lamy [EMAIL PROTECTED] wrote: Hi, I have some trouble with the release plugin. I have released a company root pom. Then I'm surprised to see that some sections have been removed in commit made by mvn : - reporting section -

Re: Problem deploying to internal repository using ssh2/sftp

2006-01-20 Thread Kathryn Huxtable
On 1/20/06 2:20 PM, Kathryn Huxtable [EMAIL PROTECTED] wrote: Running mvn -X -e deploy gives me a lot of output, but I think the relevant part is: [INFO] [deploy:deploy] [DEBUG] adding permissions to wagon connection: 774 775 Uploading:

Re: Problem deploying to internal repository using ssh2/sftp

2006-01-20 Thread Kathryn Huxtable
On 1/20/06 2:20 PM, Kathryn Huxtable [EMAIL PROTECTED] wrote: On 1/20/06 9:15 AM, Frank Russo [EMAIL PROTECTED] wrote: I'm trying to use wagon to deploy to an internal server. We use ssh2, so I read that I'm supposed to use the sftp protocol. Here are my entries in pom.xml: ...

RE: Problem deploying to internal repository using ssh2/sftp

2006-01-20 Thread Frank Russo
I've finally got it working. I was confused by the url of the repository and the path to it. Basically to browse the repo using the url in a browser, it's https://internalrepo/maven_respository since my apache server is hosting, but the actual path using sftp is

RE: Is it possible?

2006-01-20 Thread Vincent Massol
Thanks! I'm happy to see that our effort in writing the cargo documentation is useful :-) If you find things to improve let us know on the cargo list or through a Cargo jira issue. -Vincent -Original Message- From: Bengt-Erik Fröberg [mailto:[EMAIL PROTECTED] Sent: jeudi 19 janvier

maven-release-plugin / cannot access the SVN

2006-01-20 Thread softwarearchitekt
Hey all, i would have a look to the maven-release-plugin, but i cannot connect to: http://svn.apache.org/repos/asf/maven/components/trunk/maven-plugins/maven-release-plugin Also the web access: http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-plugins/maven-release-plugin The

Re: maven-release-plugin / cannot access the SVN

2006-01-20 Thread Dennis Lundberg
The M2 plugins have moved in SVN. The new location is: http://svn.apache.org/viewcvs.cgi/maven/plugins/trunk/maven-release-plugin/ -- Dennis Lundberg [EMAIL PROTECTED] wrote: Hey all, i would have a look to the maven-release-plugin, but i cannot connect to:

Re: [m2] deploy to weblogic 9

2006-01-20 Thread Rinku
You might want to check out Cargo Maven2 plugin. http://cargo.codehaus.org/ Cheers, Rahul - Original Message - From: Mordo, Aviran (EXP N-NANNATEK) [EMAIL PROTECTED] To: Maven Users List users@maven.apache.org Sent: Saturday, January 21, 2006 8:51 AM Subject: [m2] deploy to

RE: [m2] deploy to weblogic 9

2006-01-20 Thread Vincent Massol
-Original Message- From: Rinku [mailto:[EMAIL PROTECTED] Sent: vendredi 20 janvier 2006 23:23 To: Maven Users List Subject: Re: [m2] deploy to weblogic 9 You might want to check out Cargo Maven2 plugin. http://cargo.codehaus.org/ One gotcha: We don't have support for WL 9.x

RE: functionnal testing

2006-01-20 Thread Vincent Massol
Hi Eric, -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of BURGHARD Éric Sent: vendredi 20 janvier 2006 16:27 To: users@maven.apache.org Subject: functionnal testing Hi, Is there a standard way to do functionnal testing with m2 ? I just wrote a quick and

Re: maven-release-plugin / cannot access the SVN

2006-01-20 Thread softwarearchitekt
Thanks, it works! Sombody should update the plugIn Site http://maven.apache.org/plugins/maven-release-plugin/source-repository.html Fredy Maven Users List users@maven.apache.org schrieb am 20.01.06 23:08:13: The M2 plugins have moved in SVN. The new location is:

Re: [m2] deploy to weblogic 9

2006-01-20 Thread Ralf Quebbemann
The weblogic 9 plugin is attached in JIRA: http://jira.codehaus.org/browse/MOJO-179 Have fun Ralf Vincent Massol wrote: -Original Message- From: Rinku [mailto:[EMAIL PROTECTED] Sent: vendredi 20 janvier 2006 23:23 To: Maven Users List Subject: Re: [m2] deploy to weblogic 9 You

Re: Is there some M1 documentation that is also interesting for M2?

2006-01-20 Thread Maria Odea Ching
Hi Fredy, You can access Maven 1 documentation at http://maven.apache.org/maven-1.x/ Check out also this book - Maven: A Developer's Notebook Thanks, Odea [EMAIL PROTECTED] wrote: Hey all, i don't know m1, and sometime i miss some docu for m2, is there some documentation from m1 that is

Re: java.lang.VerifyError using maven 2

2006-01-20 Thread Maria Odea Ching
Hi Sanjay, Could you paste the stack trace here? Thanks, Odea Shukla, Sanjay wrote: Hey Guys, I am in a terrible situation compiling my code with maven 2 produces a java.lang.VerifyError when the code runs. However using my previous ant build the code build fine. I am really baffled at

Re: jdepend plugin does not work on maven 2.0.2

2006-01-20 Thread Maria Odea Ching
Hi Tony, The jdepend plugin is not yet in the central repo. It hasn't been released yet but you can download the source at https://svn.codehaus.org/mojo/trunk/mojo/jdepend-maven-plugin/, build it yourself and install it in your local repo. Thanks, Odea tony nys wrote: Hi I try to

Best Practice - Maven with WSAD or RAD6

2006-01-20 Thread Sanjay Choudhary
I am able to build my projects and EAR in both WSAD and RAD6. Now problem I face is in third party jars. in RAD6/WSAD project structure is like this EAR Project contains application.xml for EAR contains all third party JAR required by application JAR project EJB Project WAR Project

Re: Worst documentation in the whole apache projects

2006-01-20 Thread Eric Redmond
I've been digging into the bowels of Maven for months now, and really, the documentation is ok. There are a few short-commings (the--more or less--lack of comprehensive Plexus docs, for one), but considering the scope that this project has (huge), the speed in which it has begun to mature (fast),

Re: Worst documentation in the whole apache projects

2006-01-20 Thread Eric Redmond
As an ademdum, I'm not really a mvn zelot. I was actually so paranoid that M2 would have a disasterous lack of documentation, I began my own document wiki right when M2 was released (http://www.propellors.net/wiki/). After a couple weeks, it was clear that the core team were focused on