RE: ftp-wagon NullPointerException

2006-10-19 Thread Zeltner Martin
Hello Paul The NullPointerException seams to occur when the ftp wagon tries to get the authentication data. Try to set the following settings in your settings.xml (default location ~/.m2). settings ... servers server idakathist-repository/id

Re: Continuum with ClearCase

2006-10-19 Thread Wim Deblauwe
You can specify the location of pom.xml through the web interface. 2006/10/19, Janos Mucsi [EMAIL PROTECTED]: Hi I am using Continuum with ClearCase. Even though the load rules are correctly specified and the files are checked out, Continuum is looking for pom.xml on top of the directories

Hi! When i using the mvn site command it got the error.

2006-10-19 Thread praveenkumar muppala
Hi! When i using the mvn site i got the error like [ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2 got 0 [ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got 0 what was the problem for this. I didn't get where i should go to change the macro. --

Re: Maven 2 Site generation

2006-10-19 Thread Allan Ramirez
Please see http://maven.apache.org/guides/mini/guide-site.html You dont have to generate a site project, all of your site docs(apt, fml, xdoc) will be place in src/site of your existing project. -allan Morgovsky, Alexander (US - Glen Mills) wrote: I have a Maven 2 project. I want to create

Re: Hi! When i using the mvn site command it got the error.

2006-10-19 Thread Wayne Fay
This is not actually an error, at least not one you need to concern yourself about, so you can safely ignore it. Maven reports a [INFO] BUILD SUCCESSFUL at the end of the build which is all you need to be concerned about. This has been discussed several times on this mailing list. Feel free to

Re: [M2] FindBugs Plugin: How to generate XML file?

2006-10-19 Thread Gisbert Amm
plugin groupIdorg.codehaus.mojo/groupId artifactIdfindbugs-maven-plugin/artifactId version1.0-beta-1/version configuration excludeFilterFile${basedir}/src/main/conf/findbugs-exclude.xml/excludeFilterFile omitVisitorsFindDeadLocalStores,UnreadFields/omitVisitors

Re: Why do some jars in ibiblio do not have .pom files?

2006-10-19 Thread Nicolas DE LOOF
Relocation POMs should then be usefull ! Dan Tran a écrit : axis group has been moved to org/apache/axis, that could be the reason why nobody bothers to fix the missing pom. -D On 10/18/06, Christian Goetze [EMAIL PROTECTED] wrote: Just wondering - examples include:

Re: [m2] Surefire-Plugin: how to get aggregated XML?

2006-10-19 Thread Gisbert Amm
A week passed since I've posted this question and I got no reply so far. Can anyone say something about it, please? -Gisbert Gisbert Amm wrote: Hi, in Maven1 the Junit Plugin wrote the test data aggregated into a file named TESTS-TestSuites.xml. How can I achieve this with the Maven2

Properties for artifact names?

2006-10-19 Thread Owen Jacobson
Good morning. I need to put the correct filename for a given artifact into a file at build time. Are there properties usable for resource substitution that, given an artifact groupId: com.example artifactId: myapp version: 1.0 type: ear produce any of the following (in order of

Re: Properties for artifact names?

2006-10-19 Thread Siegfried Goeschl
Hi Owen, there are may ways to skin the cat - I would say give it a try ... :-) Cheers, Siegfried Goeschl Owen Jacobson wrote: Good morning. I need to put the correct filename for a given artifact into a file at build time. Are there properties usable for resource substitution that, given

Re: clear separation of source and target

2006-10-19 Thread Rémy Sanlaville
I do it with XDoclet like this and it works well : artifactIdxdoclet-maven-plugin/artifactId executions execution phasegenerate-sources/phase goals goalxdoclet/goal /goals configuration tasks

How to make a maven plugin to generate project reports through site

2006-10-19 Thread Øystein Skadsem
Hello there. I'm currently working on a small plugin to maven that goes through our codebase, checking all our modules for translated strings, and then reporting translation percentage, which languages have translations, what strings are missing translations etc. This was intended to be reported

Re: How to make a maven plugin to generate project reports through site

2006-10-19 Thread Gisbert Amm
You need to implement your Mojo as AbstractMavenReport, then Maven does all the Magic for you. To write your results into a HTML file, you need the Doxia Sink. It's really not difficult. Unfortunately there is no documentation despite the sources themselves. I used the maven-changes-plugin as

Aggregate plugin that runs after each module's reports

2006-10-19 Thread J.J.B. Rentrop
Hi all, I'm looking for ways to enable an aggregate report for multi module projects for tools like checkstyle, cobertura, findbugs, surefire etc. One approach I'm trying is to first generate all reports and xml data files for each module and afterwards loop through each module, read their xml

Re: Spring Taglib Dependency

2006-10-19 Thread ben short
Hi Stephen, The spring.tld is in the spring.jar so you dont need to do any more than grab the spring as a dependancy, like this.. dependency groupIdorg.springframework/groupId artifactIdspring/artifactId version1.2.8/version scopecompile/scope

Re: Aggregate plugin that runs after each module's reports

2006-10-19 Thread Gisbert Amm
I'm currently writing almost the same plugin, formerly (in the Maven 1 world) known as Dashboard Plugin. Isn't that funny (I think it isn't)? Would it probably not be better to focus such efforts within the Maven project itself rather than having each company writing it's own Dashboard plugin

How to execute just one script?

2006-10-19 Thread Bram de Kruijff
Hello, is it possible to execute just one script without going through the build lifecycle? In my case I'd like to run and re-run an ant script without building and certainly not installing and/or deploying(!) any artifacts. just something like 'mvn cleanmycachedir' or something like that :)

Re: Aggregate plugin that runs after each module's reports

2006-10-19 Thread J.J.B. Rentrop
It's good to hear that there is someone who is also working on it. I'm in favour of focusing the work and have this available for everyone. Your solution works for projects that have packaging=jar but not for projects that consists of multiple modules (packaging=pom). It can affect the sequence

Re: What configuration for my Use case

2006-10-19 Thread Nicolas DE LOOF
Thanks. I just created this config : - 4 managed repositories pointing to windows shared \\myserver\maven\restricted ... I use archiva reports to check for consisitency - 1 main managed repository on local server that is configured to proxy * http://repo1.maven.org *

Re: Aggregate plugin that runs after each module's reports

2006-10-19 Thread dvicente
Yes, me too. i try to develop the same plugin and i have the problem. If i put my report at the end of plugins list in reporting section, it works for 1 project but doesn't work for projects with module. see my last posts :

Re: [m2] Surefire-Plugin: how to get aggregated XML?

2006-10-19 Thread dvicente
i only know Maven 2 but in maven 2 surefire generates this xml. see in directory /myProject/target/surefire-reports, you must have TEST-.yyy.xml Gisbert Amm-3 wrote: A week passed since I've posted this question and I got no reply so far. Can anyone say something about it, please?

assembly warning message

2006-10-19 Thread Bozhong Lin
Hi, When i use assembly plugin to create tar.gz package, maven complains about the file name size more that 100 characters. Is this a concern? If so, any configuration to fix the problem? If not, how can I get rid of the annoying warning? Thanks for help! Bo

Re: Filtered proxy ?

2006-10-19 Thread Nicolas DE LOOF
MRM-211 I looked into code and I think this is an issue with maven2 DefaultArtifactHandler configuration, that has no configuration for plugin type. Would this require to update maven2 artifact project, or can archiva plexus configuration be set to add some ArtifactHandlers ? Nico.

adding dependency jars in jar project

2006-10-19 Thread Marek Chowaniok
Hi I have problem with creating jar project which has dependecy on another projects. I know that the 'jar project' will not include dependecy jars (as 'war project' does) and I have read that the assembly plugin should do it somehow. I am playing with it few days, trying find out as much as

Re: Filtered proxy ?

2006-10-19 Thread Brett Porter
They should be able to be added. - Brett On 19/10/2006, at 9:11 PM, Nicolas DE LOOF wrote: MRM-211 I looked into code and I think this is an issue with maven2 DefaultArtifactHandler configuration, that has no configuration for plugin type. Would this require to update maven2 artifact

Re: How to execute just one script?

2006-10-19 Thread Siegfried Goeschl
Hi Bram, not sure what you would like to achieve but +) run an ANT script instead ... :-) +) you can use the ant run plugin and the validate lifecycle phase Cheers, Siegfried Goeschl Bram de Kruijff wrote: Hello, is it possible to execute just one script without going through the build

exec:exec java NoClassDefFoundError

2006-10-19 Thread Urs Frei
Hi I am new in using maven. I would like to use the antRunner from eclipse to build my project. But the class for the antRunner will be not found. What do I wrong? project modelVersion4.0.0/modelVersion ... dependencies

Re: Filtered proxy ?

2006-10-19 Thread Nicolas DE LOOF
I updated my archiva webapp (it runs under tomcat) to include a DefaultArtifactHandler component for plugin type in WEB-INF/classes/META-INF/plexus/components.xml. I now can download maven1 plugins now. I don't know if this DefaultArtifactHandler may be define in maven-artifact project or

Re: Filtered proxy ?

2006-10-19 Thread Arnaud HERITIER
http://jira.codehaus.org/browse/MRM-210 is related to this problem cheers Arnaud On 10/19/06, Nicolas DE LOOF [EMAIL PROTECTED] wrote: MRM-211 I looked into code and I think this is an issue with maven2 DefaultArtifactHandler configuration, that has no configuration for plugin type. Would

Re: [M2] Is there a guide how to write Report Plugins?

2006-10-19 Thread Gisbert Amm
Gisbert Amm wrote: Arnaud Bailly wrote: Did I oversee something? I'd really appreciate some guidance and examples so that I don't have to read trough the sources of several existing report plugins to find out how it works by myself. Hello, I fear that this may actually be the only way right

Re: Filtered proxy ?

2006-10-19 Thread Nicolas DE LOOF
Seems the same issue. ejb and ejb-clients types are allready configured in maven-artifact configuration, so they should work (or there is another isue) How could archiva handle non standard artifacts without requirement for a new Archiva release ? For example, people may want to create some

Re: change-log plugin - empty password

2006-10-19 Thread Ali Hisham Malik
UmmmDidn't get any responses...Nobody ran into this issue before??? Ali Hisham Malik wrote: Hi, I am using an svn repository that requires empty password to be sent with the username (guest). I have tried several ways to configure the empty password in changelog plugin. For example, 1)

Dependencies in EJB project

2006-10-19 Thread horse
Hi, i am using Maven to create a Standalone EJB jar. in Eclipse all the required libraries (*.jars) which are defined in my project.xml under the dependencies tag are all properly included. but in the generated EJB, the the jars are not included in my ejb-jar file. what could be the problem? --

Re: [m2] Surefire-Plugin: how to get aggregated XML?

2006-10-19 Thread Gisbert Amm
That's not what I meant. The TEST-.yyy.xml files are there, indeed, but no file with *aggregated* test results. Of course I can go through the single files and collect errors and failures from there (that's what I actually do ATM). But the Surefire plugin could do that much more efficent

Dummy question my first Maven project: The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist ...

2006-10-19 Thread Xavier Outhier
Hi all, I'm sure this is not a cutting edge question. I've just downloaded and installed Maven. 1) Well, I simply followed the Installation instructions from page http://maven.apache.org/download.html#installation Windows 2000/XP 1. Unzip maven-2.0.3-bin.zip to the directory you

Re: [m2] Surefire-Plugin: how to get aggregated XML?

2006-10-19 Thread dvicente
ok, i haven't understood. But why do you want this aggregated xml file ? Gisbert Amm-3 wrote: That's not what I meant. The TEST-.yyy.xml files are there, indeed, but no file with *aggregated* test results. Of course I can go through the single files and collect errors and

Problem with site plugin

2006-10-19 Thread Manuel Ledesma
I writing sites for my custom plugins, but I have an issue with index.apt, Maven seems to ignore it, instead it always shows me the list of goals. But if I run it in a non-plugin project, everything works fine. Can someone explain how can i use my index.apt ?

Re: Dummy question my first Maven project: The plugin 'org.apache.maven.plugins:maven-archetype-plugin'does not exist ...

2006-10-19 Thread Nicolas DE LOOF
Try to run mvn *-U* archetype:create -DgroupId=com.mycompany.app -DartifactId=myApp The -U force plugin updates, thismay solve this issue. Xavier Outhier a écrit : Hi all, I'm sure this is not a cutting edge question. I've just downloaded and installed Maven. 1) Well, I simply followed

Re: can't remove project

2006-10-19 Thread Adrian Herscu
Hi all, Tried not to touch the keyboard/mouse at all during the add operation of some multi-module project, and the same thing happened again but with different project (now I have two projects duplicated instead of one -- the conclusion might be that it is better to do a refresh while adding

Re: Plugin Documentation and the Index Page

2006-10-19 Thread Manuel Ledesma
I downloaded version 2.0.5-SNAPSHOT, still getting the same problem. Do I have to specifically tell which version of plugin-plugin to use ? jrduncans wrote: Thanks. (Notes for anyone else: 2.0.5-SNAPSHOT builds are here: http://maven.zones.apache.org/~maven/builds/branches/maven-2.0.x/ )

Jar's in ear file root

2006-10-19 Thread Jeff Mutonho
The only dependency I have in my ear project's pom is the war file , as specified below : dependencies dependency groupIdza.co.pragmaticus.jportal/groupId artifactIdjportal/artifactId version1.0.0/version typewar/type /dependency /dependencies But my resulting ear

Re: Dummy question my first Maven project: The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist ...

2006-10-19 Thread Wendy Smoak
On 10/19/06, Xavier Outhier [EMAIL PROTECTED] wrote: 2) But here is what I get: D:\tmp\sandboxmvn --version Maven version: 2.0.4 (Strange, since above you say you installed 2.0.3.) D:\tmp\sandbox*mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=myApp* [INFO] Scanning for

Re: Downloading Maven 2 documentation

2006-10-19 Thread Daniel Serodio
Wayne Fay wrote: I believe the entire Maven website is generated by Maven itself. You'll need to checkout the maven-site component from SVN and then build it with mvn site. Can't we include this documentation in the download? TIA, Daniel Serodio Wayne On 10/18/06, Ian Springer [EMAIL

Re: Jar's in ear file root

2006-10-19 Thread Marco Mistroni
hello, check all dependencies in your projects (if it is a mulitproject)that are part of the ear and i m sure you will find the two extra jars hth marco On 10/19/06, Jeff Mutonho [EMAIL PROTECTED] wrote: The only dependency I have in my ear project's pom is the war file , as specified

Complete offline? was: (Re: Dummy question my first Maven project[...])

2006-10-19 Thread Xavier Outhier
Wendy Smoak wrote: On 10/19/06, Xavier Outhier [EMAIL PROTECTED] wrote: 2) But here is what I get: D:\tmp\sandboxmvn --version Maven version: 2.0.4 (Strange, since above you say you installed 2.0.3.) It was just a copy/paste from the page mentionned above. So no magic here.

how to chain maven goals

2006-10-19 Thread Los Morales
Hi, I would like to know how to chain a series of maven goals together (much like Ant's dependency function). For example, I want to do this with one command: mvn clean; mvn compile; mvn install; mvn package; mvn install. How do I go about accomplishing this (if its possible). Thanks in

Re: Jar's in ear file root

2006-10-19 Thread Jeff Mutonho
On 10/19/06, Marco Mistroni [EMAIL PROTECTED] wrote: hello, check all dependencies in your projects (if it is a mulitproject)that are part of the ear and i m sure you will find the two extra jars hth marco Makes sense.I have a few jars that are in the top level pom (because they're

RE: how to chain maven goals

2006-10-19 Thread Artamonov, Juri
Just start mvn clean compile package install. They will be perfomed according to defined in maven build life cycle. -Original Message- From: Los Morales [mailto:[EMAIL PROTECTED] Sent: Thursday, October 19, 2006 5:03 PM To: users@maven.apache.org Subject: how to chain maven goals Hi,

Re: how to chain maven goals

2006-10-19 Thread Dan Tran
mvn clean install or bind clean goal to initialize phase then mvn install will do everything btw, there is a good book at maven site http://maven.apache.org/articles.html -D On 10/19/06, Los Morales [EMAIL PROTECTED] wrote: Hi, I would like to know how to chain a series of maven goals

Problem using xdoc plugin

2006-10-19 Thread Venky Kandaswamy \(IT\)
All, I am new to Maven. Tried running maven 1.x with xdoc:transform goal and it keeps asking for the jaxb plugins. I downloaded the plugins and put them in the repository and renamed them with the version jwsdp-1.5 in the name etc., according to the instructions on the maven jaxb plugin

Re: Jar's in ear file root

2006-10-19 Thread Marco Mistroni
hi, try to use scopeprovided/scope for those jars hth marco On 10/19/06, Jeff Mutonho [EMAIL PROTECTED] wrote: On 10/19/06, Marco Mistroni [EMAIL PROTECTED] wrote: hello, check all dependencies in your projects (if it is a mulitproject)that are part of the ear and i m sure you will

Re: Complete offline? was: (Re: Dummy question my first Maven project[...])

2006-10-19 Thread Nicolas DE LOOF
Maven is only a container for plugins. The installation includes the required base to run maven, but all plugin and the libs they required are downloaded. This make the first maven runs long as lot's of jars are downloaded. After a first run worked, no more internet connexion is required to

Re: Complete offline? was: (Re: Dummy question my first Maven project[...])

2006-10-19 Thread Xavier Outhier
Nicolas DE LOOF wrote: Maven is only a container for plugins. The installation includes the required base to run maven, but all plugin and the libs they required are downloaded. This make the first maven runs long as lot's of jars are downloaded. After a first run worked, no more internet

Re: [m2] Surefire-Plugin: how to get aggregated XML?

2006-10-19 Thread Gisbert Amm
If it would exist, I could open this *one* file to receive the JUnit statistics instead of opening up to serveral *hundret* files (in large projects with lots of tests) to collect the data this way, which seems not the most performant thing to do. The Surefire plugin could easily add up the

Re: Complete offline? was: (Re: Dummy question my first Maven project[...])

2006-10-19 Thread Wayne Fay
No internet connection is required but you should probably run mvn -o ... to specify offline or else you will get some complaints (and possibly error out rather than building successfully) due to not being online while building with Maven. Also if you start using a new plugin in your project or

Re: Complete offline? was: (Re: Dummy question my first Maven project[...])

2006-10-19 Thread Xavier Outhier
Nicolas DE LOOF wrote: Maven is only a container for plugins. The installation includes the required base to run maven, but all plugin and the libs they required are downloaded. This make the first maven runs long as lot's of jars are downloaded. After a first run worked, no more internet

Re: profiles.xml question

2006-10-19 Thread Attila Mezei-Horvati
Mick, I just discovered how to use profiles myself. I hope the following will help. First, you don't need to run mvn always and check the end results to make sure everything is alright. Just do: mvn help:active-profiles and it will list you all the profiles which will be used. In my case I

Re: SCM URL field not sticky/not updating on web interface

2006-10-19 Thread Michael Kearney
(intro removed) I'm running Continuum 1.0.3 on Solaris 10 and I originally ran as root but switched to user 'continuum'. Any idea what I might have done to myself? Thanks, Michael Michael Kearney michaelkearney at comcast.net writes: Well, it was a self-inflicted

Re: adding dependency jars in jar project

2006-10-19 Thread Wayne Fay
I see you're using Nabble, so you should be able to easily search this list and find plenty of examples using the Assembly plugin. Search using the term maven-assembly-plugin. Having said that, this discussion (from yesterday) might be helpful, as it sounds similar to what you are looking for:

Re: Dependencies in EJB project

2006-10-19 Thread Wayne Fay
There is no problem, this is the normal behavior for Maven Jars, you simply were expecting more than you got. Jar packaging projects do not bundle other jars into the resulting output Jar. You will need to use the maven-assembly-plugin to create the Jar you desire, or perhaps package your EJB

Re: assembly warning message

2006-10-19 Thread pjungwir
This refers to the files being tarred? If so, it's because different versions of tar support long filenames in different ways. A good explanation is in the Ant user manual, under Core Tasks : Tar. Because of the frames, I can't give a direct link, but here is the manual:

Re: profiles.xml question

2006-10-19 Thread Greg_Vaughn
I'm by no means an expert on this. Your situation is much more complex than the profile stuff I've used. I've not used a profiles.xml but instead put them in the pom.xml. I suspect there's some sort of confusion between the multiple files as well as setting activeProfile and activeByDefault in

Re: Dependencies in EJB project

2006-10-19 Thread maven_learner
Hi Wayne! Thanks for your reply. Does that mean i have to include the jars (which i need inside my ejb-jar) in my ear project? which means i need to do the dependencies in my ejb project and my ear project , assuming my ear project has a dependency on the ejb project. thank you very much.

Re: profiles.xml question

2006-10-19 Thread Mick Knutson
Everything seems to work if I FORCE the -P on the command line. My issue now is that I want to run without the -P on the command line as well to use the default profile, but that does not seem to work. If I use profiles, I must ALWAYS specify the profiles. Is there a way around this? On

RE: ftp-wagon NullPointerException

2006-10-19 Thread pjungwir
Thanks, this is exactly what I needed to know. Works fine! I filed a jira for the NPE, because wagon should give you a sensible error message instead. Paul Zeltner Martin wrote: Hello Paul The NullPointerException seams to occur when the ftp wagon tries to get the authentication data.

Re: profiles.xml question

2006-10-19 Thread Greg_Vaughn
I'm glad to hear at least the -P approach is working for you. I understand your desire to encapsulate the default behavior inside a profile. It's something that didn't dawn on me when I implemented something similar. I just put my default behavior right in the relevant build section of the

Re: Dependencies in EJB project

2006-10-19 Thread Wayne Fay
The EAR project should have your EJB project as a dependency. Then the EJB dependencies should be automatically (transitively) brought in to the EAR project when you build the EAR. Give it a try and respond back if it doesn't work for you. Wayne On 10/19/06, maven_learner [EMAIL PROTECTED]

Re: can't remove project

2006-10-19 Thread David J. M. Karlsen
Adrian Herscu wrote: Hi all, Tried not to touch the keyboard/mouse at all during the add operation of some multi-module project, and the same thing happened again but with different project (now I have two projects duplicated instead of one -- the conclusion might be that it is better to do a

Mojo and it's own dependencies

2006-10-19 Thread Hermod Opstvedt
Hi Is there a Maven helper class that can be called from a Mojo that will give the Mojo access to it's own dependencies? Hermod - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

How do i use the hibernate3 plugin from codehause

2006-10-19 Thread Yves Van Steen
Hey, I want to create ddl sql files from my hbm files but none of the goals of the hibernate3 plugin actually works? Is this plugin useable or still in development? If possible I also want to execute these sql files to my database server. Anybody have any ideas? My configuration is

Re: How do i use the hibernate3 plugin from codehause

2006-10-19 Thread Charles Harvey III
No. It does not work. I have been trying to get that thing to generate SQL files for a month now. Don't bother wasting your time. Charlie Yves Van Steen said the following on 10/19/2006 1:00 PM: Hey, I want to create ddl sql files from my hbm files but none of the goals of the

Re: Why do some jars in ibiblio do not have .pom files?

2006-10-19 Thread Christian Goetze
Dan Tran wrote: axis group has been moved to org/apache/axis, that could be the reason why nobody bothers to fix the missing pom. - In ibiblio, I see org.apache.axis, and underneath I only see jars, not poms. -- cg - To

Re: profiles.xml question

2006-10-19 Thread Attila Mezei-Horvati
If you want to run a profile without specifying on the command line you have two possiblities: 1. set them in the active profiles section (you can set more than one) 2. trigger the profile activation. The link I sent you before

Re: Why do some jars in ibiblio do not have .pom files?

2006-10-19 Thread Dan Tran
are you sure? http://repo1.maven.org/maven2/org/apache/axis/axis/1.4/ -D On 10/19/06, Christian Goetze [EMAIL PROTECTED] wrote: Dan Tran wrote: axis group has been moved to org/apache/axis, that could be the reason why nobody bothers to fix the missing pom. - In ibiblio, I see

ear final name issue for installing into local repository

2006-10-19 Thread Mick Knutson
I am running mvn install and have this in my ear pom.xml: build finalNamenpi-${env}-${project.version}/finalName plugins plugin artifactIdmaven-ear-plugin/artifactId configuration version1.4/version

Re: ear final name issue for installing into local repository

2006-10-19 Thread Wayne Fay
finalName only affects the artifacts produced in target. Otherwise, Maven uses the proper name derived from the pom.xml groupId and artifactId to name the item. There is no way to sync these names unless you change the name in the artifactId. Wayne On 10/19/06, Mick Knutson [EMAIL PROTECTED]

how to package and install dependecy jars in repository and local target

2006-10-19 Thread Chen, Anning
Is there a way to package or install jars from your dependencies in your repository or target dirs? I want to include all jars used for compilation in the module that I'm building instead of just the module jar. That way, I can install the entire package in the repository and users can get it

Xdoclet Plugin

2006-10-19 Thread Yves Van Steen
Hey, Little help needed with xdoclet plugin. 1)hibernatecf doesn’t add the mappingsfiles to the configuration file. The mappings files are in the resource folder. Why? 2)The schemaexport tag doesn’t seem to work. Normal ? 3)How can I execute the generated sql file on my

Re: exec:exec java NoClassDefFoundError

2006-10-19 Thread pjungwir
Hello, The problem appears to be this line: argumentorg.eclipse.core.launcher.Main -application org.eclipse.ant.core.antRunner -f ${ECLIPSE_HOME}/plugins/org.eclipse.pde.build_3.2.1.r321_v20060823/scripts/build.xml/argument That is all one argument, which is not what you intend. Take a look at

Re: Mojo and it's own dependencies

2006-10-19 Thread pjungwir
You can get the plugin's model class by declaring a property set to ${project.build.plugins}. It will be a Collection of org.apache.maven.model.Plugin objects. Iterate it until you find your plugin (using groupId and artifactId). I'm sorry; that's the best way I know in a mojo to do ${this}. The

RE: Re: can't remove project

2006-10-19 Thread Brian E. Fox
Man, I hate this bug. It happened again after adding a new project. Now I can't delete them and I get a different exception. ognl.MethodFailedException: Method removeProject failed for object [EMAIL PROTECTED] [javax.jdo.JDOUserException: One or more instances could not be deleted

Re: Maven 2.0 deploy to IBM WAS 5

2006-10-19 Thread David J. M. Karlsen
Wayne Fay wrote: I'd be surprised if Cargo didn't already support WAS 5. Check the Cargo site for details about their Maven plugin and configuration. Have a look in codehaus' sandbox - a collegue of mine wrote wrappers for the ant-tasks - maybe we can cargo-i-fy it over time, if it's

Re: SCM URL field not sticky/not updating on web interface

2006-10-19 Thread Christian Edward Gruber
What I did is create a user on the continuum machine (call it builder for kicks), and an identical name on the SVN server (CVS would work this way as well). I made sure the [EMAIL PROTECTED] can ssh via certificates without passphrases to [EMAIL PROTECTED]'s account. Then I have builder own the

Re: Continuum cant find dependencies from Repository

2006-10-19 Thread Lucas Gonçalves
I don't know exactly why but i had the same problem and i resolved it putting ${continuum.home}\bin\win32\conf\settings.xml. 2006/10/17, Emmanuel Venisse [EMAIL PROTECTED]: Where are defined your repository? If your libs are in your local repository, the location of your local repository must

Re: Aggregate m2 modules in a unique jar file

2006-10-19 Thread Thomas Recloux
Thanks a lot ! 2006/10/18, Dan Tran [EMAIL PROTECTED]: create jar packaging project with empty source. Use maven-dependency-plugin to unpack all your jars into ${project.output.directory} before package phase. Wala, all your unpacked classes got pack again in a deployable jar. -D On

Re: Why do some jars in ibiblio do not have .pom files?

2006-10-19 Thread Christian Goetze
Dan Tran wrote: are you sure? http://repo1.maven.org/maven2/org/apache/axis/axis/1.4/ OK, that's not the same as http://www.ibiblio.org/maven/. I'll add this one to my proxy -- cg - To unsubscribe, e-mail: [EMAIL

SV: Maven 2.0 deploy to IBM WAS 5

2006-10-19 Thread Hermod Opstvedt
Hi I'm that guy :) - Because somebody with greater rights than me needs to define the directories in the sandbox repository (hope to have this done in a day or two) you will need to get it from svn and build it using Maven until then. Hermod -Opprinnelig melding- Fra: David J. M.

Re: Why do some jars in ibiblio do not have .pom files?

2006-10-19 Thread Christian Goetze
Dan Tran wrote: are you sure? http://repo1.maven.org/maven2/org/apache/axis/axis/1.4/ Oh, I see it now - the groupid changed too that's going to be so much fun down the road when repositories will have a gazillion things in it and somebody decides to clean up -- cg

attributes-Map in site-plugin's configuration

2006-10-19 Thread Stefan Hübner
Hi all, I'm wondering if there's a way to include POM-specific information in a project's site. I would like to include version info in the site's navigation bar. How would I do this? Also, while reading the site-plugin's docs at http://maven.apache.org/plugins/maven-site-plugin/site-mojo.html,

Re: Why do some jars in ibiblio do not have .pom files?

2006-10-19 Thread Dan Tran
http://www.ibiblio.org http://www.ibiblio.org/maven/ is a mirror of repo1.maven.org which is the built-in maven-central On 10/19/06, Christian Goetze [EMAIL PROTECTED] wrote: Dan Tran wrote: are you sure? http://repo1.maven.org/maven2/org/apache/axis/axis/1.4/ Oh, I see it now - the

Re: Problem using xdoc plugin

2006-10-19 Thread Arnaud HERITIER
Is it a personal project that you try to build ? Don't you have a dependency to jaxb in this project ? Which maven version are you using ? Why do you call directly this goal. Generally, you call maven site ... Arnaud On 10/19/06, Venky Kandaswamy (IT) [EMAIL PROTECTED] wrote: Has anyone used

Re: LIB's in war ear

2006-10-19 Thread Mick Knutson
Well, this does not seem to work the way I invision it. I have the following: pom.xml --common/pom.xml --ear/pom.xml --war/pom.xml I declared my dependancies in my master pom, then added a provided scope in my ear: dependency groupIdorg.delta.npi.common/groupId

Re: LIB's in war ear

2006-10-19 Thread Wayne Fay
This is correct per the J2EE spec (from what I've read) and its how I'm currently doing things. It might be that your container is not fully J2EE compliant, or does not handle this packaging properly? What app server are you using, and what version etc? Wayne On 10/19/06, Mick Knutson [EMAIL

Re: m2eclipse or running mvn as external program?

2006-10-19 Thread Adam Hardy
Steinar, try this link: http://www.nabble.com/Maven-Eclipse---User-f14525.html hth Adam Steinar Bang on 18/10/06 07:57, wrote: What do others recommend for running maven 2 builds from inside eclipse, the m2eclipse plugin (http://m2eclipse.codehaus.org/), or running mvn as an external

Re: problems with continuum perforce support

2006-10-19 Thread Adam Hardy
Hi Michael, I am using perforce and sometimes but not always have the same issue. I have thought about putting a script in place in continuum to clear out the directory of a project in-between builds, but I haven't had an opportunity to do that yet. In the meantime I haven't suffered the

Re: Plugin Documentation and the Index Page

2006-10-19 Thread Stephen Duncan
Yes, you need to specify the version of plugin-plugin in your pom.xml. -Stephen On 10/19/06, Manuel Ledesma [EMAIL PROTECTED] wrote: I downloaded version 2.0.5-SNAPSHOT, still getting the same problem. Do I have to specifically tell which version of plugin-plugin to use ? jrduncans wrote:

Re: LIB's in war ear

2006-10-19 Thread Max Cooper
You may need to declare more stuff, see: http://maven.apache.org/plugins/maven-ear-plugin/howto.html Specifically, I think you need to declare your common.jar as a javaModule with includeInApplicationXml=true in your ear/pom.xml: build plugins plugin

Re: Create only .classpath with eclipse:eclipse?

2006-10-19 Thread James Mitchell
The eclipse plugin can handle most anything you throw at it. What specifically is wrong with the output .project file? What type of project is it? Web Tools? MyEclipse? RAD? -- James Mitchell 678.910.8017 On Oct 19, 2006, at 11:59 AM, Lewis, Eric wrote: Hi I'm new to this list,

Re: LIB's in war ear

2006-10-19 Thread Wayne Fay
Hmmm... I checked my WAR and EAR poms... I am doing this: WAR dependency groupIdlog4j/groupId artifactIdlog4j/artifactId version1.2.12/version scopecompile/scope exclusions exclusion artifactIdlog4j/artifactId groupIdlog4j/groupId

RE: How do i use the hibernate3 plugin from codehause

2006-10-19 Thread Johann Reyes
Hello Yves To create sql from hbm.xml files it works, from the error message that you posted, it looks like it's failing to connect to your database server as it looks it's trying to create the database tables in it. The difference between hbm2ddl and schema-export is that hbm2ddl is used to

  1   2   >