Maven - selective inclusion of testcases in a package

2007-08-16 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: I have the following situation: com/mycompany/mypackage/application/ has my class files, while com/mycompany/testcases has my test cases (Cactus). In creating the WAR file, I want to be able to exclude the testcases package. I understand that I can use the warSourceExcludes tag for

Profiles in maven - help!

2007-08-16 Thread Vaidya, Supriya A \(US - Chicago\)
HI: I have a profiles.xml in my project root folder, that has the following structure: settings profiles profile iddevelopment/id activation activeByDefaulttrue/activeByDefault /activation properties

Generating EJB home/remote interfaces with maven

2007-08-15 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: Is there an equivalent to ejbGen in Maven-ejb plugins? How do I use it? If you could point me to any available documentation, that would be fine too... I tried the following: 1. In my EJB's pom.xml - I use the maven-ejb-plugin. 2. My resources directory in teh EJB project contains the

RE: Generating EJB home/remote interfaces with maven

2007-08-15 Thread Vaidya, Supriya A (US - Chicago)
://xdoclet.sourceforge.net/xdoclet/index.html [3] http://mojo.codehaus.org/xdoclet-maven-plugin/overview.html Vaidya, Supriya A (US - Chicago) schrieb: Hi: Is there an equivalent to ejbGen in Maven-ejb plugins? How do I use it? If you could point me to any available documentation, that would

RE: Maven-Weblogic: NoClassDefFoundError for JAR in an EAR

2007-08-06 Thread Vaidya, Supriya A (US - Chicago)
, 2007, at 1:27 PM, Vaidya, Supriya A ((US - Chicago)) wrote: Hi: I have been able to successfully run a mvn weblogic:appc on my EAR file which contains: 1. the EJB-JAR.jar 2. the web .war file 3. and a lib/genericPOJO.jar file - that is used by boththe EJB-JAR and the Web files

RE: Maven-Weblogic: NoClassDefFoundError for JAR in an EAR

2007-08-06 Thread Vaidya, Supriya A (US - Chicago)
it should) Where else am I missing its mention?? -Original Message- From: Vaidya, Supriya A (US - Chicago) Sent: Monday, August 06, 2007 11:00 AM To: 'Maven Users List' Subject: RE: Maven-Weblogic: NoClassDefFoundError for JAR in an EAR HI Scott - sorry I took so long to respond, got

RE: Maven-Weblogic: NoClassDefFoundError for JAR in an EAR

2007-08-06 Thread Vaidya, Supriya A (US - Chicago)
without modifying the .cmd file? -Original Message- From: Vaidya, Supriya A (US - Chicago) Sent: Monday, August 06, 2007 11:28 AM To: 'Maven Users List' Subject: RE: Maven-Weblogic: NoClassDefFoundError for JAR in an EAR Ok... I just tried deploying the same EAR in the weblogic console

RE: Maven-Weblogic: NoClassDefFoundError for JAR in an EAR

2007-08-06 Thread Vaidya, Supriya A (US - Chicago)
problem seems to be: dependency on a 3rd party jar that is not in the weblogic classpath. Could someone please help?! :o( -Original Message- From: Vaidya, Supriya A (US - Chicago) Sent: Monday, August 06, 2007 12:11 PM To: 'Maven Users List' Subject: RE: Maven-Weblogic: NoClassDefFoundError

RE: Deploying EAR project to Weblogic

2007-08-01 Thread Vaidya, Supriya A (US - Chicago)
- Chicago) Sent: Tuesday, July 31, 2007 2:42 PM To: 'Scott Ryan'; Maven Users List Subject: RE: Deploying EAR project to Weblogic Does this latter error have anything to do withteh fact that I am using JDK 1.6 Update 2? From: Vaidya, Supriya A (US - Chicago

Maven-Weblogic: NoClassDefFoundError for JAR in an EAR

2007-08-01 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: I have been able to successfully run a mvn weblogic:appc on my EAR file which contains: 1. the EJB-JAR.jar 2. the web .war file 3. and a lib/genericPOJO.jar file - that is used by boththe EJB-JAR and the Web files. However, on executing the mvn weblogic:deploy command, I immediately get

Deploying EAR project to Weblogic

2007-07-31 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: I have a project structure such that an EAR is created containing a WAR, and an EJB JAR. Thus, each module has its own directory and its own pom. THe parent directory (say projectOverAll) has a pom with packaging = pom. Now, the project packages successfully - mvn clean install works fine.

RE: Deploying EAR project to Weblogic

2007-07-31 Thread Vaidya, Supriya A \(US - Chicago\)
Sorry - wrong POMs were attached previously - here are the right ones, that generate the error From: Vaidya, Supriya A (US - Chicago) Sent: Tuesday, July 31, 2007 11:11 AM To: 'Maven Users List' Subject: Deploying EAR project to Weblogic Hi: I have

RE: Deploying EAR project to Weblogic

2007-07-31 Thread Vaidya, Supriya A (US - Chicago)
PM To: Maven Users List Cc: Vaidya, Supriya A (US - Chicago) Subject: Re: Deploying EAR project to Weblogic Try running the deploy mojo from the ear directory. It is reading the project type to figure out what to deploy and it is confused since your pom.xml seems to have project type of pom rather

RE: Deploying EAR project to Weblogic

2007-07-31 Thread Vaidya, Supriya A (US - Chicago)
Does this latter error have anything to do withteh fact that I am using JDK 1.6 Update 2? From: Vaidya, Supriya A (US - Chicago) Sent: Tuesday, July 31, 2007 1:19 PM To: 'Scott Ryan' Subject: RE: Deploying EAR project to Weblogic Hi Scott: I have 4

Creating a JAR to include in the lib directory

2007-07-26 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: I am working with multiple modules - An EJB contained in a WAR contained in a EAR There are some libraries that are shared between the EJB and the WAR. In reading up on skinny WARs, I was able to find that a way to include the lib directory in teh EAR only, so that they are

RE: Maven creating a WAR: strange error about file access

2007-07-26 Thread Vaidya, Supriya A \(US - Chicago\)
:55 AM To: Maven Users List Subject: Re: Maven creating a WAR: strange error about file access I would move all your stuff to a folder that has no spaces anywhere in the name and see if the error happens again. Wayne On 7/25/07, Vaidya, Supriya A (US - Chicago) [EMAIL PROTECTED] wrote: [INFO

RE: Maven: Creating a JAR in a WAR in an EAR

2007-07-25 Thread Vaidya, Supriya A (US - Chicago)
help u out.. - kiran kodlady Vaidya, Supriya A (US - Chicago) wrote: Hi: I have a single project with multiple packages: 1. Package A - EJB files 2. Package B - Servlet files 3. Package C - Helper classes The objective is to create a JAR of the EJB files, and then a WAR

Maven creating a WAR: strange error about file access

2007-07-25 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: My project is creating an EAR that contains a WAR (for the servlets) that in turn depends on a JAR (of EJBs). I have the necessary POMs. At the root folder, I execute the following command: mvn clean install Everything goes well (see messages for references below) And then I get this

Maven: Creating a JAR in a WAR in an EAR

2007-07-24 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: I have a single project with multiple packages: 1. Package A - EJB files 2. Package B - Servlet files 3. Package C - Helper classes The objective is to create a JAR of the EJB files, and then a WAR of the servlet files that also includes the JAR (but not the .class files directly) and

RE: Maven: Creating a JAR in a WAR in an EAR

2007-07-24 Thread Vaidya, Supriya A (US - Chicago)
://www.onjava.com/pub/a/onjava/2005/09/07/maven.html Also the free PDF ebooks from Mergere/DevZuz and Sonatype have complete examples and documentation on this structure: http://www.devzuz.com/web/guest/products/resources#BBWM http://www.sonatype.com/book/index.html Wayne On 7/24/07, Vaidya, Supriya

Maven: Unable to create a WAR package due to web.xml

2007-07-23 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: This is very strange... I have the following (legacy!) project structure: src | | main | | config spring java com my package web |

RE: Maven: Unable to create a WAR package due to web.xml

2007-07-23 Thread Vaidya, Supriya A \(US - Chicago\)
I fixed this by changing my 'web' directory to 'webapp' - just the name. Why is this necessary though? Or did I miss something?!?! From: Vaidya, Supriya A (US - Chicago) Sent: Monday, July 23, 2007 3:16 PM To: users@maven.apache.org Subject: Maven: Unable

RE: Maven: Unable to create a WAR package due to web.xml

2007-07-23 Thread Vaidya, Supriya A (US - Chicago)
the default for the warSourceDirectory option in maven-war-plugin: http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html#webappDir ectory 'webapp' is the default. Patrick On 7/23/07, Vaidya, Supriya A (US - Chicago) [EMAIL PROTECTED] wrote: I fixed this by changing my 'web' directory

RE: Help! Maven weblogic plugin: NoClassDefFoundError with com/bea/xml/XmlException

2007-07-20 Thread Vaidya, Supriya A \(US - Chicago\)
Hi - could someone please point me in the right direction with this error? From: Vaidya, Supriya A (US - Chicago) Sent: Friday, July 20, 2007 10:36 AM To: 'Maven Users List' Subject: Maven weblogic plugin: NoClassDefFoundError with com/bea/xml/XmlException

RE: Help! Maven weblogic plugin: NoClassDefFoundError with com/bea/xml/XmlException

2007-07-20 Thread Vaidya, Supriya A (US - Chicago)
xbean.jar as a dependency in your project. This class is part of xbean.jar distributed with weblogic. -Satish -Original Message- From: Vaidya, Supriya A (US - Chicago) [mailto:[EMAIL PROTECTED] Sent: Friday, July 20, 2007 1:34 PM To: Maven Users List Subject: RE: Help! Maven weblogic plugin

RE: Maven-weblogic plugin: Unable to understand error

2007-07-20 Thread Vaidya, Supriya A (US - Chicago)
that yourself, when you install the weblogic.jar. Intructions on how to do this can be found here: http://maven.apache.org/plugins/maven-install-plugin/examples/generic-po m-generation.html Vaidya, Supriya A (US - Chicago) wrote: Hi: I am trying to use the weblogic-maven plugin to deploy my

Maven weblogic plugin: NoClassDefFoundError with com/bea/xml/XmlException

2007-07-20 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: I have installed the following jars: mvn install:install-file -Dfile=C:\bea\weblogic92\server\lib\weblogic.jar -DgroupId=weblogic -DartifactId=weblogic -Dversion=9.0 -Dpackaging=jar -DgeneratePom=true mvn install:install-file -Dfile=C:\bea\weblogic92\server\lib\webservices.jar

RE: Maven-weblogic plugin: Unable to understand error

2007-07-20 Thread Vaidya, Supriya A (US - Chicago)
message you should run this: mvn install:install-file -Dfile=C:\bea\weblogic92\server\lib\webservices.jar -DgroupId=weblogic -DartifactId=webservices -Dversion=9.0 -Dpackaging=jar -DgeneratePom=true Notice that I changed the groupId to weblogic. Vaidya, Supriya A (US - Chicago) wrote: Hi: I

URGENT: Renaming files during compile time

2007-06-28 Thread Vaidya, Supriya A \(US - Chicago\)
Hi: Here is what needs to be achieved: I have 3 different configuration files: application-dev.properties, application-int.properties, application-prod.properties. Depending on the value taken by a certain variable (where and how do shoudl I define this variable??), I need to have one of the