[maven-assembly-plugin] How to exclude transitive dependencies of an included dependency

2007-04-11 Thread Christophe Deneux

Hi all,

I use maven-assembly-plugin to assemble my project. My project contains some 
modules.

A module "myModule" contains a dependency with scope=provided 
("myDependencyProvided"). This module as a
specific packaging (not a jar, war, ...): "myPackaging"

I will wish to add to my assembly this module with only its dependency 
"provided" (I don't wish to add all
other dependencies and all transitive dependencies).


My assembly descriptor is something like:


myModule


/
false
755

${artifactId}.${extension}


provided

${artifactId}.${extension}


myDependencyProvided:myPackaging






How can I exclude transitive dependencies of an include dependency ? Is it the 
right way to build this

assembly type ?


Can you help me, please?
_________

Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 95 55 92 / www.capgemini.com
Porte de l'Arénas - Entrée B / 455 Promenade des
Anglais / 06200 Nice

Join the Collaborative Business Experience
_

Please consider the environment and do not print

this email unless absolutely necessary. Capgemini
encourages environmental awareness.




This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re:Tr : Functional Tests and maven-surefire-report-plugin

2006-10-25 Thread Christophe Deneux

You can find a patch to apply on source code here:
http://jira.codehaus.org/browse/MSUREFIREREP-28?page=all

Please, vote for this issue.
_


Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader

Tel: + 33 4 93 72 43 74 / www.capgemini.com
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice
Join the Collaborative Business Experience
_

-- Initial Header ---

>From  : "Julien HENRY" [EMAIL PROTECTED]
To  : [EMAIL PROTECTED]
Cc  : 
Date  : Wed, 25 Oct 2006 13:55:01 + (GMT)

Subject : Tr : Functional Tests and maven-surefire-report-plugin

> 

> 
> - Message transféré 
> De : Luis Perea <[EMAIL PROTECTED]>
> À : users@maven.apache.org
> Envoyé le : Mercredi, 18 Octobre 2006, 0h31mn 44s
> Objet : Re: Functional Tests and maven-surefire-report-plugin
> 
> 
> Hi,
> 
> I've got the same problem, when I execute my functional test's with "mvn
> install" everything is OK, my tests run fine, but with "mvn site" neither
> the tests nor the surefire report are generated.
> 
> Have you found any solution for this problem? 
> 
> 
> 
> 
> 
> Christophe DENEUX wrote:
> > 
> > 
> > Hi friends,
> > 
> > It seems that the maven-surefire-report-plugin generates the report only 
> > if the "language" of the "packaging" is "java" (see in source code: 
> > SurefireReportMojo.canGenerateReport).
> > 
> > As described in "Introduction to the Build Lifecycle" 
> > (http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html),
> >  
> > I try to create a new packaging (it-java) as a 
> > build extension:
> > - to map executions of maven-compiler-plugin, 
> > maven-resources-plugin, maven-surefire-plugin on the right phases,

> > - to define the language ("java").
> > 
> > I have updated the POM of my functional tests modules to change the 
> > packagin and add the extension.
> > 
> > But the maven-surefire-report-plugin does not recognize the language of 
> > my new packaging. The executions of maven-compiler-plugin, 
> > maven-resources-plugin, maven-surefire-plugin are fine.
> > 
> > Where is my mistake ?
> > 
> > My extension is only composed of the source file 
> > META-INF/plexus/components.xml:
> > 
> >   
> > 
> >   org.apache.maven.artifact.handler.ArtifactHandler
> >   it-java
> >   
> > org.apache.maven.artifact.handler.DefaultArtifactHandler
> >   
> > it-java
> > java
> >   
> > 
> > 
> >   org.apache.maven.lifecycle.mapping.LifecycleMapping
> >   it-java
> >   
> > org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping
> >   
> > 
> >   
> > org.apache.maven.plugins:maven-resources-plugin:testResources
> >   
> > org.apache.maven.plugins:maven-compiler-plugin:testCompile
> >   
> > org.apache.maven.plugins:maven-surefire-plugin:test
> > 
> >   
> > 
> >   

> > 
> > 
> > 
> > Thanks for your help.
> > 
> > 
> > 
> > Christophe DENEUX / Capgemini Sud / Méditerranée
> > Technical Leader
> > Tel: + 33 4 93 72 43 74 / www.capgemini.com
> > Fax: + 33 4 93 21 02 95
> > Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice
> > 
> > Join the Collaborative Business Experience
> > 
> > 
> > 
> > 
> > Christophe DENEUX a écrit :
> >>
> >> Hi all,
> >>
> >> I'm trying to use maven-surefire-report-plugin to have a status on my 
> >> functional tests in the maven generated website.
> >>
> >> I think that i have used a standard way to implement functional tests:
> >>- my functional tests are a module of my project, that is packaged 
> >> as POM (pom).
> >>- I have defined sources directories as src/it/java and 
> >> src/it/resources,
> >>- I have redefined execution for maven-compiler-plugin, 
> >> maven-resources-plugin, maven-surefire-plugin.
> >>
> >> When I launch "mvn clean integration-test site site:deploy", the 
> >

Re:Tr : Functional Tests and maven-surefire-report-plugin

2006-10-25 Thread Christophe Deneux


You can find a patch to apply on source code here:
http://jira.codehaus.org/browse/MSUREFIREREP-28?page=all

Please, vote for this issue.

_

Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice
Join the Collaborative Business Experience
_

-- Initial Header ---

>From  : "Julien HENRY" [EMAIL PROTECTED]
To  : [EMAIL PROTECTED]
Cc  : 
Date  : Wed, 25 Oct 2006 13:55:01 + (GMT)
Subject : Tr : Functional Tests and maven-surefire-report-plugin


> 
> 
> - Message transféré 
> De : Luis Perea <[EMAIL PROTECTED]>
> À : users@maven.apache.org
> Envoyé le : Mercredi, 18 Octobre 2006, 0h31mn 44s
> Objet : Re: Functional Tests and maven-surefire-report-plugin
> 
> 
> Hi,
> 
> I've got the same problem, when I execute my functional test's with "mvn
> install" everything is OK, my tests run fine, but with "mvn site" neither
> the tests nor the surefire report are generated.
> 
> Have you found any solution for this problem? 
> 
> 
> 
> 
> 
> Christophe DENEUX wrote:
> > 
> > 
> > Hi friends,
> > 
> > It seems that the maven-surefire-report-plugin generates the report only 
> > if the "language" of the "packaging" is "java" (see in source code: 
> > SurefireReportMojo.canGenerateReport).
> > 
> > As described in "Introduction to the Build Lifecycle" 
> > (http://maven..apache.org/guides/introduction/introduction-to-the-lifecycle.html),
> >  
> > I try to create a new packaging (it-java) as a 

> > build extension:
> > - to map executions of maven-compiler-plugin, 
> > maven-resources-plugin, maven-surefire-plugin on the right phases,
> > - to define the language ("java").
> > 
> > I have updated the POM of my functional tests modules to change the 
> > packagin and add the extension.
> > 
> > But the maven-surefire-report-plugin does not recognize the language of 
> > my new packaging. The executions of maven-compiler-plugin, 
> > maven-resources-plugin, maven-surefire-plugin are fine.
> > 
> > Where is my mistake ?
> > 
> > My extension is only composed of the source file 
> > META-INF/plexus/components.xml:
> > 
> >   
> > 
> >   org.apache.maven.artifact.handler.ArtifactHandler
> >   it-java
> >   
> > org.apache.maven.artifact.handler.DefaultArtifactHandler
> >   
> > it-java
> > java
> >   
> > 
> > 
> >   org.apache.maven.lifecycle.mapping.LifecycleMapping
> >   it-java
> >   
> > org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping
> >   
> > 
> >   
> > org.apache.maven.plugins:maven-resources-plugin:testResources
> >   

> > org.apache.maven.plugins:maven-compiler-plugin:testCompile
> >   
> > org.apache.maven.plugins:maven-surefire-plugin:test
> > 
> >   
> > 
> >   
> > 
> > 
> > 
> > Thanks for your help.
> > 

> > 
> > 
> > Christophe DENEUX / Capgemini Sud / Méditerranée

> > Technical Leader
> > Tel: + 33 4 93 72 43 74 / www.capgemini.com
> > Fax: + 33 4 93 21 02 95
> > Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice
> > 
> > Join the Collaborative Business Experience
> > 
> > 
> > 
> > 
> > Christophe DENEUX a écrit :
> >>
> >> Hi all,
> >>
> >> I'm trying to use maven-surefire-report-plugin to have a status on my 
> >> functional tests in the maven generated website.
> >>
> >> I think that i have used a standard way to implement functional tests:
> >>- my functional tests are a module of my project, that is packaged 
> >> as POM (pom).

> >>- I have defined sources directories as src/it/java and 
> >> src/it/resources,
> >>- I have redefined execution for maven-compiler-plugin, 
> >> maven-resources-plugin, maven-surefire-plugin.
> >>
> >> When I launch "m

Re: Customizing Checkstyle Plugin for M2

2006-10-16 Thread Christophe DENEUX


Hi Laetitia,

Have you try your rules with Checkstyle only ? Your error seems to be an 
error on your rules and not an error on the maven plugins configuration.


Christophe DENEUX
Capgemini Sud - Nice

Laetitia Juers wrote:


Oops sorry, you're right ...
=
I need to customize the Checkstyle plugin with some new rules. They are written
in a package and defined in a configuration XML file.

I have follow the M2 recommendations
http://maven.apache.org/plugins/maven-checkstyle-plugin/customize.html.

When i use the mvn checkstyle:checkstyle, i have this M2 error :

[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] An error has occurred in Checkstyle report generation.

Embedded error: Failed during checkstyle configuration
TreeWalker is not allowed as a parent of CheckNJ2EE203
[INFO] 



Thanks for advices.



Selon Rolf Strijdhorst <[EMAIL PROTECTED]>:

 


Sorry,
but what error this is just a link,
I think there went something wrong with your copy-past action

   





--

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 





This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Progress indicators for project management

2006-09-25 Thread Christophe Deneux

Hi all,

I have quickly try maven-qalab-plugin this weekend and I have notice the 
following remarks/issues:
- Unable to run maven-qalab-plugin with Findbugs (No XML report is 
generated by Findbugs)
- I had the PMD, Checkstyle, ... configured in the  section 
to have these report in the generated
website. To have the QALab reports, I must duplicate the PMD, Checkstyle, ... 
configuration in the  section
- AS report by Donnchadh, the history is stored in an XML file.

Is it not possible to have a maven-qalab-plugin as a report plugin, that:
- parse existing XML files generated by Checkstyle, PMD, ... (each of 
them declared in the 
section as usually used)
- merge statistics in a database through JDBC
- generated graphs.

Thanks,
Christophe DENEUX

-- Initial Header ---

>From  : "Benoit Xhenseval" [EMAIL PROTECTED]
To  : [EMAIL PROTECTED],"Maven Users List" users@maven.apache.org
Cc  : 
Date  : Fri, 22 Sep 2006 05:44:03 -0700 (PDT)
Subject : Re: Progress indicators for project management

> Hi Donnchadh,
> 
> First of all, thanks for trying the QALab plugin, he hope you'll find it 
> useful.
> 
> The Maven2 plugin is really more of a beta and I am pleased that we are 
> resuming development on it shortly,
your comments will be taken into account.  I have launched QALab but was not 
involved in the Maven2 plugin.  I
have found Maven2 more complicated than expected when I looked at the way it 
does reports... i.e. no XML/XSL
and using java to write some reports...

> 
> You are right in saying that you question about "inherting" a pom setting is 
> more of a Maven2 question and I
shall let the specialists answer you.
> 
> The idea of qalab storing the data in an xml  was to reduce the dependencies, 
> this XML can be put in
different place; this is something that maven1 and ant users can do easily, we 
will ensure that it is the case
for m2.
> One should note that it is possible to define your own "exporter" and 
> therefore could decide to store the
data in say a database for instance. If there is a demand, we may even provide 
a reference implementation for
that?
> 
> So, in summary: hang in there, give us a few weeks or so to sort it out and 
> we will release QALab v1.0 with
a fully defined maven2 plugin.
> 
> Best regards
> 
> Benoit
> - Original Message 
> From: Donnchadh Ó Donnabháin <[EMAIL PROTECTED]>
> To: Maven Users List 
> Cc: [EMAIL PROTECTED]
> Sent: Thursday, September 21, 2006 6:12:05 PM
> Subject: Re: Progress indicators for project management
> 
> I tried it quicly and came across a few issues (most of which are
> easily dealt with).
> 

> I took the example configuration on the maven2 QALab plugin page
> ( http://qalab.sourceforge.net/maven2/faq.html )
>  and simplified it to just working with PMD. I came across the following 
> issues:
>  * By default PMD doesn't seem to produce an XML report
>  * When the PMD plugin is instructed to produce an XML report it puts
> it in target and the QALab example QALab expects it to be in
> target/pmd.
>  * By Default, the PMD plugin seems to run in the report phase and the
> example runs  in the verify phase
> 
> I got it working in the end with the following configuration
> 
>   
> 
>   
> org.apache.maven.plugins
> maven-pmd-plugin
> 
>   

> pmd
> verify
> 
>   pmd
> 

>   
> 
> 
>   true
>   1.5
>   xml
> 

>   
>   
> net.objectlab
> maven-qalab-plugin
> 2.1
> 
>   

> pmd-merge
> verify
> 
>   merge
> 
> 
>   net.objectlab.qalab.parser.PMDStatMerge
>   
> ${project.build.directory}/pmd.xml
>   
> 
>   
>   
> qalab-movers
> verify
> 
>   movers
> 
> 
>   480
> 
>   
> 
> qalab-chart
> verify
> 
> chart
> 
> 
> false
> 
> 
> 
> 
>   pmd
> 
>   
> 
>   
>   
> 
>   
> net.objectlab
> maven-qalab-plugin
> 2.1
> 
>   
> 
>   report
>   movers-re

Re:Missing checkstyle documentation ?

2006-09-22 Thread Christophe Deneux

Yes, I confirm.

Christophe DENEUX

-- Initial Header ---

>From  : "LAMY Olivier" [EMAIL PROTECTED]
To  : users@maven.apache.org
Cc  : 
Date  : Fri, 22 Sep 2006 09:13:14 +0200
Subject : Missing checkstyle documentation ?

> Hi,
> Do I have a problem with my internet connection or my proxy or I need to
> drink more coffee ;-)
> But the page [1] seems to missing.
>  
> Can someone comfirms this ?
> 
> Thanks, 
>  
> --
> Olivier
> [1]
> http://maven.apache.org/plugins/maven-checkstyle-plugin/checkstyle-mojo.
> html
> 
> 
> This e-mail, any attachments and the information contained therein ("this 
> message") are confidential and
intended solely for the use of the addressee(s). If you have received this 
message in error please send it
back to the sender and delete it. Unauthorized publication, use, dissemination 
or disclosure of this message,
either in whole or in part is strictly prohibited.
> ** 
> Ce message electronique et tous les fichiers joints ainsi que  les 
> informations contenues dans ce message (
ci apres "le message" ), sont confidentiels et destines exclusivement a l'usage 
de la  personne a laquelle ils
sont adresses. Si vous avez recu ce message par erreur, merci  de le renvoyer a 
son emetteur et de le
detruire. Toutes diffusion, publication, totale ou partielle ou divulgation 
sous quelque forme que se soit non
expressement autorisees de ce message, sont interdites.
> ** 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Progress indicators for project management

2006-09-21 Thread Christophe Deneux

Thanks Doug,

I will try QALab. It seems that no Maven2 plugin exists for XRadar.

Christophe

-- Initial Header ---

>From  : "Doug Douglass" [EMAIL PROTECTED]
To  : "Maven Users List" users@maven.apache.org
Cc  : 
Date  : Thu, 21 Sep 2006 08:00:37 -0600
Subject : Re: Progress indicators for project management

> Checkout qalab[1], there's a maven plugin around for it, though I haven't
> used it. Perhaps search the [EMAIL PROTECTED] list archives, I think there 
> was a
> thread over there in the last few weeks regarding the maven reporting API.
> Many people are very, very interested in this type of capability.
> 
> XRadar[2] was another tool name that come to mind.

> 
> Cheers,
> Doug
> 
> [1] http://qalab.sourceforge.net/
> 
> [2] http://xradar.sourceforge.net/
> 
> On 9/21/06, Christophe Deneux <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi all,
> >
> > For project management purpose, I am interesting to have some progress
> > indicators. These indicators are
> > provided by several maven plugins: Checkstyle, PMD, surefire, Findbugs,
> > ... But they are not merged with their
> > values in previous builds to display an historical graph showing the
> > indicators evolution.
> >
> > I have thought about this feature, and I think that:
> > - these indicators should be stored in a database (XML file, Mysql, or
> > ...).
> > - tables should be auto-created by maven plugins
> >
> > What do you think about JFreeChart to generate graphs ?
> > Do you know a simple persistence framework that can create tables ?
> >
> >
> > Christophe DENEUX
> >
> >
> > This message contains information that may be privileged or confidential
> > and is the property of the Capgemini Group. It is intended only for the
> > person to whom it is addressed. If you are not the intended recipient,  you
> > are not authorized to read, print, retain, copy, disseminate,  distribute,
> > or use this message or any part thereof. If you receive this  message in
> > error, please notify the sender immediately and delete all  copies of this
> > message.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re:Database Initialization Prior to Testing

2006-09-21 Thread Christophe Deneux

You can use a Ant task (through the antrun plugin) to use an external SQL client

Christophe

-- Initial Header ---

>From  : [EMAIL PROTECTED]
To  : users@maven.apache.org
Cc  : 
Date  : Thu, 21 Sep 2006 09:56:53 -0400
Subject : Database Initialization Prior to Testing

> 
> I need to clear and initialize a database prior to running our
> integration tests, so I can have a reliable dataset during the test
> cases.  
> 
> Are there any suggestions as to plugins or best practices for managing
> the cleaning and initialization of database contents prior to
> integration testing?
> 
> I've considered, but rejected, DBunit since the dbunit plugin doesn't
> apparently exist for Maven2 and the sql-maven-plugin, which I haven't
> yet rejected but fear the work required to maintain the insert
> statements through evolutionary schema changes.
> 
> I'm running Maven2 against an Oracle database.
> 
> Thanks,
> 
> -jason
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Progress indicators for project management

2006-09-21 Thread Christophe Deneux

Hi all,

For project management purpose, I am interesting to have some progress 
indicators. These indicators are
provided by several maven plugins: Checkstyle, PMD, surefire, Findbugs, ... But 
they are not merged with their
values in previous builds to display an historical graph showing the indicators 
evolution.

I have thought about this feature, and I think that:
 - these indicators should be stored in a database (XML file, Mysql, or ...).
 - tables should be auto-created by maven plugins

What do you think about JFreeChart to generate graphs ?
Do you know a simple persistence framework that can create tables ?


Christophe DENEUX


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Database deployment

2006-09-12 Thread Christophe DENEUX


We plan to use the ant task "exec", and its attribute "os" to manage the 
difference between operating system.
Our projects use an Oracle database, so the "exec" task will execute 
"sqlplus" with a sql script file.


We plan to follow this way during the life of our project:
   a) for the first release (V1), we will use the "exec" ant task to 
drop and create the V1 database schema,
   b) when the V1 will be released, we will export the schema (data and 
DDL) in a dump file
   c) for the next release (V2), according to the possible project 
installation (from scratch, or over the previous version), we will use:
  c1) for "from scratch" case: "exec" ant task to drop and 
create the V2 database schema,
  c2) for "over the previous release" case: "exec" ant task to 
drop, import V1 dump file and migrate from V1 to V2 with the database 
patch script,


Our projects that are planned to use this way, have an manual 
installation procedure (helped by scripts)


____

Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Donnchadh Ó Donnabháin a écrit :
Yes, ours is a continuous integration context too. What ant task do 
you use?


At it's simplest we could execute the mysql command with the DDL script.
I guess what I'm looking for is, what is the standard way of doing
this? I would imagine that a large proportion of of projects using
maven are database-backed, (presumably the majority of web
applications that use maven) so there must be a standard way of
deploying a database schema from a maven build.

Alternatives to getting the build to deploy the schema is to package
the DDL script into the webapp and get it to run it on startup if
necessary.

 Donnchadh

On 9/1/06, Christophe DENEUX <[EMAIL PROTECTED]> wrote:


We are thinking to a solution on a similar problem, but in a contionuous
integration context.
Our solution should be the following:
- on the pre-integration-tests phase, execute the following tasks
through the maven-antrun-plugin:
  1 - drop all tables in your database
  2 - import a database corresponding to the previous version of
your webapp
  3 - run sql scripts to update the database schema.
- on the integration-test phase, execute your jWebUnit tests

I think that to use the setup methods of the test-cases to initialize
the database schema is not a good idea because you will probably update
your testcases in the next release of your webapp.

We use profiles to deploy on different QA environments.

 



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience
 





Donnchadh Ó Donnabháin a écrit :
> Hi everyone,
>
> I'm using the cargo plugin to deploy a webapp to tomcat. This webapp
> depends on a database and I would like run a SQL script to deploy the
> updated schema before deploying the webapp. What is the best approach
> to this? Is there a plugin to facilitate this?
>
> Once I have this working I would like to perform integration tests
> (probably using jWebUnit and htmlunit) and if they succeed, deploy the
> webapp to another context to provide feedback to the client
>
>  Donnchadh
>
> -






-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Building Native Classes and library.

2006-09-12 Thread Christophe DENEUX


Hi Luis,

I think that your project organization is incorrect because you have a 
circular dependence: your source code needs the JNI lib (example: for 
runtime or testing purpose), and your library needs the java source code 
to generate header files.


If you use a multi-modules project with the following dependencies, that 
works fine (I use this decomposition):

   - java-api
 |
 |---java-native
 |
 |---lib-native



with:
- java-api: the module containing all java classes that calls the 
JNI layer (the Java class containing the native methods is not included 
in this module)
- java-native: the module containing all java classes that contain 
only native methods

- lib-native: the DLL or .SO source code

dependencies:
   - java-api depends of java-native and lib-native, so it will build 
in last position

   - lib-native depends of java-native, so it will build in second position
   - java-native has no dependence, so it will be build in first
   




Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Luís Soares a écrit :

Hello all,
  I am trying to build native classes with maven2 but there is an issue when 
calling javah. 


  The things should happen in the following order:

i) Build the java source classes that have calls to JNI.
   ii) Dump the class files into target/classes
  iii) Using the "native-maven-plugin" call "javah" to generate the header 
files. This needs the just compiled classes in target/classes in the 
classpath

   iv) Compile the C source files and create the library.

The problem is that the compiled classes are not available in the classpath 
when javah is called. Is there a way to do this without making use of an ant 
task?


How can I change the classpath when runnig the native-maven-plugin in order 
for the javah be called with -classpath $CLASSPATH:

${project.build.directory}/classes ?

If this is trivial, my apologies, but I have just started using maven.

Thanks.

  



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: site generation during build

2006-09-11 Thread Christophe DENEUX


No, The goals should be then   "clean install site site:deploy" (without 
",")


________

Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Jeff Mutonho a écrit :

On 9/11/06, Christophe DENEUX <[EMAIL PROTECTED]> wrote:



Hi Jeff,

In continuum, add the target "site:deploy" to your build definition,
goals section



The current goal defined for the project is "clean install" .Should the
goals be then   "clean install ,site:deploy"?




Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042




This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: site generation during build

2006-09-11 Thread Christophe DENEUX


Hi Jeff,

In continuum, add the target "site:deploy" to your build definition, 
goals section




Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Jeff Mutonho a écrit :

My top level pom has a  section that has configurations for
maven-surefire-report-plugin
maven-jxr-plugin
maven-javadoc-plugin

---
---etc


My builds are handled by Continuum.In order to deploy my project 
website I

have to manually do  a "mvn site-deploy" from the command line .How can I
get the reports to be generated and then deployed  during a Continuum 
build?






This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Build strategy help

2006-09-08 Thread Christophe DENEUX


Hi Jeff,

The following should work:
   - In the branched project, update your pom with the scm url 
corresponding to your branch,

   - In continuum, add a new project corresponding to your branch.
   




Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Jeff Mutonho a écrit :

Background.
=
We're going to be doing a release of  version 1 of our application, but
we're already doing pre-dev for version 2.The version 1 release is 
going to
sit on a branch in cvs and all bug fixes for that version will be 
committed
to that branch.All rebuilds with the bug fixes will be done off that 
branch.

Version 2 development will carry on the HEAD in cvs.

The Problem
=
Currently version 1 code is still on the HEAD continuum checks out all 
the

code from there.Now when we create  brach for version 1 and start dev for
version 2 on the HEAD , I wish to be able to still run builds , both 
for the

version 1 branch and the version 2(on the HEAD).Is it possible to setup
maven profiles that both get invoked to build the branch and the head 
code
bases simultaneously? How would you go about setting this up?Or is it 
just
easier to setup the two as two different projects, as one would 
normally do

with eg project A and project B?




This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re:Where to put native libraries so maven can find them?

2006-09-07 Thread Christophe Deneux

Hi Dave,

You can configure the surefire plugin to update the system path to add the 
output directory. Here an example
for Windows:

  
 ${basedir}\target;${java.library.path}
  


Christophe DENEUX
Capgemini Sud - PACA - Nice


-- Initial Header ---

>From  : "Dave Hoffer" [EMAIL PROTECTED]
To  : "Maven Users List" users@maven.apache.org
Cc  : 
Date  : Wed, 6 Sep 2006 15:58:51 -0400
Subject : Where to put native libraries so maven can find them?

> Does the maven directory structure specify where native libraries (DLL)
> should be located so, for example, the surefire plugin can find them?
> If not, how can I specify in my pom where these are?
> 
>  
> 
> -dh
> 
> 


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [m2] jspc-maven-plugin - Problems

2006-09-01 Thread Christophe DENEUX


Try to add the following dependencies to your POM:
   
 javax.servlet
 jsp-api
 2.0
 
 
 tomcat
 jasper-runtime
 5.5.15
   



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




ben short a écrit :

I'll log it right away.

Thank for your help.

Ben

On 9/1/06, Jacek Laskowski <[EMAIL PROTECTED]> wrote:

On 9/1/06, ben short <[EMAIL PROTECTED]> wrote:
> Ok,
>
> I set the version to 1.4.2 and it works ok.
>
> Heres the output for mvn -X compile...

I wonder whether it pertains to the window long path issue and the
spaces in your project path. Anyway, would you mind reporting an issue
and put it in the jspc plugin category? I know that 1.4.5 is about to
be out, but since it's not been working for you, it's good to let them
know about it so they fix it before. It's driving Geronimo devs crazy
and any help's greatly appreciated.

Attach the output, too.

Jacek

--
Jacek Laskowski
http://www.laskowski.net.pl

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Database deployment

2006-09-01 Thread Christophe DENEUX


We are thinking to a solution on a similar problem, but in a contionuous 
integration context.

Our solution should be the following:
   - on the pre-integration-tests phase, execute the following tasks 
through the maven-antrun-plugin:

 1 - drop all tables in your database
 2 - import a database corresponding to the previous version of 
your webapp

 3 - run sql scripts to update the database schema.
   - on the integration-test phase, execute your jWebUnit tests

I think that to use the setup methods of the test-cases to initialize 
the database schema is not a good idea because you will probably update 
your testcases in the next release of your webapp.


We use profiles to deploy on different QA environments.



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Donnchadh Ó Donnabháin a écrit :

Hi everyone,

I'm using the cargo plugin to deploy a webapp to tomcat. This webapp
depends on a database and I would like run a SQL script to deploy the
updated schema before deploying the webapp. What is the best approach
to this? Is there a plugin to facilitate this?

Once I have this working I would like to perform integration tests
(probably using jWebUnit and htmlunit) and if they succeed, deploy the
webapp to another context to provide feedback to the client

 Donnchadh

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Integration Testing

2006-08-31 Thread Christophe DENEUX


Hi,

We have also the same mechanism that the one described by Joe. Moreover, 
the functional tests are associated to a specific profile to be executed 
only if asked. We use jWebUnit to write our webapp tests cases.


To use this mechanism with 3 different QA environments, you can use the 
Maven2 profile feature: in the M2_HOME/conf/settings.xml, define 3 
profiles that are trigged by a variable as -Denv=env1 (or env2, env3). 
To automate all this, you can declare 3 builds (one for each QA 
environment) in your continuous integration server (for example, Continuum).




Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Heck, Joe a écrit :

We have several different mechanisms running - but most of them are
honestly manual. The automated solution that one of our teams have come
up and and stuck with is the following:

1) set up a multi-module maven2 project, with one of those modules being
a functional test suite, another the WAR that we're pushing and banging
on.
2) using cargo, we deploy the WAR produced to an instance of Tomcat
running on an available and preset QA machine.
3) We invoke the functional tests (primarily httpunit stuff) locally.

The "how to" for the separate functional test module setup was on this
earlier - the big pieces to note being that the functional test module
is set with POM packaging, and then plugins manually bound to the
various steps (in this case, the maven-surefire-plugin bound to the
integration-test phase and the cargo plugin bound to the
"pre-integration-test" phase)

We've additionally set it up so that functional tests are only included
with a specific profile (originally named "functional-tests") so that
your personal builds will invoke them only when desired.

Anything much more complex than this, and I think we'd need to reach out
of maven with a custom AntTask bound in there to do setup/teardown kinds
of work.

-joe

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Ruel Loehr
Sent: Wednesday, August 30, 2006 1:33 PM
To: Maven Users List
Subject: Integration Testing

I'd like to query the community and see how you guys are handling 
integration testing in real world environments.


I've looked through the list and the Better builds book, but didn't like
what I saw..

Here is the use case:

Use Case A:

A user has a project which builds a war.   For integration testing the
war needs to be deployed in an app server.  
The process will be to startup the app server, deploy the war, run unit

tests, stop the app server.

Here is the gotcha.

App servers can have many configurations.   In this case, we would like
to test the functionality of this war on three different app server
configurations. Use case A would need to be executed 3 times
automatically, each time with a different server configuration.

Assuming I already know how to modify the appserver configs, any
suggestions on how the repeated execution of this use could be achived
in scalable fashion (e.g. if I have 25 server configurations my build
file won't be a nightmare to maintain).

In ant, it's pretty simple as I can just string together targets until
my heart is content.  With maven, I feel I am imprisoned by the
lifecycle in this case.



Ruel Loehr
JBoss, a division of Red Hat
QA
 



  



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Building C, C++ projects with Maven

2006-08-28 Thread Christophe DENEUX


Hi Roman,

For C/C++ project, you can try the native-maven-plugin: 
http://mojo.codehaus.org/maven-native/native-maven-plugin/.

Perhaps it can work for delphi project.



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Roman Gelfand a écrit :

Hello all,

I'm new in Maven 2.
So, I would be very grateful if you let me know how can I build 
my C, C++, and Borland Delphi projects with Maven.


What are plugins I have to use for these purposes, and 
how pom.xml file should look for these projects?


Thank you in advance,

Roman 


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

  



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Maven and Selenium?

2006-08-09 Thread Christophe DENEUX


The 2.x site has been published.



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Wim Deblauwe a écrit :

I have no experience with other web test frameworks, but it looks nice
looking at the quick start. The link to the 2.x site does not work
currently, better fix this.

regards,

Wim

2006/8/2, Christophe DENEUX <[EMAIL PROTECTED]>:



Hi Daniel,

Some advantages of using jWebUnit to test a web application are:
- easier test case writing,
- faster test case running,
- No graphic server is needed with the engine "htmlunit", so the
integration into a continuous integration system is easier (no browser
is needed),
- Soon, you will use an engine for Selenium to run your tests
directly in your browser.

jWebUnit home: http://jwebunit.sourceforge.net


____ 



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience

 





Daniel Serodio a écrit :
> Christophe DENEUX wrote:
>
>> Hi ,
>>
>> A snapshot repository is available at: http://maven.openqa.org/
>>
>> Have you try jWebUnit (http://jwebunit.sourceforge.net/index.html)
>> instead of Selenium for your functional tests? With jWebUnit, you can
>> run your tests with different engines as htmlunit or Selenium (the
>> Selenium engine is available trough SVN). You will use the htmlunit
>> engine to execute your tests in a background mode (continuous
>> integration) and the selenium engine in a visual mode.
>>
> It's been a while since I looked at jWebUnit, and I'm currently using
> Selenium; what is the advantage of using jWebUnit as you describe
> instead of using Selenium directly? Do you have an URL with more 
info on

> the subject?
>
> TIA,
> Daniel Serodio
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended 
recipient,  you
are not authorized to read, print, retain, copy, disseminate,  
distribute,

or use this message or any part thereof. If you receive this  message in
error, please notify the sender immediately and delete all  copies of 
this

message.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re:AW: [m2] eclipse attached sources for snapshot builds

2006-08-07 Thread Christophe Deneux

Sorry, but i don't known how to switch off the javadoc generation.

Christophe

-- Initial Header ---

>From  : [EMAIL PROTECTED]
To  : users@maven.apache.org
Cc  : 
Date  : Mon, 7 Aug 2006 17:34:07 +0200
Subject : AW: [m2] eclipse attached sources for snapshot builds

> great, that's it!
> 
> But now the javadoc source is also generated, is it possible to switsh it off?
> 
> the javadoc location in eclispse is not updated ;-(
> 
> Fredy
> 
> 
> 
> -Ursprüngliche Nachricht-
> Von: Christophe Deneux [mailto:[EMAIL PROTECTED]
> Gesendet: Montag, 7. August 2006 15:38
> An: users
> Betreff: Re:[m2] eclipse attached sources for snapshot builds
> 
> 
> 
> Hi,
> 
> I think that "-DperformRelease=true" will solve your problem.
> 
> 
> Christophe
> 
> -- Initial Header ---
> 
> >From  : [EMAIL PROTECTED]
> To  : users@maven.apache.org
> Cc  : 
> Date  : Mon, 7 Aug 2006 09:17:58 +0200
> Subject : [m2] eclipse attached sources for snapshot builds
> 
> > Hey,
> > if i have released an artifact, so there is a ...sources.jar in my 
> > releaseRepository that will be downloaded in my local repository. The goal 
> > eclipse:eclipse add's this jar as attached Source to the eclipse build path.
> > 
> > But if I install a snapshot, the sources wont't be in the eclipse build 
> > path.

> > 
> 
> > Is there any solution for this problem? Has somebody the same problem?
> 
> > 
> > Fredy
> >  
> > 
> > Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus 
> > einer Hand. Informieren Sie sich über unsere Produkte unter 
> > 
> > www.kabeldeutschland.de
> >  
> > Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich 
> > geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, 
> > benachrichtigen Sie bitte den Absender und vernichten Sie anschließend 
> > diese Mail und die Anlagen.
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> 
> 
> This message contains information that may be privileged or confidential and 
> is the property of the Capgemini Group. It is intended only for the person to 
> whom it is addressed. If you are not the intended recipient,  you are not 
> authorized to read, print, retain, copy, disseminate,  distribute, or use 
> this message or any part thereof. If you receive this  message in error, 
> please notify the sender immediately and delete all  copies of this message.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]

> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>   

>  
> 
> Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer 
> Hand. Informieren Sie sich über unsere Produkte unter 

> 
> www.kabeldeutschland.de
>  
> Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich 
> geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, 
> benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese 
> Mail und die Anlagen.
> 

> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re:[m2] eclipse attached sources for snapshot builds

2006-08-07 Thread Christophe Deneux

Hi,

I think that "-DperformRelease=true" will solve your problem.


Christophe

-- Initial Header ---

>From  : [EMAIL PROTECTED]
To  : users@maven.apache.org
Cc  : 
Date  : Mon, 7 Aug 2006 09:17:58 +0200
Subject : [m2] eclipse attached sources for snapshot builds

> Hey,
> if i have released an artifact, so there is a ...sources.jar in my 
> releaseRepository that will be downloaded in my local repository. The goal 
> eclipse:eclipse add's this jar as attached Source to the eclipse build path.
> 
> But if I install a snapshot, the sources wont't be in the eclipse build path.
> 

> Is there any solution for this problem? Has somebody the same problem?

> 
> Fredy
>  
> 
> Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer 
> Hand. Informieren Sie sich über unsere Produkte unter 
> 
> www.kabeldeutschland.de
>  
> Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich 
> geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, 
> benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese 
> Mail und die Anlagen.
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven and Selenium?

2006-08-02 Thread Christophe DENEUX


Right, the 2.x website is not deployed yet.

jWebUnit is a young and promissing project.



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Wim Deblauwe a écrit :

I have no experience with other web test frameworks, but it looks nice
looking at the quick start. The link to the 2.x site does not work
currently, better fix this.

regards,

Wim

2006/8/2, Christophe DENEUX <[EMAIL PROTECTED]>:



Hi Daniel,

Some advantages of using jWebUnit to test a web application are:
- easier test case writing,
- faster test case running,
- No graphic server is needed with the engine "htmlunit", so the
integration into a continuous integration system is easier (no browser
is needed),
- Soon, you will use an engine for Selenium to run your tests
directly in your browser.

jWebUnit home: http://jwebunit.sourceforge.net


____ 



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience

 





Daniel Serodio a écrit :
> Christophe DENEUX wrote:
>
>> Hi ,
>>
>> A snapshot repository is available at: http://maven.openqa.org/
>>
>> Have you try jWebUnit (http://jwebunit.sourceforge.net/index.html)
>> instead of Selenium for your functional tests? With jWebUnit, you can
>> run your tests with different engines as htmlunit or Selenium (the
>> Selenium engine is available trough SVN). You will use the htmlunit
>> engine to execute your tests in a background mode (continuous
>> integration) and the selenium engine in a visual mode.
>>
> It's been a while since I looked at jWebUnit, and I'm currently using
> Selenium; what is the advantage of using jWebUnit as you describe
> instead of using Selenium directly? Do you have an URL with more 
info on

> the subject?
>
> TIA,
> Daniel Serodio
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended 
recipient,  you
are not authorized to read, print, retain, copy, disseminate,  
distribute,

or use this message or any part thereof. If you receive this  message in
error, please notify the sender immediately and delete all  copies of 
this

message.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Maven and Selenium?

2006-08-02 Thread Christophe DENEUX


Hi Daniel,

Some advantages of using jWebUnit to test a web application are:
   - easier test case writing,
   - faster test case running,
   - No graphic server is needed with the engine "htmlunit", so the 
integration into a continuous integration system is easier (no browser 
is needed),
   - Soon, you will use an engine for Selenium to run your tests 
directly in your browser.


jWebUnit home: http://jwebunit.sourceforge.net



Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Daniel Serodio a écrit :

Christophe DENEUX wrote:
  

Hi ,

A snapshot repository is available at: http://maven.openqa.org/

Have you try jWebUnit (http://jwebunit.sourceforge.net/index.html)
instead of Selenium for your functional tests? With jWebUnit, you can
run your tests with different engines as htmlunit or Selenium (the
Selenium engine is available trough SVN). You will use the htmlunit
engine to execute your tests in a background mode (continuous
integration) and the selenium engine in a visual mode.


It's been a while since I looked at jWebUnit, and I'm currently using
Selenium; what is the advantage of using jWebUnit as you describe
instead of using Selenium directly? Do you have an URL with more info on
the subject?

TIA,
Daniel Serodio


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
  



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Maven and Selenium?

2006-08-01 Thread Christophe DENEUX


Hi ,

A snapshot repository is available at: http://maven.openqa.org/

Have you try jWebUnit (http://jwebunit.sourceforge.net/index.html) 
instead of Selenium for your functional tests? With jWebUnit, you can 
run your tests with different engines as htmlunit or Selenium (the 
Selenium engine is available trough SVN). You will use the htmlunit 
engine to execute your tests in a background mode (continuous 
integration) and the selenium engine in a visual mode.




Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience




Wendy Smoak a écrit :

Is anyone using Selenium for functional testing of webapps?  After
hearing about it a while ago, I finally had a chance to see it in
action at a NFJS show last weekend.  Of course, the first order of
business was getting it to work with a Maven build.

Selenium is not in a Maven repository that I could find, so I
installed the zip in my local repository with mvn install:install-file
... -Dpackaging=zip.

I added a profile which uses dependency-maven-plugin to unzip the
Selenium distribution under 'target', and maven-antrun-plugin to copy
both the selenium 'core' directory and my src/test/selenium folder
containing the tests into the webapp.

The pom with the configuration (profile id=selenium) is here:
  
http://svn.apache.org/repos/asf/shale/framework/trunk/shale-apps/pom.xml


(That pom also has the Cargo plugin configuration which starts Tomcat
and deploys the app.)

More information on installation and how to run the tests for Shale
Mailreader can be found here:
  http://shale.apache.org/shale-apps/selenium.html

Suggestions and questions are welcome. :)  I didn't find anything in
the archives, but I can't possibly be the first one to do this...




This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Functional Tests and maven-surefire-report-plugin

2006-07-28 Thread Christophe DENEUX


Hi friends,

It seems that the maven-surefire-report-plugin generates the report only 
if the "language" of the "packaging" is "java" (see in source code: 
SurefireReportMojo.canGenerateReport).


As described in "Introduction to the Build Lifecycle" 
(http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html), 
I try to create a new packaging (it-java) as a 
build extension:
   - to map executions of maven-compiler-plugin, 
maven-resources-plugin, maven-surefire-plugin on the right phases,

   - to define the language ("java").

I have updated the POM of my functional tests modules to change the 
packagin and add the extension.


But the maven-surefire-report-plugin does not recognize the language of 
my new packaging. The executions of maven-compiler-plugin, 
maven-resources-plugin, maven-surefire-plugin are fine.


Where is my mistake ?

My extension is only composed of the source file 
META-INF/plexus/components.xml:


 
   
 org.apache.maven.artifact.handler.ArtifactHandler
 it-java
 
org.apache.maven.artifact.handler.DefaultArtifactHandler

 
   it-java
   java
 
   
   
 org.apache.maven.lifecycle.mapping.LifecycleMapping
 it-java
 
org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping

 
   
 
org.apache.maven.plugins:maven-resources-plugin:testResources
 
org.apache.maven.plugins:maven-compiler-plugin:testCompile
 
org.apache.maven.plugins:maven-surefire-plugin:test

   
 
   
 



Thanks for your help.

________

Christophe DENEUX / Capgemini Sud / Méditerranée
Technical Leader
Tel: + 33 4 93 72 43 74 / www.capgemini.com
Fax: + 33 4 93 21 02 95
Porte de l'Arénas - Entrée B / 455 Promenade des Anglais / 06200 Nice

Join the Collaborative Business Experience
________



Christophe DENEUX a écrit :


Hi all,

I'm trying to use maven-surefire-report-plugin to have a status on my 
functional tests in the maven generated website.


I think that i have used a standard way to implement functional tests:
   - my functional tests are a module of my project, that is packaged 
as POM (pom).
   - I have defined sources directories as src/it/java and 
src/it/resources,
   - I have redefined execution for maven-compiler-plugin, 
maven-resources-plugin, maven-surefire-plugin.


When I launch "mvn clean integration-test site site:deploy", the 
surefire report is not generated during site generation, but my 
functional tests are executed.

Here after, the POM of my functional module and execution traces.

Any idea ?

Thanks,
Christophe DENEUX


--



http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd";>
   
   ...
   ...
   ...
   
   4.0.0
   functional-tests
   ...
   pom
 
   ...
   
 
   src/it/java
   
   
   ${basedir}/src/it/resources
   
   
   
   
   org.apache.maven.plugins
   maven-compiler-plugin
   
   
   
   testCompile
   
   
   
   
 
   org.apache.maven.plugins
   maven-resources-plugin
   
   
   
   testResources
   
   
   
   
 
   org.apache.maven.plugins
   maven-surefire-plugin
   
   true
   
   
   
   integration-test
   
   test
   
   
   
   
   
   
 
   
   ...
   
   org.apache.maven.plugins
   maven-surefire-report-plugin
   
   ...
   
   org.apache.maven.plugins
   maven-project-info-reports-plugin
   
   
   


---
[INFO] [clean:clean]
[INFO] Deleting directory C:\Documents and Settings\cdeneux\Mes 
documents\Alc...
[INFO] Deleting directory C:\Documents and Settings\cdeneux\Mes 
documents\Alc...
[INFO] Deleting directory C:\Documents and Settings\cdeneux\Mes 
documents\Alc...

[INFO] [resources:testResources {execution: default}]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile {e

Functional Tests and maven-surefire-report-plugin

2006-07-24 Thread Christophe DENEUX


Hi all,

I'm trying to use maven-surefire-report-plugin to have a status on my 
functional tests in the maven generated website.


I think that i have used a standard way to implement functional tests:
   - my functional tests are a module of my project, that is packaged 
as POM (pom).
   - I have defined sources directories as src/it/java and 
src/it/resources,
   - I have redefined execution for maven-compiler-plugin, 
maven-resources-plugin, maven-surefire-plugin.


When I launch "mvn clean integration-test site site:deploy", the 
surefire report is not generated during site generation, but my 
functional tests are executed.

Here after, the POM of my functional module and execution traces.

Any idea ?

Thanks,
Christophe DENEUX


--



http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/maven-v4_0_0.xsd";>
   
   ...
   ...
   ...
   
   4.0.0
   functional-tests
   ...
   pom
  
   

   ...
   
  
   

   src/it/java
   
   
   ${basedir}/src/it/resources
   
   
   
   
   org.apache.maven.plugins
   maven-compiler-plugin
   
   
   
   testCompile
   
   
   
   
  
   

   org.apache.maven.plugins
   maven-resources-plugin
   
   
   
   testResources
   
   
   
   
  
   

   org.apache.maven.plugins
   maven-surefire-plugin
   
   true
   
   
   
   integration-test
   
   test
   
   
   
   
   
   
  
   

   
   ...
   
   org.apache.maven.plugins
   maven-surefire-report-plugin
   
   ...
   
   org.apache.maven.plugins
   maven-project-info-reports-plugin
   
   
   


---
[INFO] [clean:clean]
[INFO] Deleting directory C:\Documents and Settings\cdeneux\Mes 
documents\Alc...
[INFO] Deleting directory C:\Documents and Settings\cdeneux\Mes 
documents\Alc...
[INFO] Deleting directory C:\Documents and Settings\cdeneux\Mes 
documents\Alc...

[INFO] [resources:testResources {execution: default}]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile {execution: default}]
Compiling 1 source file to C:\Documents and Settings\cdeneux\Mes 
documents\Al...

[INFO] [site:attach-descriptor]
[INFO] [surefire:test {execution: default}]
[INFO] Surefire report directory: C:\Documents and Settings\cdeneux\Mes 
docum...


---
T E S T S
---
<<..>>
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 14.985 
sec <<< FAILURE!


Results :
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[ERROR] There are test failures.
[INFO] Preparing surefire-report:report
[INFO] [resources:testResources {execution: default}]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile {execution: default}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [site:site]
[WARNING] Unable to load parent project from repository: Could not find 
the model file '

[INFO] Generate "Continuous Integration" report.
[INFO] Generate "Dependencies" report.
[INFO] Generate "Dependency Convergence" report.
[INFO] Generate "Issue Tracking" report.





This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re:Setting up complex webapp

2006-04-10 Thread Christophe Deneux

Hi Julien,

Have you try to use the following dependencies mechanism:

  - a war "Framework" depending on a jar "Framework"
  - a jar "ISF" depending on the jar "Framework"
  - a war "ISF" depending on the jar "ISF" and the war "Framework".

Christophe

-- Initial Header ---

>From  : "Julien Henry" [EMAIL PROTECTED]
To  : users@maven.apache.org
Cc  :
Date  : Mon, 10 Apr 2006 16:11:28 +0200
Subject : Setting up complex webapp

>
> Hi,
>

> I'm trying to make an existing complexe web application working with

> Maven 2. The first module is called "Framework". It contains java
> classes, JSP, xml, ... but it's not a webapp by itself. There are many

> applications based on this framework. Currently, I'm just focussed on a
> simple one. This application, called "ISF", contains classes, JSP, 
> ISF classes depend on Framework classes.
> Today, deployment is done by Ant scripts. Java part of the framework is
> store in a Jar file.. Java part of ISF is store in a Jar too. And
> finally, all JSPs and other stuff are copied in the server directory.
>
> I tried different solution to make it working with Maven:
> - I tried to build a JAR of Framework, and to build a WAR of ISF, with
> Framework as dependency. But Framework JSP are finally in the JAR,
> instead of being in the root of the final WAR.
> - I tried to build a WAR of Framework, and to build a war of ISF, with
> Framework as dependency. But compile of ISF failed, since ISF classes
> need Framework classes.
>
> I'm a bit lost in the Maven world, and if someone could give me some tips...
>
> Thanks

>
> --
>
> _
>
> Julien HENRY | **Capgemini Sud **| Nice
>
> www.fr.capgemini.com 
>
> Porte de l´Arénas - Entrée B | 455 Promenade des Anglais | 06200 Nice
>
> **Join the Collaborative Business Experience **
> _
>
>
> This message contains information that may be privileged or confidential and 
> is the property of the Capgemini Group. It is intended only for the person to 
> whom it is addressed. If you are not the intended recipient,  you are not 
> authorized to read, print, retain, copy, disseminate,  distribute, or use 
> this message or any part thereof. If you receive this  message in error, 
> please notify the sender immediately and delete all  copies of this message.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]

> For additional commands, e-mail: [EMAIL PROTECTED]
>


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Maven directory structure

2006-03-23 Thread Christophe DENEUX



I your project is not under SCM today, you can directly move directories 
before to commit under your SCM: CVS, SVN or VSS.


If you want to import your project into VSS before to move directories, 
verify if VSS can keep history during moving.



FYI: You can use vss2svn to migrate from VSS to SVN. I have never use it.



Christophe

raja bangaru a écrit :

But i'm intended to use VSS

Will it be fine?

On 3/23/06, Christophe DENEUX <[EMAIL PROTECTED]> wrote:
  

Raja,

I think that the maven directory structure is better.
But, if you use CVS as SCM, you must migrate to SVN before to move your
directories, otherwise you will loose the CVS history. Use cvs2svn to
migrate from CVS to SVN, it works fine.


Christophe

raja bangaru a écrit :


My project which is build in ant does'nt use maven standard directory
structure

src/main/java   java source files
src/test/java -   java test files

Now i want to migrate to maven

Which way of directory structure is bettter?

moving my files to the above directory structure?
   OR
change my POM ?

Help me pls


  

This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended recipient,  you
are not authorized to read, print, retain, copy, disseminate,  distribute,
or use this message or any part thereof. If you receive this  message in
error, please notify the sender immediately and delete all  copies of this
message.



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





  



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Maven directory structure

2006-03-23 Thread Christophe DENEUX


Raja,

I think that the maven directory structure is better.
But, if you use CVS as SCM, you must migrate to SVN before to move your 
directories, otherwise you will loose the CVS history. Use cvs2svn to 
migrate from CVS to SVN, it works fine.



Christophe

raja bangaru a écrit :

My project which is build in ant does'nt use maven standard directory
structure

src/main/java   java source files
src/test/java -   java test files

Now i want to migrate to maven

Which way of directory structure is bettter?

moving my files to the above directory structure?
   OR
change my POM ?

Help me pls

  



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: "mvn site:stage" does not create xref as "mvn site

2006-03-14 Thread Christophe DENEUX


Yes, I have the same problem. I have found no solution.

Christophe

Rik Bosman a écrit :

To All,

Generating a site using site:stage does not generate any xref report as "mvn
site" does.
Does someone has the same problems?

mvn 2.0.2
jxr 2.0-beta-1

Rik

  



This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] maven-war-plugin and Apache Beehive

2005-12-08 Thread Christophe DENEUX


I have try unsuccessfully several different configurations.
How can I add a source file in the war ?




Allan Ramirez wrote:

Please refer to this page 
http://maven.apache.org/plugins/maven-war-plugin/war-mojo.html

You can see here all the configurable properties of the maven-war-plugin.

Allan Ramirez wrote:


Ahhh... sorry, I think jpf stands for java package folder :D

Allan Ramirez wrote:


Hi there,

Is the jpf a java packagename or just a resource folder?

-allan

Christophe DENEUX wrote:



Hi All,

I try to package a webapp as a war file using maven-war-plugin.
My webapp is based on Apache Beehive.

I not able to add my pageflows (Controller*.java) in the war file 
(under /jpf).


I have the following project structure:
  - pom.xml
  + src
 + main
+ java
   + jpf
   - Controller*.java
+ webapp


What is the maven-war-plugin configuration to use ?

Thanks
Christophe


This message contains information that may be privileged or 
confidential and is the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are 
not the intended recipient,  you are not authorized to read, print, 
retain, copy, disseminate,  distribute, or use this message or any 
part thereof. If you receive this  message in error, please notify 
the sender immediately and delete all  copies of this message.


 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 






No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 
12/7/2005
 



 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 



No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 
12/7/2005
 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 
12/7/2005
 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] maven-war-plugin and Apache Beehive

2005-12-08 Thread Christophe DENEUX


Hi Allan

On the Java source side, "jpf" is a package name,
On the war side, "jpf" is used as servlet mapping


Christophe

Allan Ramirez wrote:


Hi there,

Is the jpf a java packagename or just a resource folder?

-allan

Christophe DENEUX wrote:



Hi All,

I try to package a webapp as a war file using maven-war-plugin.
My webapp is based on Apache Beehive.

I not able to add my pageflows (Controller*.java) in the war file 
(under /jpf).


I have the following project structure:
  - pom.xml
  + src
 + main
+ java
   + jpf
   - Controller*.java
+ webapp


What is the maven-war-plugin configuration to use ?

Thanks
Christophe


This message contains information that may be privileged or 
confidential and is the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not 
the intended recipient,  you are not authorized to read, print, 
retain, copy, disseminate,  distribute, or use this message or any 
part thereof. If you receive this  message in error, please notify 
the sender immediately and delete all  copies of this message.







-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.13.12/194 - Release Date: 
12/7/2005
 





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

[m2] maven-war-plugin and Apache Beehive

2005-12-08 Thread Christophe DENEUX


Hi All,

I try to package a webapp as a war file using maven-war-plugin.
My webapp is based on Apache Beehive.

I not able to add my pageflows (Controller*.java) in the war file (under 
/jpf).


I have the following project structure:
  - pom.xml
  + src
 + main
+ java
   + jpf
   - Controller*.java
+ webapp


What is the maven-war-plugin configuration to use ?

Thanks
Christophe


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: shared web components

2005-11-30 Thread Christophe DENEUX


Hi Nathan,

I have the same project organization and I am thinking about this problem.

My first thoughts are:
   - The project containing JSPs, CSS, HTML, images must be packaged as 
a zip file:



  ...
  com.mysociety.globalproject
  website.layout.blue
  1.0
  zip
  ...



   - The webapp project contains the previous zip as dependence, and a 
plugin will unzip during the "generate-source" phase, with something like:



  ...
  

  
org.apache.maven.plugins
maven-unzipper-plugin

  

  com.mysociety.globalproject
  website.layout.blue
  1.0

  


  

  generate

  

  

  
  ...




I think that the "unzipper" plug-in does not exist and must be develop.

What do you think about this solution ?

Cheers,
Christophe DENEUX


I think that nothing can help us

Nathan Coast wrote:


Hi,

Is there a plugin for M1.1 or M2 which handles artifacts that may be 
used by more than one webapp.


e.g. I may have a project that contains web artifacts: jsps, css, 
html, images, js, etc.  May also contain java classes, tlds etc.  I 
wish to use these components within other webapps.


When including within other webapps, the web artifacts would be copied 
to the target webapp directory and any classes could be included in a 
jar within the WEB-INF/lib directory.


Does such a plugin exist? or is there one in the pipeline?

The functionality is a more generalised version of the 
maven-struts-module-plugin developed to include pre-built 
struts-modules within other struts webapps.


http://www.codeczar.com/products/maven-struts-module-plugin/index.html

cheers
Nathan

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] site.xml reference

2005-11-18 Thread Christophe DENEUX


Hi Robert,

As written in http://maven.apache.org/guides/mini/guide-site.html, 
site.xml is the renamed file "navigation.xml" of the Maven 1.


Christophe

Robert Erler wrote:


i've found a reference for the pom.xml at
http://maven.apache.org/maven-model/maven.html

is there something similar for site.xml?
because the short example in "Guide to creating a site" does not contain
very much info

 





This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: SSH executable

2005-11-17 Thread Christophe DENEUX


Hi,

Have you try 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:

   
 my.server
 me
 E:\.ssh\id_dsa
 
   "C:\Archivos de programa\PuTTY\plink.exe"
 
   

As you may see, I have some spaces in the path to the plink
executable. I've tried to surround it with ", " (as shown) with
no success, I keep getting the usual message you get when you use a
path with spaces in MSDOS and you don't surround it with double
quotes... any ideas (other than the obvious add plink to the PATH)?

Antoher question... is there any way to specify this setting in a
global manner? I have several servers defined and I must copy/paste
this to each of them.

TIA, best regards
Jose

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

 





This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [m2] How to exclude goal from a phase of the standard life-cycle ?

2005-11-09 Thread Christophe DENEUX


If I can't exclude a goal from a phase, is it possible to use a specific plugin 
configuration for a phase ?

I have try the following configuration in the pom.xml of my module, but it does 
not work:

...

...


org.apache.maven.plugins
maven-surefire-plugin


package

true


test






...



I have also try to use "profile" in my super pom.xml as follwing, but it does 
not seem to work:

...


dailybuild-profile


performDailyBuild  







org.apache.maven.plugins

maven-surefire-plugin



package


true



test








...



Is it possible to create new lifecycle ? If yes, how ?

Christophe



you can't exclude a goal from a phase, but you can disable test compilation and execution 
(it isn't a best practice)


mvn -Dmaven.test.skip=true package
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html

Emmanuel

Christophe DENEUX a �crit :
> 
> Hi friends,
> 
> When starting the "package" lifecycle (mvn package), the goal "test" of 
> the plugin surefire is run.
> 
> Is it possible to exclude this goal from the lifecycle ?

> How to customize the lifecycle excluding plugins goals ?
> 
> Thanks,

> Christophe
> 
> 
> This message contains information that may be privileged or confidential 
> and is the property of the Capgemini Group. It is intended only for the 
> person to whom it is addressed. If you are not the intended recipient,  
> you are not authorized to read, print, retain, copy, disseminate,  
> distribute, or use this message or any part thereof. If you receive 
> this  message in error, please notify the sender immediately and delete 
> all  copies of this message.
> 
> 
> 
> 
> -

> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

[m2] How to exclude goal from a phase of the standard life-cycle ?

2005-11-09 Thread Christophe DENEUX


Hi friends,

When starting the "package" lifecycle (mvn package), the goal "test" of 
the plugin surefire is run.


Is it possible to exclude this goal from the lifecycle ?
How to customize the lifecycle excluding plugins goals ?

Thanks,
Christophe


This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]