Re: Re : Re: Proxy at maven 2

2006-11-01 Thread Xavier Outhier
I'm happy it worked. I'm testing maven since 2 weeks only but it seems very powerful. The mailing-list is very active. I will try to make it adopted it in my next project. Have a nice day, Xavier. Michael Post wrote: Hello Xavier, thanks for your answer.

Re: Using an OSGi bundle built with maven from an eclipse RCP project?

2006-11-01 Thread Steinar Bang
Tom Huybrechts [EMAIL PROTECTED]: I only keep the platform and thirdparty plugins in the target platform, and it is checked into SVN. All other projects come as source projects. The OSGi plugin is our own, and we have the source for it. The problem in using it as a plug-in in the RCP

RE: Additional features for maven2 plugin

2006-11-01 Thread Rahamim, Zvi \(Zvi\)
Thank you all for your answers, My intention was to have the ability configure the versions of the dependencies before the building, using a GUI. For example, when selecting to build using the eclipse maven plugin, the eclipse plugin will open a configuration dialog that contains for each

Re: Codehaus repository needed even using released plugins only

2006-11-01 Thread Syvalta
Carlos Sanchez-4 wrote: yes, it's already logged in jira and fixed for next version Ok, thanks. Found it: http://jira.codehaus.org/browse/MNG-2282 -- View this message in context:

Problem with including jars.

2006-11-01 Thread Adrian M.
Hello, I'm still a maven beginner. I'll try to compile a project, which needs some extra jars. The jars are located in src/main/resources/*.jar . If I try mvn compile it will stop with the error package *.jar not found. How can I include them? Is there a little example or tutorial? Thanks

Re: Problem with including jars.

2006-11-01 Thread Trent Rosenbaum
Hi there, All maven projects locate there dependencies through the local or remote repositories. Maven will not know to include there jar files within the compile stage of the process. The following link include some information about placing your jar dependencies within the maven repo

eclipse plugin e WebTools

2006-11-01 Thread Dudu
I need to generate a project to WebTools, or transform a simple project to web The command eclipse:eclipse -Dwtpversion=1.0 does not genereate correct the JSF application; And adding and removing facets to the project is a bit poor. How to work with webprojects with maven on a ide? How to

change-log for release notes

2006-11-01 Thread Jeff Mutonho
Is there a way in which one can generate a change-log.txt file based on the results from the maven-changelog-plugin ? -- Jeff Mutonho GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042 -

Overview - Ant to Maven

2006-11-01 Thread Scott Purcell
Hello, I have been reading about Maven2, but have many questions in regards to its use. Here is my current workflow: I create webapps, and basically do a compile or deploy with ant, and the ant script takes care of compiling, and moving the code to a Tomcat server. Also I can reload with

Re: Problems running a JSF application on Jetty:Run

2006-11-01 Thread Craig McClanahan
On 11/1/06, Ronen Naor [EMAIL PROTECTED] wrote: The problem is that the j2ee spec says that the jsf jars need to be as part of the container classpath. Actually, that is only required (in the specs) for Java EE 5. For EE 1.4, you can either treat either the JSF RI or MyFaces as a normal

EJB Building

2006-11-01 Thread EJ Ciramella
Is there some place where I can see how maven 2 expects to build ejbs? In an active project here, we have about 10 - 15 ejbs building via ant. Each ejb is in its own directory. How would something like this work in Maven 2?

Re: EJB Building

2006-11-01 Thread Wayne Fay
If you've got 10-15 child projects, you'll need to either add dependencies to all 15 individually in your project pom or create a master ejb project that references all of them, and then add a dependency on that. As Alex suggested, BBwM has several examples for building JEE projects. And I'm

RE: EJB Building

2006-11-01 Thread EJ Ciramella
I did - their example mentions building a j2ee project with a single ejb, there's no mention of best practices in regards to multiple ejbs. -Original Message- From: Alexander Sack [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 01, 2006 2:41 PM To: Maven Users List Subject: Re: EJB

Re: EJB Building

2006-11-01 Thread Steinar Cook
Personally I prefer having a separat EAR project from which I reference the various EJB modules. This allows everything to be packed togehter very efficient. Here is a snippet from the pom.xml file in the EAR project: dependencies dependency

Build on success, fail, error

2006-11-01 Thread Jorge Gallardo
Hi to everyone I´ll describe my situation. I have a SVN repository and a Continuum running builds every 10 minutes in my company. Sporadically SVN server goes down (because an i18n reported bug) and every developer suscribed to any project receives a Build in Error mail, every 10 minutes,

Re: EJB Building

2006-11-01 Thread Alexander Sack
Ditto here and what's done in the Better Builds with Maven book. -aps On 11/1/06, Steinar Cook [EMAIL PROTECTED] wrote: Personally I prefer having a separat EAR project from which I reference the various EJB modules. This allows everything to be packed togehter very efficient. Here is a

Multi-module site is not working

2006-11-01 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hi, I define the following in the parent project. distributionManagement site idx/id urlx/url /site ... /distributionManagement modules modulea/module moduleb/module /modules When I run mvn site-deploy on the

[M1] can't build M1 trunk because maven-model 3.0.2-20061008.232644 not found.

2006-11-01 Thread Davy Toch
Hi, The root POM of the M1 trunk in SVN apparently has a dependency to a version of maven-model that can't be found in the central repositories: maven-1/core/project.xml: dependency groupIdmaven/groupId artifactIdmaven-model/artifactId version3.0.2-20061008.232644/version ...

RE: Running surefire-report goal as part of maven test goal

2006-11-01 Thread Manish Shah
Hi Pete, I tried that and it didn't work. I've added this to my the build section of my pom, but with no effect: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-surefire-report-plugin/artifactId executions execution

RE: [M2]weblogic:appc classpath issue

2006-11-01 Thread Scott Ryan
I have refactored the 2.8.0 plugin to fix that problem. I have changed some of the parameters and since the website can only support one version of the plugin I need to add a page to describe the new settings for the 2.8.0 plugin. I will be pushing the latest snapshot up to the repository once I

Re: Multi-module site is not working

2006-11-01 Thread Alexandre Russel
On Wednesday 01 November 2006 20:57, Morgovsky, Alexander (US - Glen Mills) wrote: Hi, I define the following in the parent project. distributionManagement site idx/id urlx/url /site ... /distributionManagement modules

Re: Multi-module site is not working

2006-11-01 Thread Mick Knutson
I think you might be missing the index page is all: Make sure you have this in your reports section: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-project-info-reports-plugin/artifactId version2.0.1/version

[M1] AspectJ with two source trees

2006-11-01 Thread diyfiesta
Hi Folks, Was hoping someone could give me a pointer with a problem I'm having with the aspectj plugin... I've got my source code under main/src and the unit tests under main/test, however I can't get aspectj compiling both. I added this to my project.xml hoping it would pick up both, but it

Re: HELP: Running site goal on a cutom packaging

2006-11-01 Thread Prasad Kashyap
Hi John, Thanx for your reply. Your build extensions solution fixed the problem for me. I don't know why the plugin extension that I had didn't work. Anyways, I got rid of the error but it still fails to generate the surefire-report.html. mvn -e -X site command. (checkout the first few

Checkstyle memory error

2006-11-01 Thread Morgovsky, Alexander \(US - Glen Mills\)
Hi. I am getting an OutOfMemory error while running Checkstyle. How do I execute this plugin either in the reporting section or the build section and increase its memory, something along the line of -Xms=512m and -Xmx=512m? Thanks. This message (including any attachments) contains

Re: Checkstyle memory error

2006-11-01 Thread Mick Knutson
I run my site commands from a batch file like: REM site.bat set MAVEN_OPTS=-Xmx1024m mvn clean site -e On 11/1/06, Morgovsky, Alexander (US - Glen Mills) [EMAIL PROTECTED] wrote: Hi. I am getting an OutOfMemory error while running Checkstyle. How do I execute this plugin either in the

Troubles with jspc-maven-plugin 1.4.6

2006-11-01 Thread Wayne Fay
Having some troubles with the JSPC plugin on just -one- of our developer machines. Its completely bizarre... Hoping perhaps someone else has run into this and knows how to resolve it. [INFO] Built File: \error.jsp [INFO] Built File: \header.jsp [INFO] Built File: \index.jsp [INFO] Built File:

Re: [M1] QALab 0.9.1 and Maven plugin released

2006-11-01 Thread Benoitx
Paul Could you show us your POM that generates the XML for Cobertura? We're working on the M2 plugin for QALab... Thanks Benoit Benoitx wrote: Paul Can you post this on the QALab Users list. We will look into it but could you confirm which JDK you are using? It is the first time we

Re: change-log for release notes

2006-11-01 Thread Dennis Lundberg
Jeff Mutonho wrote: Is there a way in which one can generate a change-log.txt file based on the results from the maven-changelog-plugin ? Not at the moment, no. May I ask what you would use it for? -- Dennis Lundberg - To

[M1] AspectJ with two source trees (main/src main/test)

2006-11-01 Thread Toby Weston
Hi Folks, Was hoping someone could give me a pointer with a problem I'm having with the aspectj plugin... I've got my source code under main/src and the unit tests under main/test, however I can't get aspectj compiling both. I added this to my project.xml hoping it would pick up both, but it

[m2] Cobertura in both XML and html format?

2006-11-01 Thread Benoit Xhenseval
Hi * Am I right in thinking that the default behaviour for m2 Cobertura is different than for m1, as it does NOT generate coverage.xml by default? Is there a way to request BOTH XML and HTML in one go for Cobertura? i.e. I do not want to re-run the tests but I need the coverage.xml file. At

Re: Consistency of deployed modules

2006-11-01 Thread Max Cooper
To avoid running the tests twice, set maven.test.skip=true in the properties section of the 'mvn deploy' Builder. I am not sure if this would work, but to avoid the double-install, perhaps you could run 'mvn clean package' (instead of install) on the first phase. Are you sure running

Re: [M1] can't build M1 trunk because maven-model 3.0.2-20061008.232644 not found.

2006-11-01 Thread Arnaud HERITIER
Hi Davy, Sorry for this problem. It's due to the recent changes on apache infrastructure. We lost all snapshots between end of august and few days ago :-( I just uploaded it. Tell me if something else is missing. In parallel, I'll try to do a bootstrap with an empty repository. Thanks

Re: [M1] AspectJ with two source trees

2006-11-01 Thread Arnaud HERITIER
Did you try the goal : aspectj:test-compile ? http://maven.apache.org/maven-1.x/plugins/aspectj/goals.html Arnaud On 11/1/06, diyfiesta [EMAIL PROTECTED] wrote: Hi Folks, Was hoping someone could give me a pointer with a problem I'm having with the aspectj plugin... I've got my source code

mvn deploy and actual version capture

2006-11-01 Thread Swenson, Eric
For historical reasons, we are using cruisecontrol rather than continuum for our maven2 builds. We are also using a cruise control project that invokes a shell script to invoke maven because there appears to be a bug in maven now that I've been unable to get any responses to when I posted its

Question about packaging QPAC

2006-11-01 Thread Kendy Yus
Hi All, I am trying to use Maven to package an Adobe QPAC component as a JAR file. These component JAR files have a special structure, somewhat like WAR and EAR files, to include dependent libraries and some configuration elements. Below is an example component JAR file:

Re: Maven-buildnumber plugin

2006-11-01 Thread Mick Knutson
Why am I getting svn errors when I downloaded this module to compile locally: --- T E S T S --- Running org.codehaus.mojo.buildNumber.TestCreateBuildNumber process = [EMAIL PROTECTED] Provider

Re: How to native properties files with maven2

2006-11-01 Thread mraible
Is this plugin available in a public repository? Is there an easier way to do this that doesn't require tools.jar on the classpath? This was awful easy to do with Ant - seems like Maven 2 complicates things here. Thanks, Matt Jakub Pawlowicz wrote: Hi, One way to process your

Maven command to run the main class of a desktop application

2006-11-01 Thread Dudu
What is the Maven 2 pluginto run the main class of a desktop application?

Are there a m2 plugin to izpack? and another?

2006-11-01 Thread Dudu
Are there a installer generator plugin to maven 2 ? I found only to maven 1 :(

Re: Maven command to run the main class of a desktop application

2006-11-01 Thread Alexander Sack
I actually use ANT to do this dirty work for me. Not sure if there is such a thing... -aps On 11/1/06, Dudu [EMAIL PROTECTED] wrote: What is the Maven 2 pluginto run the main class of a desktop application? -- What lies behind us and what lies in front of us is of little concern to what

[m2] Recommended way to generate a report with maven LF

2006-11-01 Thread Benoit Xhenseval
hI * What would be the recommended way to generate a report that fits in the Maven 2 site? We used to generate some xdocs from an XML file under maven 1 (QALab)... but looking at PMD or checkstyle for instance, it seems completely different and not based on xml/xsl anymore. What is the

Why some packages has no jars?

2006-11-01 Thread Dudu
Why a few maven directories has no jars, one of it is the directory of Metadata for Webservices (jsr181) finalized and leaded by Bea? ftp://ibiblio.org/pub/packages/maven2/javax/jws/jsr181/1.0I need to put manually? or it has another name? thanks

Re: Overview - Ant to Maven

2006-11-01 Thread Kevin Jackson
for deploying have a look at cargo at: http://cargo.codehaus.org/ I have used the cargo plugin and the tomcat plugin and both of them have a flaw if you are deploying to a remote server (ie one without maven installed on it). When they deploy, they first undeploy your application, then they

RE: [M2]weblogic:appc classpath issue

2006-11-01 Thread Scott Ryan
The fix is in the code on the branch 2.8.0. i am trying to publish the fixes if I can get authorization. You can pull down the code and build it and that should fix your classpath issues. Scott Ryan Chief Technology Officer Soaring Eagle L.L.C. [EMAIL PROTECTED] www.soaringeagleco.com (303)

RE: [M2]weblogic:appc classpath issue

2006-11-01 Thread Scott Ryan
The code is checked in to SVN to fix this. I will try to push a new snapshot as soon as i can get authorization Scott Ryan Chief Technology Officer Soaring Eagle L.L.C. [EMAIL PROTECTED] www.soaringeagleco.com (303) 263-3044 -Original Message- From: Dmystery [mailto:[EMAIL PROTECTED]

RE: [M2]weblogic:appc classpath issue

2006-11-01 Thread Dmystery
Thanks Scott. It would be great if you can push the latest snapshot to the repository now. Scott Ryan-2 wrote: I have refactored the 2.8.0 plugin to fix that problem. I have changed some of the parameters and since the website can only support one version of the plugin I need to add a

New Weblogic 2.8.0 and 2.9.0 snapshot code in SVN

2006-11-01 Thread Scott Ryan
I have checked in the code for new snapshots for both versions of the plugins. This code fixes a number of issues but mainly; Classpath incorrect with APPC and Clientgen Remote deployment does not work on 9.0 I have also removed or renamed some of the configuration parameters to make them more

Re: Why some packages has no jars?

2006-11-01 Thread Wayne Fay
If you look at the pom, you'll see: project modelVersion4.0.0/modelVersion groupIdjavax.jws/groupId artifactIdjsr181/artifactId version1.0/version nameWeb Services Metadata for the Java Platform API/name urlhttp://dev2dev.bea.com/webservices/jwsm.html/url distributionManagement

Re: Maven command to run the main class of a desktop application

2006-11-01 Thread Wayne Fay
Probably the exec plugin could help with this, but I also use Ant for this kind of thing. Wayne On 11/1/06, Alexander Sack [EMAIL PROTECTED] wrote: I actually use ANT to do this dirty work for me. Not sure if there is such a thing... -aps On 11/1/06, Dudu [EMAIL PROTECTED] wrote: What is

Re: Overview - Ant to Maven

2006-11-01 Thread Wayne Fay
Kevin, I'm not sure there's another way to do a remote deploy. At least, this is how every command-line based deploy tool I've ever used has worked, including deployment tools included with Oracle App Server and other J2EE servers. It might be nice if the tool would instead copy the war file,

Eclipse knows resources dir?

2006-11-01 Thread jiangshachina
myapp |--pom.xml |--LICENSE.txt |--README.txt |--target/ |--src/ |--main |--java/ |--webapp/ |--WEB-INF/ |--resources/ Maven recommends Application/Library resources should be located at resources. And when run mvn package, the

SV: Eclipse knows resources dir?

2006-11-01 Thread Hermod Opstvedt
Hi No problem, you need to go into settings/build/Sourcepath path and then add src/main/resources as a new source folder. Remember to set target as the default output folder Hermod -Opprinnelig melding- Fra: jiangshachina [mailto:[EMAIL PROTECTED] Sendt: 2. november 2006 06:47 Til:

Re: SV: Eclipse knows resources dir?

2006-11-01 Thread jiangshachina
Hi Hermod, Thanks very much. you need to go into settings/build/Sourcepath path and then add src/main/resources as a new source folder. I don't exactly know what you indicated? I didn't find settings/build/Sourcepath in any configuration file(Eclipse or Maven). But you have gave me very clue,

Question about packaging QPAC

2006-11-01 Thread Kendy Yus
Hi All, I am trying to use Maven to package an Adobe QPAC component as a JAR file. These component JAR files have a special structure, somewhat like WAR and EAR files, to include dependent libraries and some configuration elements. Below is an example component JAR file:

RE: Overview - Ant to Maven

2006-11-01 Thread Vincent Massol
-Original Message- From: Wayne Fay [mailto:[EMAIL PROTECTED] Sent: jeudi 2 novembre 2006 06:46 To: Maven Users List Subject: Re: Overview - Ant to Maven Kevin, I'm not sure there's another way to do a remote deploy. At least, this is how every command-line based deploy tool I've

RE: EJB Building

2006-11-01 Thread Vincent Massol
Hi EJ, -Original Message- From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: mercredi 1 novembre 2006 20:56 To: Maven Users List Subject: RE: EJB Building I did - their example mentions building a j2ee project with a single ejb, there's no mention of best practices in regards to