Best practices in testing Hibernate/EJB3 POJOs (or doing database tests)

2006-07-11 Thread Jose Gonzalez Gomez
Hi there, I would like to hear about what you're doing to test your Hibernate/EJB3 POJOs (if you're doing at all). I have a project with some of them, and I have the following concerns: First of all, I may test them just ignoring persistence (already done). No problem here, just a bunch of

Hibernate uploads to ibiblio

2006-07-10 Thread Jose Gonzalez Gomez
Hi there, Is there anybody officially supporting hibernate artifact uploading to ibiblio? I've successfully run some tests using TestNG and Hibernate EntityManager under Eclipse, but I would need hibernate-entitymanager in ibiblio in order to do it under maven. Best regards Jose

Re: [m2] Frustration getting Maven 2 and Hibernate working together

2006-07-07 Thread Jose Gonzalez Gomez
Glad to help :o) About the hibernate dependency, I just have added the hibernate annotations jar because I'm using some hibernate propietary annotations. By the way, are you subscribed to the mojo user list? I sent a message there about an issue regarding schema usage, but no one has

Fwd: [m2] Frustration getting Maven 2 and Hibernate working together

2006-07-06 Thread Jose Gonzalez Gomez
Just in case anybody else needs it... -- Forwarded message -- From: Jose Gonzalez Gomez [EMAIL PROTECTED] Date: 06-jul-2006 8:40 Subject: Re: [m2] Frustration getting Maven 2 and Hibernate working together To: Paul Kuykendall [EMAIL PROTECTED] Ok, here we go... First of all

Re: [m2] Frustration getting Maven 2 and Hibernate working together

2006-07-05 Thread Jose Gonzalez Gomez
Paul, I'm trying to do the same, and I'm facing some troubles, maybe you can help me... First of all, I haven't been able to find one of the dependencies of the Hibernate Annotations packages: javax.persistence:ejb:jar:3.0-public-draft-20060502. This seems to be an implementation of a public

[M2] Overriding dependencies

2006-07-05 Thread Jose Gonzalez Gomez
Hi there, Is there any way to override a dependency in a project you depend on? I know you can control which version of a dependency you use using the dependency management section, I mean the folowing: Project A +- Depends on project B +- Depends on project C Is there any way to point

Re: [M2] Overriding dependencies

2006-07-05 Thread Jose Gonzalez Gomez
/artifactId /dependency - Stephen On 7/5/06, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: Hi there, Is there any way to override a dependency in a project you depend on? I know you can control which version of a dependency you use using the dependency management section, I mean the folowing

Re: [m2] Frustration getting Maven 2 and Hibernate working together

2006-07-05 Thread Jose Gonzalez Gomez
excerpts from pom, settings, ... tomorrow. Best regards Jose 2006/7/5, Jose Gonzalez Gomez [EMAIL PROTECTED]: Paul, I'm trying to do the same, and I'm facing some troubles, maybe you can help me... First of all, I haven't been able to find one of the dependencies of the Hibernate Annotations

Re: Dependency management problem with classifier tag - bug?

2006-06-21 Thread Jose Gonzalez Gomez
with its corresponding classifier, and then you would identify the dependency in the child pom using groupId, artifactId and classifier, am I right? 2006/6/20, Carlos Sanchez [EMAIL PROTECTED]: because you may have two dependencies with different classifiers On 6/20/06, Jose Gonzalez Gomez [EMAIL

[M2] How to know which test failed with TestNG

2006-06-21 Thread Jose Gonzalez Gomez
Hi there, I'm using TestNG to run tests in my project, and I'm facing a problem: whenever a test fails I get the following output: --- T E S T S --- Running All Tests run: 7, Failures: 1,

Dependency management problem with classifier tag - bug?

2006-06-20 Thread Jose Gonzalez Gomez
Hi there, I'm having a really strange problem related to dependency management. I have a parent pom with some dependencies declared in the dependency management section, and a child pom inheriting from it. One of the dependencies is the testng jar. Here you have excerpts from both files: Parent

Re: docbook plugin - how to ??

2006-06-20 Thread Jose Gonzalez Gomez
2006/6/16, Felipe Gaúcho [EMAIL PROTECTED]: Dear friends, I'm trying to use the docbook plugin of maven 2.0.4 but something is getting wrong :)) any tip ? Please, take a look at http://mojo.codehaus.org/docbook-maven-plugin/. Best regards Jose

Re: Dependency management problem with classifier tag - bug?

2006-06-20 Thread Jose Gonzalez Gomez
/classifier /dependency I tried it, and it also fails 2006/6/20, Carlos Sanchez [EMAIL PROTECTED]: you have to add the classifier in the child On 6/20/06, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: Hi there, I'm having a really strange problem related to dependency management. I have

[M2] How to develop a JEE application

2006-05-19 Thread Jose Gonzalez Gomez
Hi there, Do you have any pointers, documentation, whatever on developing a JEE application from scratch? I'm interested in using the new JEE 5 version, and I don't know what dependencies to use in my project descriptor, or even if such dependencies exist in the maven repository. By the way, is

Re: [M2] How to develop a JEE application

2006-05-19 Thread Jose Gonzalez Gomez
2006/5/19, Borut Bolčina [EMAIL PROTECTED]: Hi, did you read the book at http://www.mergere.com/m2book_download.jsp? There is a chapter on EE development. Yes, I have read it, but the dependencies shown there are for J2EE 1.4 (at least in the version of the book I've downloaded). I've

Re: [M2] How to develop a JEE application

2006-05-19 Thread Jose Gonzalez Gomez
2006/5/19, Serge Emmanuel Pagop [EMAIL PROTECTED]: Hi Jose, Glassfish is not the only Java EE 5 vendor, there are another vendors like JBoss.ORG with JBoss 4.0.4 AS. I' am writting a tutorial how developers can use maven2 to develop Java EE app a la JBoss other Java EE App a la Glassfish.

Problems with Eclipse plugin

2006-05-09 Thread Jose Gonzalez Gomez
Hi there, I'm still unable to get the Maven2 support in Eclipse running properly. I have tried again after upgrading to 0.0.7 and I keep getting errors I don't get when running Maven at the command line. Here you have an example: [INFO]

Re: Problem with Eclipse plugin

2006-05-02 Thread Jose Gonzalez Gomez
with system properties eclipse -vmargs -Dhttp.proxyHost=MYPROXYHOST -Dhttp.proxyPort=MYPROXYNUMBER Tom. 2006/4/25, Jose Gonzalez Gomez [EMAIL PROTECTED]: You're right, I'm behind a proxy... You mention a plugin to manage the proxy connection in Eclipse, where can I find it? Thanks a lot Jose

Re: Problem with Eclipse plugin

2006-04-25 Thread Jose Gonzalez Gomez
I'm using 0.0.5... do you have more information about this issue? Thanks Jose 2006/4/24, Tom Joad [EMAIL PROTECTED]: Hello, Which version of the plugin do you use? It is a known issue of version 0.0.4 resolved with 0.0.5 . Tom. 2006/4/24, Jose Gonzalez Gomez [EMAIL PROTECTED]: Hi

Re: Problem with Eclipse plugin

2006-04-25 Thread Jose Gonzalez Gomez
with these two parameters Or adding eclipse plugin to manage proxy connexion. Tom. 2006/4/25, Jose Gonzalez Gomez [EMAIL PROTECTED]: I'm using 0.0.5... do you have more information about this issue? Thanks Jose 2006/4/24, Tom Joad [EMAIL PROTECTED]: Hello, Which version of the plugin

Problem with Eclipse plugin

2006-04-24 Thread Jose Gonzalez Gomez
Hi there, After reading about the Eclipse plugin I decided to give it a try. I installed it, and tried to run a maven goal, but the execution seems to hang. After enabling debug output in the preferences I get this in the console: [DEBUG] Found 0 components to load on start [DEBUG] Building

[ANN] Docbook plugin available at Mojo

2006-01-18 Thread Jose Gonzalez Gomez
Hi there, For those interested, you have a new Docbook plugin available at Mojo ( http://mojo.codehaus.org/docbook-maven-plugin/). The plugin is in a very alpha state, although is quite usable for generating HTML output from interlinked Docbook documents. Comments, bug reports and request or

New Docbook plugin submitted to Mojo

2005-12-01 Thread Jose Gonzalez Gomez
Hi there, For those interested, I've submitted the initial release of the Docbook plugin at Mojo, you may find the issue here: http://jira.codehaus.org/browse/MOJO-165 Votes are welcome :o) Best regards Jose - To unsubscribe,

Re: mevenide eclipse plugin and maven 2

2005-11-28 Thread Jose Gonzalez Gomez
2005/11/28, [EMAIL PROTECTED] [EMAIL PROTECTED]: Hi, is there a possibility to work with the mevenide eclipse plugin and maven 2 ? No, but I seem to remember that somebody is already working on an Eclipse plugin for Maven2. Search the archives, there was a thread reagarding this issue. HTH

Re: Docbook plugin

2005-11-25 Thread Jose Gonzalez Gomez
Well, it seems that URL doesn't point directly to the thread :o( Try this: http://www.mail-archive.com/users@maven.apache.org/msg25757.html 2005/11/25, Jose Gonzalez Gomez [EMAIL PROTECTED]: http://mail-archives.apache.org/mod_mbox/maven-users/200510.mbox/browser 2005/11/25, Jeff Jensen [EMAIL

Re: Docbook plugin

2005-11-25 Thread Jose Gonzalez Gomez
Message- From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] Sent: Thursday, November 24, 2005 2:38 AM To: Maven Users List Subject: Docbook plugin Hi there, I have a preliminary version of a Docbook plugin for Maven2. Here is my typical use case: I use to write project documentation

Re: Docbook plugin

2005-11-25 Thread Jose Gonzalez Gomez
auto olink db generation sounds great! -Original Message- From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] Sent: Thursday, November 24, 2005 2:38 AM To: Maven Users List Subject: Docbook plugin Hi there, I have a preliminary version of a Docbook plugin for Maven2. Here

Docbook plugin

2005-11-24 Thread Jose Gonzalez Gomez
Hi there, I have a preliminary version of a Docbook plugin for Maven2. Here is my typical use case: I use to write project documentation (at least requirements) using Unified Process artifacts (Software requirements specification, actors specification, glossary, risk list, use case

Re: [RFC] webstart plugin (m2)

2005-11-24 Thread Jose Gonzalez Gomez
2005/11/24, jerome lacoste [EMAIL PROTECTED]: The m2 webstart plugin is today usable for small use cases. It could be improved. This is a RFC for all (potential) users of the m2 webstart plugin. Are you a webstart user? Could you describe us your use cases? * do you deploy webstart on

[M2] How to fire plugin in site generation?

2005-11-24 Thread Jose Gonzalez Gomez
Is there any way to fire the execution of a plugin whenever the site plugin is executed? I would like to add some dinammically generated content to the site, but I don't want to use the report mechanism, as this forces me to use the Sink interface to write content, doesn't it? Or can I turn my

[M2] Computing stale sources in plugin

2005-11-23 Thread Jose Gonzalez Gomez
Hi there, I would like to compute the stale sources in a plugin I'm developing, this is, I'm transforming docbook documents, and I would like to know which documents have been modified since the last transformation. Browsing the source code of the compiler plugin I've found something about a

[M2] Xalan and proxy settings

2005-11-23 Thread Jose Gonzalez Gomez
Is there anybody out there that's using Xalan as a dependency and that's getting stylesheets from the Internet through a proxy? I would like to do it, but I don't know how to make Xalan to use a proxy or even read the proxy information from the Maven settings files. TIA, best regards Jose

[M2] Impossible to use 1.5 sources in plugin?

2005-11-21 Thread Jose Gonzalez Gomez
Hi there, I'm developing a plugin for Maven, and I have found the following error: com.thoughtworks.qdox.parser.ParseException: syntax error @[28,47] in file:/C:/Documents and Settings/jgonzalez/Mis documentos/proyecto

SSH executable

2005-11-17 Thread Jose Gonzalez Gomez
Hi there, I'm trying to use the external sshExecutable setting in the settings.xml file, kind of this: server idmy.server/id usernameme/username privateKeyE:\.ssh\id_dsa/privateKey configuration sshExecutableC:\Archivos de

Re: SSH executable

2005-11-17 Thread Jose Gonzalez Gomez
to replace the directory name Archivos de programme by its 8.3 form (somthing like Archiv~1) ? Christophe Jose Gonzalez Gomez wrote: Hi there, I'm trying to use the external sshExecutable setting in the settings.xml file, kind of this: server idmy.server/id

Re: SSH executable

2005-11-17 Thread Jose Gonzalez Gomez
This has been fixed in version 312817: http://svn.apache.org/viewcvs.cgi/maven/wagon/trunk/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ScpExternalWagon.java?rev=331168r1=312817r2=331168diff_format=h 2005/11/17, Jose Gonzalez Gomez [EMAIL PROTECTED

Re: SSH executable

2005-11-17 Thread Jose Gonzalez Gomez
Sorry, fixed in 331168 2005/11/17, Jose Gonzalez Gomez [EMAIL PROTECTED]: This has been fixed in version 312817: http://svn.apache.org/viewcvs.cgi/maven/wagon/trunk/wagon-providers/wagon-ssh-external/src/main/java/org/apache/maven/wagon/providers/sshext/ScpExternalWagon.java?rev=331168r1

Exception in site generation

2005-11-17 Thread Jose Gonzalez Gomez
I'm getting this when trying to generate a site: [INFO] [ERROR] BUILD ERROR [INFO] [INFO] Internal error in the plugin manager executing goal

Re: [m2] firewall and proxy problems

2005-11-17 Thread Jose Gonzalez Gomez
2005/11/17, Tomas Maven [EMAIL PROTECTED]: Hi, apologies if this question has been posted before. I have both maven 1.0.2 and maven 2.0 installed at the same computer at my office behind a corporate firewall. I have configured my maven 1.0.2 to handle the proxy, and I'm able to get it to

[M2] What's going on with Plexus POMs????

2005-11-17 Thread Jose Gonzalez Gomez
I'm getting a lot of lines like this in every build: [WARNING] POM for: 'org.codehaus.plexus:plexus-utils:pom:1.0.4' does not appear to be valid. Its will be ignored for artifact resolutio n. Reason: Parse error reading POM [WARNING] POM for:

Re: SSH proxy for deployments

2005-11-04 Thread Jose Gonzalez Gomez
[EMAIL PROTECTED]: Thanks! Are you interested in creating a patch? - Brett On 11/3/05, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: I've taken a look at wagon sources, and the SSH wagon doesn't provide support for proxied connections, although it internally uses JSch, and inherits from

Re: Re: [m2] release:perform does not work

2005-11-04 Thread Jose Gonzalez Gomez
2005/11/4, Bernd Mau [EMAIL PROTECTED]: Hi, * Independently, I can't see many advantages for using a flat layout instead of hierachical project structure. The subject has been taken up in the Eclipse Mini Guide: http://maven.apache.org/guides/mini/guide-ide-eclipse.html What about editing

Re: SSH proxy for deployments

2005-11-03 Thread Jose Gonzalez Gomez
- From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] Sent: 02 November 2005 09:10 To: Maven Users List Subject: Re: SSH proxy for deployments Well, I don't know that much about proxies, but I'm using PuTTY, and in the Proxy type option I have HTTP selected. 2005/11/2, Brett Porter

Re: SSH proxy for deployments

2005-11-03 Thread Jose Gonzalez Gomez
Here is the example: http://www.jcraft.com/jsch/examples/ViaHTTP.java 2005/11/3, Jose Gonzalez Gomez [EMAIL PROTECTED]: I seem to remember that the SSH support in Maven is provided by JSch, am I right? In their web page (http://www.jcraft.com/jsch/) they say that JSch has support

Re: SSH proxy for deployments

2005-11-03 Thread Jose Gonzalez Gomez
2005/11/3, Jose Gonzalez Gomez [EMAIL PROTECTED]: Here is the example: http://www.jcraft.com/jsch/examples/ViaHTTP.java 2005/11/3, Jose Gonzalez Gomez [EMAIL PROTECTED]: I seem to remember that the SSH support in Maven is provided by JSch, am I right? In their web page (http

[M2] How to get maven-scm-plugin-1.0-alpha-4

2005-11-03 Thread Jose Gonzalez Gomez
I'd like to get this version of the scm plugin, as it seems there is a fix for a bug I'm hitting. The version seems to be in the ibiblio repository, but whenever I try to get the latest version I always get 1.0-alpha-3. The problem seems to be related to the plugin metadata:

Re: [M2] How to get maven-scm-plugin-1.0-alpha-4

2005-11-03 Thread Jose Gonzalez Gomez
As a workaround, it seems that manually editing the maven-metadata-central.xml file in the local repository and adding the version is enough to make maven download the new version. HTH, best regards Jose 2005/11/3, Jose Gonzalez Gomez [EMAIL PROTECTED]: I'd like to get this version of the scm

Re: [M2] How to get maven-scm-plugin-1.0-alpha-4

2005-11-03 Thread Jose Gonzalez Gomez
I've tried to do that, even deleting the repository before doing it, and I keep getting alpha-3 Jose 2005/11/3, Emmanuel Venisse [EMAIL PROTECTED]: the best way is to use the -U parameter on command line for update the plugin Emmanuel Jose Gonzalez Gomez said: As a workaround, it seems

Re: [M2] eclipse plugin: tools.jar incorrectly added

2005-11-03 Thread Jose Gonzalez Gomez
+1 on this 2005/11/3, Thomas Van de Velde [EMAIL PROTECTED]: Hi, When generating the Eclipse classpath, I am getting this: classpathentry kind=var path=M2_REPO/C:/dev/Java/jdk1.5.0_04/jre/../lib/tools.jar/ This used to work a couple of days ago and now all of a sudden I get this error.

Re: [M2] How to get maven-scm-plugin-1.0-alpha-4

2005-11-03 Thread Jose Gonzalez Gomez
Do you want me to file the issue? That d in filed an issue makes me doubt :o) 2005/11/3, Emmanuel Venisse [EMAIL PROTECTED]: metadata seems to be wrong in repository, filed an issue and we'll fixed it. Emmanuel Jose Gonzalez Gomez said: I've tried to do that, even deleting the repository

Re: SSH proxy for deployments

2005-11-02 Thread Jose Gonzalez Gomez
No, it's an HTTP proxy 2005/10/31, Brett Porter [EMAIL PROTECTED]: Not over SSH, no. Is it a SOCKS proxy? - Brett On 10/28/05, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: Does Maven use the proxy defined in settings.xml for SSH connections? I've successfully deployed sites and artifacts

Re: SSH proxy for deployments

2005-11-02 Thread Jose Gonzalez Gomez
Well, I don't know that much about proxies, but I'm using PuTTY, and in the Proxy type option I have HTTP selected. 2005/11/2, Brett Porter [EMAIL PROTECTED]: How is it possible to use SSH over HTTP? - Brett On 11/2/05, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: No, it's an HTTP proxy

SSH proxy for deployments

2005-10-28 Thread Jose Gonzalez Gomez
Does Maven use the proxy defined in settings.xml for SSH connections? I've successfully deployed sites and artifacts inside my LAN, but as soon as I try to do the same for a computer outsite the LAN, I get a connection time out. Of course I've tried to connect to those hosts using an SSH client

Re: New JIRA project for the Maven 2.x plug-in for Eclipse

2005-10-26 Thread Jose Gonzalez Gomez
2005/10/25, Jason van Zyl [EMAIL PROTECTED]: Hi, I've created a project so that people who are trying out the new Maven 2.x plug-in for Eclipse can raise issues/concerns: http://jira.codehaus.org/browse/MNGECLIPSE Jason, Where can we download this plugin? Will anybody setup an Eclipse

Re: [M2] Docbook support

2005-10-25 Thread Jose Gonzalez Gomez
needs. - Brett On 10/24/05, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: 2005/10/24, Jason van Zyl [EMAIL PROTECTED]: On Fri, 2005-10-21 at 13:27 +0200, Jose Gonzalez Gomez wrote: Thanks a lot, I'll try to take a look at it as soon as possible. Anyway, I've been taking a look

Re: [M2] Docbook support

2005-10-25 Thread Jose Gonzalez Gomez
2005/10/25, Jason van Zyl [EMAIL PROTECTED]: On Tue, 2005-10-25 at 09:35 +0200, Jose Gonzalez Gomez wrote: Brett, Do you mean docbook support in Doxia or are you talking about anything else? He meant find a general approach that works. If it can be done in Doxia that's great, otherwise

Re: [M2] Docbook support

2005-10-24 Thread Jose Gonzalez Gomez
2005/10/24, Jason van Zyl [EMAIL PROTECTED]: On Fri, 2005-10-21 at 13:27 +0200, Jose Gonzalez Gomez wrote: Thanks a lot, I'll try to take a look at it as soon as possible. Anyway, I've been taking a look at the head revision of org.codehaus.doxia.module.docbook.DocBookParser.java, and I

[M2] Javadoc failing

2005-10-24 Thread Jose Gonzalez Gomez
Hi there, I cannot generate javadoc reports. The problem seems to be related with having the JVM installed in a path with spaces in it: C:\Archivos de programa\Java\jdk1.5.0_04 (Archivos de programa is the equivalent to Program files in spanish). Here you have the output from Maven: [INFO]

[M2] Docbook support

2005-10-20 Thread Jose Gonzalez Gomez
Hi there, In the announcement docbook support is mentioned, but I haven't been able to find anything about it in the docs. I've also found some thread talking about docbook support in Doxia, but its web says nothing about it. Finally the plugin matrix mentions a docbook plugin that seems to be M2

[M2] SCP nightmare in Windows

2005-10-20 Thread Jose Gonzalez Gomez
Hi there, Is anybody successfully using SCP with public key authentication deployment under Windows with Maven 2.0? My current problems: 1. Using scp: 1.1 You either have to put your private key passphrase in the settings.xml file or have an unprotected private key. 1.2 Maven cannot stablish

Re: [m2] maintaining your own repository

2005-10-20 Thread Jose Gonzalez Gomez
2005/10/20, Wim Deblauwe [EMAIL PROTECTED]: Hi, currently we use Maven 1 and have our own repository on a windows share. Whenever a new dependency is needed, I copy it manually from ibiblio to our share. Our proxy requires autentication, and passwords change often, so it is easy to get

Re: [M2] SCP nightmare in Windows

2005-10-20 Thread Jose Gonzalez Gomez
. The issue is that it's not creating that file, most likely, so it asks for every attempt to use scp. At least, that was my issue with the release candidate, though I thought it was going to be fixed for 2.0 final... -Stephen On 10/20/05, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: Hi

Re: [M2] Docbook support

2005-10-20 Thread Jose Gonzalez Gomez
2005/10/20, Emmanuel Venisse [EMAIL PROTECTED]: Jason van Zyl a écrit : On Thu, 2005-10-20 at 11:28 +0200, Jose Gonzalez Gomez wrote: Hi there, In the announcement docbook support is mentioned, but I haven't been able to find anything about it in the docs. I've also found some thread

Re: [M2] How to specify ssh/scp executable with scpexe

2005-10-18 Thread Jose Gonzalez Gomez
2005/10/14, Jose Gonzalez Gomez [EMAIL PROTECTED]: Hi there, It's all in the subject: I'm trying to use scpexe with Putty under Windows, but I can't find where to specify what executable should use the scpexe extension. I've even taken a look at the sources, and this seems to be configurable

Re: Flattened Eclipse Project

2005-10-14 Thread Jose Gonzalez Gomez
2005/10/14, mika [EMAIL PROTECTED]: Hi Brian, [snip] Now, I've found a solution which I *don't* consider to be best-practice-style at all, but it seems to work for me / us right at the moment: + parent + pom.xml + module + pom.xml + webapp + pom.xml ... The modules in the

[M2] How to specify ssh/scp executable with scpexe

2005-10-14 Thread Jose Gonzalez Gomez
Hi there, It's all in the subject: I'm trying to use scpexe with Putty under Windows, but I can't find where to specify what executable should use the scpexe extension. I've even taken a look at the sources, and this seems to be configurable (there are two instances variables marked with

[M2] Use key agent to handle SCP authentications

2005-10-13 Thread Jose Gonzalez Gomez
Hi there, Is there any way to use a SSH key agent (like Pageant in Putty) to handle SCP authentications? As far as I know the only way to use a protected private key is to write down the password in the settings files, am I wrong? I would like to avoid this if possible... Thanks in advance, best

Re: [M2] Use key agent to handle SCP authentications

2005-10-13 Thread Jose Gonzalez Gomez
On 10/13/05, Jörg Schaible [EMAIL PROTECTED] wrote: Jose Gonzalez Gomez wrote on Thursday, October 13, 2005 1:06 PM: Hi there, Is there any way to use a SSH key agent (like Pageant in Putty) to handle SCP authentications? As far as I know the only way to use a protected private

[M2] Project structure and Eclipse

2005-10-13 Thread Jose Gonzalez Gomez
Hi there, I know this has been discussed several times in the list, but I still don't understand some issues. Summing up (correct me if I'm wrong) from what I've read: The recommended structure for a project with multiple modules is the following: +pom.xml +module1 +pom.xml +src +module2

[M2] Testing with TestNG

2005-10-11 Thread Jose Gonzalez Gomez
Hi there, I would like to give TestNG a try under Maven, but it seems that surefire only supports JUnit currently. I have found some mails in the archive from some people trying to create a plugin... what's the situation? Thanks in advance, best regards Jose

Re: [M2] Using Spring with Maven / Eclipse

2005-09-29 Thread Jose Gonzalez Gomez
And then, for example for each piece: http://www.ibiblio.org/maven2/springframework/spring-hibernate/1.2.4/spring-hibernate-1.2.4.pom -Stephen On 9/28/05, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: The 1.2.4 pom neither has the dependency information, at least in the maven2 respository

[M2] Using Spring with Maven / Eclipse

2005-09-28 Thread Jose Gonzalez Gomez
Hi there, I'm trying to use Spring / Maven / Eclipse in one of my projects with no success. I have included the following dependency in my pom: dependency groupIdspringframework/groupId artifactIdspring/artifactId version1.2.5/version /dependency When I try to generate

Re: [M2] Using Spring with Maven / Eclipse

2005-09-28 Thread Jose Gonzalez Gomez
] wrote: -- Forwarded message -- From: Jose Gonzalez Gomez [EMAIL PROTECTED] Date: 28 sept. 2005 19:12 Subject: Re: [M2] Using Spring with Maven / Eclipse To: Nicolas Chalumeau [EMAIL PROTECTED] http://jira.codehaus.org/browse/MEV-98 Meanwhile, anybody has a list

Re: Best practices for release and version management?

2005-09-03 Thread Jose Gonzalez Gomez
2005/9/2, Trygve Laugstøl [EMAIL PROTECTED]: On Fri, Sep 02, 2005 at 10:54:37AM -0400, dohadwala, moiz wrote: How does one do it for m2? I am new to maven and I have decided to skip maven 1.x and start with m2 directly. In Maven 2 there is the same off-line option as in Maven 1 but you

Re: Best practices for release and version management?

2005-09-03 Thread Jose Gonzalez Gomez
: Friday, September 02, 2005 4:14 AM To: Maven Users List Subject: Re: Best practices for release and version management? On Fri, Sep 02, 2005 at 11:46:49AM +0200, Jose Gonzalez Gomez wrote: Hi there, How do you use to manage your project version among releases? I mean... what do you exactly

[M2] XDoclet 2 plugin

2005-09-03 Thread Jose Gonzalez Gomez
Hi there, Is there any plugin to run XDoclet 2 under Maven 2? If not, any known plans to develop it anybody? (I've found Xdoclet 1 plugins for Maven 1 and 2 and Xdoclet 2 plugin for Maven 1, but not for Maven 2) Best regards Jose

[M2] Hibernate plugin

2005-09-03 Thread Jose Gonzalez Gomez
Hi there, I've seen in the plugin matrix that the Hibernate plugin is finished... how can I use / install / download it? Does it support hibernate 3.0.x? Does / will it support hibernate 3.1 annotations? Best regards Jose - To

Best practices for release and version management?

2005-09-02 Thread Jose Gonzalez Gomez
Hi there, How do you use to manage your project version among releases? I mean... what do you exactly put in currentVersion in your pom and how do you change it among releases? I'm currently using the following approach: 1. Developing version 0.1 - currentVersion = 0.1-SNAPSHOT 2. V0.1 release:

Re: Best practices for release and version management?

2005-09-02 Thread Jose Gonzalez Gomez
2005/9/2, Jose Gonzalez Gomez [EMAIL PROTECTED]: Hi there, How do you use to manage your project version among releases? I mean... what do you exactly put in currentVersion in your pom and how do you change it among releases? I'm currently using the following approach: 1. Developing

Re: Plugin support for Hibernate 3.0

2005-08-05 Thread Jose Gonzalez Gomez
+1 more for Hibernate in M2... I'm testing M2 and was even thinking of going back to M1 to have the hibernate support back. Best regards Jose 2005/8/5, Brill Pappin [EMAIL PROTECTED]: +1 Hibernate for M2 lost without it :) - Brill Pappin Ken Weiner wrote: +1 for continued development

[M2] Missing dependencies using Hibernate3.0.5

2005-07-26 Thread Jose Gonzalez Gomez
Hi, When I try to use Maven2 including Hibernate 3.0.5 as a dependency the build process stops due to some missing dependencies (javax.transaction:jta:1.0.1B:jar, javax.security:jacc:1.0:jar, ...). I'm using only the default repository (http://repo1.maven.org/maven2) and I guess those jars cannot

[M2] How to override artifact name in dependency?

2005-07-26 Thread Jose Gonzalez Gomez
Hi there, I'd like to use the postgresql jdbc driver (http://www.ibiblio.org/maven2/postgresql/postgresql/7.4.1/) as a dependency in my project, but the artifact name (postgresql-7.4.1-jdbc3.jar) doesn't follow the standard artifact name used in maven. In Maven1 we had the jar/ element inside

[m2] Eclipse dependencies

2005-07-18 Thread Jose Gonzalez Gomez
Hi there, With Maven 1.x you could add the following to get the eclipse plugin generate a dependency for another project in the workspace: properties eclipse.dependencytrue/eclipse.dependency /properties If I try to do the same in m2 I get the following error: [INFO]

Re: j2ee project best practices?

2005-06-01 Thread Jose Gonzalez Gomez
I guess you're talking about generation of a ejb client jar, aren't you? In that case, take a look at http://maven.apache.org/maven2/plugins/maven-ejb-plugin/ejb-mojo.html HTH, best regards Jose On 5/31/05, Kenney Westerhof [EMAIL PROTECTED] wrote: Hi there, I've been looking for the j2ee

Re: Deploy more than one artifact of one subproject to the remote repository

2004-12-17 Thread Jose Gonzalez Gomez
:[EMAIL PROTECTED] -Mensagem original- De: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED] Enviada em: quinta-feira, 16 de dezembro de 2004 14:01 Para: Maven Users List Assunto: Re: Deploy more than one artifact of one subproject to the remote repository I do this in maven.xml

Re: Deploy more than one artifact of one subproject to the remote repository

2004-12-16 Thread Jose Gonzalez Gomez
I do this in maven.xml to install the schema file generate with hibernate to the local repository. I guess you may do something similar just using artifact:deploy instead of artifact install, just read the documentation of artifact: project default=jar xmlns:artifact=artifact postGoal

Overriding plugin jars

2004-12-15 Thread Jose Gonzalez Gomez
Hi there, I have patched a jar that is used by a plugin (xdoclet-hibernate-module and maven-xdoclet-plugin). Is there any way to tell the xdoclet plugin to get that jar from my local disk instead of downloading it from a repository? I know about jar override, but it seems that only works for

Re: Overriding plugin jars

2004-12-15 Thread Jose Gonzalez Gomez
? It may be possible to set the variable in Jelly, though I have a feeling that the dependencies will get processed first. - Brett On Wed, 15 Dec 2004 16:07:32 +0100, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: I tried the build.properties solution and it works flawlessly, thanks

Hibernate doclet failing with Maven/dependencies

2004-12-13 Thread Jose Gonzalez Gomez
Hi there, I have the following scenario: I have two maven projects, one depending on the other. The first maven project contains an interface that is tagged with @hibernate.class tag. The second project contains a class that is tagged with @hibernate.joined-subclass. When I run the

Re: [newbie, ant maven] ear project structure, xdoclet integration, hibernate roundtripping

2004-11-22 Thread Jose Gonzalez Gomez
[EMAIL PROTECTED] wrote: Hi Jose, Thanks for your reply. Quoting Jose Gonzalez Gomez [EMAIL PROTECTED]: I've done this in several projects, so feel free to ask... I'm sure if you're a bit more specific you'll get a lot of good tips from the list. Regarding hibernate tools; should i

Re: Looking for ideas for Maven presentation at Javapolis

2004-11-21 Thread Jose Gonzalez Gomez
Vincent, What about a presentation about the inners of Maven? I'm currently trying to develop a plugin to manage olinked docbook documentation, and it's been a nigthmare due to the lack of documentation about plugin writing... or maybe I haven't been able to find it. I finally downloaded

How to access files inside a zipped dependency?

2004-11-21 Thread Jose Gonzalez Gomez
Hi there, I'm developing a plugin, and I need to access some files that are inside a zip in a remote repository. The zip file gets downloaded easily to the local repository just specifying it as a dependency, but how do I access files inside it? Is there any standard way to do it? Or

Re: [newbie, ant maven] ear project structure, xdoclet integration, hibernate roundtripping

2004-11-21 Thread Jose Gonzalez Gomez
Emmanouil Batsis wrote: On Sunday 21 November 2004 15:53, Emmanouil Batsis wrote: i would appreciate any tips on the hibernate integration... Meaning the generation of POJOs and database creation using the hibernate mappings. Manos Emmanouil, I've done this in several projects,

Re: XDoclet in Maven

2004-11-18 Thread Jose Gonzalez Gomez
Eric, Any news regarding this? I have taken a look at the web, but I still cannot find the 1.2.2 version of the plugin. Best regards Jose Eric Pugh wrote: I am in the process of updating the XDoclet repository at http://xdoclet.sf.net/repository. I have everything bug the newest

Re: XDoclet in Maven

2004-11-18 Thread Jose Gonzalez Gomez
, On Thu, 18 Nov 2004 15:37:32 +0100, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: Pascal, I (and all the team) would like, if possible, to install the plugin (and the dependencies needed) from the web with minimal intervention. If this is not possible, we will download and install

Re: maven with eclipse, mevenide et al

2004-10-26 Thread Jose Gonzalez Gomez
We are using the following layout: projectRoot |---applications ||---application.j2ee | |---maven.xml | |---project.xml [...] |---containers ||---application.jboss (Self contained JBoss test environment) | |---maven.xml | |---project.xml [...]

war:war not including version in artifact name

2004-09-30 Thread Jose Gonzalez Gomez
Hi there, I have a multiproject with a web module, with war as the default goal. Maven is generating the artifact without using the version provided. This version is defined in the parent project.xml, although I have tried to override it without success. Curiously, if I run the jar goal,

Re: war:war not including version in artifact name

2004-09-30 Thread Jose Gonzalez Gomez
Ok, I have just found the explanation: maven.war.final.name defaults to |${pom.artifactId}.war|. Why does this plugin use this approach instead of using the same name schema than jar, ear, ejb... plugins? I find this confusing for newbies as me. Best regards Jose Jose Gonzalez Gomez

Re: How to add ${maven.build.dest} to taskdef

2004-09-29 Thread Jose Gonzalez Gomez
, Jose Gonzalez Gomez [EMAIL PROTECTED] wrote: Hi there, I'm trying to use the update schema functionality of hibernate inside maven, but I'm not able to do it. I have the following: goal name=myProject:update-schema ant:taskdef name=schemaupdate classname

Re: Managining Maven Plugins and dependencues

2004-09-29 Thread Jose Gonzalez Gomez
Gonzalez Gomez [mailto:[EMAIL PROTECTED] Envoy=E9=A0: mercredi 29 septembre 2004 00:57 =C0=A0: Maven Users List Objet=A0: Re: Managining Maven Plugins and dependencues =20 =20 Arnaud, =20 I tried this, but it doesn't work... the plugin is downloaded, but it isn't used in the build process (I guess

  1   2   >