Using multiple source directories to produce on artefact

2006-01-12 Thread Andreas Zschorn
Hi, I have a question regarding maven 2 and the use of multiple source directories. I want to migrate from ant to maven and have a problem with compiling 2 source directories to one output directory. Directory structure is the following. ./src/ -- with the main source files ./gen-src/ -- with

Re: Help manually building a debug jar

2006-01-12 Thread Gisbert Amm
I guess you have to set maven.jar.include.source to true. It defaults to false. http://maven.apache.org/maven-1.x/reference/plugins/jar/properties.html Regards, Gisbert Amm Alexandre Poitras wrote: Dumb*. Maven 1 I can see it from your command line. Sorry I can't help you with Maven 1, I

Re: Using multiple source directories to produce on artefact

2006-01-12 Thread dan tran
oh mine this question is getting popular ;-) check out build-helper-maven-plugin at http://mojo.codehaus.org maven 2 books are comming out first quater of 2006, i heard ;-) On 1/12/06, Andreas Zschorn [EMAIL PROTECTED] wrote: Hi, I have a question regarding maven 2 and the use of

Re: Standard Directory Layout , src/main/config, and profiles

2006-01-12 Thread Massimo Lusetti
On 1/11/06, Stephen Duncan [EMAIL PROTECTED] wrote: For the most part I assume that what makes them standard is having a maven plugin (i.e. one that works out of the box without a prefix for definitions sake...) that uses said directory as a default. By that logic, src/main/webapp needs to

Re: [ANN] Maven Install and Deploy Plugins (v2.1) released

2006-01-12 Thread Geoffrey
Nice work :) I 've been anticipating deploy:deploy-file a while, to upload new jars to my internal repository. Still, to use it I need to copy paste a long command (with -Dfile etc). It would be nice if it works with command line input, like archetype: mvn deploy:deploy-file-cmd-line-input

Re: Using multiple source directories to produce on artefact

2006-01-12 Thread Jason Dillon
This functionality should be added to the core pom IMO. --jason -Original Message- From: dan tran To: Maven Users List Sent: Thu Jan 12 00:13:03 2006 Subject: Re: Using multiple source directories to produce on artefact oh mine this question is getting popular ;-) check out

Using Maven Offline

2006-01-12 Thread Paul Hepworth
Hi I'm trying to set up Maven for multiple users on a network not connected to the internet. I've run all the commands that we will need while connected to the net so that I have the plugins and dependencies downloaded. On a network drive //myserver/maven/repository I have placed all the

Re: [m2] How to prevent transitive dependencies from a given dependency?

2006-01-12 Thread Alessio Pace
Thanks, that solves my problem :) On 1/11/06, Yann Le Du [EMAIL PROTECTED] wrote: http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-CanIdisabletransitivedependencies%3F 2006/1/11, Alessio Pace [EMAIL PROTECTED]: Hi, is there a way in maven2 to specify in my pom.xml that, for a given

[M1] Specifying Module build order

2006-01-12 Thread Afkham Azeez
Hi Folks, I have a project with multiple modules and I have got all my project.xml files and maven.xml files in place. But I do not know how to specify the order in which the modules are to be built. How is this achieved? -- Thanks Afkham Azeez

Re: [M1] Specifying Module build order

2006-01-12 Thread stéphane bouchet
It depends on your dependencies you specify in your differents project.xml. In fact, if one project depends on another one, the second will be build before the first one. Personnaly i used maven 1.1beta2 witch is better than maven 1.0. Stéphane Afkham Azeez a écrit : Hi Folks, I have a

RE: Using multiple source directories to produce on artefact

2006-01-12 Thread Allison, Bob
A repost from yesterday... The XDoclet plugin for Maven expects to place the generated sources in target/generated-sources/xdoclet and adds it to the compile source list. If you are specifying a different destination, that may be part of the problem if the plugin is not doing things quite right.

[m2] why should maven 2.0.1 depend on alpha and beta release?

2006-01-12 Thread Martin van der Plas
Hi, It occurs to me from the commands below that maven 2.0.1 has dependencies to alpha and beta releases. Should a non-snapshot release of maven or any other project depend on snapshot releases? What about the requirement of having consistent and reproducable builds when maven itself

Re: Using Maven Offline

2006-01-12 Thread Alexandre Poitras
I think you have to setup a mirror in your setting.xml files. This is how we use Maven-Proxy so shoud be the same to use your own repository. On 1/12/06, Paul Hepworth [EMAIL PROTECTED] wrote: Hi I'm trying to set up Maven for multiple users on a network not connected to the internet. I've

Re: [m2] why should maven 2.0.1 depend on alpha and beta release?

2006-01-12 Thread Brett Porter
On 1/12/06, Martin van der Plas [EMAIL PROTECTED] wrote: Hi, It occurs to me from the commands below that maven 2.0.1 has dependencies to alpha and beta releases. The alphas and betas are all projects that the Maven developers are involved in. They are in that state because they are not in

Re: Using Maven Offline

2006-01-12 Thread Alexandre Poitras
Yeah I just checked the guide and you need a mirror. From http://maven.apache.org/guides/mini/guide-mirror-settings.html: You want to replace a particular repository with your own internal repository which you have greater control over On 1/12/06, Alexandre Poitras [EMAIL PROTECTED] wrote: I

Re: Need more help with broken ibiblio: 404 on werkz-1.0-beta-10.jar

2006-01-12 Thread Brett Porter
FYI, this was fixed earlier today. - Brett On 1/12/06, Brett Porter [EMAIL PROTECTED] wrote: Another strange one. They are there, and my local copy with near identical rules works. I'll investigate... - Brett On 1/12/06, Helck, Christopher [EMAIL PROTECTED] wrote: I browse to

RE: Using Maven Offline

2006-01-12 Thread Paul Hepworth
I've tried that one already with no success. It still works the same way in that I have to copy the org repository to my local repository to get it to work. Once I have done that, it happily uses either a repository/pluginRepository defined in the POM or the mirror of central defined in

Re: Problems with a not valide pom

2006-01-12 Thread Gerald Müllan
Ok, I think I have found the problem. If I remove the dependencies, the pom in the repository is valide. The dependencies in the original pom are bound into the generated jar with scope system and the path ${basedir}/lib/something.jar The problem is that the pom in the repository cannot

Re: Using Maven Offline

2006-01-12 Thread Man-Chi Leung
I have got maven-proxy running happily. just get from here: http://maven-proxy.codehaus.org/ u may have different repositories for release, snapshot and thirdparty jar ~manchi On Jan 12, 2006, at 8:10 PM, Paul Hepworth wrote: I've tried that one already with no success. It still works

RE: Using Maven Offline

2006-01-12 Thread Brian E. Fox
For plugins, you need to define a pluginRepository just like you did for your repository. -Original Message- From: Paul Hepworth [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 7:10 AM To: Maven Users List Subject: RE: Using Maven Offline I've tried that one already with no

Maven 2.0.1 release notes

2006-01-12 Thread Xavier Frisaye
Hi everybody, I discovered today that Maven 2.0.1 is released but i haven't found a release notes file or other that explains what has been changed in this release. I suppose this is only a bug fixes release? Regards, Xavier Frisaye Programmeur

Re: Using multiple source directories to produce on artefact

2006-01-12 Thread Geoffrey
I needed it too, but I don't think it should be added to the POM, because it's a bad practice. The build helper plugin works well for legacy builds. Jason Dillon wrote: This functionality should be added to the core pom IMO. --jason -Original Message- From: dan tran To:

Re: Maven 2.0.1 release notes

2006-01-12 Thread Brett Porter
Yes, the release notes are only what JIRA says was fixed. - Brett On 1/12/06, Xavier Frisaye [EMAIL PROTECTED] wrote: Hi everybody, I discovered today that Maven 2.0.1 is released but i haven't found a release notes file or other that explains what has been changed in this release. I

Re: Continuum + maven 2 + subversion.

2006-01-12 Thread Denis Fuenzalida
1.- You must upload your pom.xml to continuum by adding a maven 2.0 project in the continuum menu. Your pom.xml must contain the SCM information, like this: scm connectionscm:svn:svn://localhost/myproject/connection developerConnectionscm:svn:svn://localhost/myproject/developerConnection

Maven Repository access over cvs

2006-01-12 Thread Gerald Müllan
Hi *, Is it also possible with maven to access the repository over cvs? It would be more convenient for us to use our cvs system. regards, Gerald -- Gerald Muellan Schelleingasse 2/11 1040 Vienna, Austria 0043 699 11772506 [EMAIL PROTECTED]

RE: Using Maven Offline

2006-01-12 Thread Paul Hepworth
As the sample of the POM shows, I have both the repository and pluginRepository defined. If I remove these and specify a mirror, I get the same result. If I copy the org directory to my local repository but don't specify the pluginRepository, the build fails so I know that the repository and

Re: Maven Repository access over cvs

2006-01-12 Thread Emmanuel Venisse
Hi, We have an experimental wagon provider for scm but it isn't tested and finished. http://svn.apache.org/repos/asf/maven/sandbox/wagon-scm/ Emmanuel Gerald Müllan a écrit : Hi *, Is it also possible with maven to access the repository over cvs? It would be more convenient for us to use

eclipse plugin

2006-01-12 Thread Tom Joad
Hi, I would like to know if someone uses the maven2 eclipse plugin.I Install it , and create the pom file dependencies for a test project .It seems to work well but i see that ,it doesn't connect to my own repository because , nowhere we can declare settings.xml so it directly searchs on central

RE: Using Maven Offline

2006-01-12 Thread Paul Hepworth
I have found a solution to the problem now but would appreciate it if someone could tell me why this is: If I rename the maven-metadata-central.xml to maven-metadata.xml, it gets picked up and the plugins get downloaded. Any explanation? -Original Message- From: Paul Hepworth

Re: eclipse plugin

2006-01-12 Thread Robert Taylor
Hi Joe, I'm using Maven2 and Eclipse 3.2M4 and installed the plugin the other day. Window Preferences Maven 2 provides some configuration attributes. More specifically, one for the location of the repository. Also, when you enable the Maven 2 plugin for the project, it will add a Maven2

Site plugin problem - NullPointerException

2006-01-12 Thread Xavier Frisaye
Hi all, I'm encountering a problem when i use maven (2.0.1) site in our project (see logs below). This is not critical at all for us but i wonder if this is a known issue. I know that the site plugin is beta stage but it seems the exception occurs in maven core code. Thanks for replying,

RE: Site plugin problem - NullPointerException

2006-01-12 Thread Dixit, Sandeep (ProSource Solutions)
Are you using systemPath in any of your dependencies? -Original Message- From: Xavier Frisaye [mailto:[EMAIL PROTECTED] Sent: Thursday, January 12, 2006 9:17 AM To: Maven Users List Subject: Site plugin problem - NullPointerException Hi all, I'm encountering a problem when i use maven

RE: Site plugin problem - NullPointerException

2006-01-12 Thread Paul Hepworth
This is a known problem and I encountered it just yesterday too. The problem is with system scoped dependencies. There is a fix in svn so you can compile the latest beta-4-SNAPSHOT which will fix the problem. Paul -Original Message- From: Xavier Frisaye [mailto:[EMAIL PROTECTED] Sent:

Re: eclipse plugin

2006-01-12 Thread Kees de Kooter
On 1/12/06, Tom Joad [EMAIL PROTECTED] wrote: Hi, I would like to know if someone uses the maven2 eclipse plugin.I Install it , and create the pom file dependencies for a test project .It seems to work well but i see that ,it doesn't connect to my own repository because , nowhere we can

RE: Site plugin problem - NullPointerException

2006-01-12 Thread Xavier Frisaye
I don't know if one of my dependencies use systemPath or not. -Original Message- From: Dixit, Sandeep (ProSource Solutions) [mailto:[EMAIL PROTECTED] Sent: jeudi 12 janvier 2006 15:18 To: Maven Users List Subject: RE: Site plugin problem - NullPointerException Are you using systemPath

RE: Site plugin problem - NullPointerException

2006-01-12 Thread Xavier Frisaye
Alright, This problem is known, that's the most important. We will use it when this issue will be fixed because it is not important for us at the moment. Thanks all for replying. Regards, Xavier -Original Message- From: Paul Hepworth [mailto:[EMAIL PROTECTED] Sent: jeudi 12 janvier

RE: [m2] child-level transitive dependency builds?

2006-01-12 Thread Christopher Cobb
-Original Message- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Ah, so you are working with an IDE (of course!)... and its a feature that you want your IDE to do for you, i think. No, I use my IDE for editing. I use maven for building. Besides, maven already has good plugins for

RE: [ANN] Maven Install and Deploy Plugins (v2.1) released

2006-01-12 Thread Christopher Cobb
-Original Message- From: Brett Porter [mailto:[EMAIL PROTECTED] The Install and Deploy plugins for Maven 2.0 have been released. ... version2.1/version First of all, congratulations! Secondly (and really having nothing to do with your plugin), I wonder if plugin version

Re: [ANN] Maven Install and Deploy Plugins (v2.1) released

2006-01-12 Thread Charles Harvey III
Does this mean it will now pickup the username and password entries I have in my settings.xml file? Because that was the fix that I was really waiting for. I just tried it, and it still asked me for my password (assuming my username was my system name, not the one I put in the settings.xml

[newbie] Need some help with the following exception...

2006-01-12 Thread Quenten VanEgeren
I'm new to Maven2 and this list and I'm having the following problem. I'm not sure if I'm just missing something, if I have the wrong version of the surefire plugin, or what. When I run 'mvn test' I get the following output : [INFO]task-segment: [test] [INFO]

Re: eclipse plugin

2006-01-12 Thread Tom Joad
Hi Kees, I also do like this but I can't be satisfied with this solution. I test maven for our developpers who like clic-clic solution and who don't want to go deeply on maven concept. I need to set up a packaging solution.Do you find someone interesting about this error? Otherwise I ' ll create

Re: eclipse plugin

2006-01-12 Thread Tom Joad
Hello Robert, I already use the plugin functionnality as you say. On window preference maven2 , you can only configure local repository . If you need dependency not present locally , the plugin downloads artifacts on central repository without holding settings.xml which points to internal

[Newbie] Need some help with packaging multi jar project

2006-01-12 Thread Gerhard Weis
Hi I'm currently trying to build a project with maven-2.0.1 which consists of 5 jars. the build works quite fine. Now I have some Problems during pacakging. I have an own subproject to build a war with these 5 jars and some others which must be included into the war. I need to put some libraries

M2: Current directory (user.dir) problem in case of multi-module project.

2006-01-12 Thread Joern Huxhorn
Hi, I have the following problem with a multi-module project: The file structure looks like this pom.xml (parent pom of modules) module1/pom.xml module2/pom.xml In some of our testcases we need to access files so these files are located in src/test/resources of the respective project.

Installing 3rd party JARs, how generating the pom?

2006-01-12 Thread Gerald Müllan
Hi, I am trying to install some 3rd party libs to the local repository. The jar was building fine, but what is about the pom? If i have a look at the public repository ibiblio, there are always poms coming with the jars. Is there a command to generate them too? Thanks for help, regards,

Re: [m2] child-level transitive dependency builds?

2006-01-12 Thread Stephen Duncan
On 1/11/06, Christopher Cobb [EMAIL PROTECTED] wrote: -Original Message- From: Edwin Punzalan [mailto:[EMAIL PROTECTED] Although, I have to say, when you did some changes on P4, you should be building it anyway, right? Because you'll need to run the tests, etc. and make sure

RE: Support for mojos written in Ant

2006-01-12 Thread Michael Böckling
Hi Michal, I thought you might be interested that I actually managed to create a Mojo using ANT. The thing is, you have to build Maven from current SVN and use that, then it works really well! The only gotcha is that you have to add the following in the pom.xml of your project, but I guess

RE: [m2] Maven2 building Eclipse plugins, features, and update sites

2006-01-12 Thread Jim Babka
We actually wrote a plugin to do the copy of all dependencies to the lib directory. It's pretty simple - it just: - gets the list of artifacts, - gets the list of files already in lib, - traverses the first list, and for each uses the copyFileToDirectory method of the

Classloader for testing problems vs Eclipse test classloader

2006-01-12 Thread Todd Nine
Hi All, I'm using Eclipse 3.1 with the Maven 2 plugin to synchronize my Eclipse classpath with my pom.xml. The only entries on my classpath are the 1.4 jdk and the maven classpath entries. When I run my unit tests within Eclipse, they work perfectly, when I run them from the command window, I

Re: Using multiple source directories to produce on artefact

2006-01-12 Thread Chad Brandon
I completely agree. If anything, generated source will become more and more common as time goes on, the pom really should support multiple sourceDirectory elements (its much cleaner and clearer than having to use a plugin for it). Jason Dillon wrote: This functionality should be added to the

Re: Filtering resources

2006-01-12 Thread Karthik V
can some one answer this please? On 1/11/06, Karthik V [EMAIL PROTECTED] wrote: ok .. that 2nd question was silly .. i managed it ... pls help me wth the 1st one. On 1/11/06, Karthik V [EMAIL PROTECTED] wrote: In m2, how do I prevent some classes from being included to the final jar

Re: Using multiple source directories to produce on artefact

2006-01-12 Thread dan tran
Yes, build-helper is there for legacy build. However, if a build is completely mavenized, I see no need to have more than one primary source trees and adding a generated source tree the project , shoud be done by the generated source plugin itself. For now, i dont see a way out until at least

[M2] eclipse project dependecy - how to define?

2006-01-12 Thread Sanjay Choudhary
In maven 1.0.2 we were able to define eclipse project dependency. For example dependency groupId artifactId version properties eclipse.dependencytrue/eclipse.dependency /properties /dependency How can I define project depency for Eclipse in M2? Pls. advice.

[m2] Maven2 configuration for a plugin which contains a Map?

2006-01-12 Thread john . w . law
I have developed a plugin for my project that uses a HashMap which I need to configure from the POM with some key/value pairs. The URL = http://maven.apache.org/guides/mini/guide-configuring-plugins.html contains an empty section under the 'Mapping maps' heading. Does anyone know if this is

Re: Using multiple source directories to produce on artefact

2006-01-12 Thread Chad Brandon
dan tran wrote: Yes, build-helper is there for legacy build. However, if a build is completely mavenized, I see no need to have more than one primary source trees and adding a generated source tree the project , shoud be done by the generated source plugin itself. Well here's why it should

Re: [m2] Maven2 configuration for a plugin which contains a Map?

2006-01-12 Thread dan tran
John, 1. Add a Map field into your mojo ex private Map myMap = new HashMap(); 2 To inject a map from pom, use this format myMap yourkeyyourvalue/yourkey . /myMap Hope it helps -D On 1/12/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have developed a plugin for

Re: eclipse plugin

2006-01-12 Thread Robert Taylor
Tom, I'm not sure. I'm pretty new to Maven2. I had some issues with Eclipse3.1 and Maven2 plugin, but I just upgraded to Eclipse3.2M4 and they went away. It could have been that I had it configured improperly, so I'm not sure if it was necessarily a compatibility issue. Sorry, I'm not much

Re: Problems with a not valide pom

2006-01-12 Thread Alexandre Poitras
Yeah I don't think you should use system libraries there. The best way would be to use a parent pom like in the getting started guide and use default-scoped denpendencies. The parent pom will take of compiling everything and installing them in your local repository. It's definitly the way to go

Re: Using multiple source directories to produce on artefact

2006-01-12 Thread Wouter Zoons
multiple source directories support in the pom would definitely be cool +1 -- Wouter dan tran wrote: Yes, build-helper is there for legacy build. However, if a build is completely mavenized, I see no need to have more than one primary source trees and adding a generated source tree the

Re: [Newbie] Need some help with packaging multi jar project

2006-01-12 Thread Robert Taylor
Gerhard, I have 4 subprojects which create jar files which are ultimately used by my webapp project. The subprojects deploy the jar files to my local repository (using install goal) and I have the necessary dependencies defined in my webapp project. Works fine for me. /robert Gerhard Weis

Re: [Newbie] Need some help with packaging multi jar project

2006-01-12 Thread Gerhard Weis
Thanks for your answer, if there is no other way, i will do it like like you, but isn't it possible to get the dependecies resolved without installing to my local repository? Because for compiling the dependecies also get resolved just in the packaging stage this doesn't work (maybe it is a

[m2] jboss plugin docs location?

2006-01-12 Thread Mick Knutson
I want to use the jboss plugin to deploy my ear, but I can't find the docs for it. Can someone please point me to the docs, or show an example of how to use this plugin? --- Thank You Mick Knutson Sr. Java/J2EE Consultant BASE logic, inc. (415) 648-1804 (S.F., CA) http://www.BASELogic.com

Re: Installing 3rd party JARs, how generating the pom?

2006-01-12 Thread Man-Chi Leung
to deploy in the local repository, do the following: $mvn install:install-file -Dfile=path-to-file -DgroupId=group-id \ -DartifactId=artifact-id -Dversion=version - Dpackaging=packaging for exmaple: mvn install:install-file -Dfile=easymock.jar -DgroupId=org.easymock -

war project resources copied to web-inf/classes

2006-01-12 Thread Karthik V
I have a war project in m2 and want to copy some resource files to target. In my src/main/resources folder, I have some files, along with a web-inf folder containing some more files. But maven always seems to copy it to target/web-inf/classes and not target. How do I change this behavior? I tried

RE: [m2] jboss plugin location? Not where it is suppose to be...

2006-01-12 Thread Mick Knutson
I found the documentation on the mojo site, but I havce looked in the ibiblio and snapshot repositories, and can't seem to find jboss-maven-plugin. Shouldn't it be located: http://www.ibiblio.org/pub/packages/maven2/org/codehaus/mojo/ as defined: plugin

[m2] pom elements not validating in Idea...?

2006-01-12 Thread Mick Knutson
I have an example of some things that are not validating in Intellij 5: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd;

added an ant build, which failed, and all builds are now suspended

2006-01-12 Thread Michael Fiedler
Hi, A newly added ant script project was added to Continuum 1.0.2. The other projects normally build successfully. The ant script has yet to finish, but the log shows an apparent failure: [ejbcompile] Invoking weblogic.appc [java] [java] [java]

Re: [m2] jboss plugin location? Not where it is suppose to be...

2006-01-12 Thread Stephen Duncan
There's a jboss-sar-maven-plugin here: http://snapshots.maven.codehaus.org/maven2/org/codehaus/mojo/ Not sure if that's supposed to be the same thing, or what though... -Stephen On 1/12/06, Mick Knutson [EMAIL PROTECTED] wrote: I found the documentation on the mojo site, but I havce looked in

Re: [m2] jboss plugin location? Not where it is suppose to be...

2006-01-12 Thread Mick Knutson
How do I figure out what the goals are on the plugin? Can't find those docs. But it doesn't seem like this is the one I need. --- Thank You Mick Knutson Sr. Java/J2EE Consultant BASE logic, inc. (415) 648-1804 (S.F., CA) http://www.BASELogic.com Washington Mutual (WAMU) (Emeryville,

[m2] remote repository artifact update / local repository for multiproject question

2006-01-12 Thread Loïc Lefèvre
Hi, I'm searching to solve the following problem: I've got a multiproject which depends of say jgroups 2.2.9. As I only know ibiblio.org, I've added the property to use ibiblio as my remote repository: maven.repo.remote=http://www.ibiblio.org/maven2 However, the last version of jgroups (and

RE: [m2] child-level transitive dependency builds?

2006-01-12 Thread Christopher Cobb
-Original Message- From: Stephen Duncan [mailto:[EMAIL PROTECTED] But if your IDE, or whatever working environment you use, you treat each child project as an individual project, not one big project, then when building P1, you only want to build P1. For those that work this way

Re: [m2] child-level transitive dependency builds?

2006-01-12 Thread Stephen Duncan
On 1/12/06, Christopher Cobb [EMAIL PROTECTED] wrote: -Original Message- From: Stephen Duncan [mailto:[EMAIL PROTECTED] But if your IDE, or whatever working environment you use, you treat each child project as an individual project, not one big project, then when building P1,

Newbie Question: Where do I find documentation for the Maven 1.0 Weblogic Plugin attributes?

2006-01-12 Thread Hines, John
I've inherited a maven 1.0.2 build process we use in both development and production of three different products. One of the majot goals in the maven.xml is to build an ear that contains a WAR and ten-twenty EJBs so it can be deployed later to a weblogic server 8.1. The goal takes about fifteen

Re: Advanced File Modification Plugins (XSLT, XSLT Replacement, Regular Expression Replacement)

2006-01-12 Thread Stephen Duncan
I'm not filtering my web.xml file. My desire is to filter a hibernate.cfg.xml file to set the Hibernate Dialect (might be able to get rid of this by dynamically determinging correct dialect based on JDBC metadata), as well a log4j.xml file (to remove debug level declarations). In general, to

Re: Experience with maven-proxy.rb

2006-01-12 Thread Pablo Muñiz García
Hi Jason, could you please explain how to get installed proximity? I downloaded px-webapp.war, updated proximity.properties to point directories in my path (directories where created manually), but an exception is thrown during proximity bean creation. Thanks in advance. Best regards.

Re: [m2] child-level transitive dependency builds?

2006-01-12 Thread Stephen Duncan
If you're changing directories to a child project just to run a plugin from the command line (therefore one that's not been tied to the build lifecycle), then why would you want to rebuild the dependencies? As long as you did a main build from the top before (mvn install), the other child

Re: Experience with maven-proxy.rb

2006-01-12 Thread Jason Dillon
bink7xYAZMVXu.bin Description: this

Re: Experience with maven-proxy.rb

2006-01-12 Thread RedBugz Software
On 1/12/06, Pablo Muñiz García [EMAIL PROTECTED] wrote: Hi all! Lately I've been trying to find an alternative to codehaus *maven*-proxy that work with *maven* 2. After some Googling *maven*-* proxy.rb* (an script wirtten in Ruby) appeared. I've followed instructions detailed in the

NoClassDefFoundError on unit test when doing mvn package, but mvn test works

2006-01-12 Thread Matt Gauger
I'm using Maven 2.0.1 I have a top-level pom.xml (packagingpom/packaging) which builds 2 modules. Module A has only external dependencies. Module B has external dependencies, but is also dependent on Module A. Module B uses a class from Module A in java source compilation, as well as in a unit

Re: [m2] jboss plugin location? Not where it is suppose to be...

2006-01-12 Thread Ralf Quebbemann
Mick, you have to check it out from svn (svn://svn.codehaus.org/mojo/scm/trunk/mojo/jboss-maven-plugin) Docs can be found here: http://mojo.codehaus.org/jboss-maven-plugin/ Ralf Mick Knutson wrote: I found the documentation on the mojo site, but I havce looked in the ibiblio and

Re: [m2] jboss plugin location? Not where it is suppose to be...

2006-01-12 Thread Mick Knutson
How would I do that in wincvs? Or dos? --- Thank You Mick Knutson Sr. Java/J2EE Consultant BASE logic, inc. (415) 648-1804 (S.F., CA) http://www.BASELogic.com Washington Mutual (WAMU) (Emeryville, California) --- From: Ralf Quebbemann [EMAIL PROTECTED] Reply-To: Maven Users List

Re: added an ant build, which failed, and all builds are now suspended

2006-01-12 Thread Emmanuel Venisse
if a project is hang, you need to restart continuum. With 1.0.2, you need to replace old continuum-core jar by this one : http://www.codehaus.org/~evenisse/continuum-core-1.1-SNAPSHOT.jar in apps/continuum/lib This patch fix some pb with schedule. Emmanuel Michael Fiedler a écrit : Hi,

Re: M2: Current directory (user.dir) problem in case of multi-module project.

2006-01-12 Thread Joern Huxhorn
No, I can't use getResource because the class I'm testing needs to work on files instead of InputStream or URL. It's reading and writing from/to a file so it's not possible to switch it over to InputStream/URL. I should've mentioned that. I could probably parse the URL for the absolute path of

[m2] Problem with Maven2 Eclipse Plugin

2006-01-12 Thread Robert Taylor
I'm reposting this because the initial subject was kinda long. If this is the wrong forum for this question let me know. I would be greatful for any suggestions. /robert Greetings, I just upgraded to Eclipse 3.2M4 and installed the M2 Eclipse plugin (003) and am now getting the following

[m2] native-maven-plugin project setup

2006-01-12 Thread RedBugz Software
I'm an m2 newbie trying to implement our JNI library building via the native-maven-plugin. I've grabbed the latest source and built it and installed it. How are these projects normally set up? I'm trying to get the Sun JNI Tutorial example working before I tackle our actual project. I initially

Re: Problems with a not valide pom

2006-01-12 Thread Alexandre Poitras
Your pom seems fine and no it doesn't need the schema declaration to work. Maybe it's a distribution issue. How did you deploy your project to your local repository? And when you say local repository, are you speaking about an internal corporation repository or the repository created on your

[m2] webstart-maven-plugin

2006-01-12 Thread Richard Allen
Jerome, I need to build and package Web Start applications with a webapp (WAR) and so I was reading over your documentation for webstart-maven-plugin at http://docs.codehaus.org/display/MOJO/Webstart+Plugin?focusedCommentId=43309#comment-43309 I wanted to know how the Java code for your Web

Re: [m2] native-maven-plugin project setup

2006-01-12 Thread dan tran
On 1/12/06, RedBugz Software [EMAIL PROTECTED] wrote: I'm an m2 newbie trying to implement our JNI library building via the native-maven-plugin. I've grabbed the latest source and built it and installed it. How are these projects normally set up? I'm trying to get the Sun JNI Tutorial

[m2] maven-assembly-plugin: does install result to respository?

2006-01-12 Thread Richard Allen
When using the assembly plugin, will the install goal put the result of the assembly into the repository? Thanks, Richard Allen - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Newbie Question: Where do I find documentation for the Maven 1.0 Weblogic Plugin attributes?

2006-01-12 Thread Lukas Theussl
The m1 weblogic plugin is hosted at Sourceforge: http://maven-plugins.sourceforge.net/maven-weblogic-plugin/ You also might want to try their mailing list. -Lukas Hines, John wrote: I've inherited a maven 1.0.2 build process we use in both development and production of three different

Re: [m2] maven-assembly-plugin: does install result to respository?

2006-01-12 Thread dan tran
yes, use assembly:attach goal, but this feature is still SVN -Dan On 1/12/06, Richard Allen [EMAIL PROTECTED] wrote: When using the assembly plugin, will the install goal put the result of the assembly into the repository? Thanks, Richard Allen

[m2]: dependency-maven-plugin artifactItems error

2006-01-12 Thread Rollo, Dan
Sorry if I'm missing the obvious, but I keep getting the following error with the dependency plugin: [INFO] [ERROR] BUILD ERROR [INFO] [INFO]

[m2] Global override of scope version

2006-01-12 Thread Kees de Kooter
I am packaging a war and amazingly it twice as large in size compared to the old ant build. I notice a couple of things: 1. a lot of jars (e.g. junit) are being packaged that really should only have provided or test scope. The reason is that some poms forgot to give junit test scope. 2. a lot of

Re: [m2] native-maven-plugin project setup

2006-01-12 Thread RedBugz Software
On 1/12/06, dan tran [EMAIL PROTECTED] wrote: On 1/12/06, RedBugz Software [EMAIL PROTECTED] wrote: I don't see from the documentation where I specify the classpath. I cheated and added an additional className entry: classNames

Re: [m2]: dependency-maven-plugin artifactItems error

2006-01-12 Thread dan tran
wrong goal, it should be unpack-dependencies instead of unpack. Check out examples for details -D On 1/12/06, Rollo, Dan [EMAIL PROTECTED] wrote: Sorry if I'm missing the obvious, but I keep getting the following error with the dependency plugin: [INFO]

Re: [m2] native-maven-plugin project setup

2006-01-12 Thread dan tran
On 1/12/06, RedBugz Software [EMAIL PROTECTED] wrote: On 1/12/06, dan tran [EMAIL PROTECTED] wrote: On 1/12/06, RedBugz Software [EMAIL PROTECTED] wrote: I don't see from the documentation where I specify the classpath. I cheated and added an additional className entry:

RE: Installing 3rd party JARs, how generating the pom?

2006-01-12 Thread Treloar, Barrie (SAPOL)
-Original Message- From: Man-Chi Leung [mailto:[EMAIL PROTECTED] Sent: Friday, 13 January 2006 2:24 AM To: Maven Users List Subject: Re: Installing 3rd party JARs, how generating the pom? to deploy in the local repository, do the following: $mvn install:install-file

RE: [ANN] Maven Install and Deploy Plugins (v2.1) released

2006-01-12 Thread Treloar, Barrie (SAPOL)
-Original Message- From: Charles Harvey III [mailto:[EMAIL PROTECTED] Sent: Friday, 13 January 2006 1:17 AM To: Maven Users List Subject: Re: [ANN] Maven Install and Deploy Plugins (v2.1) released Does this mean it will now pickup the username and password entries I have in my

EAR and non-repository libraries questions

2006-01-12 Thread Ilya Sterin
Hello, I have two questions. First, I'm still trying to figure out how to generate an ear archive from a multi-module project. The site, nor google has any documentation on this, other than a listing of goals and/or how to customize the module. Also, most stuff on google refers to maven 1, and

Re: M2: Current directory (user.dir) problem in case of multi-module project.

2006-01-12 Thread Jörg Schaible
Hi Joern, Joern Huxhorn wrote: [snip] Is this a bug or a feature? I expected the current dir (user.dir) to change for every executed sub-module build. Any ideas how I could solve this problem? Absolute filenames are not really an option (that's my current workaround and it's a real

  1   2   >