Re: How to write and use my own notifier?

2006-07-04 Thread Emmanuel Venisse



Tatiana Escovedo a écrit :

Hi,

I've analysed the code and found out that the notifiers implementation can
be done extending the class AbstractContinuumNotifier, right?


Yes

When your notifier will be implemented, you need to declare it in 
apps/continuum/conf/application.xml (like other notifiers)

But you'll can't create a web configuration page for it because it is too 
complex.

Emmanuel



I would like to know how to use my own notifier.
http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-notifiers/continuum-notifier-jabber/src/main/java/org/apache/maven/continuum/notification/jabber/JabberContinuumNotifier.java?view=markup 


Thanks,

Tatiana





Maven 2 build error

2006-07-04 Thread Jeff Mutonho

I'm trying to build my m2 project.My top level pom.xml defines the
modules that need to be built.The modules are defined as follows:

   moduleeportal-services/module
   moduleeportal-messaging/module
   moduleeportal-messaging-support/module
   moduleeportal-webservices/module
   moduleeportal/module

Each module has its own pom.xml .When I point continuum to my top
level pom.xml  it adds all my modules as projects.My top level
project(the one with the super pom) is also listed amongst the added
projects as shown below :

Mycompany ePortal
ePortal Messaging
ePortal Messaging Support
ePortal Services
ePortal Web Application
ePortal Webservices


Mycompany ePortal  is the top level project with the pom that
defines he modules(listed above).The pom.xml in Mycompany ePortal
does not have a build section...just dependencies , e-mail addresses
, etc.
I'm getting a build error saying :


Build Error:

org.apache.maven.continuum.execution.ContinuumBuildExecutorException:
Could not find Maven project descriptor.
at 
org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:108)
at 
org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64)
at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273)
at 
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
at java.lang.Thread.run(Thread.java:595)



What am I missing?
--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


Re: Maven 2 build error

2006-07-04 Thread Emmanuel Venisse

I think scm part is missing in your pom or it's wrong.

Emmanuel

Jeff Mutonho a écrit :

I'm trying to build my m2 project.My top level pom.xml defines the
modules that need to be built.The modules are defined as follows:

   moduleeportal-services/module
   moduleeportal-messaging/module
   moduleeportal-messaging-support/module
   moduleeportal-webservices/module
   moduleeportal/module

Each module has its own pom.xml .When I point continuum to my top
level pom.xml  it adds all my modules as projects.My top level
project(the one with the super pom) is also listed amongst the added
projects as shown below :

Mycompany ePortal
ePortal Messaging
ePortal Messaging Support
ePortal Services
ePortal Web Application
ePortal Webservices


Mycompany ePortal  is the top level project with the pom that
defines he modules(listed above).The pom.xml in Mycompany ePortal
does not have a build section...just dependencies , e-mail addresses
, etc.
I'm getting a build error saying :

 


Build Error:
 


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

at 
org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64) 

at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273) 

at 
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47) 

at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) 


at java.lang.Thread.run(Thread.java:595)



What am I missing?




Re: Maven 2 build error

2006-07-04 Thread Jeff Mutonho

On 7/4/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:

I think scm part is missing in your pom or it's wrong.

Emmanuel



This is my scm in my pom

scm
connection
  scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev
/connection
developerConnection
  scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev
/developerConnection
/scm


The modules are checked out of CVS.


Re: Maven 2 build error

2006-07-04 Thread Emmanuel Venisse

what do you have in the project working directory that failed?

Emmanuel

Jeff Mutonho a écrit :

On 7/4/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:

I think scm part is missing in your pom or it's wrong.

Emmanuel



This is my scm in my pom

scm
connection
  scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev
/connection
developerConnection
  scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev
/developerConnection
/scm


The modules are checked out of CVS.







Re: Maven 2 build error

2006-07-04 Thread Jeff Mutonho

On 7/4/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:

what do you have in the project working directory that failed?

Emmanuel


I have all the modules checked out of CVS

Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Hendrik Busch

Hi,


Question 1
=
Does continuum actually work with Maven 2?


Yes, it does. We've got it up and running here with several multi-module 
 projects. And they even work with the --non-recursive option. All 
modules share a common structure:


Toolbox/
|-- pom.xml
|-- toolbox-ant
|   |-- pom.xml
|   |-- src
|   `-- target
|-- toolbox-codecs
|-- pom.xml
|-- src
`-- target

the top level pom reads

moduletoolbox-ant/module
moduletoolbox-codecs/module

The most important thing is to get the VCS paths right in the scm part 
of your poms. If your CVS or SVN is not organized like your Maven 
project, you might run in difficulties.


You can also enable the -X command line option to see a more detailed 
log message. You can specify it where the other options like 
--non-recursive are also specified.



--
Mit freundlichen Grüßen / Kind regards

Hendrik Busch - Stellv. Leiter der Softwareentwicklung

LexisNexis Deutschland GmbH
http://www.lexisnexis.de
Feldstiege 100
D-48161 Münster
phone +49 (0) 2533-9300-455
fax +49 (0) 02533-9300-50
[EMAIL PROTECTED]


Re: Why so many directories

2006-07-04 Thread Mark Reynolds
My experience is that with a multi-module project, you should do as 
advised here by Emmanuel  delete all but the parent project builds, and 
remove --non-recursive from the parent project.


Under the default scenario, where continuum tries to build each module 
separately, it doesn't seem like this is perfected yet. For example, if 
the project polling happens to be in progress when you check in, it may 
build the sub modules in the wrong order and lead to build errors, which 
must be rectified by manually rebuilding things in the proper order. Or 
if you check in a change to one module, it will not automatically 
rebuild the dependent modules. I assume these things will be fixed in 
the future, but I don't see that there is any big advantage to having 
each module built separately by continuum unless there get to be very 
many modules, perhaps.


When I just have the entire build being executed from the parent pom, 
like I would normally do with mvn install on my local machine, 
everything works quite well for me.


-- Mark R

Emmanuel Venisse wrote:



Jeff Mutonho a écrit :

On 7/4/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
Actually, continuum create one project by module and it checkout each 
module in its own directory.


If you don't want one project by module, you can delete all modules 
in continuum interface and

remove --non-recursive from the build definition of your parent project.

Emmanuel


Thanks Emmanuel , but where is this non-recursive field
removed?Which configuration file?The website just says If you want to
build recursively from the parent, you have to remove the
--non-recursive or -N argument under the Build Definitions section
of your parent project.

Is this changed in the pom.xml?



It isn't in pom.xml. You'll find it in continuum interface.
In the summary page, click on your project, then you'll see the build 
definitions list, then, edit build definition and remove --non-recursive.
A build definition is the command line that continuum will use to build 
your project.


Emmanuel






Email Limiting?

2006-07-04 Thread Mark Reynolds
We have Continuum checking SVN once per minute so our build will begin 
very quickly after someone does a commit.


Occasionally there is some problem, for instance, where something 
happens with Continuum's SVN working copy requiring cleanup to be run. 
In this case, Continuum will send out approximately 10 error emails per 
minute to all of our users. If this happens shortly after everyone has 
left for the day, there can be quite a large number of emails in 
everyone's inbox!!


Is there some way to limit the emails that Continuum will send out? If 
not, this would be a worthy enhancement. Thanks.


-- Mark R



Re: How to install artifact created with assembly artifact into Continuum's local repository

2006-07-04 Thread Mark Reynolds
I have changed my multi-project build so it only builds the parent pom 
without --non-recursive. My parent pom is packagingpom/packaging and 
the only thing that gets copied to the internal Deployment 
Repository 	is the parent pom. Is this the expected behavior? I would 
like to have all my module artifacts as well as artifacts created by the 
assembly plugin put into this repository. Is this possible?


Thanks.

-- Mark R

Mark Reynolds wrote:
I should have mentioned that I am not talking about the local repository 
used by maven (in .m2). Artifacts created with the assembly plugin get 
installed in there just fine.


Rather, I can't see how to get them to install into the local repository 
configured in Continuum 1.0.3. Should I be able to do this?


Thanks,

-- Mark Reynolds

Mark Reynolds wrote:
The primary artifact from each of my pom's are copied into Continuum's 
repository, but not the additional artifacts that are created using 
the assembly plugin. Is there a way to make this happen?










Re: How to install artifact created with assembly artifact into Continuum's local repository

2006-07-04 Thread Barrie Treloar

On 7/5/06, Mark Reynolds [EMAIL PROTECTED] wrote:

I have changed my multi-project build so it only builds the parent pom
without --non-recursive.


There are some double negatives here.

Do you mean you have deleted your other projects from the continuum
build and that there is now only one project which is the parent
project and for the parent project you have deleted the
--non-recursive argument in the continuum build definitions arguments?


My parent pom is packagingpom/packaging and
the only thing that gets copied to the internal Deployment
Repository is the parent pom. Is this the expected behavior? I would
like to have all my module artifacts as well as artifacts created by the
assembly plugin put into this repository. Is this possible?


Continuum just runs the commands the same as you would on the command line.

Go into the working directory that continuum is using and invoke by
hand the same command.

If it doesn't work by hand, fix it.
Once it works as you expect it, continuum will behave the same way.


RE: How to install artifact created with assembly artifact into Continuum's local repository

2006-07-04 Thread Christian Gruber
While this is true, there is a deployment artifact repository which is
separate from the local repo (~/.m2/repository) of the user running
continuum.  This can be configured within Continuum.  It is a proper repo,
not a local repo, and continuum deploys artifacts into this repo, even if
you don't have a deploy goal.  Maybe Emanuel can shed some light on this
process.

Regards,
Christian.

christian gruber + agile coach and architect
Israfil Consulting Services Corporation
email [EMAIL PROTECTED] + bus +1 (905) 640-1119
cell: +1 (416) 998-6023 + cell: +1 (410) 900-0796
-Original Message-
From: Barrie Treloar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 04, 2006 9:15 PM
To: continuum-users@maven.apache.org
Subject: Re: How to install artifact created with assembly artifact into
Continuum's local repository

On 6/15/06, Mark Reynolds [EMAIL PROTECTED] wrote:
 I should have mentioned that I am not talking about the local repository
 used by maven (in .m2). Artifacts created with the assembly plugin get
 installed in there just fine.

 Rather, I can't see how to get them to install into the local repository
 configured in Continuum 1.0.3. Should I be able to do this?

This makes no sense to me.

The local repository used by maven and continuum are one and the same.

Can you explain this further.




Re: [m2] Plugin Version in POM

2006-07-04 Thread leahpar

hello,

check is a goal on a mojo subclass 
pmd is a goal on a report subclass

= maybe you should add version2.0/version inthe report section too 

cordialement


build
pluginManagement
plugins
plugin

groupIdorg.apache.maven.plugins/groupId

artifactIdmaven-pmd-plugin/artifactId
version2.0/version
/plugin
/plugins
/pluginManagement
/build
reporting
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-pmd-plugin/artifactId
version2.0/version
/plugin
/plugins
/reporting 
-- 
View this message in context: 
http://www.nabble.com/-m2--Plugin-Version-in-POM-tf1886670.html#a5162926
Sent from the Maven - Users forum at Nabble.com.


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



Problem downloading resources

2006-07-04 Thread Matthias Richter

Hello,

i have problems downloading jars from various repositories, including
the repository on the LAN.

I always get the message:
[WARNING] Unable to get resource from repository 

The proxy is correctly configured in the settings, some of the are downloaded.

The repositories i'm using in my POM are:

   repository
 idxdoclet/id
 nameXDoclet Repository Server/name
 layoutlegacy/layout
 urlhttp://xdoclet.sourceforge.net/repository//url
   /repository
   repository
 releases
   enabledfalse/enabled
 /releases
 snapshots /
 idMaven Snapshots/id
 urlhttp://snapshots.maven.codehaus.org/maven2//url
   /repository
   repository
 idIbiblio/id
 nameIbiblio/name
 urlhttp://www.ibiblio.org/maven//url
   /repository

and for as plugin-repos:

   pluginRepository
 releases
   enabledfalse/enabled
 /releases
 snapshots /
 idMaven Snapshots/id
 urlhttp://snapshots.maven.codehaus.org/maven2//url
   /pluginRepository
   pluginRepository
 idcodehaus-plugins/id
 namecodehaus/name
 urlhttp://dist.codehaus.org//url
 snapshots
   enabledtrue/enabled
 /snapshots
 releases
   enabledtrue/enabled
 /releases
   /pluginRepository
   pluginRepository
 idmortbay-repo/id
 namemortbay-repo/name
 urlhttp://www.mortbay.org/maven2/snapshot/url
 snapshots
   enabledtrue/enabled
 /snapshots
 releases
   enabledtrue/enabled
 /releases
   /pluginRepository


Thanks a lot for your help and greetings from cologne, germany!

Matthias

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



Re:assembly plugin problem

2006-07-04 Thread nazim chakik
 
Hello, 
 
Already saw this link, but without success. 
if somebody already assembled a complete project with all his 
dependencies that it comes me to assistance, 
that will make more than one week  that I try to solve this problem. 
 
thanks 
 
Nazim 
 
Alexandre Poitras a écrit : 
 Should help you : 
 http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html 
 
 On 6/30/06, nazim chakik [EMAIL PROTECTED] wrote: 
 
  Hello, 
 
 I use the maven's assembly plugin and I have the following problem: 
 I  have several projects which are modules of  one main   project 
 containing the pom root. Each module has its own dependencies , 
 When I run the command: (mvn  assembly:assembly) on the root pom, I 
 recover the sub projects's .jar but without dependences. 
 If you have a good documentation about assembly or an example, that 
 would help me . 
 
 thank you in advance 
 
 PS:I use -   artifactIdmaven-assembly-plugin/artifactId 
   version2.2-SNAPSHOT/version 
 
 Nazim 
 
 
 
 
 
 
 
 
 
 
 
 




Using Maven 2

2006-07-04 Thread A S Praj

Hi ,
  In one of our projects we have the Bunch of projects, which is written in
different languages/softwares, I want to know whether Using Maven 2 can I
able to build the projects which is written in Perl, Bash, Ruby, Python,PHP,
C, C++ files also.

Thanks and Regards

A.S.P.Raj


Re: assembly plugin problem

2006-07-04 Thread Tim Kettler

Hi,

it would help if you could post your pom.xml with the assembly plugin configuration and 
your assembly descriptor. Also you should describe how you expect the final assembly to 
look like. Do you want to create just one jar file that contains your classes + the 
classes of the dependencies (you can use the predefined 'jar-with-dependencies' descriptor 
for that) or do you want (for example) all dependency jars in a 'lib' directory in the 
assembly?


-Tim

nazim chakik schrieb:
 
Hello, 
 
Already saw this link, but without success. 
if somebody already assembled a complete project with all his 
dependencies that it comes me to assistance, 
that will make more than one week  that I try to solve this problem. 
 
thanks 
 
Nazim 
 
Alexandre Poitras a écrit : 
Should help you : 
http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html 

On 6/30/06, nazim chakik [EMAIL PROTECTED] wrote: 
 Hello, 

I use the maven's assembly plugin and I have the following problem: 
I  have several projects which are modules of  one main   project 
containing the pom root. Each module has its own dependencies , 
When I run the command: (mvn  assembly:assembly) on the root pom, I 
recover the sub projects's .jar but without dependences. 
If you have a good documentation about assembly or an example, that 
would help me . 

thank you in advance 

PS:I use -   artifactIdmaven-assembly-plugin/artifactId 
  version2.2-SNAPSHOT/version 

Nazim 









 
 
 







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



Build process

2006-07-04 Thread Vinay Kumar
Hi All,
  In my Directory structure is like: Mainproject folder A, within A their are 
two more subproject folder B and C.  project B depends on project C. I have 
written individual pom file for subproject B and subproject C which install and 
deploy B and C when I run mvn install from dir B and C respectively.
Now my target is write a build script file which 1st checkout project dir from 
svn ,  install C by calling pom of Dir C and then  install and deploy of 
project B.
Anybody has exp of this type of project environment .
 
Thanks
Vinay

Re: Using Maven 2

2006-07-04 Thread Tim Kettler

Hi,

for c/c++ you can use the native-maven-plugin [1]. For the rest I don't know. But you 
always can run some ant tasks via the antrun plugin [2].


Hope this helps
-Tim

[1] http://mojo.codehaus.org/maven-native/native-maven-plugin/introduction.html
[2] http://maven.apache.org/plugins/maven-antrun-plugin/

A S Praj schrieb:

Hi ,
  In one of our projects we have the Bunch of projects, which is written in
different languages/softwares, I want to know whether Using Maven 2 can I
able to build the projects which is written in Perl, Bash, Ruby, 
Python,PHP,

C, C++ files also.

Thanks and Regards

A.S.P.Raj




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



[Maven2] test resources

2006-07-04 Thread christophe blin
Hi,

I am new to maven so excuse me if the questions have already been posted
(I do not find a related in the archives so I think it has not been so).

I am working with maven2 and hibernate.
My hibernate mapping is in /src/main/resources/META-INF :
mapping_common.hbm.xml

First question :
if I manually copy this file into /src/test/resources and I do (as
stated in the docs getting started) :
InputStream is =
getClass().getResourceAsStream(mapping_common.hbm.xml);
assert(is != null);
the assertion is thrown.

Am I doing something wrong or Should I configure something in the pom to
use src/test/resources as the resources directory for the unit tests ?

Second question :
I'd like to use the same mapping file when doing unit tests.
How can I configure the pom in order to perform a copy of the file just
before the execution of the test goal ?

Thanks and regards,
chris

-- 

_
Tennaxia, www.tennaxia.com,
Pilotez vos obligations environnementales
_
Siège social :
6, rue Léonard de Vinci - 53001 Laval Cedex -
Tél : 02 43 49 75 50 - Fax : 02 43 49 75 77
Agence Paris :
19, rue réaumur - 75003 Paris -
Tél : 01 42 77 04 19 - Fax : 08 25 19 19 61
Agence Lyon :
Parc du Chater - 63 rue de la garenne - 69340 FRANCHEVILLE -
Tél : 04 72 39 98 14 - Fax : 04 72 39 93 85
The information in this message sent by TENNAXIA is confidential 
and may be legally privileged. It is intended solely for the 
addressee(s). Access to this message by anyone else is unauthorized.
If you are not the intended recipient, please delete it and notify 
the sender : any disclosure, copying, distribution or any action 
taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.



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



Re: Maven 2 build error

2006-07-04 Thread Emmanuel Venisse

Do you have a pom.xml at the root of the working directory?

Emmanuel

Jeff Mutonho a écrit :

On 7/4/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:

what do you have in the project working directory that failed?

Emmanuel


I have all the modules checked out of CVS

Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042







Re: Build process

2006-07-04 Thread Andrew Williams
Look at making a pom for folder A that is of packaging type pom and then
list your projects in build order in the modules tag.

Once that is setup it is easier to automate, asyou can use mvn to
checkout and then install and it will manage the list of subprojects in
one go.

A

On Tue, Jul 04, 2006 at 08:54:52AM +, Vinay Kumar wrote:
 Hi All,
   In my Directory structure is like: Mainproject folder A, within A their are 
 two more subproject folder B and C.  project B depends on project C. I have 
 written individual pom file for subproject B and subproject C which install 
 and deploy B and C when I run mvn install from dir B and C respectively.
 Now my target is write a build script file which 1st checkout project dir 
 from svn ,  install C by calling pom of Dir C and then  install and deploy of 
 project B.
 Anybody has exp of this type of project environment .
  
 Thanks
 Vinay

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



Re: [Maven2] test resources

2006-07-04 Thread Pete Marvin King

   try putting your mapping_common.hbm.xml on src/main/resources/ instead.
   or modify your getResourceAsStream to get the file
META-INF/mapping_common.hbm.xml

   resources are searched on all the classpaths, normally META-INF is
added to the classpath
   so getClass().getResourceAsStream(mapping_common.hbm.xml) would
normally work
   if you're using a jar. But for your unit test it is not, only
target/classes is added to your classpath.
   you need to specify the directory it is in which is META-INF. 
correct me if i'm wrong. =)



christophe blin wrote:
 Hi,

 I am new to maven so excuse me if the questions have already been posted
 (I do not find a related in the archives so I think it has not been so).

 I am working with maven2 and hibernate.
 My hibernate mapping is in /src/main/resources/META-INF :
 mapping_common.hbm.xml

 First question :
 if I manually copy this file into /src/test/resources and I do (as
 stated in the docs getting started) :
 InputStream is =
 getClass().getResourceAsStream(mapping_common.hbm.xml);
 assert(is != null);
 the assertion is thrown.

 Am I doing something wrong or Should I configure something in the pom to
 use src/test/resources as the resources directory for the unit tests ?

 Second question :
 I'd like to use the same mapping file when doing unit tests.
 How can I configure the pom in order to perform a copy of the file just
 before the execution of the test goal ?

 Thanks and regards,
 chris

   


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



Re: Problem downloading resources

2006-07-04 Thread Thorsten Heit
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Matthias,

 I always get the message:
 [WARNING] Unable to get resource from repository 

(...)

repository
  idIbiblio/id
  nameIbiblio/name
  urlhttp://www.ibiblio.org/maven//url
^
This should be http://www.ibiblio.org/maven2 ;-)

(or http://maven.sateh.com/repository/ if you prefer an European mirror)


Greetings from Saarbrücken ;-)

Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFEqjrSQvObkgCcDe0RAmOrAKCf1CSZVHK+Q0DasWqQBTtKlG2EYACdGbhp
yZ6J6NaxyRlhHoLwkpfmyS0=
=SHH6
-END PGP SIGNATURE-

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



non-recursive

2006-07-04 Thread Jeff Mutonho

I've posted to the Continuum forum and was advised that I need to
remove  non-recursive  under my build definitions.Where is this
non-recursive field?

--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



Re: non-recursive

2006-07-04 Thread Hendrik Busch

Hi,


I've posted to the Continuum forum and was advised that I need to
remove  non-recursive  under my build definitions.Where is this
non-recursive field?


In Continuum, click on your project name in the project list. You will 
see the project information page and there is a section called Build 
Definitions that contains one or more entries and the column 
Arguments. That's were it should read --batch-mode --non-recursive. 
Click on the Edit-link and remove the argument.


--
Mit freundlichen Grüßen / Kind regards

Hendrik Busch - Stellv. Leiter der Softwareentwicklung

LexisNexis Deutschland GmbH
http://www.lexisnexis.de
Feldstiege 100
D-48161 Münster
phone +49 (0) 2533-9300-455
fax +49 (0) 02533-9300-50
[EMAIL PROTECTED]

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



Re: Build process

2006-07-04 Thread Vinay Kumar
Hi Andrew,
 
  please let me know how we can checkout using mvn? Will following in pom file 
work:
scm
connection/
developerConnection/
   /scm
If yes then where i can add source checkout directory. Another question, I want 
to use mvn install cargo:start to start Jboss and deploy ear file develope by 
pom B. I add plugin in parent pom it doesn't recognised and if i add cargo 
plugin in pom of B then I cant use mvn install cargo:start as there is no cargo 
plugin in parent pom. how I can address this.
 
Thanks
Vinay



- Original Message 
From: Andrew Williams [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org; Vinay Kumar [EMAIL PROTECTED]
Sent: Tuesday, 4 July, 2006 2:50:32 PM
Subject: Re: Build process


Look at making a pom for folder A that is of packaging type pom and then
list your projects in build order in the modules tag.

Once that is setup it is easier to automate, asyou can use mvn to
checkout and then install and it will manage the list of subprojects in
one go.

A

On Tue, Jul 04, 2006 at 08:54:52AM +, Vinay Kumar wrote:
 Hi All,
   In my Directory structure is like: Mainproject folder A, within A their are 
 two more subproject folder B and C.  project B depends on project C. I have 
 written individual pom file for subproject B and subproject C which install 
 and deploy B and C when I run mvn install from dir B and C respectively.
 Now my target is write a build script file which 1st checkout project dir 
 from svn ,  install C by calling pom of Dir C and then  install and deploy of 
 project B.
 Anybody has exp of this type of project environment .
  
 Thanks
 Vinay

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

Re: Problem downloading resources

2006-07-04 Thread Matthias Richter

Thanks for the reply but the problem still occures.

Any other idea?

Matthias


On 7/4/06, Thorsten Heit [EMAIL PROTECTED] wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi Matthias,

 I always get the message:
 [WARNING] Unable to get resource from repository 

(...)

repository
  idIbiblio/id
  nameIbiblio/name
  urlhttp://www.ibiblio.org/maven//url
^
This should be http://www.ibiblio.org/maven2 ;-)

(or http://maven.sateh.com/repository/ if you prefer an European mirror)


Greetings from Saarbrücken ;-)

Thorsten
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFEqjrSQvObkgCcDe0RAmOrAKCf1CSZVHK+Q0DasWqQBTtKlG2EYACdGbhp
yZ6J6NaxyRlhHoLwkpfmyS0=
=SHH6
-END PGP SIGNATURE-

-
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]



Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Jeff Mutonho

Question 1
=
Does continuum actually work with Maven 2?I'm trying to build my m2
project.My top level pom.xml defines the
modules that need to be built.The modules are defined as follows:

  moduleeportal-services/module
  moduleeportal-messaging/module
  moduleeportal-messaging-support/module
  moduleeportal-webservices/module
  moduleeportal/module

Each module has its own pom.xml .When I point continuum to my top
level pom.xml  it adds all my modules as projects.My top level
project(the one with the super pom) is also listed amongst the added
projects as shown below :

Mycompany ePortal
ePortal Messaging
ePortal Messaging Support
ePortal Services
ePortal Web Application
ePortal Webservices


Mycompany ePortal  is the top level project with the pom that
defines he modules(listed above).The pom.xml in Mycompany ePortal
does not have a build section...just dependencies , e-mail addresses
, etc.
I'm getting a build errors e-mails for each module saying  saying :


Build Error:

org.apache.maven.continuum.execution.ContinuumBuildExecutorException:
Could not find Maven project descriptor.
at 
org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:108)
at 
org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64)
at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273)
at 
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
at java.lang.Thread.run(Thread.java:595)


All I want is for Contiuum to work the same way M2 works when I type
mvn install  ...i.e realize that I have modules and these modules
need to be built!How hard can this be?
Isn't continuum suppose to use the pom.xml I supplied when adding
projects as the top level pom?My project structure looks like as
follows:

/MyCompanyEportal/pom.xml (this pom has the smc, e-mail
adds,etc,modules definitions)
and its the one i pass onto Continuum to add the maven2
projects.Continuum is using this to checkout the modules from CVS.I
thought it would then start building the modules(just like maven does
when I run mvn install from the top level directory
/MyCompanyEportal/)

Then he modules are as follows :

/MyCompanyEportal/eportal-services/pom.xml (build config for eportal-services)
/MyCompanyEportal/eportal-messaging/pom.xml (build config for eportal-messages)
/MyCompanyEportal/eportal-web/pom.xml (build config for eportal-web)

I even made the location of continuum's working directory the same as
the location of my super pom (pom.xml defines the
modules that need to be built.The modules are defined as follows:

  moduleeportal-services/module
  moduleeportal-messaging/module
  moduleeportal-messaging-support/module
  moduleeportal-webservices/module
  moduleeportal/module

Each module has its own pom.xml .When I point continuum to my top
level pom.xml  it adds all my modules as projects.My top level
project(the one with the super pom) is also listed amongst the added
projects as shown below :

Mycompany ePortal
ePortal Messaging
ePortal Messaging Support
ePortal Services
ePortal Web Application
ePortal Webservices


Mycompany ePortal  is the top level project with the pom that
defines he modules(listed above).The pom.xml in Mycompany ePortal
does not have a build section...just dependencies , e-mail addresses
, etc.
I'm getting a build errors e-mails for each module saying  saying :


Build Error:

org.apache.maven.continuum.execution.ContinuumBuildExecutorException:
Could not find Maven project descriptor.
at 
org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:108)
at 
org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64)
at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273)
at 
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
at java.lang.Thread.run(Thread.java:595)


All I want is for Contiuum to work the same way M2 works when I type
mvn install  

Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Martin Gilday
Does the pom that you uploaded have the SCM tags correctly set, and is
the POM correctly in you source control?

- Original message -
From: Jeff Mutonho [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org,
continuum-users@maven.apache.org
Date: Tue, 4 Jul 2006 13:19:35 +0200
Subject: Ladies and Gents...does Continuum actually work?

Question 1
=
Does continuum actually work with Maven 2?I'm trying to build my m2
project.My top level pom.xml defines the
modules that need to be built.The modules are defined as follows:

   moduleeportal-services/module
   moduleeportal-messaging/module
   moduleeportal-messaging-support/module
   moduleeportal-webservices/module
   moduleeportal/module

Each module has its own pom.xml .When I point continuum to my top
level pom.xml  it adds all my modules as projects.My top level
project(the one with the super pom) is also listed amongst the added
projects as shown below :

Mycompany ePortal
ePortal Messaging
ePortal Messaging Support
ePortal Services
ePortal Web Application
ePortal Webservices


Mycompany ePortal  is the top level project with the pom that
defines he modules(listed above).The pom.xml in Mycompany ePortal
does not have a build section...just dependencies , e-mail addresses
, etc.
I'm getting a build errors e-mails for each module saying  saying :


Build Error:

org.apache.maven.continuum.execution.ContinuumBuildExecutorException:
Could not find Maven project descriptor.
at 
org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:108)
at 
org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64)
at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273)
at 
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
at java.lang.Thread.run(Thread.java:595)


All I want is for Contiuum to work the same way M2 works when I type
mvn install  ...i.e realize that I have modules and these modules
need to be built!How hard can this be?
Isn't continuum suppose to use the pom.xml I supplied when adding
projects as the top level pom?My project structure looks like as
follows:

/MyCompanyEportal/pom.xml (this pom has the smc, e-mail
adds,etc,modules definitions)
and its the one i pass onto Continuum to add the maven2
projects.Continuum is using this to checkout the modules from CVS.I
thought it would then start building the modules(just like maven does
when I run mvn install from the top level directory
/MyCompanyEportal/)

Then he modules are as follows :

/MyCompanyEportal/eportal-services/pom.xml (build config for
eportal-services)
/MyCompanyEportal/eportal-messaging/pom.xml (build config for
eportal-messages)
/MyCompanyEportal/eportal-web/pom.xml (build config for eportal-web)

I even made the location of continuum's working directory the same as
the location of my super pom (pom.xml defines the
modules that need to be built.The modules are defined as follows:

   moduleeportal-services/module
   moduleeportal-messaging/module
   moduleeportal-messaging-support/module
   moduleeportal-webservices/module
   moduleeportal/module

Each module has its own pom.xml .When I point continuum to my top
level pom.xml  it adds all my modules as projects.My top level
project(the one with the super pom) is also listed amongst the added
projects as shown below :

Mycompany ePortal
ePortal Messaging
ePortal Messaging Support
ePortal Services
ePortal Web Application
ePortal Webservices


Mycompany ePortal  is the top level project with the pom that
defines he modules(listed above).The pom.xml in Mycompany ePortal
does not have a build section...just dependencies , e-mail addresses
, etc.
I'm getting a build errors e-mails for each module saying  saying :


Build Error:

org.apache.maven.continuum.execution.ContinuumBuildExecutorException:
Could not find Maven project descriptor.
at 
org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.updateProjectFromCheckOut(MavenTwoBuildExecutor.java:108)
at 
org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64)
at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273)
at 

RE: maven-pmd-plugin can't find my source files

2006-07-04 Thread Andrew-A . Davies
Sorry  about delayed response - been away 4 a couple of days.
No using JDK 1.4.2. Will try PMD alone to confirm, then try specific
version.

Will vote if I see

Rgds
Andy
 

-Original Message-
From: Doug Douglass [mailto:[EMAIL PROTECTED] 
Sent: 29 June 2006 18:33
To: Maven Users List
Subject: Re: maven-pmd-plugin can't find my source files

Sorry, I mis-spoke on the version, we were originally using
2.0-beta-2-SNAPSHOT hosted at either:

  * http://snapshots.maven.codehaus.org/maven2
  * http://cvs.apache.org/maven-snapshot-repository

You're classes don't happen to be using Java 5 and Generics do they?

You'll need to configure the plugin if you're using java 5 (see
targetJdk parameter).

If you want to try 2.0-beta-2-SNAPSHOT, add the appropriate location
above to your pom as a pluginRepository and then add a version tag where
ever you reference the pmd plugin groupId/artifactId.

Lastly, a good test of whether the problem is related to the plugin or
to pmd, is to install pmd and run it directly -- my bet is you'll see a
bunch of NPEs reported.


FYI, the 2.1-SNAPSHOT we use is deployed to our corp. plugin repo
pending acceptance of http://jira.codehaus.org/browse/MPMD-33 which is
unrelated to your problems. If you do see the NPEs noted above, vote for
this issue ;)

HTH,
Doug

On 6/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 I haven't specified a version. My POM looks like

 reporting
 plugins
 plugin

 groupIdorg.apache.maven.plugins/groupId

 artifactIdmaven-pmd-plugin/artifactId
 configuration
 linkXReftrue/linkXRef
 /configuration
 /plugin
 plugin

 groupIdorg.apache.maven.plugins/groupId

 artifactIdmaven-jxr-plugin/artifactId
 /plugin
 /plugins
 /reporting



 -Original Message-
 From: Doug Douglass [mailto:[EMAIL PROTECTED]
 Sent: 29 June 2006 13:39
 To: Maven Users List
 Subject: Re: maven-pmd-plugin can't find my source files

 What version of the plugin? We've been using 2.1-SNAPSHOT for many 
 months and haven't seen the problems you describe.

 On 6/29/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
  Heiko,
 
  I have the same issue. Except that only a blank page is created.
 
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-pmd-plugin/artifactId
  /plugin
 
  I also use JXR for cross referencing java
 
  plugin
 
  groupIdorg.apache.maven.plugins/groupId
 
  artifactIdmaven-jxr-plugin/artifactId
  /plugin
 
  Either I am missing something fundamental, or the documentation on 
  http://maven.apache.org/plugins/maven-pmd-plugin/howto.html
  is wrong. Or there are bugs with the plugin.
 
  Rgds
  Andy
 
  -Original Message-
  From: Heiko Wolf [mailto:[EMAIL PROTECTED] ]
  Sent: 29 June 2006 07:58
  To: users@maven.apache.org
  Subject: maven-pmd-plugin can't find my source files
 
  Hello,
 
  I have a very little maven project (only one source file), sources 
  as usual in src/main/java, everything works fine, mvn compile, mvn 
  site and so on. But not mvn pmd:pmd.  It generates some files 
  (target/basic.xml, target/unusedcode.xml ...), pmd.xml is also 
  generated, but its nearly empty. It contains only an pmd-tag, 
  nothing more. I try to integrate the pmd-plugin in my site-report, 
  which seems

  to work because pmd-sites are generateded, but they are useless 
  because the file-section is empty. The maven-pmd-plugin is unable to

  find my source code, I think, but why? I also tried the 
  checkstyle-plugin, which just works fine as expected without any 
  special treatment. Any suggestions how I can figure out the problem?
 Here is the output of the command:
 
  #mvn -e pmd:pmd
  + Error stacktraces are turned on.
  [INFO] Scanning for projects...
  [INFO] Searching repository for plugin with prefix: 'pmd'.
  [INFO]
  
  --
  --
  
  [INFO] Building InquiryPortlet
  [INFO]task-segment: [pmd:pmd]
  [INFO]
  
  --
  --
  
  [INFO] [pmd:pmd]
  [WARNING] Unable to locate Source XRef to link to - DISABLED [INFO]
  
  --
  --
  [INFO] BUILD SUCCESSFUL
  [INFO]
  
  --
  --
  [INFO] Total time: 9 seconds
  [INFO] Finished at: Thu Jun 29 08:53:31 CEST 2006 [INFO] Final
Memory:
  4M/108M [INFO]
  
  --
  --
 
  As far as I know, the warning has nothing to do with my problem.
 
  Is there any way to point the maven-pmd-plugin to the source files?
  But I thought, this is 

Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Jo Vandermeeren

That's standard behaviour i guess ;)

You should try and remove the nonrecursive flag that Continuum enables by
default.
You can find that flag in your project subsection in the continuum webapp,
as someone has sugested earlier.

In order to make continuum work like your normal command-line mvn command,
you could create a schedule that builds the parent module with your favorite
goals,
and remove the children from that schedule, so only the parent build will be
triggered...
You can always build your children manually at any given time..

Take care,
Jo

On 7/4/06, Martin Gilday [EMAIL PROTECTED] wrote:


Does the pom that you uploaded have the SCM tags correctly set, and is
the POM correctly in you source control?



Cobertura plugin using version 1.7

2006-07-04 Thread Guillaume Bilodeau
Hi all,

It seems to me that the current M2 Cobertura plugin is still using the 1.7 
runtime, when a 1.8 runtime was released back in April.  Are there any plans to 
switch to the latest version any time soon?

Thanks,
GB



Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Jo Vandermeeren

In response to your second question about the locations where continuum
checks out your code:
Those numbers are the primary keys of your separate projects in the
continuum database..

That's perfectly normal, and you shouldn't be bothered by which directory
name continuum chooses when it checks out your sourcode..
Your only concern is a correct build..

As you should know from your Maven 2 experience.. Every module has its own
POM and is treated as a separate project by maven..
And ofcourse, so does continuum.. Hence the different numbers (one per
project)..


PS. Please post ONE question per mail if you would like your questions to be
found and answered correctly..


Hibernate Archives (.har files) with Maven 2

2006-07-04 Thread Graham Leggett
Hi all,

I am trying to convert an ant build system to maven2, and have run into a
problem with har files for Hibernate.

Is there a plugin capable of building these files?

Regards,
Graham
--



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



Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Jeff Mutonho

As you should know from your Maven 2 experience.. Every module has its own
POM and is treated as a separate project by maven..
And ofcourse, so does continuum.. Hence the different numbers (one per
project)..



But then why is it checking all the modules into one folder , eg 50
i.e /50/eportal-services
   /50/eportal-messaging
  /50/eportal-web

then goes on to checkout  each module into separate folders  ,eg\
  /51/eportal-services
  /52/eportal-messaging
  /53/eportal-web
--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Hendrik Busch

Hi,


Question 1
=
Does continuum actually work with Maven 2?


Yes, it does. We've got it up and running here with several multi-module 
 projects. And they even work with the --non-recursive option. All 
modules share a common structure:


Toolbox/
|-- pom.xml
|-- toolbox-ant
|   |-- pom.xml
|   |-- src
|   `-- target
|-- toolbox-codecs
|-- pom.xml
|-- src
`-- target

the top level pom reads

moduletoolbox-ant/module
moduletoolbox-codecs/module

The most important thing is to get the VCS paths right in the scm part 
of your poms. If your CVS or SVN is not organized like your Maven 
project, you might run in difficulties.


You can also enable the -X command line option to see a more detailed 
log message. You can specify it where the other options like 
--non-recursive are also specified.



--
Mit freundlichen Grüßen / Kind regards

Hendrik Busch - Stellv. Leiter der Softwareentwicklung

LexisNexis Deutschland GmbH
http://www.lexisnexis.de
Feldstiege 100
D-48161 Münster
phone +49 (0) 2533-9300-455
fax +49 (0) 02533-9300-50
[EMAIL PROTECTED]

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



Re: [Maven2] test resources

2006-07-04 Thread christophe blin
thanks it works.

For a brief summary :
- having resources in src/main/resources make them available in the
classpath for the tests so you do not need any copy operation
- do not forget the leading / (which IMHO should be corrected in the docs)

regards,
chris

Hendrik Busch a écrit :
 Hi,

try putting your mapping_common.hbm.xml on src/main/resources/
 instead.
or modify your getResourceAsStream to get the file
 META-INF/mapping_common.hbm.xml

 you should not place Hibernate files in the META-INF directory. Either
 place them directly in src/main/resources (or src/test/resources if
 you only need them for testing) or place them in a folder
 corresponding to you Hibernate class package, e.g.
 src/main/resources/com/foo/bar.

 You should execute

 getClass().getResourceAsStream(/mapping_common.hbm.xml)

 with a leading slash in the path, as your previous path was relative
 the the package of the class in which you executed this command.


-- 

_
Tennaxia, www.tennaxia.com,
Pilotez vos obligations environnementales
_
Siège social :
6, rue Léonard de Vinci - 53001 Laval Cedex -
Tél : 02 43 49 75 50 - Fax : 02 43 49 75 77
Agence Paris :
19, rue réaumur - 75003 Paris -
Tél : 01 42 77 04 19 - Fax : 08 25 19 19 61
Agence Lyon :
Parc du Chater - 63 rue de la garenne - 69340 FRANCHEVILLE -
Tél : 04 72 39 98 14 - Fax : 04 72 39 93 85
The information in this message sent by TENNAXIA is confidential 
and may be legally privileged. It is intended solely for the 
addressee(s). Access to this message by anyone else is unauthorized.
If you are not the intended recipient, please delete it and notify 
the sender : any disclosure, copying, distribution or any action 
taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.



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



RE: Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread John Allen
This aspect of continuum is one of the main reasons we dropped it in favour of 
luntbuild. An 'exclusion pattern' feaure might be a good idea as it would 
enable 'smarter' checkout and avoid checking out sub-directories containing 
pom.xml files (for instance). 

 Date: Tue, 4 Jul 2006 14:03:15 +0200 From: [EMAIL PROTECTED] To: 
 users@maven.apache.org Subject: Re: Ladies and Gents...does Continuum 
 actually work?   As you should know from your Maven 2 experience.. Every 
 module has its own  POM and is treated as a separate project by maven..  
 And ofcourse, so does continuum.. Hence the different numbers (one per  
 project)..   But then why is it checking all the modules into one folder 
 , eg 50 i.e /50/eportal-services /50/eportal-messaging
 /50/eportal-web  then goes on to checkout  each module into separate 
 folders  ,eg\/51/eportal-services/52/eportal-messaging
 /53/eportal-web --Jeff  Mutonho  GoogleTalk : ejbengine Skype  
   : ejbengine Registered Linux user number 366042  
 - To 
 unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: 
 [EMAIL PROTECTED] 
_
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d

Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Emmanuel Venisse



Jeff Mutonho a écrit :
As you should know from your Maven 2 experience.. Every module has its 
own

POM and is treated as a separate project by maven..
And ofcourse, so does continuum.. Hence the different numbers (one per
project)..



But then why is it checking all the modules into one folder , eg 50
i.e /50/eportal-services
   /50/eportal-messaging
  /50/eportal-web


when continuum checkout the parent project, all subdirectories come with the 
checkout command



then goes on to checkout  each module into separate folders  ,eg\
  /51/eportal-services
  /52/eportal-messaging
  /53/eportal-web


then, we checkout all submodules in separate directory, so you can build them 
independantly.

Emmanuel


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



Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Emmanuel Venisse

In 1.1, users will can choose if they want to have one project in continuum by 
module or only one.

Emmanuel

John Allen a écrit :
This aspect of continuum is one of the main reasons we dropped it in favour of luntbuild. An 'exclusion pattern' feaure might be a good idea as it would enable 'smarter' checkout and avoid checking out sub-directories containing pom.xml files (for instance). 

Date: Tue, 4 Jul 2006 14:03:15 +0200 From: [EMAIL PROTECTED] To: users@maven.apache.org Subject: Re: Ladies and Gents...does Continuum actually work?   As you should know from your Maven 2 experience.. Every module has its own  POM and is treated as a separate project by maven..  And ofcourse, so does continuum.. Hence the different numbers (one per  project)..   But then why is it checking all the modules into one folder , eg 50 i.e /50/eportal-services /50/eportal-messaging/50/eportal-web  then goes on to checkout  each module into separate folders  ,eg\/51/eportal-services/52/eportal-messaging/53/eportal-web --Jeff  Mutonho  GoogleTalk : ejbengine Skype: ejbengine Registered Linux user number 366042  - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] 

_
Be one of the first to try Windows Live Mail.
http://ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d



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



Re: Why so many directories

2006-07-04 Thread Emmanuel Venisse



Jeff Mutonho a écrit :

On 7/4/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:
Actually, continuum create one project by module and it checkout each 
module in its own directory.


If you don't want one project by module, you can delete all modules in 
continuum interface and

remove --non-recursive from the build definition of your parent project.

Emmanuel


Thanks Emmanuel , but where is this non-recursive field
removed?Which configuration file?The website just says If you want to
build recursively from the parent, you have to remove the
--non-recursive or -N argument under the Build Definitions section
of your parent project.

Is this changed in the pom.xml?



It isn't in pom.xml. You'll find it in continuum interface.
In the summary page, click on your project, then you'll see the build definitions list, then, edit 
build definition and remove --non-recursive.

A build definition is the command line that continuum will use to build your 
project.

Emmanuel



Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Emmanuel Venisse

Please don't post your message on more than one list.

Jeff Mutonho a écrit :

Question 1
=
Does continuum actually work with Maven 2?


Yes, it works fine and it is used by lot of user.


I'm trying to build my m2
project.My top level pom.xml defines the
modules that need to be built.The modules are defined as follows:

  moduleeportal-services/module
  moduleeportal-messaging/module
  moduleeportal-messaging-support/module
  moduleeportal-webservices/module
  moduleeportal/module

Each module has its own pom.xml .When I point continuum to my top
level pom.xml  it adds all my modules as projects.My top level
project(the one with the super pom) is also listed amongst the added
projects as shown below :

Mycompany ePortal
ePortal Messaging
ePortal Messaging Support
ePortal Services
ePortal Web Application
ePortal Webservices


Mycompany ePortal  is the top level project with the pom that
defines he modules(listed above).The pom.xml in Mycompany ePortal
does not have a build section...just dependencies , e-mail addresses
, etc.
I'm getting a build errors e-mails for each module saying  saying :

 


Build Error:
 


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

at 
org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64) 

at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273) 

at 
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47) 

at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) 


at java.lang.Thread.run(Thread.java:595)


All I want is for Contiuum to work the same way M2 works when I type
mvn install  ...i.e realize that I have modules and these modules
need to be built!How hard can this be?
Isn't continuum suppose to use the pom.xml I supplied when adding
projects as the top level pom?My project structure looks like as
follows:

/MyCompanyEportal/pom.xml (this pom has the smc, e-mail
adds,etc,modules definitions)
and its the one i pass onto Continuum to add the maven2
projects.Continuum is using this to checkout the modules from CVS.I
thought it would then start building the modules(just like maven does
when I run mvn install from the top level directory
/MyCompanyEportal/)

Then he modules are as follows :

/MyCompanyEportal/eportal-services/pom.xml (build config for 
eportal-services)
/MyCompanyEportal/eportal-messaging/pom.xml (build config for 
eportal-messages)

/MyCompanyEportal/eportal-web/pom.xml (build config for eportal-web)

I even made the location of continuum's working directory the same as
the location of my super pom (pom.xml defines the
modules that need to be built.The modules are defined as follows:

  moduleeportal-services/module
  moduleeportal-messaging/module
  moduleeportal-messaging-support/module
  moduleeportal-webservices/module
  moduleeportal/module

Each module has its own pom.xml .When I point continuum to my top
level pom.xml  it adds all my modules as projects.My top level
project(the one with the super pom) is also listed amongst the added
projects as shown below :

Mycompany ePortal
ePortal Messaging
ePortal Messaging Support
ePortal Services
ePortal Web Application
ePortal Webservices


Mycompany ePortal  is the top level project with the pom that
defines he modules(listed above).The pom.xml in Mycompany ePortal
does not have a build section...just dependencies , e-mail addresses
, etc.
I'm getting a build errors e-mails for each module saying  saying :

 


Build Error:
 


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

at 
org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirectoryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction.java:64) 

at 
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:273) 

at 
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47) 

at 
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103) 


at 

Re : assembly plugin problem

2006-07-04 Thread nazim chakik
Hi,

indeed i want all dependency jars in a 'lib' directory in the assembly.
here my poms and my descriptor:
 

ROOT POM* 
  ...
modules
module../ife-asp/module
module../ife-aspstruts/module
..
   /modules
  ...
build
sourceDirectory${basedir}/src/java/sourceDirectory
testSourceDirectory${basedir}/src/test/testSourceDirectory
plugins
.
plugin
artifactIdmaven-assembly-plugin/artifactId
 version2.2-SNAPSHOT/version
configuration
appendAssemblyIdfalse/appendAssemblyId
descriptors
  
descriptorsrc/main/assembly/descripteur.xml/descriptor
/descriptors
includeSitetrue/includeSite
 includes
include*.jar/include
/includes
/configuration
  /plugin
/plugins
/build
..
dependencyManagement
dependencies
dependency
 groupIdcommons-logging/groupId
artifactIdcommons-logging/artifactId
version1.0.4/version
/dependency 
dependency
groupIdcommons-lang/groupId
artifactIdcommons-lang/artifactId
version2.0/version
/dependency
 dependency
groupIdstruts/groupId
artifactIdstruts/artifactId
version1.1/version
/dependency
dependency
   groupIdorg.hibernate/groupId
   artifactIdhibernate/artifactId
  version3.0/version
   /dependency
   dependencyManagement
***ife-asp module pom per example**
parent
artifactIdife/artifactId
groupIdfr.improve.foundations/groupId
version${buildVersion}/version
relativePath../IFE/pom.xml/relativePath (IFE is the root  project)
/parent
modelVersion4.0.0/modelVersion
artifactIdife-asp/artifactId
groupIdfr.improve.foundations.extention/groupId
nameIFE-ASP/name
packagingjar/packaging
version1.2.1/version
dependencies
dependency
groupIdfr.improve.foundations.extention/groupId
artifactIdife-hibernate/artifactId
version[1,)/version
/dependency
 dependency
groupIdorg.hibernate/groupId
artifactIdhibernate/artifactId
/dependency
dependency
 groupIdstruts/groupId
 artifactIdstruts/artifactId
 /dependency
/dependencies
/project
descripteur.xml

assembly
  idbin/id
  formats
formatjar/format
  /formats
  includeBaseDirectoryfalse/includeBaseDirectory
fileSets 
.. 
fileSet
  directory../ife-asp/target/directory
  outputDirectorylib/outputDirectory
  includes
include*.jar/include
 includeDependenciestrue/includeDependencies
  /includes
/fileSet
..
 /assembly
*
thank you for your reativity!


Hi, 
 
it would help if you could post your pom.xml with the assembly plugin 
configuration and  
your assembly descriptor. Also you should describe how you expect the final 
assembly to  
look like. Do you want to create just one jar file that contains your classes + 
the  
classes of the dependencies (you can use the predefined 'jar-with-dependencies' 
descriptor  
for that) or do you want (for example) all dependency jars in a 'lib' directory 
in the  
assembly? 
 
-Tim 
 
nazim chakik schrieb: 
   
 Hello,  
   
 Already saw this link, but without success.  
 if somebody already assembled a complete project with all his  
 dependencies that it comes me to assistance,  
 that will make more than one week  that I try to solve this problem.  
   
 thanks  
   
 Nazim  
   
 Alexandre Poitras a écrit :  
 Should help you :  
 http://maven.apache.org/plugins/maven-assembly-plugin/assembly.html  
 
 On 6/30/06, nazim chakik [EMAIL PROTECTED] wrote:  
  Hello,  
 
 I use the maven's assembly plugin and I have the following problem:  
 I  have several projects which are modules of  one main   project  
 containing the pom root. Each module has its own dependencies ,  
 When I run the command: (mvn  assembly:assembly) on the root pom, I  
 recover the sub projects's .jar but without dependences.  
 If you have a good documentation about assembly or an example, that  
 would help me .  
 
 thank you in advance  
 
 PS:I use -   artifactIdmaven-assembly-plugin/artifactId  
   version2.2-SNAPSHOT/version  
 
 Nazim




[m2] WAR plugin questions

2006-07-04 Thread Bob Arnott

I'm currently in Maven dependency hell, with a WAR file that is huge
due to loads of useless third party library dependencies. The WAR plugin
web site is next to useless, with the two most promising links With war
dependencies and Filtering war dependencies both returning 404 errors.

As an aside, the link for With war dependencies should be:

http://maven.apache.org/plugins/maven-war-plugin/examples/example-overlay.html
^
not

http://maven.apache.org/plugins/maven-war-plugin/example/example-overlay.html

Although the corresponding page is empty. The link for the other page:

http://maven.apache.org/plugins/maven-war-plugin/example-webappdependency-filtering.html

Doesn't exist in the source repository...

Anyway, how do I get rid of the dependencies that I don't want...? I'm not
prepared to add any thing to the main dependencies section of my pom.xml
files as these dependencies have nothing to do with my project. With the
assembly descriptor I can at least specify and excludes section with
exclude${groupId}:${artifactId}/exclude tags to get rid of things.

How do I do the same with the WAR plugin...? The war:war documentation
suggests that there is a dependentWarExcludes tag, but doesn't give any
examples and the comment The comma separated list of tokens to exclude
when doing a way overlay. is totally unhelpful.

Is that supposed to be:

dependentWarExcludesdependency1.jar,dependency2.jar/dependentWarExcludes

or

dependentWarExcludes${groupId}:${artifactId},${groupId}:${artifactId}/dependentWarExcludes

???

Any help would be appreciated.

Cheers,

P.S. Is there a tool to show me where all the dependencies come form...?
i.e. a graphing tool or something that shows what is a dependency of what.

--
Bob Arnott


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



Old project structure

2006-07-04 Thread Marx2

hello
I have Web project in CVS, It has structure:
/application/version3/
  /index.jsp
  /a2/a2.jsp
  /b2/b2.jsp
  /WEB-INF
/web.xml
/lib - some jars
/src - java sources

I would like to check out it in Maven2, compile and build WAR
How should I do it?

Should i build independent module for java sources and web files with their
own SCM section? or maybe checkout outside maven and use symbolic links to
maven directory structure?


-- 
View this message in context: 
http://www.nabble.com/Old-project-structure-tf1889956.html#a5167441
Sent from the Maven - Users forum at Nabble.com.


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



cobertura - Getting Error

2006-07-04 Thread tulasi

HI, 

when i am mvn test for mvn site, getting Error. Here I have enclosed my
configuration and error.

plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
configuration

instrumentedDirectorytarget/cobertura/instrumented-classes/instrumentedDirectory

outputDirectorytarget/cobertura/report/outputDirectory
/configuration 
executions
execution
idinstrument/id
phasetest-compile/phase
goals
goalinstrument/goal
/goals
/execution
execution
goals
  goalclean/goal
/goals
/execution
  /executions
/plugin


reporting
-
plugins
plugin
groupIdorg.codehaus.mojo/groupId

artifactIdsurefire-report-maven-plugin/artifactId
/plugin
 /plugins
 /reporting

Error 


Compiling 24 source files to E:\latest-i401k\cs-cache\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [cobertura:instrument {execution: instrument}]
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Unable to prepare instrumentation directory.

Embedded error: Failed to copy full contents from
E:\latest-i401k\cs-cache\classes\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\citistreet\id\util\cache\CreateCacheObjectEvent$CreateType.class
to
E:\latest-i401k\cs-cache\classes\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\generated-classes\cobertura\citistreet\id\util\cache\CreateCacheObjectEvent$CreateType.class
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 7 seconds
[INFO] Finished at: Tue Jul 04 19:28:19 GMT+05:30 2006
[INFO] Final Memory: 5M/12M
[INFO]


I dont why its creates multiple folders in classes directory.

Please help me on this issue.




-- 
View this message in context: 
http://www.nabble.com/cobertura---Getting-Error-tf1890046.html#a5167730
Sent from the Maven - Users forum at Nabble.com.


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



Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Jeff Mutonho

Perhaps your scm url (scm:cvs:pserver:mutonj:[EMAIL 
PROTECTED]:/var/lib/cvsroot:dev ) is wrong.
Are you sure it isn't
scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev/MyCompanyPortal ?


Yes I'm sure , because the correct modules are checked out.The
checking out is working



Continuum is an open source project. If you consider the documentation is poor, 
you can contribute  to it and provide some patches.


With all due respect ,this is a famous response :) .One can only
contribute once you have an understanding of what's going on and how
something works.Without that understanding ,you cannot contribute.In
any case , a project being an open source one , does not necessarily
mean it should have poor documentation(think Hibernate , Spring and
their success).The reasons for joining the mailing is to try and get
the understanding :)



--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


M2: spring-orm

2006-07-04 Thread christophe blin
Hi,

I'd like to know why the spring-orm version 2.0-m4 is not ibiblio while
spring-mock, spring-dao, ... are present in this vesrion.

Is this something I must do ?

regards,
chris

-- 

_
Tennaxia, www.tennaxia.com,
Pilotez vos obligations environnementales
_
Siège social :
6, rue Léonard de Vinci - 53001 Laval Cedex -
Tél : 02 43 49 75 50 - Fax : 02 43 49 75 77
Agence Paris :
19, rue réaumur - 75003 Paris -
Tél : 01 42 77 04 19 - Fax : 08 25 19 19 61
Agence Lyon :
Parc du Chater - 63 rue de la garenne - 69340 FRANCHEVILLE -
Tél : 04 72 39 98 14 - Fax : 04 72 39 93 85
The information in this message sent by TENNAXIA is confidential 
and may be legally privileged. It is intended solely for the 
addressee(s). Access to this message by anyone else is unauthorized.
If you are not the intended recipient, please delete it and notify 
the sender : any disclosure, copying, distribution or any action 
taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.



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



Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Jeff Mutonho

and is
the POM correctly in you source control?


Ok , I added the POM to the source control and that did the trick.The
mistake was the idea that Continuum would just use my top level POM
(the one I supply when adding the m2 projects).

Thanks for all your responses guys.

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



Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Emmanuel Venisse



Jeff Mutonho a écrit :
Perhaps your scm url 
(scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev ) 
is wrong.

Are you sure it isn't
scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev/MyCompanyPortal 
?


Yes I'm sure , because the correct modules are checked out.The
checking out is working


it can work too with a wrong url like if you use the parent directory of your project instead of the 
project directory. Do you have your root project undre 50 directory?


How many projects do you have in continuum? normally one by module + one for 
the root project.





Continuum is an open source project. If you consider the documentation 
is poor, you can contribute  to it and provide some patches.


With all due respect ,this is a famous response :) .One can only
contribute once you have an understanding of what's going on and how
something works.Without that understanding ,you cannot contribute.In
any case , a project being an open source one , does not necessarily
mean it should have poor documentation(think Hibernate , Spring and
their success).The reasons for joining the mailing is to try and get
the understanding :)



I'm agree that we need to add more documentation, screenshots... that help users, but I'm generally 
not happy with users that ask for help, we explain to us how to resolve their pb and they promise a 
patch for the doc without to send it.


Emmanuel



Re: Notification about new Maven releases

2006-07-04 Thread Brett Porter

announce@maven.apache.org lists all Maven-related releases (including plugins).

announce@apache.org gets major releases (and all Apache releases).

We have a freshmeat thing that's about 5 years old and I think we're
locked out :)

- Brett

On 05/07/06, Jimisola Laursen [EMAIL PROTECTED] wrote:


Hi!

Is there a way to get a notification (email) when a new release of Maven is
released?
If not, would it be possible to add to project to freshmeat.net as they have
this functionality and I assume many other use this for over projects?

Regards,
Jimisola


--
View this message in context: 
http://www.nabble.com/Notification-about-new-Maven-releases-tf1890145.html#a5168026
Sent from the Maven - Users forum at Nabble.com.


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





--
Apache Maven - http://maven.apache.org
Better Builds with Maven book - http://library.mergere.com/

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



Re: Ladies and Gents...does Continuum actually work?

2006-07-04 Thread Jeff Mutonho

On 7/4/06, Emmanuel Venisse [EMAIL PROTECTED] wrote:



Jeff Mutonho a écrit :
 Perhaps your scm url
 (scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev )
 is wrong.
 Are you sure it isn't
 scm:cvs:pserver:mutonj:[EMAIL PROTECTED]:/var/lib/cvsroot:dev/MyCompanyPortal
 ?

 Yes I'm sure , because the correct modules are checked out.The
 checking out is working

it can work too with a wrong url like if you use the parent directory of your 
project instead of the
project directory. Do you have your root project undre 50 directory?

How many projects do you have in continuum? normally one by module + one for 
the root project.



 Continuum is an open source project. If you consider the documentation
 is poor, you can contribute  to it and provide some patches.

 With all due respect ,this is a famous response :) .One can only
 contribute once you have an understanding of what's going on and how
 something works.Without that understanding ,you cannot contribute.In
 any case , a project being an open source one , does not necessarily
 mean it should have poor documentation(think Hibernate , Spring and
 their success).The reasons for joining the mailing is to try and get
 the understanding :)


I'm agree that we need to add more documentation, screenshots... that help 
users, but I'm generally
not happy with users that ask for help, we explain to us how to resolve their 
pb and they promise a
patch for the doc without to send it.




Point taken :)


Creating an EJB, then an EAR

2006-07-04 Thread Graham Leggett
Hi all,

I have an existing ant based project that I am trying to build with maven 2.

The existing ant build creates an EJB jar file, and then wraps it and it's
dependancies into an ear file.

I am trying to replicate this behaviour with maven 2.

Is there a way to run the ejb plugin, followed by the ear plugin to create
the final ear file?

Regards,
Graham
--



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



Re: Creating an EJB, then an EAR

2006-07-04 Thread Marco Mistroni

Hello,
see if htis sample can help you (though, it creates a jar for a n EJB..)

http://docs.codehaus.org/display/MAVENUSER/Examples

hth
marco


On 7/4/06, Graham Leggett  [EMAIL PROTECTED] wrote:


Hi all,

I have an existing ant based project that I am trying to build with maven
2.

The existing ant build creates an EJB jar file, and then wraps it and it's
dependancies into an ear file.

I am trying to replicate this behaviour with maven 2.

Is there a way to run the ejb plugin, followed by the ear plugin to create

the final ear file?

Regards,
Graham
--



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




Re: Creating an EJB, then an EAR

2006-07-04 Thread Graham Leggett
On Tue, July 4, 2006 5:13 pm, Marco Mistroni wrote:

  see if htis sample can help you (though, it creates a jar for a n EJB..)

 http://docs.codehaus.org/display/MAVENUSER/Examples

Are you referring to How to use the JBoss Embedded EJB3 Container for
Unit testing? It's the only example that comes up.

Regards,
Graham
--



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



snapshots in local repository after install?

2006-07-04 Thread Bram de Kruijff
Hi all,

on my continuum (linux) server I'm running out off diskspace fast
because each build (mvn clean install) produces an actual snapshot (eg
george-9.0.0-20060531.111546-5.jar) in the local repository.

This is not what happens on my (windows) workstation. Here each build
(mvn clean install) produces the same '-SNAPSHOT' extension so that it
overwrites the previous and doesn't waste any space.

Both machines build on the same code, both use maven 2.0.4 / continuum
1.0.3 / JDK1.5.0_x / Tomcat 5.5.17 So what is the difference, how can I
configure my ci not to produce real snapshots in my local repository?

regards,
Bram

--
Bram de Kruijff
GX creative online development B.V.
 
t: 024 - 3888 261
f: 024 - 3888 621
e: [EMAIL PROTECTED]
 
Wijchenseweg 111
6538 SW Nijmegen
http://www.gx.nl/ 

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



GoogleTalk notification

2006-07-04 Thread Jeff Mutonho

I've configured a google talk notification with the following parameters :
Jabber Host  talk.google.com
Jabber Port   5222
Jabber Login ejbengine
Jabber Password   
Jabber Domain Name  
Jabber Recipientejbengine

I don't receive any googletalk notifications however .The only ones I
get are just the e-mails.


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


Re: GoogleTalk notification

2006-07-04 Thread Jeff Mutonho

Sorry , my question is do i need to restart Continuum after addinf a
notifier throught the web interface?


On 7/4/06, Jeff Mutonho [EMAIL PROTECTED] wrote:

I've configured a google talk notification with the following parameters :
Jabber Host  talk.google.com
Jabber Port   5222
Jabber Login ejbengine
Jabber Password   
Jabber Domain Name
Jabber Recipientejbengine

I don't receive any googletalk notifications however .The only ones I
get are just the e-mails.


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042




--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


Re: GoogleTalk notification

2006-07-04 Thread Emmanuel Venisse
no, you don't need to restart it for all changes done throught the web interface, only for 
modification in application.xml.


For google talk, you need to define the jabber domain like described in faqs : 
http://maven.apache.org/continuum/faqs.html#how-to-configure-jabber-notifier-for-google-talk


Emmanuel

Jeff Mutonho a écrit :

Sorry , my question is do i need to restart Continuum after addinf a
notifier throught the web interface?


On 7/4/06, Jeff Mutonho [EMAIL PROTECTED] wrote:
I've configured a google talk notification with the following 
parameters :

Jabber Host  talk.google.com
Jabber Port   5222
Jabber Login ejbengine
Jabber Password   
Jabber Domain Name
Jabber Recipientejbengine

I don't receive any googletalk notifications however .The only ones I
get are just the e-mails.


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042








Re: [m2] maven-jar-plugin-2.1 status?

2006-07-04 Thread jerome lacoste

On 6/23/06, Mike Perham [EMAIL PROTECTED] wrote:

Mark, I can't confirm an exact date but I just went through JIRA last
night and closed/resolved 10-15 of the existing issues.  The one thing
that has not been done yet is an overhaul of the documentation to
conform with the new doc standards.  Once this has been done, the
release should be reasonably near.


I also need a release of this plugin because it currently blocks the
release of the beta-1 webstart mojo plugin.

I've called for a release many weeks ago and helped fix some of the
jar plugin issues. What is really missing from the docs? Willing to
help...

Cheers,

Jerome

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



Re: [m2] maven-jar-plugin-2.1 status?

2006-07-04 Thread jerome lacoste

On 7/4/06, jerome lacoste [EMAIL PROTECTED] wrote:

On 6/23/06, Mike Perham [EMAIL PROTECTED] wrote:
 Mark, I can't confirm an exact date but I just went through JIRA last
 night and closed/resolved 10-15 of the existing issues.  The one thing
 that has not been done yet is an overhaul of the documentation to
 conform with the new doc standards.  Once this has been done, the
 release should be reasonably near.

I also need a release of this plugin because it currently blocks the
release of the beta-1 webstart mojo plugin.

I've called for a release many weeks ago and helped fix some of the
jar plugin issues. What is really missing from the docs? Willing to
help...


I looked at the latest official maven plugin released (the clover one)
and I don't see many differences between the clover plugin deployed
site and the jar plugin one found in svn:

http://maven.apache.org/plugins/maven-clover-plugin/

Cheers,

Jerome

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



[ANN] Keytool plugin version 1.0-beta-1

2006-07-04 Thread jerome lacoste

The Mojo team is pleased to announce the Keytool Plugin 1.0-beta-1 release!

htp://mojo.codehaus.org/keytool-maven-plugin/

This plugin allows user to generate keystore, wrapping the SDK keytool command.

There are no known issues.

Enjoy!

-The Mojo  team

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



Maven 2: Manifest entries for JARs

2006-07-04 Thread Howard Lewis Ship

I'm working on some library code which will be driven by a manifest
entry in client JARs.

I need to be able to set some mainfest entries in my JAR files.

I can't see where to do this.  It seems likely for the jar plugin, but
nothing in the source or documentation indicates how to do this.

I tried creating my own META-INF/MANIFEST.MF file (under
src/main/resources) in the hopes that it would merge, but no-go.

--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com


--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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



How could i add external jar to maven.compile.classpath without use dependency setting in pom.xml

2006-07-04 Thread Reggie Kuo

Hi All,

How could i add external jar in maven.compile.classpath without use
dependency setting.
Because i don't want to install artifact jar to my repository.

Thanks.


Reggie Kuo


Re: Maven 2: Manifest entries for JARs

2006-07-04 Thread Grégory Joseph

Hi,

On 04/07/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:

I'm working on some library code which will be driven by a manifest
entry in client JARs.

I need to be able to set some mainfest entries in my JAR files.

I can't see where to do this.  It seems likely for the jar plugin, but
nothing in the source or documentation indicates how to do this.


How about http://maven.apache.org/guides/mini/guide-manifest.html ?

(cfr http://www.google.com/search?q=manifest%20site:maven.apache.org ;-)

HTH,

greg

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



Re: Maven 2: Manifest entries for JARs

2006-07-04 Thread Howard Lewis Ship

Missed that documentation.

You can see how the description, The maven archiver to use. is misleading.

On 7/4/06, Grégory Joseph [EMAIL PROTECTED] wrote:

Hi,

On 04/07/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
 I'm working on some library code which will be driven by a manifest
 entry in client JARs.

 I need to be able to set some mainfest entries in my JAR files.

 I can't see where to do this.  It seems likely for the jar plugin, but
 nothing in the source or documentation indicates how to do this.

How about http://maven.apache.org/guides/mini/guide-manifest.html ?

(cfr http://www.google.com/search?q=manifest%20site:maven.apache.org ;-)

HTH,

greg

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





--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

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



Re: Re: Maven 2: Manifest entries for JARs

2006-07-04 Thread Grégory Joseph

On 04/07/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:

Missed that documentation.

You can see how the description, The maven archiver to use. is misleading.



Oh, in the plugin/goal description, yes, absolutely.
I seem to recall i've recently seen activity towards better
documentation of complex types in plugins configuration.
(At least a link to a basic javadoc would be helpful as to know what
one can set without resorting to copying examples)

Cheers

g



On 7/4/06, Grégory Joseph [EMAIL PROTECTED] wrote:
 Hi,

 On 04/07/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
  I'm working on some library code which will be driven by a manifest
  entry in client JARs.
 
  I need to be able to set some mainfest entries in my JAR files.
 
  I can't see where to do this.  It seems likely for the jar plugin, but
  nothing in the source or documentation indicates how to do this.

 How about http://maven.apache.org/guides/mini/guide-manifest.html ?

 (cfr http://www.google.com/search?q=manifest%20site:maven.apache.org ;-)

 HTH,

 greg

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




--
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

-
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]



Re: Re: Maven 2: Manifest entries for JARs

2006-07-04 Thread Mark Hobson

Yep, I brought this up too on this thread:

http://mail-archives.apache.org/mod_mbox/maven-dev/200606.mbox/[EMAIL PROTECTED]

Mark

On 04/07/06, Grégory Joseph [EMAIL PROTECTED] wrote:

On 04/07/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
 Missed that documentation.

 You can see how the description, The maven archiver to use. is misleading.


Oh, in the plugin/goal description, yes, absolutely.
I seem to recall i've recently seen activity towards better
documentation of complex types in plugins configuration.
(At least a link to a basic javadoc would be helpful as to know what
one can set without resorting to copying examples)

Cheers

g


 On 7/4/06, Grégory Joseph [EMAIL PROTECTED] wrote:
  Hi,
 
  On 04/07/06, Howard Lewis Ship [EMAIL PROTECTED] wrote:
   I'm working on some library code which will be driven by a manifest
   entry in client JARs.
  
   I need to be able to set some mainfest entries in my JAR files.
  
   I can't see where to do this.  It seems likely for the jar plugin, but
   nothing in the source or documentation indicates how to do this.
 
  How about http://maven.apache.org/guides/mini/guide-manifest.html ?
 
  (cfr http://www.google.com/search?q=manifest%20site:maven.apache.org ;-)
 
  HTH,
 
  greg
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 Howard M. Lewis Ship
 Independent J2EE / Open-Source Java Consultant
 Creator and PMC Chair, Apache Tapestry
 Creator, Jakarta HiveMind

 Professional Tapestry training, mentoring, support
 and project work.  http://howardlewisship.com

 -
 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]




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



Problem with eclipse plugin

2006-07-04 Thread Marcelo Riss

Hi!

I was using eclipse m2 plugin without problems. Now, I try to invoke a
site goal but the plugin execution hangs. if I use mvn site in a command
prompt, for the same project, everything works fine. I checked in the list
archives and found some information about proxy configuration. I tryed to
configure proxy settings but the plugin still not works.  I'm using eclipse
m2 plugin 0.0.9 and maven 2.0.4. Any ideas?

Regards

Marcelo Riss


Re: snapshots in local repository after install?

2006-07-04 Thread ngodfredsen

Not sure why it would be different for your two environments, but you need to
specify unique version to false to avoid the timestamp being appended, e.g.:

  distributionManagement
repository
  ...
  uniqueVersionfalse/uniqueVersion
  ...
/repository
  /distributionManagement

Looks like you might have different pom files since one is version 9.0.0 and
the other is -SNAPSHOT.
-- 
View this message in context: 
http://www.nabble.com/snapshots-in-local-repository-after-install--tf1890555.html#a5172969
Sent from the Maven - Users forum at Nabble.com.


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



Re: How could i add external jar to maven.compile.classpath without use dependency setting in pom.xml

2006-07-04 Thread Andrew Williams
have you tried the dependency scope provided this will mean the dep is
not shipped

On Wed, 2006-07-05 at 02:11 +0800, Reggie Kuo wrote:
 Hi All,
 
 How could i add external jar in maven.compile.classpath without use
 dependency setting.
 Because i don't want to install artifact jar to my repository.
 
 Thanks.
 
 
 Reggie Kuo


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



Re: Creating an EJB, then an EAR

2006-07-04 Thread Marco Mistroni

hello,

 Yes, but the whole project packages an ejb into an .ear
 i thought that might help..

hth
marco

On 7/4/06, Graham Leggett [EMAIL PROTECTED] wrote:


On Tue, July 4, 2006 5:13 pm, Marco Mistroni wrote:

  see if htis sample can help you (though, it creates a jar for a n
EJB..)

 http://docs.codehaus.org/display/MAVENUSER/Examples

Are you referring to How to use the JBoss Embedded EJB3 Container for
Unit testing? It's the only example that comes up.

Regards,
Graham
--



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




maven2 xdoclet2 plugin

2006-07-04 Thread Marco Mistroni

hi all,,
 can anyone point me in the right direction for using maven2 xdoclet2
plugin?

i followed this link

http://xdoclet.codehaus.org/Maven2+plugin

to try, i wrote a simple pom.xml like in the example

project
  modelVersion4.0.0/modelVersion
  artifactIdBackend/artifactId
  packagingjar/packaging
  version1.0/version
  nameBackend/name
  parent
 groupIdTestJSFAppM2/groupId
 artifactIdTestJSFAppM2/artifactId
 version1.0/version
  /parent


  dependencies
 dependency
  groupIdaspectj/groupId
  artifactIdaspectjrt/artifactId
  version1.5.0/version
/dependency
dependency
  groupIdjasperreports/groupId
  artifactIdjasperreports/artifactId
  version1.2.4/version
/dependency
dependency
  groupIdcommons-digester/groupId
  artifactIdcommons-digester/artifactId
  version1.7/version
/dependency
dependency
  groupIdlog4j/groupId
  artifactIdlog4j/artifactId
  version1.2.9/version
/dependency
dependency
  groupIdcastor/groupId
  artifactIdcastor/artifactId
  version1.0M4/version
/dependency
dependency
  groupId javax.servlet/groupId
  artifactIdservlet-api/artifactId
  version2.4/version
/dependency

dependency
  groupIdTestJSFAppM2/groupId
  artifactIdCommons/artifactId
  version1.0/version
/dependency

  /dependencies

  build
 plugins
   plugin
 groupIdxdoclet/groupId
 artifactIdmaven2-xdoclet2-plugin/artifactId
 configuration
   configs
 config
 !-- here's where you specify which xdoclet-plugin to run, by
its class name --
 pluginorg.xdoclet.plugin.web.TaglibPlugin/plugin
 !-- here's some config for your plugin--
 params
 jspversion2.0/jspversion
 destdir${basedir}/target/xdoclet/META-INF/destdir
   /params
 /config
 !-- run multiple plugins by repeating this config element --
  /configs
/configuration
executions
  execution
goals
  goalxdoclet/goal
/goals
  /execution
/executions
  /plugin


   /plugins
  /build
  !-- The following two sections should be unnecessary shortly.
   surefire-2.2 is due for release yesterday. --
 repositories
   repository
 idapache.snapshots/id
 urlhttp://cvs.apache.org/maven-snapshot-repository/url
 snapshots
   enabledtrue/enabled
 /snapshots
   /repository
 /repositories
 pluginRepositories
 pluginRepository
idapache.snapshots/id
urlhttp://cvs.apache.org/maven-snapshot-repository/url
 /pluginRepository
 pluginRepository
 idcodehaus-plugins/id
 urlhttp://dist.codehaus.org//url
 snapshots
  enabledtrue/enabled
 /snapshots
 releases
 enabledtrue/enabled
 /releases
 /pluginRepository



  /pluginRepositories


/project



when i run mvn:compile   i got following error

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'xdoclet:maven2-xdoclet2-plugin' does not exist or no
valid ve
rsion could be found
[INFO]





and when i run mvn xdoclet:xdoclet i  got this


[INFO] The plugin 'org.apache.maven.plugins:maven-xdoclet-plugin' does not
exist
or no valid version could be found


can anyone help me out on how to start? i got plugins working fine for
maven1, btu now i have
moved to maven2 ...

thx and regards
marco


Re: [m2] WAR plugin questions

2006-07-04 Thread Adam Hardy

Bob Arnott on 04/07/06 14:57, wrote:

I'm currently in Maven dependency hell, with a WAR file that is huge
due to loads of useless third party library dependencies. 


Generally speaking, you should be able to dig your way out of this dependency hell. Are you sure that you have given all your dependencies the correct scope? For instance, any jars needed only for testing, or which are supplied by the appserver should be marked so with the scope tag. 

Secondly, when using big framework jars such as spring.jar, try using just the deconstructed modular jars you need (if they are provided) rather than the whole kit and caboodle. 




P.S. Is there a tool to show me where all the dependencies come form...?
i.e. a graphing tool or something that shows what is a dependency of what.


Run mvn -X package and look at the indented references to jars. Each main 
dependency starts on the left and for each transitive dependency, a new line 
with an indentation is added.

Hope that helps,
Adam

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



Re: [m2] Plugin Version in POM

2006-07-04 Thread Hilco Wijbenga

On 7/4/06, leahpar [EMAIL PROTECTED] wrote:

= maybe you should add version2.0/version inthe report section too 


Yeah, that does the trick.

My idea was to have a super POM where the plugin (and dependency)
versions would be locked down so when I'm ready to move to a newer
version I can do so by changing the version in just one place. This
would allow for a completely reproducible build. The above fix still
forces me to change the version in (at least) two places.

Clearly, I'm not going about this the Maven way. Should I use a
profile? Should I create a bunch of properties, one for each of the
plugins I need and then use those properties to determine the versions
in the child POMs? How does one do this?

Cheers,
Hilco

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



Error when making Maven generate an Andromda-enabled project?

2006-07-04 Thread Abdelhak JIJANE
Hello,

Can anybody just help me solving one of these following astonishing
errors!! Even just ideas can help me:

I always get the same error message when trying to download the plugin
andromda for Maven (speaking about this plugin, could someone send me the
correct command line to type for Andromda 3.2-RC1  Maven 2.0.4 because I
see many different versions with andromda, andromdapp,
-Dversion=3.2-RC1:version of andromda or -Dversion=2.1:version of the
plugin ):

C:\andromda-bin-3.2-RC1mvn plugin:download -DgroupId=andromda
-DartifactId=mave
n-andromdapp-plugin -Dversion=3.1
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'plugin'.
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Required goal not found: plugin:download
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time:  1 second
[INFO] Finished at: Tue Jul 04 18:50:28 CEST 2006
[INFO] Final Memory: 1M/3M
[INFO]


And even after having downloaded it 'manually', and copied almost
everywhere it could be needed (in maven's plugin directory, andromda's
plugin and library directory, in the
repository:.m2/repository/org/apache/maven...), It still does not want to
recognize it, and use it to generate an Andromda-enabled project!!

C:\andromda-bin-3.2-RC1mvn andromda:generate
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'andromda'.
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The plugin 'org.apache.maven.plugins:maven-andromda-plugin' does
not exis
t or no valid version could be found
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time:  1 second
[INFO] Finished at: Tue Jul 04 18:53:18 CEST 2006
[INFO] Final Memory: 1M/2M
[INFO] ---


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



Re: [m2] Looking for javadoc warning report

2006-07-04 Thread Julian Wood
Yes I'm looking for this too. It was a way to make sure that javadocs  
were being filled out properly (and to define what properly was). I  
also recall a mention of failing builds if javadocs weren't adequate.  
Is this around at all?


http://maven.apache.org/maven-1.x/javadoc-warnings-report.html

Thanks,

J

On 12-Apr-06, at 9:15 AM, Paul Spencer wrote:


Wayne,
In general the output of the verbose parameter from the javadoc  
command.


Examples:
  o warning - @return tag has no arguments.
  o warning - Tag @see: can't find getCompanyId(java.lang.String)
  o warning - The first sentence is interpreted to be:
  o warning - @param argument numberOfDays is not a parameter name.

Paul Spencer

Wayne Fay wrote:

What kind of warnings did it report exactly??
Wayne
On 4/12/06, Paul Spencer [EMAIL PROTECTED] wrote:
Maven 1.0.2 produced a Javadoc warnging report.  I have not found  
this

in Maven 2.0.x.

Does it exist?  If so, where and how is it configured?

Paul Spencer

 
-

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]



--
Julian Wood [EMAIL PROTECTED]

Software Engineer
Teaching  Learning Centre
University of Calgary

http://tlc.ucalgary.ca




Re: [m2] Looking for javadoc warning report

2006-07-04 Thread Julian Wood
Oops - sorry missed the rest of that thread. I will check out the  
checkstyle report.


J

On 4-Jul-06, at 6:32 PM, Julian Wood wrote:

Yes I'm looking for this too. It was a way to make sure that  
javadocs were being filled out properly (and to define what  
properly was). I also recall a mention of failing builds if  
javadocs weren't adequate. Is this around at all?


http://maven.apache.org/maven-1.x/javadoc-warnings-report.html

Thanks,

J

On 12-Apr-06, at 9:15 AM, Paul Spencer wrote:


Wayne,
In general the output of the verbose parameter from the javadoc  
command.


Examples:
  o warning - @return tag has no arguments.
  o warning - Tag @see: can't find getCompanyId(java.lang.String)
  o warning - The first sentence is interpreted to be:
  o warning - @param argument numberOfDays is not a parameter name.

Paul Spencer

Wayne Fay wrote:

What kind of warnings did it report exactly??
Wayne
On 4/12/06, Paul Spencer [EMAIL PROTECTED] wrote:
Maven 1.0.2 produced a Javadoc warnging report.  I have not  
found this

in Maven 2.0.x.

Does it exist?  If so, where and how is it configured?

Paul Spencer


--
Julian Wood [EMAIL PROTECTED]

Software Engineer
Teaching  Learning Centre
University of Calgary

http://tlc.ucalgary.ca




[m2] What documentation do you want for maven-jar-plugin

2006-07-04 Thread Dennis Lundberg

Hello

I will be going over the documentation for the maven-jar-plugin. This 
will mean fixing these issues:

- http://jira.codehaus.org/browse/MJAR-46
- http://jira.codehaus.org/browse/MJAR-47

Is there anything else that you feel is missing from the current 
documentation for this plugin? This is the time to speak up and let us 
know. Please submit your wishes here. If you have some example 
configurations that you feel others would find useful, we'd be happy to 
include them.


I have created this issue to keep track of things:
- http://jira.codehaus.org/browse/MJAR-48

--
Dennis Lundberg

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



Re: [m2] Plugin Version in POM

2006-07-04 Thread Alexandre Poitras

Properties would be a very good and simple solution because a child
project can always override them and provide its own values if it
really needs too.

On 7/4/06, Hilco Wijbenga [EMAIL PROTECTED] wrote:

On 7/4/06, leahpar [EMAIL PROTECTED] wrote:
 = maybe you should add version2.0/version inthe report section too 

Yeah, that does the trick.

My idea was to have a super POM where the plugin (and dependency)
versions would be locked down so when I'm ready to move to a newer
version I can do so by changing the version in just one place. This
would allow for a completely reproducible build. The above fix still
forces me to change the version in (at least) two places.

Clearly, I'm not going about this the Maven way. Should I use a
profile? Should I create a bunch of properties, one for each of the
plugins I need and then use those properties to determine the versions
in the child POMs? How does one do this?

Cheers,
Hilco

-
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]



Re: [m2] What documentation do you want for maven-jar-plugin

2006-07-04 Thread Brett Porter

- Clear links back to the archiver docs on the main site - the guide
to manifests and removing pom.properties/xml from the JAR.
- Links to the assembly plugin for when you are doing advanced
jarring if that makes any sense.
- Docs for the new features like sign in particular (Jerome can
probably volunteer to do that)

General stuff, but particularly important for JAR:
- Review of all the fields to ensure they have good docs
- use the new and improved plugin report

The Javadoc plugin (in SVN) best represents docs right now, I think.
You might also take a look at the comments in MJAVADOC-79, MWAR-48,
MDEPLOY-35.

Once again, thanks!

- Brett

On 05/07/06, Dennis Lundberg [EMAIL PROTECTED] wrote:

Hello

I will be going over the documentation for the maven-jar-plugin. This
will mean fixing these issues:
- http://jira.codehaus.org/browse/MJAR-46
- http://jira.codehaus.org/browse/MJAR-47

Is there anything else that you feel is missing from the current
documentation for this plugin? This is the time to speak up and let us
know. Please submit your wishes here. If you have some example
configurations that you feel others would find useful, we'd be happy to
include them.

I have created this issue to keep track of things:
- http://jira.codehaus.org/browse/MJAR-48

--
Dennis Lundberg

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





--
Apache Maven - http://maven.apache.org
Better Builds with Maven book - http://library.mergere.com/

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



Re: [m2] What documentation do you want for maven-jar-plugin

2006-07-04 Thread Barrie Treloar

On 7/5/06, Dennis Lundberg [EMAIL PROTECTED] wrote:

Is there anything else that you feel is missing from the current
documentation for this plugin? This is the time to speak up and let us
know. Please submit your wishes here. If you have some example
configurations that you feel others would find useful, we'd be happy to
include them.


47 pretty much covers it,
anything that is in the
   configuration
section is black magic under archive.

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



[m2] maven-it-plugin - how to create integration tests?

2006-07-04 Thread Barrie Treloar

Can anyone point me to any documentation on the maven-it-plugin?

I expect I've missed something but
- I can't find the plugin documentation at maven.apache.org
- there is very little in the mail archives about it
- googling hasn't really helped find the scm for the plugin either...


From my fiddling it appears that you create a directory src/it/

and inside that directory create a new directory for each integration
test you want to perform.
The integration test kicks off the pom.xml file in this directory.

My question is: how do you then test the results of the maven build that is run?
Creating src/it/test/src/test/java/junitTest means that the test
file is run during the integration build, not afterwards

I want to run the maven-jar-plugin and verify that the contents of the
built jar.
Any suggestions on was to do this would be appreciated.

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



Re: [m2] maven-it-plugin - how to create integration tests?

2006-07-04 Thread Barrie Treloar

- googling hasn't really helped find the scm for the plugin either...


I'm blind.

It's available at
http://svn.apache.org/repos/asf/maven/sandbox/plugins/maven-it-plugin

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



[m2] Frustration getting Maven 2 and Hibernate working together

2006-07-04 Thread Paul Kuykendall

Hi,

I am at my wits end in getting maven to play nicely with Hibernate.  I've
been at it for over a week now and feel no closer than when I started.
Here's what I'm trying to do.  I've been working on a project using Maven
2.0.4 as the build system.  Everything has been going fine until I try and
get Maven to generate the Hibernate DDL and java from my hbm files.  I've
tried using the codehaus hibernate3-maven-plugin with no success.  I later
discovered that when they had their crash, it took out lots of the plugin
files.  I've tried to just integrate the hibernate portions into the POM as
a simple Ant task.  I can't even get Maven to recognize the Ant tasks.  I've
RTFM (as much as there is one).  I've tried all the available code snippets
I can find.  So far, nothing has worked.  here is my POM file, slightly
edited to protect the guilty.

With the config files below, I don't even get the echos.

If anyone has a sample section from the POM file for doing Hibernate 3
stuff, I would greatly appreciate a code-snippet.

Thanks.

/Paul

?xml version=1.0 encoding=UTF-8?project
 modelVersion4.0.0/modelVersion

 !-- POM Relationships --
 groupIdcom.mycompany.simulators/groupId
 artifactIdcaisim/artifactId
 version1.0-SNAPSHOT/version
!--
 parent
   groupIdcom.mycompany.simulators/groupId
   artifactIdsimulators/artifactId
   version1.0.0/version
 /parent
--
 dependencyManagement
 /dependencyManagement

 dependencies
   dependency
 groupIdjunit/groupId
 artifactIdjunit/artifactId
 version3.8.1/version
   /dependency
   dependency
 groupIdcommons-logging/groupId
 artifactIdcommons-logging/artifactId
 version1.0.4/version
   /dependency
   dependency
 groupIdcommons-configuration/groupId
 artifactIdcommons-configuration/artifactId
 version1.2/version
   /dependency
   dependency
 groupIdorg.hibernate/groupId
 artifactIdhibernate/artifactId
 version3.2.0.cr2/version
   /dependency
   dependency
 groupIdorg.hibernate/groupId
 artifactIdhibernate-annotations/artifactId
 version3.2.0.cr1/version
   /dependency
   dependency
 groupIdorg.hibernate/groupId
 artifactIdhibernate-tools/artifactId
 version3.1.0.beta4/version
   /dependency
 /dependencies

 modules
 /modules

 !-- Project Information --
 nameMy Simulator/name
 descriptionMy interface simulator./description
 urlhttp://www.mycompany.com/url
 inceptionYear2006/inceptionYear
 licenses/licenses
 developers
   developer
 idmyname/id
 nameMy Name/name
 email[EMAIL PROTECTED]/email
 organization/organization
 roles
   roleDeveloper/role
 /roles
 timezone-6/timezone
   /developer
 /developers
 contributors
 /contributors
 organization
   namemycompany, Inc./name
   urlhttp://www.mycompany.com/url
 /organization

 !-- Build Settings --
 packagingjar/packaging
 properties/properties
 build
   finalNamecsf/finalName
 pluginManagement
   plugins
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-compiler-plugin/artifactId
   configuration
 source1.5/source
 target1.5/target
   /configuration
 /plugin

 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-antrun-plugin/artifactId
   executions
 execution
   phasegenerate-sources/phase
   configuration
 tasks
   echoRunning Hibernate stuff here./echo
   ant antfile=${basedir}/build-hibernate.xml
inheritRefs=true
 target name=hibernate/
   /ant
 /tasks
   /configuration
   goals
 goalrun/goal
   /goals
 /execution
   /executions
   dependencies
   /dependencies
 /plugin
   /plugins
 /pluginManagement

   extensions
   /extensions

   /build

 reporting
   plugins

 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-javadoc-plugin/artifactId
   reportSets
!--
 reportSet
   iduml/id
   configuration
 docletgr.spinellis.umlgraph.doclet.UmlGraph/doclet
 docletArtifact
   groupIdumlgraph/groupId
   artifactIdUmlGraph/artifactId
   version4.3/version
 /docletArtifact
 additionalparam-views/additionalparam
 destDirtarget/uml/destDir
 showprivate/show
   /configuration
   reports
 reportjavadoc/report
   /reports
 /reportSet
--
 reportSet
   idhtml/id
   configuration
 showprivate/show
   /configuration
   reports
 reportjavadoc/report
   /reports
 /reportSet
   /reportSets
 /plugin

 plugin
   groupIdorg.apache.maven.plugins/groupId
   

Re: Using Maven 2

2006-07-04 Thread A S Praj

Thanks Tim,

Hi anyone can throw up some light on this...

Regards

A S P Raj

On 7/4/06, Tim Kettler [EMAIL PROTECTED] wrote:


Hi,

for c/c++ you can use the native-maven-plugin [1]. For the rest I don't
know. But you
always can run some ant tasks via the antrun plugin [2].

Hope this helps
-Tim

[1]
http://mojo.codehaus.org/maven-native/native-maven-plugin/introduction.html
[2] http://maven.apache.org/plugins/maven-antrun-plugin/

A S Praj schrieb:
 Hi ,
   In one of our projects we have the Bunch of projects, which is written
in
 different languages/softwares, I want to know whether Using Maven 2 can
I
 able to build the projects which is written in Perl, Bash, Ruby,
 Python,PHP,
 C, C++ files also.

 Thanks and Regards

 A.S.P.Raj



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




Re: Using Maven 2

2006-07-04 Thread dan tran

Perl, Bash, Python, Ruby, PHP are intepreter languages.  so you dont need to
buidl those
except packaging them via maven-assembly-plugin

HTH.

-D


On 7/4/06, A S Praj [EMAIL PROTECTED] wrote:


Thanks Tim,

Hi anyone can throw up some light on this...

Regards

A S P Raj

On 7/4/06, Tim Kettler [EMAIL PROTECTED] wrote:

 Hi,

 for c/c++ you can use the native-maven-plugin [1]. For the rest I don't
 know. But you
 always can run some ant tasks via the antrun plugin [2].

 Hope this helps
 -Tim

 [1]

http://mojo.codehaus.org/maven-native/native-maven-plugin/introduction.html
 [2] http://maven.apache.org/plugins/maven-antrun-plugin/

 A S Praj schrieb:
  Hi ,
In one of our projects we have the Bunch of projects, which is
written
 in
  different languages/softwares, I want to know whether Using Maven 2
can
 I
  able to build the projects which is written in Perl, Bash, Ruby,
  Python,PHP,
  C, C++ files also.
 
  Thanks and Regards
 
  A.S.P.Raj
 


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






Re: List of Maven Archetypes?

2006-07-04 Thread Wendy Smoak

On 7/1/06, siegfried [EMAIL PROTECTED] wrote:


What projects? Is there a list of starter projects I can start from?


I've added the ones I know about:
  http://docs.codehaus.org/display/MAVENUSER/Archetype+Plugin

--
Wendy

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



Re: [m2] What documentation do you want for maven-jar-plugin

2006-07-04 Thread jerome lacoste

On 7/5/06, Brett Porter [EMAIL PROTECTED] wrote:

[...]


- Docs for the new features like sign in particular (Jerome can
probably volunteer to do that)


isn't this enough documented in svn ? Last time I checked there were 2
or 3 paragraphs on it.

Jerome

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



Re: [m2] What documentation do you want for maven-jar-plugin

2006-07-04 Thread Brett Porter

Sorry, I didn't actually check... if it's done, that's great :)

- Brett

On 05/07/06, jerome lacoste [EMAIL PROTECTED] wrote:

On 7/5/06, Brett Porter [EMAIL PROTECTED] wrote:

[...]

 - Docs for the new features like sign in particular (Jerome can
 probably volunteer to do that)

isn't this enough documented in svn ? Last time I checked there were 2
or 3 paragraphs on it.

Jerome

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





--
Apache Maven - http://maven.apache.org
Better Builds with Maven book - http://library.mergere.com/

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



documenting composite objects in plugins configuration

2006-07-04 Thread jerome lacoste

Dennis,

related to your comment in MJAR-46, are you aware of any Jira issue
related to documenting composite objects fields of mojos ? I have a
similar problem with some plugins whose configuration consist mostly
of composite objects, making the generated plugin doc page useless.

Cheers,

Jerome

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