trying to create a maven plugin for running FolderRunner

2011-11-19 Thread Marco Mistroni
hi all i have successfully ran the FolderRunner from my maven project with this configuration plugin groupIdorg.codehaus.mojo/groupId artifactIdexec-maven-plugin/artifactId version1.1.1/version dependencies

running fitnesse /fitlibrary from maven

2011-10-30 Thread Marco Mistroni
hi all i was wondering if anyone could help me out with fitnesse /fitlibrary. I know i should post it to the FitLibrary mailinglist on sourceforge (i did, no replies) but i was hoping that someone on this mailing list has already done something like this before. I have downloaded the latest

Re: Maven consultant

2008-12-06 Thread Marco Mistroni
Hi, could you post your problem here: - structure of your app - pom.xml and i m sure on the list there r lot of maven pro that can sort out your problems rgds marco On Fri, Dec 5, 2008 at 5:28 PM, [EMAIL PROTECTED] wrote: We are having a problem getting our applications to build. we have

Re: 5min maven tutorial problem

2008-06-14 Thread Marco Mistroni
Hi, are you behind a firewall? if so, u need to configure proxy in settings.xml hth marco On Sat, Jun 14, 2008 at 3:17 AM, Brett Porter [EMAIL PROTECTED] wrote: You can see an answer on this page: http://docs.codehaus.org/display/MAVENUSER/FAQs-1 2008/6/14 Michiko Luther [EMAIL

Re: Maven @ Silicon Valley Web Developer Java User Group

2008-06-10 Thread Marco Mistroni
Hi, would love to do that too as i m interested but im in UK.. please keep me posted on this issue rgds marco On Tue, Jun 10, 2008 at 3:49 PM, Sean Hennessy [EMAIL PROTECTED] wrote: Wish I could..however I'm willing to chip in ten dollars to help cover the cost of putting it on video that

Re: Maven WebSphere 6.1

2008-06-10 Thread Marco Mistroni
Jo, my 2 cents here, it *could* be, but i think except for ws specific jars, you shouuld be able to fetch ther est from maven repo. hth marco On Tue, Jun 10, 2008 at 11:55 AM, Jo Support [EMAIL PROTECTED] wrote: Hello folks, I'm following the instructions from

Re: Creating integration tests for a complex project...

2008-06-07 Thread Marco Mistroni
Kent, my 2 cents here... i m doing integ tests in my current app (it's not an ear, but is a war made of two projects..) Maven can help you out in 1,2,3.4, ... i believe maven has plugins to deploy your .ear and startup an app server integ tests, you mean interaction between different subprojects

Problem with surefire, spring and AspecJ LTW

2008-06-07 Thread Marco Mistroni
hello all, i wrote a small application to test spring + aspectJ LTW... my post in the spring forums is here http://forum.springframework.org/showthread.php?t=55168 i posted in the spring forums coz my test (ran using maven surefire plugin) resulted in the code not being intercepted by the

Mvn2/Selenium/CArgo/JUnit problem

2008-04-26 Thread Marco Mistroni
hi all, i am running my UAT tests in mvn2 using Cargo and selenium . Due to problems using cargo plugin (when it started it was not able to find some jars for my webapp), i have written a base test which starts cargo and selenium. Problem i have now is that cargo starts/stops at every setUP and

Re: Mvn2/Selenium/CArgo/JUnit problem

2008-04-26 Thread Marco Mistroni
test class and held a Jetty instance in a static property (so it survives through repeated setUp/tearDowns). I don't see what using Cargo buys you if you are setting up everything in code. Kalle On Sat, Apr 26, 2008 at 10:22 AM, Marco Mistroni [EMAIL PROTECTED] wrote: hi all, i am

Re: Selenium - Maven - Smoketest

2008-04-13 Thread Marco Mistroni
Hi, not sure if it helps. i m currently using Maven + Selenium i m not clear (sorry for my ignorance) on what 'smoke tests' mean, but i am running my selenium tests in the phaseintegration-tests/phase hth marco On Sun, Apr 13, 2008 at 1:10 AM, dbug [EMAIL PROTECTED] wrote: Hi, In the life

Re: How to use Maven for System Testing?

2008-03-27 Thread Marco Mistroni
hi, If u mean acceptance testing, google Maven + Selenium u'll find a plugin to be integrated for doing user-acceptance testing hth marco On Thu, Mar 27, 2008 at 11:24 AM, Wayne Fay [EMAIL PROTECTED] wrote: When you say System Testing, I assume you are actually talking about Functional

wsgen issue

2008-03-16 Thread Marco Mistroni
hello all, i m currently doing a servicemix project inw hich i had to generate skeletons for couple of webservices i am using url of the tutorial is here http://servicemix.apache.org/orchestration-with-jsr181.html i have following pom (only relevant part) plugin

Maven / Repository / SVN

2008-03-10 Thread Marco Mistroni
hi all, was wondering if someone has any ideas or had to deal with similar cases. my colleague and i are trying to promote maven at our working place using an internal repository the problem is that people here want to store artifact / external libraries in svn rather than in an internal

Re: war directory exploded / how to do thi sin maven

2008-02-26 Thread Marco Mistroni
, if they don't end up in WEB-INF/lib, how will you know that your webapp works? -Stephen On Mon, Feb 25, 2008 at 10:12 PM, Marco Mistroni [EMAIL PROTECTED] wrote: hello all @work, we are developing a web application using IntelliJ IDEA. we are not using maven, so structure of directory

Re: war directory exploded / how to do thi sin maven

2008-02-26 Thread Marco Mistroni
artifactIdmaven-war-plugin/artifactId configuration *archiveClassesfalse/archiveClasses*** /configuration /plugins /build /project On Tue, Feb 26, 2008 at 8:13 PM, Marco Mistroni [EMAIL PROTECTED] wrote: Stephen, thanks a lot! it was exactly what i was after any chances u can

war directory exploded / how to do thi sin maven

2008-02-25 Thread Marco Mistroni
hello all @work, we are developing a web application using IntelliJ IDEA. we are not using maven, so structure of directory is as follows jsp (contains jsps and WEB-INF) src |__ java |__ test plus, we are launching tomcat from intelliJ, making tomcat point to the exploded directory

Re: Maven2 Unit testing

2008-02-17 Thread Marco Mistroni
Hello, i guess you are meaning then 'integration test', as unit tests should not access the database for that... well 2 solutions... @work, we are using jndi via tomcat, but for unit tests we define our own dataSource that uses Spring's DriverManagerDatasource (or something like that) that

maven and surefire

2007-12-31 Thread Marco Mistroni
hi all, i am experiencing problems with maven2 and surefire i have an existing app that uses ant, and in running junit tests all pass when i run same tests via maven2, i got some of them failing by looking closely at them, i suspect surefire does not run in the same way asjunit fork=true )

Re: maven and surefire

2007-12-31 Thread Marco Mistroni
] http://maven.apache.org/plugins/maven-surefire-plugin/examples/forking.html Marco Mistroni wrote: hi all, i hiam experiencing problems with maven2 and surefire i have an existing app that uses ant, and in running junit tests all pass when i run same tests via maven2, i got some

dependencies / is there a smart way to declare it?

2007-12-05 Thread Marco Mistroni
hi all, just a quick question to see best practices with maven projects. i have a pom which contains lot of dependencies... so my pom end up being huge.. i was wondering if there is a smart way to declare them so that i don' t end up with a 300 lines pom.. again, it's not a real

Re: Maven2 and unit tests with hibernate and jpa connection problems

2007-12-01 Thread Marco Mistroni
Hi, have u ever tried to use HSQL , in memory db? regards marco On Dec 1, 2007 1:30 AM, Ryan Moquin [EMAIL PROTECTED] wrote: I'm having some trouble with my Maven2 build (using hibernate, jpa and spring) recently where all of a sudden I'm starting to get this error sporadically: ...

Re: Maven install

2007-12-01 Thread Marco Mistroni
Hi , let's start from what you want to achieve: 1. Filter only A.properties First off, how many files need filtering? If you need only A.properties (in whole application), the A.propertiesshould be the only one which contains ${ your.property) tags. If you have also B.properties that contains

Re: Maven2 and unit tests with hibernate and jpa connection problems

2007-12-01 Thread Marco Mistroni
to switch. I'm just worried that I might lose some accuracy in my unit tests going to that approach? On Dec 1, 2007 9:39 AM, Paul MERLIN [EMAIL PROTECTED] wrote: Le Saturday 01 December 2007 14:14:37 Marco Mistroni, vous avez écrit: Hi, have u ever tried to use HSQL , in memory db

cargo plugin problems

2007-12-01 Thread Marco Mistroni
hi all, i am trying to run selenium tests using maven2/ cargo / jetty / selenium plugin i am following instructions here ( http://wiki.foochal.org/index.php/Maven_Selenium) however, when cargo starts, i am getting this exceptions 2007-12-01 16:52:53.582::WARN: Failed startup of context [EMAIL

Re: Maven install

2007-11-30 Thread Marco Mistroni
Hi, where are your properties(i mean the 'replacement' properties) 'stored'? in your profile? On Nov 30, 2007 7:48 PM, LinaTomy [EMAIL PROTECTED] wrote: Hi I have the following structure src | ---main | resources |

Re: errors for hibernate test cases

2007-11-30 Thread Marco Mistroni
Giovanni, could you please post stacktrace of exception? i had also problems with hibernate and got everything sorted out.. your hbm.xml files should end up in src/main/resources in order to be present in the classpath during testing(they'll end up in target\classes) regards marco On Nov 30,

Maven2 and Selenium problem / anyone could help?

2007-11-26 Thread Marco Mistroni
hi all, i am trying out Maven2 with selenium plugin, but i am getting alwasy same error and i was wondering if anyone else here came across same situation... here's my test ( i had my own url but as i kept on getting exceptions i tried with a well known one

Re: Maven/Hibernate error / anyone has find similar?

2007-11-15 Thread Marco Mistroni
(CGLIBLazyInitializer.java:107) Wayne On 11/14/07, Marco Mistroni [EMAIL PROTECTED] wrote: hi all, i am trying to port an app from ant to maven , but it looks like i am having troubles iwth dependencies. has anyone ever found the error below? i attach my dependencies at the end of message, hope

Maven/Hibernate error / anyone has find similar?

2007-11-14 Thread Marco Mistroni
hi all, i am trying to port an app from ant to maven , but it looks like i am having troubles iwth dependencies. has anyone ever found the error below? i attach my dependencies at the end of message, hope someone can sort me out Tests run: 1, Failures: 0, Errors: 1, Skipped: 0,

Mvn2

2007-11-13 Thread Marco Mistroni
hi all, anyone could tell me why suddenly i am getting this exception? my settings.xml is at the bottom of hte msg... [INFO] [ERROR] BUILD ERROR [INFO]

maven / artifactory error

2007-11-13 Thread Marco Mistroni
hi all, i have installed artifactory 1.2.5, and i am using maven2.0.7 i have setup an internal repository (artifactory), but after replacing my settings.xml to point to artifactory, i keep on getting exceptions like 'maven resource plugin not found', maven compiler plugin not found etc.. even

Re: promoting maven @work / fail on proxy uname/pwd

2007-11-04 Thread Marco Mistroni
/2007, Marco Mistroni [EMAIL PROTECTED] wrote: Yep, will certainly do On 11/3/07, Wayne Fay [EMAIL PROTECTED] wrote: Yea, we talked it out a bit and he realized that actually only his Artifactory instance will be going outside the firewall (through the proxy), so he needs to focus

Re: promoting maven @work / fail on proxy uname/pwd

2007-11-04 Thread Marco Mistroni
about something, but they just don't like it (change is hard/scary and Maven is new). Its a lot like the boy who cried wolf. If you can really drill down into their issue/problem, many times you can convince them that they are simply wrong... Wayne On 11/4/07, Marco Mistroni [EMAIL PROTECTED

Re: promoting maven @work / fail on proxy uname/pwd

2007-11-03 Thread Marco Mistroni
[EMAIL PROTECTED] wrote: On 03/11/2007, Marco Mistroni [EMAIL PROTECTED] wrote: - how you developers are tackling the issue right now? - does mvn 2.1 really provides that feature? - if so, when it will be out? I started a little work on it quite some time back, but it was not yet

Re: promoting maven @work / fail on proxy uname/pwd

2007-11-03 Thread Marco Mistroni
thought you were going to configure your username and password for your repo manager/proxy :) Good luck, Brett On 03/11/2007, Marco Mistroni [EMAIL PROTECTED] wrote: Brett, i talked with Wayne (Fay) on the issue. for the way i want to imlpement it (an INternal repository

promoting maven @work / fail on proxy uname/pwd

2007-11-02 Thread Marco Mistroni
hi all, i am very close to promote Maven @work, where we are currently using a 400 lines long ant build script... (don't need to list the miracles we are doing in it to get some jobs done...) i thought i would have had no problems in showing what Mvn can bring us (in 4 yrs using it, i found

Re: How to use different databases for tests and the actual application?

2007-10-29 Thread Marco Mistroni
hi, Not sure about that.. maven creates only 1 war, and tha ti ste result of you building app i m using spring, using 2 different datasources for test and deploy if u r not using spring, i'd go for 2 separate config files, but not knowing your app i won't comment further hth marco On

Re: How to use different databases for tests and the actual application?

2007-10-27 Thread Marco Mistroni
Hi, didnt follow whole thread i m afraid my understanding is that you want to use 2 diffeerent datasources for your app r u using Spring at all? coul dyou not configure a datasource for production and a datasource for test? hth marco On 10/27/07, Victor Cardona [EMAIL PROTECTED] wrote:

help / Maven presentations

2007-10-26 Thread Marco Mistroni
hi all, i have finally convinced my workplace to move to maven (wasn't that difficult, the alternative was a 500 line ant script which was very volatile) as i have learned maven by just using it and trying new feature all the time, i'll appreciate if anyone could mail me privately some maven

Re: Trying to setup a Maven Shared Repository

2007-10-24 Thread Marco Mistroni
Hello, well yes. you'd need to change your settings.xml in your .m2 directory to point to your machine i m sure in artifactory website there's an example, .. i'll send you an example tomorrow from work of a settings.xml and an artifactory config file.. regards marco On 10/24/07, charliec

Re: Trying to setup a Maven Shared Repository

2007-10-23 Thread Marco Mistroni
Hello, i m trying to do same with artifactory.. worked fine so far.. i recommend u have a look at that regards marco On 10/23/07, Wayne Fay [EMAIL PROTECTED] wrote: Simply putting an HTTP server on top of your personal .m2 directory (local repo cache) is not sufficient. The metadata in a

cobertura problem / found solution

2007-10-08 Thread Marco Mistroni
hi all, i have been bothering this list for the past 2 weeks because i could not understand why for a certain project, the cobertura report was failing big time with no indication of what went wrong.. today, patientluy, i went over all the dependencies of my project and found out that the reason

Re: Fwd: maven cobertura errro

2007-10-06 Thread Marco Mistroni
Hello Stefan, thanks fo ryour reply... well, i'll need to investigate more, as i have a different app running on same machine in which i can successfully run cobertura report i think there *might* be issues with some jars i am including i'll investigate more and post here.. i just

Re: Fwd: maven cobertura errro

2007-10-04 Thread Marco Mistroni
Hello Stefan, thanks for the link but in same page is showing also the same config that i had.. i'd like to do instrumentation and check. do you have any sample configuration to send me? thanks in advance and regards marco On 10/4/07, Stefan Reuter [EMAIL PROTECTED] wrote: Marco

Fwd: maven cobertura errro

2007-10-04 Thread Marco Mistroni
hello all, i am getting this exception in my pom.xml when i add in the report section an entry for cobertura... [INFO] Error building POM (may not be this project's POM). Project ID: unknown POM Location: C:\TrunkMaven\client-web\pom.xml Reason: Parse error reading POM. Reason:

convincing Workplace to use Maven

2007-09-30 Thread Marco Mistroni
hello all, i am a big fan of maven (i have been using it since approx 3 years..).. and i'd like to use it @ my work, where we are still using ant and coding most of the tasks manually.. but i'd need good arguments, as now many IDEs( especially IntelliJ) offer lot of capabilities such as code

Fwd: Cobertura fails

2007-09-25 Thread Marco Mistroni
Hello all, i have a webapp in which i am using maven2. My webapp should produce reports... one of which is cobertura.. but unfortunately, whenever cobertura gets called (either by mvn site, mvn install, mvn cobertura:check as example) it fails miserably with a NUllPOInterException and i cannot

Re: Problemw ith site generation on continuum

2007-09-18 Thread Marco Mistroni
] wrote: I don't see why some reports works and not others. Continuum launch mvn lilke you do it from the command line. Do you use the same user to run continuum and the mvn command line? Emmanuel Marco Mistroni a écrit : hi all, i have a simple mvn2 project that i decided to put

Re: Problemw ith site generation on continuum

2007-09-18 Thread Marco Mistroni
, Emmanuel Venisse [EMAIL PROTECTED] wrote: I don't see why some reports works and not others. Continuum launch mvn lilke you do it from the command line. Do you use the same user to run continuum and the mvn command line? Emmanuel Marco Mistroni a écrit : hi all, i have

Problemw ith site generation on continuum

2007-09-17 Thread Marco Mistroni
hi all, i have a simple mvn2 project that i decided to put on continuum i have configured continuum to run clean install and site targets problem is that when the site is generated, and i go to check the generated reports (By selecting working copy and drilling down to target/site directory), i

how to configure continuum to trigger a build after a commit

2007-09-16 Thread Marco Mistroni
hi all, i have been running continuum since yesterday.. (i come from CControl background) somehow, i cannot trigger continuum todo a build when i do a commit in my project. only way to build projects is to force ab uild from the userinterface.. could anyone help me out? am i missing config

Re: how to configure continuum to trigger a build after a commit / ignore

2007-09-16 Thread Marco Mistroni
hello, i spoke too soon... continuum did a build hwile i was writing this email apologize for bothering regards marco On 9/16/07, Marco Mistroni [EMAIL PROTECTED] wrote: hi all, i have been running continuum since yesterday.. (i come from CControl background) somehow, i cannot

Re: Eclipse/Maven2 integration info

2007-09-15 Thread Marco Mistroni
Hello, On 9/15/07, Carlos Sanchez [EMAIL PROTECTED] wrote: most of your steps can be done in Q4E by going to the New project wizard, Ne Maven 2 project, choose the archetype and fill in the blanks On 9/14/07, Alexander Sack [EMAIL PROTECTED] wrote: Hi Everybody: You know

Re: Eclipse/Maven2 integration info

2007-09-15 Thread Marco Mistroni
Hello, sorry to hijack this hteread.. but i have a questionr egarding mvn eclipse integration somehow, even after i enable a maven project iva eclipse, the classpath in eclipse is screwed up big time i hav dfined a m2_repo variable, but still i am getting errors from all import i do, like

maven2 / continuum / scm URL frustration

2007-09-15 Thread Marco Mistroni
hello all, i am having huge troubles to setting up my mvn2 project for continuum.. i have following scm 'settings' in my pom.xml scm connection scm:svn:svn//localhost/trunk/ /connection developerConnection scm:svn:svn://localhost/trunk/

Re: xdoclet maven plugin: Ambiguous subtask definition exception

2007-09-06 Thread Marco Mistroni
Hello, i had.. long time ago while i was trying to do exactly the same thing. Resorted to use xdoclet in one project, and to call xdocket from maven antrun plugin in the other not elegant, but was theonly solution i found hth marco On 9/6/07, Brian Smith [EMAIL PROTECTED] wrote: I'm

Re: Maven Hibernate Plugin with Maven2

2007-09-02 Thread Marco Mistroni
David, i havent followed htis thread sorry,but if your goal is to pre-create tables for your tests, you might want to set the hibernate.ddl.auto=create/update property... , if your goal is to generate hbm.xml files, you might want to have a look at xd2 mvn2 plugin... hth marco On/1/07, David

JMock 2

2007-09-01 Thread Marco Mistroni
hello all, does anyone know if jmock2 has been uploaded in some maven2 repositories? thanks and regards Marco

problem when generating one-to-many associations wiht xd2 mvn2 plugin

2007-08-26 Thread Marco Mistroni
hi all, i am using xd2 mvn2 plugin to generate xdoclet files... but it looks like it is falling short when i am using associations.. here is the class that is failing... code: package com.mm.backend.model; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import

what triggers the inclusion of ehcache-1.1.jar in my war fil?

2007-07-15 Thread Marco Mistroni
hi all, i have a webapp built on top of two projects, a backend projet which uses spring and hibernate, and a webproject done using webwork which uses backend to connect to the database... somehow, in my web-inf\lib directory an ehcache-1.1.jar is included, and i cannot find out why it gets

Re: problems with mvn2, Spring and Hibernate... anyone could help?

2007-07-13 Thread Marco Mistroni
*:hibernate.cfg.xml / That would work with your local classpath as well with your jars, including test phases Regards Johann Reyes On 7/6/07, Marco Mistroni [EMAIL PROTECTED] wrote: Hi Trevor, thanks... that would work unfortunately my app is splitted in two jars, one for backend and another

Re: problems with mvn2, Spring and Hibernate... anyone could help?

2007-07-06 Thread Marco Mistroni
/**/*.hbm.xml. On 7/5/07, Marco Mistroni [EMAIL PROTECTED] wrote: Hello Jon actually it has nothing to do with maven, as i discovered later.. since scope=compile will be visible in the test it has to do with Spring classloading actually.. i'll post a solution here as soon as i finish to try some

Re: problems with mvn2, Spring and Hibernate... anyone could help?

2007-07-05 Thread Marco Mistroni
, Jon SlinnHawkins [EMAIL PROTECTED] wrote: I think this may be a problem with Surefire and the way spring uses classloaders : http://jira.codehaus.org/browse/SUREFIRE-340?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel If you find a solution please post Thanks Marco

problems with mvn2, Spring and Hibernate... anyone could help?

2007-07-04 Thread Marco Mistroni
hi all, i know i should post this to maven list but it is about spring and i am sure someone here is using maven for building its environment I have an app composed of 3 project: - domain OBjects , contains domain objects used by web and backend project - backend project contains hibernate code

Re: help with Cobertura

2007-07-03 Thread Marco Mistroni
] in 2.1. I use 2.0 for that reason. As to the test running twice, I see this also. vaul Spencer [1]http://jira.codehaus.org/browse/MCOBERTURA-61 Marco Mistroni wrote: hi all, in my mvn2 webapp i am currently using Cobertura under the 'report' section, to get a test coverage report when i

help with Cobertura

2007-07-02 Thread Marco Mistroni
hi all, in my mvn2 webapp i am currently using Cobertura under the 'report' section, to get a test coverage report when i build the site. However, i woudl like to apply cobertura also to my build, so that mvn wont build anything until i have tested at least, let's say, 80% of my code..(i

Spring/Hibernate/ maven / unexpected error.. when using flat layout for parent projects

2007-05-17 Thread Marco Mistroni
hi all, i have a project with this structure |_WebWorkMain | WebWorkBackend | WebWorkWebApp in WebWorkBackend i have hibernate code (mappings generated via xdoclet etc).. WebWorkMain is the parent project, which has been laid out like that for Eclipse. whenever i

Re: Maven2 + XDoclet + JBoss (JBossWS)

2007-04-20 Thread Marco Mistroni
HI, in the maven wiki page i have posted an example of using mvn2, xdoclet, jbossws it's here http://docs.codehaus.org/display/MAVENUSER/Examples pls have a look, it might be that you have specified an incorrect name in your xdoclet tags hth marco On 4/18/07, Schludi [EMAIL PROTECTED]

XD2 maven2 plugin / problems with mergedir

2007-04-02 Thread Marco Mistroni
hi all, i am trying to move my current m2 project to use xd2 maven2 plugin but i am encountering big problems, so i appreciate if anyone could help me out. this is my pom.. i have used previously xd maven2 plugin where i specified mergedir attribute to merge files about servlets, filters etc...

Re: maven2 websphere plugin

2007-02-16 Thread Marco Mistroni
Hi Remy, WAS has some custom ant tags for that... you can call those tasks from antrun plugin. that's solution one solution two is one maven guy wrote some maven 1.1 code for that. it's in the archive of this list if i can find it i post it here regards marco On 2/16/07, Rémy Sanlaville

Re: maven2 websphere plugin

2007-02-16 Thread Marco Mistroni
-was Hermod On 2/16/07, Marco Mistroni [EMAIL PROTECTED] wrote: Hi Remy, WAS has some custom ant tags for that... you can call those tasks from antrun plugin. that's solution one solution two is one maven guy wrote some maven 1.1 code for that. it's in the archive of this list if i can find

Re: maven2 websphere plugin

2007-02-16 Thread Marco Mistroni
Hi Remy, shame on me... i didnt follow links as i did need plugin at that time... well, then your best bet is to go with WAS-specific ant task, call them from maven-antrun plugin a friend of mine (Mr Peter Pilgrim) has done some work on that.. i post here the link of his blog where he describes

Re: Maven 1.1 for aspectj project

2007-02-13 Thread Marco Mistroni
hi, IF you have patience, i'll post a pom.xml as soon as i get home my app using aspectj for maven1.1...now i have converted it to maven2 it's a webap though hth marco On 2/13/07, Build Admin [EMAIL PROTECTED] wrote: Hi How to build aspectj project with maven 1.1? Can anyone

Re: Maven 1.1 for aspectj project

2007-02-13 Thread Marco Mistroni
were saying, you want to have a look at aspectj plugin for maven 1.1 hth marco On 2/13/07, Kaare Nilsen [EMAIL PROTECTED] wrote: On 13/02/07, Marco Mistroni [EMAIL PROTECTED] wrote: hi, IF you have patience, i'll post a pom.xml as soon as i get home my app using aspectj for maven1.1

Re: EAR libs and MANIFEST.MF generation

2007-02-06 Thread Marco Mistroni
Hi, any particular reason for not using maven-ear-plugin, since it will generate manifest classpath entries based on dependencies of your projects? hth marco On 2/6/07, Manos Batsis [EMAIL PROTECTED] wrote: Hello, Back in my Ant-based projects i used the pathconvert to generate manifest

Re: EAR libs and MANIFEST.MF generation

2007-02-06 Thread Marco Mistroni
, don't put them in the war, change their scope so that they won't be included.. hth marco On 2/6/07, Manos Batsis [EMAIL PROTECTED] wrote: Hey Marco, Thanks for your email. Quoting Marco Mistroni [EMAIL PROTECTED]: any particular reason for not using maven-ear-plugin, since it will generate

Re: EAR libs and MANIFEST.MF generation

2007-02-06 Thread Marco Mistroni
Batsis [EMAIL PROTECTED] wrote: Hey Marco, Thanks for your email. Quoting Marco Mistroni [EMAIL PROTECTED]: any particular reason for not using maven-ear-plugin, since it will generate manifest classpath entries based on dependencies of your projects? Even if you do this, it won't work

Re: Installing application in a directory for test purposes

2007-02-05 Thread Marco Mistroni
Hi, any particular reason why you can't run test from your src\test directory, since all your mainapp classes will be in the classpath ? do you need to have your app installed for testing purposes? hth marco On 2/5/07, Christian Plessl [EMAIL PROTECTED] wrote: Dear Maven Users I have

Re: hibernate InstrumentTask

2007-01-30 Thread Marco Mistroni
Hi, my 2 cents . don't know the issue but i went to check what does that instrument task do.. i see no reason why you can't just use maven antrun plugin and execute it... dont know if this might help... here i configured a custom ant task (wstools), like this configuration tasks

Re: hibernate InstrumentTask

2007-01-30 Thread Marco Mistroni
anyway. 2007/1/30, Marco Mistroni [EMAIL PROTECTED]: Hi, my 2 cents . don't know the issue but i went to check what does that instrument task do.. i see no reason why you can't just use maven antrun plugin and execute it... dont know if this might help... here i configured a custom ant

Re: hibernate InstrumentTask

2007-01-30 Thread Marco Mistroni
Nicholas, additional thing if you make it work, would you mind write a wiki here http://docs.codehaus.org/display/MAVENUSER/Examples with your example pom.xml? it might help (me :) or anyone that want to do same things later on regards marco On 1/30/07, Marco Mistroni [EMAIL PROTECTED

Re: maven2, eclipse and hierarchical layout

2007-01-27 Thread Marco Mistroni
On 1/27/07, Marco Mistroni [EMAIL PROTECTED] wrote: child pom: parent groupIdparent/groupId artifactIdparent-pom/artifactId version1/version relativePath../parent/pom.xml/relativePath /parent there you go!! thanx a lot Alexander... this was what i was missing.. thanx

Re: EJB3 with maven

2007-01-26 Thread Marco Mistroni
Hi, you don't need anything special.. with jboss, you can deploy an ejb as a jar file. All you need to do is to have a jar project, make sure to put in your src/main/resources a META-INF directory with your persistence.xml file in it this is the simplest setup you could have hth marco On

Re: EJB3 with maven

2007-01-26 Thread Marco Mistroni
detail or a sample pom.xml if you have.. I am having problem to get ejb3 plugin to work.. Regards, Vidya Marco Mistroni [EMAIL PROTECTED] 26/01/2007 15:52 Please respond to Maven Users List users@maven.apache.org To Maven Users List users@maven.apache.org cc Subject Re: EJB3 with maven

Re: EJB3 with maven

2007-01-26 Thread Marco Mistroni
and, DONT FORGET unit tests :) hth marco On 1/26/07, Vidya Mahavadi [EMAIL PROTECTED] wrote: Thanks Marco, I will check out the link. I am trying to learn most of the stuff I mentioned all at same time, and struggling to put everything together. :) Thanks, Vidya Marco Mistroni [EMAIL

maven2, eclipse and hierarchical layout

2007-01-26 Thread Marco Mistroni
hi all, i still havent' managed to use maven2 with eclipse where i have a parent project and few children project has anyone managed to have that setup working correctly in eclipse? any hints on how to make it work will be greatly appreciated regards marco

Re: pom.xml

2007-01-24 Thread Marco Mistroni
would it be because you have a 'hierarchical project' ? p1 |_pom.xml |_p2 |__ pom.xml ? hth marco On 1/24/07, Jan-Oliver Wuelfing [EMAIL PROTECTED] wrote: Hello to everybody, I´ve encountered a prob with Eclipse´s Maven plug-in: It prompts that a project build error exist: failed to

Re: [M2] not to include dependencies in an ear file

2007-01-24 Thread Marco Mistroni
Hi, can u try to change the scope of those dependencies? hth marco On 1/24/07, Roberto UserList [EMAIL PROTECTED] wrote: Hi all ! What can I do not to include the dependencies described in the master pom into an ear file? Thanks in advance for help. Regards, Roberto.

Re: maven2 eclipse question

2007-01-24 Thread Marco Mistroni
Hi, check maven2 ecliplse plugin (pls google it, i dont remember webaddress) create your project, then right click and do maven2 --enable then, for source folders, you might want to rightclick on your project and choose maven2--update source folders hth marco On 1/24/07, Arash Amiri [EMAIL

Re: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources

2007-01-23 Thread Marco Mistroni
you tried hbm2doc? Regards Johann Reyes -Original Message- From: Marco Mistroni [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 11:22 AM To: Maven Users List Subject: Re: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources Hi, i think somehow you can make it work

Re: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources

2007-01-16 Thread Marco Mistroni
Hello, i think you can configure what todo in the sessionFactory prop key=hibernate.hbm2ddl.autocreate/prop that way will be easier with codehaus plugin you can use also an hibernate.properties, pls check properties available for that plugin when i tried, i didnt succeeded, so i decided to

Re: Hibernate3 export where *.hbm.cfg and *.hbm.xml are resources

2007-01-16 Thread Marco Mistroni
Hi, i think somehow you can make it work with the genration of DDL if you check pluginDoc, in your configuration element there's something that allows you to use hibernate.properties file (if that is what you are using) alternatively, i think you could still invoke schemaExport (or whatever

Re: xdoclet2 maven2 plugin

2007-01-10 Thread Marco Mistroni
Hi, i have tried to use xdoclet2 plugin for hibernate here's how i m using it plugin groupIdxdoclet/groupId artifactIdmaven2-xdoclet2-plugin/artifactId version2.0.5/version executions execution idxdoclet/id phaseprocess-classes/phase goals

Re: xdoclet2 maven2 plugin

2007-01-10 Thread Marco Mistroni
: Thanks a lot for code sample. 2007/1/10, Marco Mistroni [EMAIL PROTECTED]: Hi, i have tried to use xdoclet2 plugin for hibernate here's how i m using it plugin groupIdxdoclet/groupId artifactIdmaven2-xdoclet2-plugin/artifactId version2.0.5/version executions

Re: Compiling maven project from eclipse project

2007-01-10 Thread Marco Mistroni
Hello, you have to use m2 plugin for eclipse and make sure that your eclipse project is maven enabled. check plugin here http://m2eclipse.codehaus.org/ once installed, have you project imported in your workspace, you should right-click on them and choose Maven2--enable hth marco On 1/10/07,

Re: problem building with m2 today

2007-01-10 Thread Marco Mistroni
... The artifacts are certainly available in Central [1]. Try again with -U perhaps, or add a declared dependency on that artifact using version 1.4.8 which appears to be the latest. [1] http://repo1.maven.org/maven2/com/lowagie/itext/ Wayne On 1/10/07, Marco Mistroni [EMAIL PROTECTED] wrote: hi

M2 / avoiding to download latest from repositories....

2007-01-08 Thread Marco Mistroni
Hi all, i was wondering how to avoid maven2 uploading latest jars from repositories . question came after i was working on an hibernate/spring app last weekend i read somewhere that someone has changed hibernate DTD last weekend, so i changed my code accordingly, andthis morning when i

Re: Invoking ant java Task from Maven or similar approaches in MAVEN

2007-01-05 Thread Marco Mistroni
Hi, you can use maven ant plugin and use same code that is within your target elements not sure if it can be an alternative, but if you are doing xslt there's an xslt task in ant. hth marco On 1/5/07, raju [EMAIL PROTECTED] wrote: Hi , Currently I am invoking java

Re: How to integrate XDoclet 1.2.3 in Maven2?

2007-01-04 Thread Marco Mistroni
Hi, this is a sample pom.xml this is for creating hibernate mappings plugins plugin artifactIdxdoclet-maven-plugin/artifactId groupIdorg.codehaus.mojo/groupId executions execution phasegenerate-sources/phase goals

  1   2   3   >