RE: How to use external jar's while compiling

2006-02-26 Thread tanya Rust
C:\sample-mvn\sub>set sub-home=D: C:\sample-mvn\sub>set group-id=com.ncso C:\sample-mvn\sub>set version=1.0 C:\sample-mvn\sub>set packaging=jar C:\sample-mvn\sub>set path-to-file=%sub-home%/ncso/ncso.jar C:\sample-mvn\sub>set artifact-id=ncso C:\sample-mvn\sub>mvn install:install-file -

Re: How to use external jar's while compiling

2006-02-26 Thread John Tolentino
Hi Tanya, Please provide more information. What version of Maven are you using (please indicate [M2] on your email's subject if its version 2)? What error message are you getting and what external jar are you trying to use? You might find it useful to look at the online documentation: Maven

Re: RE: [m2] Hibernate doclet

2006-02-26 Thread Jacek Laskowski
2006/2/27, Akbarr <[EMAIL PROTECTED]>: > No, the query is in just 1 line: > > /** > * @hibernate.class table="I18N_Textos" > * > * @hibernate.query name="getTextoI18N" query="from I18NTextos i where > i.locale=:locale and i.texto=:texto" > * > */ > > The generated XML is: > > > >

Re: [m2]Execute target on child, but not parent?

2006-02-26 Thread John Tolentino
Hi Matt, Try to individually declare and configure the plugin only in the modules that needs it and don't declare it in your parent POM. Regards, John Matt McGill wrote: I have a multi-module project, and for various reasons only want to execute maven on the parent pom. However, I have a p

RE: How to use external jar's while compiling

2006-02-26 Thread Kevin Wang
In Maven2, if plugin or dependency can not be found in ibiblio, for example, weblogic.jar, you can use below lines to install the jar into local repository: set wl-home=D:/bea91/weblogic91 set group-id=com.bea.mytest set version=9.1 set packaging=jar @rem #weblogic set path-to-file=%wl-home%/se

RE: How to use external jar's while compiling

2006-02-26 Thread Krishnan A S
Use a dependency tag like below ... junit junit 3.8.1 test change your groupId, artifactId, version and scope to compile ... as per ur need Thanks & Regards, A.S.KRISHNAN, AZTEC, BANGALORE. -Original Message- From: tanya Rust [mailto:[EMAIL PROTE

How to use external jar's while compiling

2006-02-26 Thread tanya Rust
Hi all, I am new to maven environment Can any one help me finding out solution for compiling my project as it requires an external jar for compilation .. Tanya - Yahoo! Mail Use Photomail to share photos without annoying attachment

Re: site descriptor reference docs

2006-02-26 Thread Laurie Harper
Wendy Smoak wrote: On 2/26/06, Laurie Harper <[EMAIL PROTECTED]> wrote: Is there a DTD for the site descriptor (site.xml) file? Or some other reference documentation beyond what's in the site guide? Brett mentioned that a schema will be available with the final 2.0 version of the site plugin.

RE: RE: [m2] Hibernate doclet

2006-02-26 Thread Johann Reyes
Hello Andres 1) Not much documentation sadly, but I say it's pretty straightforward. If you have problems remapping something you can just send me an email or find me at irc://irc.codehaus.org/#maven 2) Use the 1.0.3 version of xdoclet-plugin-hibernate instead of 1.0.4-SNAPSHOT and give it a try

Re: [m2]javax.comm - missing in iBiblio

2006-02-26 Thread Wayne Fay
I don't have access to the Maven ibiblio repository myself, but I doubt this Sun API Jar will be accepted into the Maven repo until the licensing is changed by Sun to allow it, or they release it under another license which freely allows distribution. The important sections are "1. Software Intern

Re: [m2] Parent POM and dependencies

2006-02-26 Thread John Tolentino
Hi Jim, All POMs' dependencies needs to be validated regardless of its packaging. Regards, John Jim Carroll wrote: It appears that the transitive dependency mechanism is not sensitive to the packaging. This seems odd to me and is causing me an incredible amount of grief. I have a parent po

Re: site descriptor reference docs

2006-02-26 Thread Wendy Smoak
On 2/26/06, Laurie Harper <[EMAIL PROTECTED]> wrote: > Is there a DTD for the site descriptor (site.xml) file? Or some other > reference documentation beyond what's in the site guide? Brett mentioned that a schema will be available with the final 2.0 version of the site plugin. http://www.nabbl

RE: Need help with Internal Repository - FTP

2006-02-26 Thread Brian E. Fox
Btw, the latest ftp wagon is 1.0-alpha-6 -Original Message- From: Allan Ramirez [mailto:[EMAIL PROTECTED] Sent: Sunday, February 26, 2006 9:47 PM To: Maven Users List Subject: Re: Need help with Internal Repository - FTP Try to use the wagon-ftp ... org.apache.

site descriptor reference docs

2006-02-26 Thread Laurie Harper
Is there a DTD for the site descriptor (site.xml) file? Or some other reference documentation beyond what's in the site guide? Thanks, L. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

Re: Not building EAR for an application

2006-02-26 Thread Sanjay Choudhary
Hi Emmanuel, We use CVS (I wish it was svn). Each project of application corresponds to a module in CVS. at root level pom.xml (Not in cvs) failed as it doesn't exist in CVS. I copied it manually to folder 1. In working directory I was able to see pom.xml parentPOM ( in cvs) in continuum fold

Re: Need help with Internal Repository - FTP

2006-02-26 Thread Allan Ramirez
Try to use the wagon-ftp ... org.apache.maven.wagon wagon-ftp 1.0-alpha-3 ... -allan Dixit, Sandeep (ProSource Solutions) wrote: Can someone help me with the setting up an internal repository and accessing it using ftp? I keep getting the fo

Re: xDoc i18n for a dozen languages

2006-02-26 Thread Wayne Fay
On 2/26/06, Lance Bader <[EMAIL PROTECTED]> wrote: > Would it be worthwile to just contribute this small subset of values in 12 > languages (really 9 more languages since you already have English, German, > and French? It would be adequate for those, like me, who don't use any of > the Maven repor

Re: How can I store artifacts in our remote repository?

2006-02-26 Thread Allan Ramirez
http://docs.codehaus.org/display/MAVENUSER/FAQs-1#FAQs-1-HowdoIinstallartifactstoaremoterepository%3F -allan Marcin Maciukiewicz wrote: On 2/14/06, ravi kumar <[EMAIL PROTECTED]> wrote: Hi, I am Ravikumar. I came to get help form you. That is : How can I store artifacts in our remote rep

Re: Property variable not interpolated in element when POM is installed

2006-02-26 Thread Allan Ramirez
Use tag for dependency versions in your parent pom. See http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html -allan Sasvata Chatterjee wrote: Hi, I have a multipoject build. In the submodules, in the parent section, I am using a variable like this: m

Re: AW: Local repositories and POM/Checksum.

2006-02-26 Thread Allan Ramirez
There is also a request for creating .md5 and .sha1 for install plugin, please see http://jira.codehaus.org/browse/MINSTALL-9 -allan Grothaus, Christoph wrote: Not install-file, but deploy-file! mvn deploy:deploy-file -DgroupId=GROUP_ID -DartifactId=ARTIFACT_ID -Dversion=VERSION -DgenerateP

xDoc i18n base language HTML placed in wrong directory

2006-02-26 Thread Lance Bader
I'm willing to believe I'm wrong, but if the base langague is xx, shouldn't the generated HTML be placed in ${maven.docs.dest}/xx? Consider this scenario. - Assume that there are number of files that are copied, not generated from XML source, including images, style sheets, Javadoc, and code temp

Re: [m2]javax.comm - missing in iBiblio

2006-02-26 Thread Subhash Chandran
I have created an issue: http://jira.codehaus.org/browse/MEV-348 Thanks & Regards, Subhash. On 2/27/06, Napoleon Esmundo Ramirez <[EMAIL PROTECTED]> wrote: > > Hello, > > javax.comm is a third party jar. However, you can file a JIRA issue at > http://jira.codehaus.org/browse/MEV, and request fo

xDoc i18n scalability

2006-02-26 Thread Lance Bader
I see how to use the xDoc plugin's i18n support to build language dependent navigation menus and titles as well as section and subsection headings. This is GREAT because, as a rule, translators do not translate attribute values. They only translate text between the tags. But how do you replace th

RE: [m2]javax.comm - missing in iBiblio

2006-02-26 Thread Brian E. Fox
See here: http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html Then see here: http://maven.apache.org/guides/mini/guide-maven-evangelism.html -Original Message- From: Napoleon Esmundo Ramirez [mailto:[EMAIL PROTECTED] Sent: Sunday, February 26, 2006 7:30 PM To: Maven Users

Re: xDoc i18n for a dozen languages

2006-02-26 Thread Lance Bader
It looks like I should at least provide translation for the labels in the navigation pane. # For site.jsl site.legend=Legend site.last_published=Last published site.doc_for=Doc for site.external_link=External Link site.opens_new_window=Opens in a new window site.language=Language site.goals=Goals

Re: RE: [m2] Hibernate doclet

2006-02-26 Thread Akbarr
Thanks Johann: >About xdoclet2 > >1) Yes, there are changes like that, but mostly they are minimal if you >don't use many collections in your objects. Is there documentation about the differences between Hibernate xdoclet and xdoclet2?. I mean, the only difference is to replace "collection-xxx"

Re: [m2]javax.comm - missing in iBiblio

2006-02-26 Thread Napoleon Esmundo Ramirez
Hello, javax.comm is a third party jar. However, you can file a JIRA issue at http://jira.codehaus.org/browse/MEV, and request for the installation of the pom. Cheers! Nap On 2/27/06, Subhash Chandran <[EMAIL PROTECTED]> wrote: > > I find the javax.comm API missing in the iBiblio repository. Th

[m2]javax.comm - missing in iBiblio

2006-02-26 Thread Subhash Chandran
I find the javax.comm API missing in the iBiblio repository. The page of the API: http://java.sun.com/products/javacomm/ Can someone place a request for adding this to the repository? -- Regards, Subhash Chandran S Cross platform OpenSource Java based file encryption software: http://www.WizToo

RE: [m2] Hibernate doclet

2006-02-26 Thread Johann Reyes
Hello Andres About xdoclet2 1) Yes, there are changes like that, but mostly they are minimal if you don't use many collections in your objects. 2) The empty query is because you are breaking your queries in 2 or more lines, with queries, you just have to create the whole query in one line or els

[m2] Hibernate doclet

2006-02-26 Thread Akbarr
I'm migrating my projects from Ant to Maven, and I've found a problem when trying to run Hibernate Doclet from Maven 2. I've tried to: * Run Ant code with antrun plugin * Make an Ant plug-in running Hibernate doclet * Use hibernatedoclet-maven-plugin from org.codehaus.mojo After deal

Re: [m2] HOWTO: Compilers

2006-02-26 Thread Adrian Herscu
Hi Chris, Consider this pom.xml fragment: org.foo generic-commandline-plugin execution-id phase-id execute ${foo.home}/bin/foo Then the generic-commandline-plugin would launch the ${foo.hom

[m2] ejb-client and transitive dependencies

2006-02-26 Thread Jim Carroll
The dependency mechanism in maven 2 is not sensitive to the "type" value. Usually when someone has an ejb project he ejb-client jar has no dependencies (apart from possibly some transport objects and j2ee itself). It seems odd to me that the ejb's SERVER dependencies and up carried over into

javaapp plugin

2006-02-26 Thread Daniel Or
Hi.   In the plugin matrix on the maven site javaapp is listed among the plugins that support m2. However the release of this plugin on SourceForge dates back to 2003. Does anyone know if and how to make this plugin work under m2?   10x     ___ Daniel Or ___

[m2] Parent POM and dependencies

2006-02-26 Thread Jim Carroll
It appears that the transitive dependency mechanism is not sensitive to the packaging. This seems odd to me and is causing me an incredible amount of grief. I have a parent pom that defines a dependency. I intend this parent pom to be used almost like an "include." For example: 4.0.0 myco

RE: WAR dependency

2006-02-26 Thread Brian E. Fox
Take a look at the dependency-maven-plugin at http://mojo.codehaus.org. I wrote it initially for this use case. -Original Message- From: Akbarr [mailto:[EMAIL PROTECTED] Sent: Sunday, February 26, 2006 5:14 AM To: Maven Users List Subject: WAR dependency I'm trying to use war files as

Re: maven-proxy and repositories

2006-02-26 Thread Max Cooper
On Fri, 2006-02-24 at 16:54 -0700, Brad O'Hearne wrote: > I have a couple of issues using maven-proxy-webapp. I have the webapp > set up and working, and I'm seeing the activity in my tomcat log, but I > have two problems: > > 1) I'm seeing lines in my log such as: > > 2006-02-24 16:43:32,212 [

WAR dependency

2006-02-26 Thread Akbarr
I'm trying to use war files as web components, reusing not only Java code but also static web files. So, I'd need that a war project can have a dependency on another war project: 4.0.0 com.digibis webmaven_custom war (...) com.digibis webmaven war 1.0-

Re: What scope is like 'provided' and 'test' together?

2006-02-26 Thread Martijn Dashorst
Hmm, Why not use the scope in the same way as the class attribute in html? This would give: test provided this should tell maven that the dependency is needed for test, compile and is provided in a later stage by some container. Martijn On 2/6/06, Lee Meador <[EMAIL PROTECTED]> wrote: > David