[m2] Dependency Resolution Question for report writing.

2007-01-09 Thread Robert Langridge

Hi All,

I have written a couple of report plugins to date but I am currently
stuck. I would like to ensure that the 'package' lifecycle is called
before my report plugin. I've tried defining
@requiresDependencyResolution package but this doesn't appear to work.

I know it is possible to call a main lifecycle phase within the site
lifecycle because the cobatura test coverage calls 'test' before it
generates it's report.

Any thoughts?

Cheers!

Rob Langridge 
 



This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS


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



[m2] is it possible to prevent POM inhertitance?

2007-01-09 Thread Robert Langridge

Hi all,

I have written a report plugin that I only want to run for the parent
project of my multi-module project. Is is possible to prevent the
children from inheriting the report? 

Cheers, 


Rob Langridge 


This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS


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



RE: [m2] is it possible to prevent POM inhertitance?

2007-01-09 Thread Robert Langridge
Thanks a lot for your help :D 


-Original Message-
From: franz see [mailto:[EMAIL PROTECTED] 
Sent: 09 January 2007 12:06
To: users@maven.apache.org
Subject: Re: [m2] is it possible to prevent POM inhertitance?


Good day to you, Robert,

To make your plugin run only on the aggregating project, try adding an
@aggregator to your mojo's annotation and run it against the aggregating
project. This will prevent your goal in running in your project's
modules as well.

To prevent the inheritance of the plugin, add 

inheritedtrue/inherited

in your plugin tag of your pom.

Note that there is a difference between inheritance and aggregation.
Inheritance if a pom defines the parent/ part and some of the
characteristics of that parent would be merged to the child. Aggregation
in pom means that whatever maven command is executed on the aggregating
project will be executed against that and its modules ( and so on ).

Cheers,
Franz


Robert Langridge wrote:
 
 
 Hi all,
 
 I have written a report plugin that I only want to run for the parent 
 project of my multi-module project. Is is possible to prevent the 
 children from inheriting the report?
 
 Cheers,
 
 
 Rob Langridge





This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS


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



RE: Site generation on a parent level

2007-01-08 Thread Robert Langridge
Hi,

The way I like to do this is as follows:

PARENT:
Specify a report output directory for the parent.

reporting
outputDirectoryc:/myreports/myproject/site/outputDirectory

plugins
... Specify all report plugins ..
/plugins
/reporting

CHILD:

Use pom inheritance to get the parent directory then put the child site
generation in a sub directory named after the artifact id.
This is what Maven expects when it generates the parent site (its
children to be in subdirectories named after the artifact id). 

build
plugins
 plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-site-plugin/artifactId
configuration

outputDirectory${project.reporting.outputDirectory}/${artifactId}/out
putDirectory
/configuration
/plugin   
  /plugins
  /build

Please note that nearly all report plugins (jxr, changelog etc) use the
child outputdirectory specifed in the build section over the parent.
There are however a couple that don't, one that springs to mind is the
Cobatura. If you want this to work you must put this in all your
individual child reporting sections:

reporting
plugins   
!-- a bug in the cobertura plugin doesnt reference the
site output directory when specified in the build section so we have to
manually specify it again.--
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
configuration

outputDirectory${project.reporting.outputDirectory}/${artifactId}/cobe
rtura/outputDirectory
/configuration
/plugin   
/plugins  
/reporting 

Good luck :)

Rob Langridge 



-Original Message-
From: gc134728 [mailto:[EMAIL PROTECTED] 
Sent: 08 January 2007 14:21
To: users
Subject: Site generation on a parent level

Dear Maven Users,

Does anyone know a good way to set up the site generation on a parent
level?
I would like to have all reports of the individual modules changed moved
to the target directory of the parent project so that all information
together will be together and not on a module level.

Any ideas ?

Thx, for you help.---
Scarlet ONE -  Combine ADSL with unlimited fixed phone and save 400
euros http://www.scarlet.be


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




This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS


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



RE: Continuum with clearcase - pom.xml not found problem

2006-12-12 Thread Robert Langridge
 
Hi Janos,

I had the same problem with clearcase. If you select you project and
Edit your build definition you have a field call POM Filename, here
you can specify the path to your pom from the stream root directory. In
your case simply change pom.xml to fedone-core/pom.xml.

If you have more than one pom contained in the stream and do not wish to
create mulitple views then you can simply use multiple build definitions
to access all your other poms inside the stream.

Thanks,

Rob Langridge 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 12 December 2006 05:56
To: continuum-users@maven.apache.org
Subject: Continuum with clearcase - pom.xml not found problem


Dear Continuum, 

Do we have any workaroud to solve the following problems? Thanks!
btw, I am not in this user group, could you reply to me direclty?

I am using Continuum with ClearCase. Even though the load rules are
correctly specified and the files are checked out, Continuum is looking
for pom.xml on top of the directories rather than 3-level deep. How do I
configure it to look in the subdirectory?
The config_spec file is typical:

element * CHECKEDOUT
element * /main/LATEST
load /vobs/bd_test/fed-one/fedone-all/fedone-core

pom.xml is in fedone-core

Thanks.

Janos Mucsi
415-422-1692



Build Error:


org.apache.maven.continuum.execution.ContinuumBuildExecutorException: 
Could not find Maven project descriptor.
at
org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.upda
teProjectFromCheckOut(MavenTwoBuildExecutor.java:108)


Regards,
Joy








IMPORTANT NOTICE
Email from OOCL is confidential and may be legally privileged.  If it is
not intended for you, please delete it immediately unread.  The internet
cannot guarantee that this communication is free of viruses,
interception or interference and anyone who communicates with us by
email is taken to accept the risks in doing so.  Without limitation,
OOCL and its affiliates accept no liability whatsoever and howsoever
arising in connection with the use of this email.  Under no
circumstances shall this email constitute a binding agreement to carry
or for provision of carriage services by OOCL, which is subject to the
availability of carrier's equipment and vessels and the terms and
conditions of OOCL's standard bill of lading which is also available at
http://www.oocl.com.




This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS



RE: Problems adding M2 top level pom.xml

2006-12-11 Thread Robert Langridge
Hi,

I cant help with the CVS issue unfortunately but the URL format you are
trying to use is incorrect. It should be as follows:

file://localhost/c:/di/cm50/dev/pom.xml

Cheers, 

Rob Langridge 


-Original Message-
From: Drummond Daren - dadrum [mailto:[EMAIL PROTECTED] 
Sent: 09 December 2006 21:24
To: continuum-users@maven.apache.org
Subject: Problems adding M2 top level pom.xml

Hi All,

I'm having problems trying to add my top level multi-project Maven2
pom.xml to Continuum.  My sources are stored in a SourceForge integrated
cvs server that absolutely requires form-based authentication before
accessing the sources via https.  Unfortunately there is no way I can
disable this.  So far I haven't figured out a way to make Continuum
handle the login form redirection and submit action that is required
when using the https protocol, so I'm looking for alternative ideas.  

Since I have no problems getting the sources via the scm protocol via
the command line (scm delegates to cvs which delegates security to ssh
using my public/private key pair  - no login prompt).  I had hoped that
I could use the scm protocol in the M2 POM url field, however I get
the exception below when adding allowedSchemescm/allowedScheme to
application.xml and trying to submit my scm url
(scm:cvs:ext:[EMAIL PROTECTED]:/cvsroot/impact/pom.xml).
This seems like it should be supported.

I also enabled the file protocol as an allowed Scheme and tried
pointing to my top level pom.xml like so
file://C:/di/cm50/dev/pom.xml.  This url works in my browser, but
Continuum says it can't find the file.  Did I mess up the file url
format?

Do I have to write a shell script and set this up as a Shell project in
Continuum?

Any suggestions will be appreciated.

Thanks,

Daren

The exception encountered when using the scm url:

java.lang.NullPointerException
at
org.codehaus.plexus.formica.validation.UrlValidator.isValid(UrlValidator
.java:292)
at
org.codehaus.plexus.formica.validation.UrlValidator.validate(UrlValidato
r.java:250)
at
org.codehaus.plexus.formica.DefaultFormManager.validateElements(DefaultF
ormManager.java:195)
at
org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManag
er.java:124)
at
org.codehaus.plexus.formica.DefaultFormManager.validate(DefaultFormManag
er.java:114)
at
org.codehaus.plexus.formica.action.AbstractEntityAction.execute(Abstract
EntityAction.java:107)
at
org.codehaus.plexus.summit.pipeline.valve.ActionValve.invoke(ActionValve
.java:68)
at
org.codehaus.plexus.summit.pipeline.AbstractPipeline.invoke(AbstractPipe
line.java:70)
at org.codehaus.plexus.summit.Summit.doGet(Summit.java:54)
at org.codehaus.plexus.summit.Summit.doPost(Summit.java:108)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:615)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationH
andler.java:294)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationCon
text.java:525)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at
org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
at
org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218
)
at
org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:331)
at
org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:520)

***
The information contained in this communication is confidential, is
intended only for the use of the recipient named above, and may be
legally privileged.

If the reader of this message is not the intended recipient, you are
hereby notified that any dissemination, distribution or copying of this
communication is strictly prohibited.

If you have received this communication in error, please resend this
communication to the sender and delete the original message or any copy
of it from your computer system.

Thank You.






This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby 

[M2] WAS-5 Plugin

2006-12-11 Thread Robert Langridge

Hi All,

I've found quite a few articles on how to integrate maven 1 with a WAS-5
plug-in, however I haven't found anything on how to do it with maven2.
Does anyone have any documentation on how to use it?

http://repo1.maven.org/maven2/maven-plugins/maven-was5-plugin/ 

The JAR file doesn't have any *.java source files inside it at all. If
anyone could help it would be greatly appreciated.

Cheers, 

Rob Langridge 



This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS


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



Surefire test query.

2006-12-08 Thread Robert Langridge

Hi,

I have a situation where all my test classes are in the same directory
structure as my main classes. When I point the testSourceDirectory to
the directory where all the source lives it does not exclude the normal
source files. I thought by default the Surefire plugin only compiles and
tests the *Test.java (or similar) not all of the source? 

For example: when I have the below and I run mvn compile it compiles
778 files, great. When I run mvn test it compiles 786 files. How do I
get the test just to compile the 8 test files I have?

outputDirectorybin/outputDirectory  
sourceDirectoryJavaSource/sourceDirectory
testSourceDirectoryJavaSource/testSourceDirectory
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
excludes
exclude**/*Test*.java/exclude
exclude**/junit/*/exclude
/excludes
/configuration
  /plugin
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
configuration
  testFailureIgnoretrue/testFailureIgnore
  includes
include**/junit/*/include
include**/*Test*.java/include

  /includes
/configuration
/plugin

Cheers,

Rob Langridge 



This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS


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



RE: Continuum Clearcase

2006-12-05 Thread Robert Langridge

 
Hi All,

I have a project that uses clearcase for scm. The viewstore location is
not the default so I created a .scm folder in the location of the
pom.xml file and added a clearcase-settings.xml file with the location
of the viewstore as instructed by the maven site.

However when I come to run the project through continuum, it's like it
doesn't pick up the .scm folder and tries to use the default viewstore
location causing an error.

Does anyone have any suggestions?

Thanks a lot!

Rob Langridge 



This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS


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



RE: Continuum Clearcase - RESOLVED

2006-12-05 Thread Robert Langridge


I managed to resolve the problem stated below. If you want to use a
clearcase-setings.xml for continuum you must place it in the following
directory:

C:\continuum-1.0.3\bin\win32\.scm\clearcase-setings.xml

From here continuum will pick up your viewstore location and work
correctly!

Cheers.


-Original Message-
From: Robert Langridge 
Sent: 04 December 2006 11:32
To: Maven Users List
Subject: Continuum  Clearcase

 
Hi All,

I have a project that uses clearcase for scm. The viewstore location is
not the default so I created a .scm folder in the location of the
pom.xml file and added a clearcase-settings.xml file with the location
of the viewstore as instructed by the maven site.

However when I come to run the project through continuum, it's like it
doesn't pick up the .scm folder and tries to use the default viewstore
location causing an error.

Does anyone have any suggestions?

Thanks a lot!

Rob Langridge 



This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS


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



Continuum Clearcase

2006-12-04 Thread Robert Langridge
 
Hi All,

I have a project that uses clearcase for scm. The viewstore location is
not the default so I created a .scm folder in the location of the
pom.xml file and added a clearcase-settings.xml file with the location
of the viewstore as instructed by the maven site.

However when I come to run the project through continuum, it's like it
doesn't pick up the .scm folder and tries to use the default viewstore
location causing an error.

Does anyone have any suggestions?

Thanks a lot!

Rob Langridge 


This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS


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



Maven2 Hibernate.

2006-12-01 Thread Robert Langridge
 
Hi,

I'm fairly new to maven and I have the task of creating an automated
build for one of our hibernate projects. I have written a pom that
compiles all my source and jar's it up. However when it compiles it does
not copy across the .xml files of my hibernate entities or any of the
.properties files. I have used the resources tag to include the
hibernate.cfg.xml that sits in the base of the source directory, but the
rest of the entity xml files live in a package structure. Any ideas? I
have tried the following:

  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
  includes
include**/*.xml/include
include**/*.properties/include  
  /includes   
/configuration
  /plugin

When I have this includes tag it doesn't include the xml and props
files and also does not compile any of my source code. Is this a bug? Or
am I mis-using this tag?

Cheers!

Rob Langridge 
Analyst Programmer


This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS


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



RE: Maven2 Hibernate

2006-12-01 Thread Robert Langridge
Hi,

Thanks for the suggestions guys. Unfortunately I cannot change the file
structure of the project as it's all under clear case. I have added
multiple resource tags to achieve the copying over of the *.xml files
and properties files that live under the package structure.

resource

directory/JavaSource/uk/co/company/billing/collections/entities//dire
ctory
includes
include*.xml/include
/includes
/resource 

But this only copies across the files to the base directory. This is the
problem because this is validates the hibernate mappings. Any other
suggestions? 

Cheers!

Rob



-Original Message-
From: Marco Mistroni [mailto:[EMAIL PROTECTED] 
Sent: 01 December 2006 11:04
To: Maven Users List; [EMAIL PROTECTED]
Subject: Re: Maven2  Hibernate

Hi,
 one idea might be to putyour hbm files in src\main\resources directory
every file in that directory will go automatically in your jar

hth
 marco

On 12/1/06, Gianfranco Oldani [EMAIL PROTECTED] wrote:

 Hi Rob,
 For a web application for example you can put the xml configuration
files
 under the WEB-INF directory. For example my hibernate.cfg.xml is under

 WEB-INF and for the .hbm.xml I have create a separated directory under

 WEB-INF called hibernate_map.

 Hope it helps

 Regards

 Gianfranco OLDANI



 Original Message Follows
 From: Robert Langridge [EMAIL PROTECTED]
 Reply-To: Maven Users List users@maven.apache.org
 To: Maven Users List users@maven.apache.org
 Subject: Maven2  Hibernate.
 Date: Fri, 1 Dec 2006 10:27:03 -


 Hi,

 I'm fairly new to maven and I have the task of creating an automated 
 build for one of our hibernate projects. I have written a pom that 
 compiles all my source and jar's it up. However when it compiles it
does
 not copy across the .xml files of my hibernate entities or any of the 
 ..properties files. I have used the resources tag to include the 
 hibernate.cfg.xml that sits in the base of the source directory, but
the
 rest of the entity xml files live in a package structure. Any ideas? I

 have tried the following:

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-compiler-plugin/artifactId
  configuration
   includes
 include**/*.xml/include
 include**/*.properties/include
   /includes
  /configuration
/plugin

 When I have this includes tag it doesn't include the xml and props 
 files and also does not compile any of my source code. Is this a bug?
Or
 am I mis-using this tag?

 Cheers!

 Rob Langridge
 Analyst Programmer


This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http:// www.carphonewarehouse.com or 
http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1 Portal 
Way, London W3 6RS


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



RE: Maven2 Hibernate

2006-12-01 Thread Robert Langridge
Winner!! Worked like a charm. Thanks a lot! 


Rob Langridge 
Analyst Programmer - Java CoE
e: [EMAIL PROTECTED] 
t: 01925 554578 (Ex 444 4578) 


-Original Message-
From: Tom Huybrechts [mailto:[EMAIL PROTECTED] 
Sent: 01 December 2006 11:45
To: Maven Users List
Subject: Re: Maven2  Hibernate

Add the entire src/main/java as a resource, and add an excludes for
**/*.java



On 12/1/06, Robert Langridge [EMAIL PROTECTED] wrote:
 Hi,

 Thanks for the suggestions guys. Unfortunately I cannot change the 
 file structure of the project as it's all under clear case. I have 
 added multiple resource tags to achieve the copying over of the 
 *.xml files and properties files that live under the package
structure.

 resource

 directory/JavaSource/uk/co/company/billing/collections/entities//di
 re
 ctory
 includes
 include*.xml/include
 /includes
 /resource

 But this only copies across the files to the base directory. This is 
 the problem because this is validates the hibernate mappings. Any 
 other suggestions?

 Cheers!

 Rob



 -Original Message-
 From: Marco Mistroni [mailto:[EMAIL PROTECTED]
 Sent: 01 December 2006 11:04
 To: Maven Users List; [EMAIL PROTECTED]
 Subject: Re: Maven2  Hibernate

 Hi,
  one idea might be to putyour hbm files in src\main\resources 
 directory every file in that directory will go automatically in your 
 jar

 hth
  marco

 On 12/1/06, Gianfranco Oldani [EMAIL PROTECTED] wrote:
 
  Hi Rob,
  For a web application for example you can put the xml configuration
 files
  under the WEB-INF directory. For example my hibernate.cfg.xml is 
  under

  WEB-INF and for the .hbm.xml I have create a separated directory 
  under

  WEB-INF called hibernate_map.
 
  Hope it helps
 
  Regards
 
  Gianfranco OLDANI
 
 
 
  Original Message Follows
  From: Robert Langridge [EMAIL PROTECTED]
  Reply-To: Maven Users List users@maven.apache.org
  To: Maven Users List users@maven.apache.org
  Subject: Maven2  Hibernate.
  Date: Fri, 1 Dec 2006 10:27:03 -
 
 
  Hi,
 
  I'm fairly new to maven and I have the task of creating an automated

  build for one of our hibernate projects. I have written a pom that 
  compiles all my source and jar's it up. However when it compiles it
 does
  not copy across the .xml files of my hibernate entities or any of 
  the ..properties files. I have used the resources tag to include 
  the hibernate.cfg.xml that sits in the base of the source directory,

  but
 the
  rest of the entity xml files live in a package structure. Any ideas?

  I

  have tried the following:
 
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-compiler-plugin/artifactId
   configuration
includes
  include**/*.xml/include
  include**/*.properties/include
/includes
   /configuration
 /plugin
 
  When I have this includes tag it doesn't include the xml and props

  files and also does not compile any of my source code. Is this a
bug?
 Or
  am I mis-using this tag?
 
  Cheers!
 
  Rob Langridge
  Analyst Programmer


 This communication together with any attachments transmitted with it
(this E-Mail) is intended only for the use of the addressee and may
contain information which is privileged and confidential.  If the reader
of this E-Mail is not the intended recipient or the employee or agent
responsible for delivering it to the intended recipient you are hereby
notified that any use, dissemination, forwarding, printing or copying of
this E-Mail is strictly prohibited.  Addressees should check this E-mail
for viruses.  The Company makes no representations as regards the
absence of viruses in this E-Mail.  If you have received this E-Mail in
error please notify our IT Service Desk immediately by e-mail at
[EMAIL PROTECTED]  Please then immediately delete, erase or otherwise
destroy this E-Mail and any copies of it.

 Any opinions expressed in this E-Mail are those of the author and do
not necessarily constitute the views of the Company.  Nothing in this
E-Mail shall bind the Company in any contract or obligation.

 For the purposes of this E-Mail the Company means The Carphone
Warehouse Group Plc and/or any of its subsidiaries.

 Please feel free to visit our website:  http:// 
 www.carphonewarehouse.com or http://www.phonehouse.com

 The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1

 Portal Way, London W3 6RS


 -
 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 communication together with any attachments transmitted

RE: Maven2 Hibernate.

2006-12-01 Thread Robert Langridge
Hi Hermod,

I do appriciate this, unfortunately I didn't write the code and cannot
change the directory structure, hence I emailed you lot :) 



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: 01 December 2006 10:53
To: users@maven.apache.org
Subject: RE: Maven2  Hibernate.

Hi

You should place all resources under src/main/resources not under
src/main/java. Then this will not be a problem.

Hermod

-Original Message-
From: Robert Langridge [mailto:[EMAIL PROTECTED]
Sent: Friday, December 01, 2006 11:27 AM
To: Maven Users List
Subject: Maven2  Hibernate.


 
Hi,

I'm fairly new to maven and I have the task of creating an automated
build for one of our hibernate projects. I have written a pom that
compiles all my source and jar's it up. However when it compiles it does
not copy across the .xml files of my hibernate entities or any of the
.properties files. I have used the resources tag to include the
hibernate.cfg.xml that sits in the base of the source directory, but the
rest of the entity xml files live in a package structure. Any ideas? I
have tried the following:

  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
  includes
include**/*.xml/include
include**/*.properties/include  
  /includes   
/configuration
  /plugin

When I have this includes tag it doesn't include the xml and props
files and also does not compile any of my source code. Is this a bug? Or
am I mis-using this tag?

Cheers!

Rob Langridge
Analyst Programmer


This communication together with any attachments transmitted with it
(this E-Mail) is intended only for the use of the addressee and may
contain information which is privileged and confidential.  If the reader
of this E-Mail is not the intended recipient or the employee or agent
responsible for delivering it to the intended recipient you are hereby
notified that any use, dissemination, forwarding, printing or copying of
this E-Mail is strictly prohibited.  Addressees should check this E-mail
for viruses.  The Company makes no representations as regards the
absence of viruses in this E-Mail.  If you have received this E-Mail in
error please notify our IT Service Desk immediately by e-mail at
[EMAIL PROTECTED]  Please then immediately delete, erase or otherwise
destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not
necessarily constitute the views of the Company.  Nothing in this E-Mail
shall bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone
Warehouse Group Plc and/or any of its subsidiaries.

Please feel free to visit our website:  http://
www.carphonewarehouse.com or http://www.phonehouse.com

The Carphone Warehouse Group Plc (Registered in England No. 3253714) 1
Portal Way, London W3 6RS


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



* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that DnB NOR cannot
accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs
used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *


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




This communication together with any attachments transmitted with it (this 
E-Mail) is intended only for the use of the addressee and may contain 
information which is privileged and confidential.  If the reader of this E-Mail 
is not the intended recipient or the employee or agent responsible for 
delivering it to the intended recipient you are hereby notified that any use, 
dissemination, forwarding, printing or copying of this E-Mail is strictly 
prohibited.  Addressees should check this E-mail for viruses.  The Company 
makes no representations as regards the absence of viruses in this E-Mail.  If 
you have received this E-Mail in error please notify our IT Service Desk 
immediately by e-mail at [EMAIL PROTECTED]  Please then immediately delete, 
erase or otherwise destroy this E-Mail and any copies of it.

Any opinions expressed in this E-Mail are those of the author and do not 
necessarily constitute the views of the Company.  Nothing in this E-Mail shall 
bind the Company in any contract or obligation.

For the purposes of this E-Mail the Company means The Carphone Warehouse 
Group Plc and/or any of its