Re: list of symbolic links to your actual CVS modules

2007-02-23 Thread Ronald Pieterse
We use subversion and we have structured the modules as separate 
projects. This was, according to our development environment manager 
:-), necessary for good working with eclipse.
However when I create the parent project in continuum the submodules are 
also created (as they should) but the module names are changed into 
numbers. So the reference in the parent pom does not correspond anymore 
and the modules can not be found.


Emmanuel Venisse wrote:

How are they organized in your CVS?

Ronald Pieterse a écrit :

Hello.

I have a problem building my Maven 2 submodules in Continuum. My 
parent module is at the same level as my submodules (for easy IDE 
support reasons) and building locally goes fine. But when I try to 
build on the build server the module folder names are changed into 
numbers so the module references in the parent pom don't match any more.
I read something in the faq about this but I don't understand how to 
do this:


'Keep the structure and create a new module that contains a parent 
POM and a list of symbolic links to your actual CVS modules'


I alreadyhave a parent module which holds the references to the 
submodules like so:


   modules
   module../common/module
   module../persistence/module
   module../business/module
   module../web/module
   module../bounce/module
   module../webcommon/module
   module../publicweb/module
   module../partnerweb/module
   module../shared/module
   module../client/module
   /modules

How would I create a 'list of symbolic links '?

Ronald











Re: list of symbolic links to your actual CVS modules

2007-02-23 Thread Ronald Pieterse
Yes, I do. The parent is only a pom, describing which modules actually 
need to be built and in which order.


Emmanuel Venisse wrote:
By default, continuum doesn't use maven  in reactor mode to build 
project, so it doens't use modules.

Do you need to build all modules when you build your parent?

Ronald Pieterse a écrit :
We use subversion and we have structured the modules as separate 
projects. This was, according to our development environment manager 
:-), necessary for good working with eclipse.
However when I create the parent project in continuum the submodules 
are also created (as they should) but the module names are changed 
into numbers. So the reference in the parent pom does not correspond 
anymore and the modules can not be found.


Emmanuel Venisse wrote:

How are they organized in your CVS?

Ronald Pieterse a écrit :

Hello.

I have a problem building my Maven 2 submodules in Continuum. My 
parent module is at the same level as my submodules (for easy IDE 
support reasons) and building locally goes fine. But when I try to 
build on the build server the module folder names are changed into 
numbers so the module references in the parent pom don't match any 
more.
I read something in the faq about this but I don't understand how 
to do this:


'Keep the structure and create a new module that contains a parent 
POM and a list of symbolic links to your actual CVS modules'


I alreadyhave a parent module which holds the references to the 
submodules like so:


   modules
   module../common/module
   module../persistence/module
   module../business/module
   module../web/module
   module../bounce/module
   module../webcommon/module
   module../publicweb/module
   module../partnerweb/module
   module../shared/module
   module../client/module
   /modules

How would I create a 'list of symbolic links '?

Ronald



















Re: list of symbolic links to your actual CVS modules

2007-02-23 Thread Emmanuel Venisse

Continuum know the order of each module, it's the reason we don't use the 
reactor mode by default.
But if you need it absolutly, you need to create a project in the parent directory of your modules that have only one module, your parent project, and add it in continuum with the reactor mode, so all 
your modules will be in the same working directory.


Emmanuel

Ronald Pieterse a écrit :
Yes, I do. The parent is only a pom, describing which modules actually 
need to be built and in which order.


Emmanuel Venisse wrote:
By default, continuum doesn't use maven  in reactor mode to build 
project, so it doens't use modules.

Do you need to build all modules when you build your parent?

Ronald Pieterse a écrit :
We use subversion and we have structured the modules as separate 
projects. This was, according to our development environment manager 
:-), necessary for good working with eclipse.
However when I create the parent project in continuum the submodules 
are also created (as they should) but the module names are changed 
into numbers. So the reference in the parent pom does not correspond 
anymore and the modules can not be found.


Emmanuel Venisse wrote:

How are they organized in your CVS?

Ronald Pieterse a écrit :

Hello.

I have a problem building my Maven 2 submodules in Continuum. My 
parent module is at the same level as my submodules (for easy IDE 
support reasons) and building locally goes fine. But when I try to 
build on the build server the module folder names are changed into 
numbers so the module references in the parent pom don't match any 
more.
I read something in the faq about this but I don't understand how 
to do this:


'Keep the structure and create a new module that contains a parent 
POM and a list of symbolic links to your actual CVS modules'


I alreadyhave a parent module which holds the references to the 
submodules like so:


   modules
   module../common/module
   module../persistence/module
   module../business/module
   module../web/module
   module../bounce/module
   module../webcommon/module
   module../publicweb/module
   module../partnerweb/module
   module../shared/module
   module../client/module
   /modules

How would I create a 'list of symbolic links '?

Ronald
























Re: [M2] runtime scope but not transitive

2007-02-23 Thread Rodrigo Ruiz
Mmmm, then, why do you want to stop transitivity? If you depend on a war
module which depends on implJarModule at runtime, then your final module
will also depend on it. Maybe your final module includes another
implementation?

Anyway, I guess what you need is to declare the dependency as:

dependency
  groupId.../groupId
  artifactIdimplJarModule/artifactId
  scoperuntime/scope
  optionaltrue/optional
/dependency

The optional flag should break transitivity.

Regards

Rémy Sanlaville wrote:
 Thanks Rodrigo for your reply.
 
 I think provided is the right value for this
 
 
 I prefer to say provided is the best solution (compared with the
 others) but
 not the right.
 
 Why ? Because if you need my warModule, you will see that it has a
 dependency to implJarModule with the provided scope.
 So you will think that implJarModule is needed for compilation. But it's
 not
 true, because warModule just need it for runtime.
 As a result, you will add a dependency for implJarModule with a compile
 scope rather than a runtime scope.
 
 Regards,
 
 Rémy
 

-- 
---
GRID SYSTEMS, S.A. Rodrigo Ruiz
Parc Bit - Edificio 17 Research Coordinator
07121 Palma de Mallorca[EMAIL PROTECTED]
Baleares - Spain   Tel: +34 971 435 085
http://www.gridsystems.com/Fax: +34 971 435 082
---

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



Re: Help with assembler issue on release

2007-02-23 Thread Rémy Sanlaville

Hi Todd,

I'm not sure but it's perhaps because you link the maven-assembly-plugin to
a phase.
Generally it's better to avoid this[1].

Try this instead:
  plugin
  artifactIdmaven-assembly-plugin/artifactId
  configuration
  descriptors
  descriptor
  src/assemble/bin.xml
  /descriptor
  /descriptors
  /configuration
  /plugin

and
  mvn clean package assemby:assembly

An other solution is to declare your maven-assembly-plugin configuration in
a profile.

Not sure it will resolved your problem, but you can try.

Rémy


[1]
http://www.nabble.com/Attaching-an-assembly-to-a-multi-module-project-tf2608001s177.html#a7277887


Re: [M2] runtime scope but not transitive

2007-02-23 Thread Rémy Sanlaville

Hi Rodrigo,

Thanks for your reply,

Mmmm, then, why do you want to stop transitivity? If you depend on a war

module which depends on implJarModule at runtime, then your final module
will also depend on it. Maybe your final module includes another
implementation?



It's not rely that I want to stop transitivity. I just want to say that my
warModule
depends on implJarModule at runtime but it won't provide it. It's the
responsibility
of my earModule to include/provide that jar.

Anyway, I guess what you need is to declare the dependency as:


dependency
  groupId.../groupId
  artifactIdimplJarModule/artifactId
  scoperuntime/scope
  optionaltrue/optional
/dependency

The optional flag should break transitivity.



As indicated in my first mail, I don' think that optional is the solution:
  - I don't think also that optional is the solution because my warModule
has to inform that it need this dependency in runtime (declared in a spring
context descriptor). It's not the semantic of optional (cf. [1]).
[1]
http://www.nabble.com/dependencies-are-bloated-in-M2-tf3182336s177.html#a8831892

If you need my warModule, you will see that it has an optional dependency to
implJarModule with the runtime scope.
So you will think that you don't necessarily need implJarModule. But it's
not true and not what I want to say.


Regards,

Rémy

http://www.nabble.com/dependencies-are-bloated-in-M2-tf3182336s177.html#a8831892


System dependency and MANIFEST entry

2007-02-23 Thread Jo Support

hi, how to make system dependency added entries in manifest? I mean, this is
my dependency in the pom:

...
 dependency
  groupIdlit-commons/groupId
  artifactIdctgclient/artifactId
  version1.0/version
  scopesystem/scope
  systemPath${env.LITTOOLSDIR}/${env.SOURCEDIR}/lit-sl-comm/ctgclient-
1.0.jar/systemPath
 /dependency
...

but in the resulting jar's manifest ctgclient-1.0.jar is missing. any
suggestion? thank you very much.

Jo


list of symbolic links to your actual CVS modules

2007-02-23 Thread Ronald Pieterse

Hello.

I have a problem building my Maven 2 submodules in Continuum. My parent 
module is at the same level as my submodules (for easy IDE support 
reasons) and building locally goes fine. But when I try to build on the 
build server the module folder names are changed into numbers so the 
module references in the parent pom don't match any more.
I read something in the faq about this but I don't understand how to do 
this:


'Keep the structure and create a new module that contains a parent POM 
and a list of symbolic links to your actual CVS modules'


I alreadyhave a parent module which holds the references to the 
submodules like so:


   modules
   module../common/module
   module../persistence/module
   module../business/module
   module../web/module
   module../bounce/module
   module../webcommon/module
   module../publicweb/module
   module../partnerweb/module
   module../shared/module
   module../client/module
   /modules

How would I create a 'list of symbolic links '?

Ronald



Re: list of symbolic links to your actual CVS modules

2007-02-23 Thread Emmanuel Venisse

How are they organized in your CVS?

Ronald Pieterse a écrit :

Hello.

I have a problem building my Maven 2 submodules in Continuum. My parent 
module is at the same level as my submodules (for easy IDE support 
reasons) and building locally goes fine. But when I try to build on the 
build server the module folder names are changed into numbers so the 
module references in the parent pom don't match any more.
I read something in the faq about this but I don't understand how to do 
this:


'Keep the structure and create a new module that contains a parent POM 
and a list of symbolic links to your actual CVS modules'


I alreadyhave a parent module which holds the references to the 
submodules like so:


   modules
   module../common/module
   module../persistence/module
   module../business/module
   module../web/module
   module../bounce/module
   module../webcommon/module
   module../publicweb/module
   module../partnerweb/module
   module../shared/module
   module../client/module
   /modules

How would I create a 'list of symbolic links '?

Ronald








Add test resource outside of target/test-classes?

2007-02-23 Thread Adrian Pillinger
How can I add a directory to my test classpath without putting it in  
the target/test-classes directory?


Basically I have a conf directory for bootstrapping embedded jboss in  
my JUnit test. Then I deploy the target/test-classes directory to  
jboss to deploy my code. If the conf files for jboss exist in target/ 
test-classes jboss attempts to re-deploy the conf files again!


I have tried setting

testResource
directory${baseDir}/src/test/resources/jbossconf/directory
targetPath../jbossconf/targetPath
/testResource

This puts the conf files in target/jbossconf instead of in target/ 
test-classes/jbossconf but NOT on the classpath :(


Any help would be much appreciated.

Adrian

-
This message (including any attachments) may contain confidential
information intended for a specific individual and purpose.  If you
are not the intended recipient, delete this message.  If you are
not the intended recipient, disclosing, copying, distributing, or
taking any action based on this message is strictly prohibited.

RE: Problem using mvn site and mvn site-deploy

2007-02-23 Thread Tomas Malmsten
Hello aging,

Just to replay to my own email, I have found a solution. There seems to
be an issue with the plugin when retrieved from Mergers mirror of
central. When I removed all references to the plugin and it's parents
and swapped mirror settings the problem resolved it self. 



Regards

Tomas Malmsten

-Original Message-
From: Tomas Malmsten [mailto:[EMAIL PROTECTED] 
Sent: 21 February 2007 12:20
To: Maven Users List
Subject: Problem using mvn site and mvn site-deploy

Hi all,

I am having problems using the above commands. Maven can't resolve an
artefact, the message is:

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Failed to resolve artefact.

Missing:
--
1) org.apache.maven.archiva:archiva-utils:jar:1.0-maestro-1.1

  Try downloading the file manually from the project website.

  Then, install it using the command:
  mvn install:install-file -DgroupId=org.apache.maven.archiva
-DartifactId=archiva-utils \
  -Dversion=1.0-maestro-1.1 -Dpackaging=jar -Dfile=/path/to/file

  Path to dependency:
1)
org.apache.maven.plugins:maven-project-info-reports-plugin:maven-plugin:
2.1-maestro-1.1
2) org.apache.maven.shared:maven-shared-jar:jar:1.0-maestro-1.1
3) org.apache.maven.archiva:archiva-utils:jar:1.0-maestro-1.1

--
1 required artifact is missing.

for artifact:
 
org.apache.maven.plugins:maven-project-info-reports-plugin:maven-plugin:
2.1-maestro-1.1

from the specified remote repositories:
  central (http://repo.mergere.com/maven2),
  Codehaus Snapshots (http://snapshots.repository.codehaus.org/)

Any help on this would be great. When I have searched for the jar it
does not seem to exist.

Regards

Tomas Malmsten

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



Maven idea plugin

2007-02-23 Thread Vidya Mahavadi
Hi,
I have an ant plugin running in my pom,xml. When I run mvn idea:idea, it 
throws the following exception. Can anyone tell me what is missing in my 
setup..

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1768)
at java.lang.String.substring(String.java:1735)
at 
org.apache.maven.plugin.idea.AbstractIdeaMojo.toRelative(AbstractIdeaMojo.java:217)
at 
org.apache.maven.plugin.idea.IdeaModuleMojo.getModuleFileUrl(IdeaModuleMojo.java:777)
at 
org.apache.maven.plugin.idea.IdeaModuleMojo.getModuleFileUrl(IdeaModuleMojo.java:782)
at 
org.apache.maven.plugin.idea.IdeaModuleMojo.addSourceFolder(IdeaModuleMojo.java:797)
at 
org.apache.maven.plugin.idea.IdeaModuleMojo.rewriteModule(IdeaModuleMojo.java:264)
at 
org.apache.maven.plugin.idea.IdeaMojo.rewriteModule(IdeaMojo.java:205)
at 
org.apache.maven.plugin.idea.IdeaMojo.execute(IdeaMojo.java:185)
at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.jav
a:534)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExe
cutor.java:488)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java
:458)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifec
ycleExecutor.java:306)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecu
tor.java:273)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140
)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] 


Regards,
This e-mail is subject to a disclaimer, available at
http://www.rmb.co.za/web/elements.nsf/online/disclaimer-communications.html



Cobertura Maven Plugin 2.1 does work correctly

2007-02-23 Thread Mau, Bernd
Hi,

I have a problem with the cobertura plugin version 2.1. It does not generate 
correct reports.

I use maven 2.0.5 and java 1.5 on linux.

If I configure version 2.0 it works. Unfortunately this version does not report 
the lines of code.

Bernd

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



Re: [m1 or m2] aggregated changes was Re: [m2] changes and modules

2007-02-23 Thread Lukas Theussl
The current snapshot of the m1 multichanges plugin has a goal to 
generate a page with all changes since the last release of each 
sub-project, see eg


http://maven.apache.org/maven-1.x/plugins/bundled/multichanges-report-next.html

Apart from that, I am not aware of any such functionality. AFAIK m2 and 
m1 use the same format for the changes.xml file.


HTH,
-Lukas


Sean Gilligan wrote:

Hi,

I'm a Maven 1.x user and am looking for an aggregated changes report 
that shows changes for all modules (in reverse chronological order)  The 
multichanges plugin report doesn't do this, as I had hoped.


I did a quick Google and searched through my local archive of this list 
and found the below message.


Two questions:

1) Is there an existing way to do this in either m1 or m2?
2) Does m2 use the same format of changes.xml file as m1?

If the answer to #1 is no and #2 is yes, I'll probably try writing 
an XSL to do it.  The XSL could theoretically be used in both an m1 and 
an m2 plugin.


Thanks,

Sean

Denis Cabasson wrote:


Damien Viel wrote:
 


Hi all,

Is it possible to aggregate in the same report, all changes report 
from modules ?


Thanks

Damien





Not in the current version of the maven-changes plugin. How would you 
want

to see things aggregated?
If you have a clear idea of how to aggregate things, you can fill in a 
JIRA

request about this...

Denis.
  






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



Re: [m2] Can't deploy site with maven 2.0.5

2007-02-23 Thread Elid OR
I have created an issue for that : http://jira.codehaus.org/browse/MSITE-211

On Wednesday 21 February 2007 13:27, David J. M. Karlsen wrote:
 Elid OR wrote:
  Hi all,
 
  When I execute the site deployment : mvn site:deploy that work with maven
  2.0.4 I got this error on maven 2.0.5 :

 Same here - is the issue registered?

  [INFO]
  
  [ERROR] BUILD ERROR
  [INFO]
  
  [INFO] Error uploading site
 
  Embedded error: Cannot connect. Reason: ProxyHTTP: java.io.IOException:
  proxy error: Forbidden
  [INFO]
  
  [DEBUG] Trace
  org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading
  site at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultL
 ifecycleExecutor.java:564) at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal
 (DefaultLifecycleExecutor.java:493) at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLi
 fecycleExecutor.java:463) at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleF
 ailures(DefaultLifecycleExecutor.java:311) at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(D
 efaultLifecycleExecutor.java:278) at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecy
 cleExecutor.java:143) at
  org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330) at
  org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123) at
  org.apache.maven.cli.MavenCli.main(MavenCli.java:272) at
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java
 :39) at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI
 mpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
  at
  org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at
  org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at
  org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
  at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
  Caused by: org.apache.maven.plugin.MojoExecutionException: Error
  uploading site
  at
  org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:
 184) at
  org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMan
 ager.java:420) at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultL
 ifecycleExecutor.java:539) ... 16 more
  Caused by: org.apache.maven.wagon.authentication.AuthenticationException:
  Cannot connect. Reason: ProxyHTTP: java.io.IOException: proxy error:
  Forbidden
  at
  org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnectio
 n(AbstractJschWagon.java:186) at
  org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:143)
  at
  org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:
 149) ... 18 more
  Caused by: com.jcraft.jsch.JSchException: ProxyHTTP: java.io.IOException:
  proxy error: Forbidden
  at com.jcraft.jsch.ProxyHTTP.connect(Unknown Source)
  at com.jcraft.jsch.Session.connect(Unknown Source)
  at com.jcraft.jsch.Session.connect(Unknown Source)
  at
  org.apache.maven.wagon.providers.ssh.jsch.AbstractJschWagon.openConnectio
 n(AbstractJschWagon.java:158) ... 20 more
  [INFO]
  
  [INFO] Total time: 3 seconds
  [INFO] Finished at: Wed Feb 21 12:00:41 CET 2007
  [INFO] Final Memory: 3M/7M
  [INFO]
  
 
 
  This work with maven version 2.0.4 !!
 
  Any Idea ?
 
  Regards,
 
  Elid OR
 
  -
  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 building an ear with the assembly-plugin

2007-02-23 Thread Doug Tanner
I am receiving the following error while trying to package my project
into an ear using the assembly-plugin.

 

Error creating assembly: appxml attribute is required

 

I am unable to find any information on how to incorporate an
application.xml using this plugin.  We have one in source code that we
currently use while building with Ant, however, I am experimenting with
maven as we would like to eventually move to building with maven.  Any
help would be greatly appreciated.

 

Thanks, 

 

Doug Tanner

Operations Engineer

Benefitfocus.com, Inc.




BENEFITFOCUS.COM CONFIDENTIALITY NOTICE: This electronic message is intended 
only for the individual or entity to which it is addressed and may contain 
information that is confidential and protected by law. Unauthorized review, 
use, disclosure, or dissemination of this communication or its contents in any 
way is prohibited and may be unlawful. If you are not the intended recipient or 
a person responsible for delivering this message to an intended recipient, 
please notify the original sender immediately by e-mail or telephone, return 
the original message to the original sender or to [EMAIL PROTECTED], and 
destroy all copies or derivations of the original message. Thank you.  
(BFeComNote Rev. 08/01/2005)
***


TOP 5 surefire issues all unassigned?

2007-02-23 Thread andreas.ebbert-karroum
Hi,
 
not sure if there's a seperate mailinglist for surefire, I haven't found one 
(with google). Is there a specific reason why the TOP 5 issues of the surefire 
plugin are all unassigned? 
 
http://jira.codehaus.org/browse/SUREFIRE?report=com.atlassian.jira.plugin.system.project:popularissues-panel
 
Also the Roadmap lists 77 issues for the 2.4 release. I'd really prefer a much 
smaller release which is starting to address the issues with the most votes on 
it.
 
http://jira.codehaus.org/browse/SUREFIRE?report=com.atlassian.jira.plugin.system.project:roadmap-panel
 
Kindest Regards,
Andreas Ebbert-Karroum 
  Senior Software Design Engineer - Nokia Networks Services / Middleware 
  phone: +49-211-94123928, fax: +49-211-94123838 
  Heltorfer Straße 1, 40472 Düsseldorf, Germany 




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you. 

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/ 





Re: TOP 5 surefire issues all unassigned?

2007-02-23 Thread Brett Porter

There's about to be a big push on fixing issues in surefire. The main
ones will be taken care of, and we'll see what falls out from that (as
there are a number of interrelated issues). Testing will also be
added. Please continue to vote and comment on issues so that this can
be done most effectively.

In the mean time, 2.3 is currently being voted on to release so that
the existing fixes get into everyone's hands first.

Thanks!
- Brett

On 24/02/07, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

Hi,

not sure if there's a seperate mailinglist for surefire, I haven't found one 
(with google). Is there a specific reason why the TOP 5 issues of the surefire 
plugin are all unassigned?

http://jira.codehaus.org/browse/SUREFIRE?report=com.atlassian.jira.plugin.system.project:popularissues-panel

Also the Roadmap lists 77 issues for the 2.4 release. I'd really prefer a much 
smaller release which is starting to address the issues with the most votes on 
it.

http://jira.codehaus.org/browse/SUREFIRE?report=com.atlassian.jira.plugin.system.project:roadmap-panel

Kindest Regards,
Andreas Ebbert-Karroum
  Senior Software Design Engineer - Nokia Networks Services / Middleware
  phone: +49-211-94123928, fax: +49-211-94123838
  Heltorfer Straße 1, 40472 Düsseldorf, Germany




This message is confidential. If you have received this message in error, 
please delete it from your system. You should not copy it for any purpose, or 
disclose its contents to any other person. Internet communications are not 
secure and therefore Nokia GmbH does not accept legal responsibility for the 
contents of this message as it has been transmitted over a public network. 
Thank you.

Nokia GmbH, Nokia Networks is a German Company. Further information about the 
Company is available from its principal offices at Heltorferstrasse 1, D-40472, 
Düsseldorf, Germany and from the website at http://www.nokia.com/







--
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] add resources to surefire execution

2007-02-23 Thread apill

I've had the same problem. Just giving this a bump as there are no replies.


davidkarlsen wrote:
 
 Hi List!
 
 I got some resources for the testing phase that should exist on the 
 classpath while testing with surefire.
 
 If I merely add
 
 testResources
 
 testResource   
 directory${basedir}/src/test/config/directory
 /testResource
 
 testResource
 directory${basedir}/src/main/config/directory
 /testResource
 
 /testResources
 
 The tests run fine - but as I don't want the resources added to the 
 attached tests (I jar the tests at testing phase) - I changed the 
 configuration of resources to place the resources in 
 target/test-resources with the targetPath element.
 
 But now I have to add this directory to the classpath while executing 
 tests - but the classpath list for surefire is readonly.
 
 Any tricks to get around this?
 
 
 
 
 -- 
 David J. M. Karlsen - +47 90 68 22 43
 http://www.davidkarlsen.com
 http://mp3.davidkarlsen.com
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/-m2--add-resources-to-surefire-execution-tf2005090s177.html#a9119223
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: TOP 5 surefire issues all unassigned?

2007-02-23 Thread andreas.ebbert-karroum
Hi, 

-Original Message-
From: ext Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: 23 February, 2007 15:05
To: Maven Users List
Subject: Re: TOP 5 surefire issues all unassigned?

There's about to be a big push on fixing issues in surefire. 
The main ones will be taken care of, and we'll see what falls 
out from that (as there are a number of interrelated issues). 
Testing will also be added. Please continue to vote and 
comment on issues so that this can be done most effectively.

I will encourage everybody to do so, thanks for the quickly explaining the 
current situation! :)

 _ ___  _
//\ndreas.[|-bbert-[]/arroum(a)[|\|okia.com
   `-`
   Andreas Ebbert-Karroum
     Senior Software Design Engineer
Nokia Networks Services / Middleware 
   phone: +49-211-94123928, fax: +49-211-9412-3838
   Heltorfer Straße 1, 40472 Düsseldorf, Germany 

--
This message is confidential. If you have received this message in error,
please delete it from your system. You should not copy it for any purpose,
or disclose its contents to any other person. Internet communications are
not secure and therefore Nokia GmbH does not accept legal responsibility
for the contents of this message as it has been transmitted over a public
network. Thank you.
Nokia GmbH, Nokia Networks is a German Company. Further information
about the Company is available from its principal offices at
Heltorferstrasse 1, D-40472, Düsseldorf, Germany and from the
website at http://www.nokia.com/
--

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



Re: properties-files

2007-02-23 Thread Erik Drolshammer

Wayne Fay wrote:

You are looking for Profiles in conjunction with Resource Filtering.


Thanks for the tip.

It seems this will solve my problem if I find a way to pass the 
properties to a schemaexport-task run from the antrun-plugin.


--
Regards
Erik




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



Re: [m2] add resources to surefire execution

2007-02-23 Thread Dan Tran

build your test jar in a separate project, and run it in a test project with
those resources

-D


On 2/23/07, apill [EMAIL PROTECTED] wrote:



I've had the same problem. Just giving this a bump as there are no
replies.


davidkarlsen wrote:

 Hi List!

 I got some resources for the testing phase that should exist on the
 classpath while testing with surefire.

 If I merely add

 testResources

 testResource
directory${basedir}/src/test/config/directory
 /testResource


testResource  
  directory${basedir}/src/main/config/directory
 /testResource

 /testResources

 The tests run fine - but as I don't want the resources added to the
 attached tests (I jar the tests at testing phase) - I changed the
 configuration of resources to place the resources in
 target/test-resources with the targetPath element.

 But now I have to add this directory to the classpath while executing
 tests - but the classpath list for surefire is readonly.

 Any tricks to get around this?




 --
 David J. M. Karlsen - +47 90 68 22 43
 http://www.davidkarlsen.com
 http://mp3.davidkarlsen.com

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




--
View this message in context:
http://www.nabble.com/-m2--add-resources-to-surefire-execution-tf2005090s177.html#a9119223
Sent from the Maven - Users mailing list archive at Nabble.com.


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




RE: Hibernate3:hbm2doc

2007-02-23 Thread Crossley, Jim
Hi Johann,

I patched the plugin to make it work.  I'll attach it to MOJO-530.  The
one currently there won't work with the head revision.

I'd like to help you figure out how to integrate the hbm2doc goal into
Maven's site generation.  Have you considered that?

Thanks,
Jim 

-Original Message-
From: Johann Reyes [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 22, 2007 1:33 PM
To: 'Maven Users List'
Subject: RE: Hibernate3:hbm2doc

Hello Jim

Actually I thought I added support for graphviz but doesn't look like
it.
I'll be adding the support for that for the next version of the plugin.
Right now the plugin is in the process of being voted to be released so
I won't be doing any changes until the vote process finishes.

Regards

Johann Reyes

-Original Message-
From: Crossley, Jim [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 21, 2007 10:31 AM
To: Maven Users List
Subject: Hibernate3:hbm2doc

Hi.

I'm looking to take advantage of hibernate-tools' abililty to generate a
graph of my entity relationships.  After looking at MOJO-544 and
MOJO-530, I thought it might be as easy as applying the attached patch
to the source and setting the dotExecutable property, but that didn't
work.

I notice the hibernate-tools dep version is 3.2-beta9a -- is that newer
than beta9?  Should the graphviz stuff be in there?

Any other ideas how to generate an ER diagram of my EJB3 entities and
include it in my site docs?

Thanks,
Jim

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



maven-ejb-plugin and finalName in build (ignored?)

2007-02-23 Thread Bratek

Hi,

I pasted below part of my pom file. I'd like the EJB jar file to be called
myEjbJar.jar.
Instead the file is named {artifactId}-{version}.jar.
Is there a way to make it work? I thought finalName inside build should
override the default jar file name.
Any help on the subject would be greatly appreciated.
Thanks,

Bratek

build
finalNamemyEjbJar/finalName
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-ejb-plugin/artifactId
configuration
generateClienttrue/generateClient
archive
manifest

addClasspathtrue/addClasspath
/manifest
/archive
/configuration
/plugin
/plugins
/build

-- 
View this message in context: 
http://www.nabble.com/maven-ejb-plugin-and-finalName-in-build-%28ignored-%29-tf3279514s177.html#a9120997
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: System dependency and MANIFEST entry

2007-02-23 Thread Wayne Fay

This is one of the quirks of system scoped dependencies... and these
quirks are why we generally recommend that you NOT use system scope
except in a handful of situations.

Leverage your local Maven repo, perform a proper install of the
ctgclient artifact, and convert that system scope to compile.

Wayne

On 2/23/07, Jo Support [EMAIL PROTECTED] wrote:

hi, how to make system dependency added entries in manifest? I mean, this is
my dependency in the pom:

...
  dependency
   groupIdlit-commons/groupId
   artifactIdctgclient/artifactId
   version1.0/version
   scopesystem/scope
   systemPath${env.LITTOOLSDIR}/${env.SOURCEDIR}/lit-sl-comm/ctgclient-
1.0.jar/systemPath
  /dependency
...

but in the resulting jar's manifest ctgclient-1.0.jar is missing. any
suggestion? thank you very much.

Jo



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



Re: [m2] add resources to surefire execution

2007-02-23 Thread Dan Tran

perhaps make a request to to surefire plugin to allow addition of classpath

-D


On 2/23/07, Dan Tran [EMAIL PROTECTED] wrote:


build your test jar in a separate project, and run it in a test project
with those resources

-D


 On 2/23/07, apill [EMAIL PROTECTED] wrote:


 I've had the same problem. Just giving this a bump as there are no
 replies.


 davidkarlsen wrote:
 
  Hi List!
 
  I got some resources for the testing phase that should exist on the
  classpath while testing with surefire.
 
  If I merely add
 
  testResources
 
 
 testResource
 directory${basedir}/src/test/config/directory
  /testResource
 
 
 testResource
directory${basedir}/src/main/config/directory

  /testResource
 
  /testResources
 
  The tests run fine - but as I don't want the resources added to the
  attached tests (I jar the tests at testing phase) - I changed the
  configuration of resources to place the resources in
  target/test-resources with the targetPath element.
 
  But now I have to add this directory to the classpath while executing
  tests - but the classpath list for surefire is readonly.
 
  Any tricks to get around this?
 
 
 
 
  --
  David J. M. Karlsen - +47 90 68 22 43
  http://www.davidkarlsen.com
  http://mp3.davidkarlsen.com
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

 --
 View this message in context:
 
http://www.nabble.com/-m2--add-resources-to-surefire-execution-tf2005090s177.html#a9119223
 Sent from the Maven - Users mailing list archive at 
Nabble.comhttp://nabble.com/
 .


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





RE: Passing parameter to mojo

2007-02-23 Thread David Jackman
The greeting field should be declared inside the class.

Interesting, I would have expected a Java compile error instead of a
qdox exception.

..David..
 

-Original Message-
From: Kiruba Suthan [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 23, 2007 12:26 AM
To: users@maven.apache.org
Subject: Passing parameter to mojo

 Hello,


I am trying to pass parameter to Mojo. I have done everything mentioned
in
http://maven.apache.org/guides/plugin/guide-java-plugin-development.html



When I compile the project, it throws



[INFO] Trace

com.thoughtworks.qdox.parser.ParseException: syntax error @[11,9] in
file:/C:/Documents and Settings/ksuthan/maven/testmaven/20_2/maven-g

reeting-plugin/src/main/java/org/ksuthan/plugins/GreetingMojo.java

at com.thoughtworks.qdox.parser.impl.Parser.yyerror (Parser.java
:638)

at com.thoughtworks.qdox.parser.impl.Parser.yyparse (Parser.java
:747)

at com.thoughtworks.qdox.parser.impl.Parser.parse
(Parser.java:619)

at com.thoughtworks.qdox.JavaDocBuilder.addSource (
JavaDocBuilder.java:300)

at com.thoughtworks.qdox.JavaDocBuilder.addSource (
JavaDocBuilder.java:316)

at com.thoughtworks.qdox.JavaDocBuilder.addSource (
JavaDocBuilder.java:312)

at com.thoughtworks.qdox.JavaDocBuilder$1.visitFile (
JavaDocBuilder.java:369)

at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk (
DirectoryScanner.java:43)

at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk (
DirectoryScanner.java:34)

at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk (
DirectoryScanner.java:34)

at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk (
DirectoryScanner.java:34)

at com.thoughtworks.qdox.directorywalker.DirectoryScanner.walk (
DirectoryScanner.java:34)

at com.thoughtworks.qdox.directorywalker.DirectoryScanner.scan (
DirectoryScanner.java:52)

at com.thoughtworks.qdox.JavaDocBuilder.addSourceTree (
JavaDocBuilder.java:366)

at
org.apache.maven.tools.plugin.extractor.java.JavaMojoDescriptorExtractor
.execute(
JavaMojoDescriptorExtractor.java:520)

at
org.apache.maven.tools.plugin.scanner.DefaultMojoScanner.populatePluginD
escriptor(
DefaultMojoScanner.java:84)

at org.apache.maven.plugin.plugin.AbstractGeneratorMojo.execute
(
AbstractGeneratorMojo.java:135)

at org.apache.maven.plugin.DefaultPluginManager.executeMojo (
DefaultPluginManager.java:412)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
ycle(
DefaultLifecycleExecutor.java:475)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal (
DefaultLifecycleExecutor.java:454)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures
(DefaultLifecycleExecutor.java:306)

at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments
(
DefaultLifecycleExecutor.java:273)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute (
DefaultLifecycleExecutor.java:140)

at org.apache.maven.DefaultMaven.doExecute
(DefaultMaven.java:322)

at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:115)

at org.apache.maven.cli.MavenCli.main (MavenCli.java:256)

at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke (
NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke (
DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke (Method.java:597)

at org.codehaus.classworlds.Launcher.launchEnhanced
(Launcher.java
:315)

at org.codehaus.classworlds.Launcher.launch (Launcher.java:255)

 at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)

at org.codehaus.classworlds.Launcher.main (Launcher.java:375)

[INFO]


[INFO] Total time: 7 seconds

[INFO] Finished at: Tue Feb 20 18:14:13 GMT+05:30 2007

[INFO] Final Memory: 5M/9M

[INFO]





Can anyone tell me what is wrong with this? Please

package org.ksuthan.plugins;
import org.apache.maven.plugin.AbstractMojo;
import org.apache.maven.plugin.MojoExecutionException;
/**
 * Says Hi to the user.
 * @goal sayhi
 * @parameter expression=Hello
 */
private String greeting;

public class GreetingMojo extends AbstractMojo {
public void execute() throws MojoExecutionException
{
getLog().info(Hello, world.);
}
}



Thanks a lot,

Kiruba

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



Re: Help with assembler issue on release

2007-02-23 Thread Todd Nine

I Remy,
 Thanks for the reply.  I had to link it to a phase explicitly to get it to
deploy the zip when performing an install or release.  I have tried removing
the specific lifecycle execution, but this does not alleviate the issue.

Thanks,
Todd

On 2/23/07, Rémy Sanlaville [EMAIL PROTECTED] wrote:


Hi Todd,

I'm not sure but it's perhaps because you link the maven-assembly-plugin
to
a phase.
Generally it's better to avoid this[1].

Try this instead:
   plugin
   artifactIdmaven-assembly-plugin/artifactId
   configuration
   descriptors
   descriptor
   src/assemble/bin.xml
   /descriptor
   /descriptors
   /configuration
   /plugin

and
   mvn clean package assemby:assembly

An other solution is to declare your maven-assembly-plugin configuration
in
a profile.

Not sure it will resolved your problem, but you can try.

Rémy


[1]

http://www.nabble.com/Attaching-an-assembly-to-a-multi-module-project-tf2608001s177.html#a7277887



Re: properties-files

2007-02-23 Thread Marcos Silva Pereira


It seems this will solve my problem if I find a way to pass the
properties to a schemaexport-task run from the antrun-plugin.



It is a quite simple:

configuration
   tasks
   ant antfile=build.xml
property
file={basedir}/project/relative/path/to/properties.file /
   target name=generate.clients /
   /ant
   /tasks
/configuration

You could pass properties to ant target using ant's property
taskhttp://ant.apache.org/manual/CoreTasks/property.html
.

Kind Regards,

--

Regards
Erik




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





--
Marcos Silva Pereira
recife - pe
[EMAIL PROTECTED]
skype: marcos.silva.pereira
http://blastemica.blogspot.com


Re: Help with assembler issue on release

2007-02-23 Thread Todd Nine

I figured it out, it seem to be a source control problem.  I already had the
tag mortgageware-1.0.0, I thought if I re-created the tag during my
deployment testing, it would simply overwrite the previous tag in
subversion, however that is not the case.  If I explicitly delete the tag
from subversion, then re-run the release, everything works correctly.

Thanks,
Todd

On 2/23/07, Todd Nine [EMAIL PROTECTED] wrote:


I Remy,
  Thanks for the reply.  I had to link it to a phase explicitly to get it
to deploy the zip when performing an install or release.  I have tried
removing the specific lifecycle execution, but this does not alleviate the
issue.

Thanks,
Todd

On 2/23/07, Rémy Sanlaville [EMAIL PROTECTED] wrote:

 Hi Todd,

 I'm not sure but it's perhaps because you link the maven-assembly-plugin
 to
 a phase.
 Generally it's better to avoid this[1].

 Try this instead:
plugin
artifactIdmaven-assembly-plugin/artifactId
configuration
descriptors
descriptor
src/assemble/bin.xml
/descriptor
/descriptors
/configuration
/plugin

 and
mvn clean package assemby:assembly

 An other solution is to declare your maven-assembly-plugin configuration
 in
 a profile.

 Not sure it will resolved your problem, but you can try.

 Rémy


 [1]
 
http://www.nabble.com/Attaching-an-assembly-to-a-multi-module-project-tf2608001s177.html#a7277887






Deploying to File System

2007-02-23 Thread mark_in_gr

I have a pom.xml with basic distributionManagement settings which should
copy an artifact to a directory on my local filesystem, however, no artifact
is being sent there. The child id element value under
distributionManagement section matches an id value in my settings.xml
file. 

Why is this file not being copied to the location specified by the
distributionManagementurl value?
-- 
View this message in context: 
http://www.nabble.com/Deploying-to-File-System-tf3280221s177.html#a9123454
Sent from the Maven - Users mailing list archive at Nabble.com.


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



How-to pass variables from one plugin to another

2007-02-23 Thread Enrique Gaona


Greets,
How do I go about setting the value of a variable from 1 plugin and passing
that variable to another plugin.   If I'm being vague, here are the
details:-)   I have a custom plugin (buildtools-tag-plugins) where I set
the buildNumber instance variable to the current date and time and then I
add it to the project hashtable using
project.getProperties().put(buildNumber, builddate).  What I want to do
is pass ${buildNumber} to the maven jar/ear/war plugins  as such:
manifestEntries

Implementation-Build

${buildNumber}

/Implementation-Build
/manifestEntries

In my ear and war MANIFEST files, I only get Implementation-Build: null ,
while in my jar files MANIFEST files Implementation-Build doesn't even show
up.

This is how  am invoking my build:
 mvn clean com.ibm.csdp.maven.plugins:buildtools-tag-plugins:tagbuild
-Dtagbuild.tagPrefix='CSDP_DEV_tag' antrun:run install rpm:rpm

Any help is very much appreciated.   Thanks

Enrique


snapshot update policy

2007-02-23 Thread Trevor Torrez

Something is wrong with the current snapshot update policy:
I have a several projects going on concurrently; the first is intended to be
a common components type project for the others, all are in concurrent
development.  The upstream project SNAPSHOT jars are *never* getting
downloaded.  I think this is because the upstream parent pom has an older
version, so when maven checks for modifications it also checks the upstream
parent pom, sees that it is not updated yet, and skips downloading the
upstream child even though it is newer.  This behaviour is dead wrong
especially for an update policy of always.  This is also breaking
development within the downstream project as the project consists of 6 sub
projects, and with one team working on the core subproject and another on
the web subproject, this gets frustrating when we have to spend time trying
to figure out why the projects are not compiling.

Short of periodically deleting the artifacts from the local maven repo is
there anything that can be done?


m2: How to include jars in classpath of xdoclet plugin definition?

2007-02-23 Thread Joaquim Oliveira

Hi all,

I cannot generate xdoclet from my EJB classes because my classes extend 
one class from an external jar, that needs to be in classpath when the 
ejbdoclet task is defined. How do I do this in the m2 xdoclet plugin 
configuration?


Here is my actual plugin configuration:

   plugin
   groupIdorg.codehaus.mojo/groupId
   artifactIdxdoclet-maven-plugin/artifactId
   executions
 execution
   phasegenerate-sources/phase
   goals
 goalxdoclet/goal
   /goals
   configuration
 tasks
   ejbdoclet 
destDir=${project.build.directory}/generated-sources/xdoclet 
ejbSpec=2.1 verbose=true force=true
 fileset dir=${basedir}/src/java

   include name=**/*Bean.java/include

 /fileset
 homeinterface/
 remoteinterface/
 localhomeinterface/
 localinterface/
 deploymentdescriptor 
destDir=${project.build.outputDirectory}/META-INF/

   /ejbdoclet
 /tasks
   /configuration
 /execution
   /executions
   /plugin

Thanks for your help,
--
--


   Joaquim Oliveira, MSc


 Analista de Sistemas



Fone: +55 (85) 3216.7971
Fax: +55 (85) 3216.7864
Skype: joaquim.oliveira


   ISO 9001 : 2000 - CMMI3




   www.atlantico.com.br http://www.atlantico.com.br


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



Maven 2 and Cobertura - 100% coverage???

2007-02-23 Thread bkbonner

Hi, I've added the Cobertura plugin to my pom.xml build, using the examples
at:

http://mojo.codehaus.org/cobertura-maven-plugin/usage.html

However, when I run 'mvn clean site', it shows that I have 100% line
coverage.  I know for certain that all of the methods in our DAOs are not
exercised.  Does this sound right to people?  I would think that it would
give me an error and indicate that certain methods in my code do not have
tests with them and could be considered 'dead'.

I'm seeing 0% branch coverage as well, which may be because I don't have
conditional logic in the code that's being tested.

Here's an example:

 13public Piddsdit getPiddsdit(PiddsditKey key) { 
 14  3  if(key != null){ 
 15  3  return (Piddsdit)
getSqlMapClientTemplate().queryForObject(PID_PIDDSDIT.selectByPrimaryKey, 
 16key); 
 17} else { 
 18return null; 
 19} 
 20} 

Notice lines 14 and 15 have each been exercised 3 times, but lines 18 hasn't
been exercised at all.  This is confusing to me.  I have other methods that
are similar.  Yet, still I get 100% coverage.

Is anyone else seeing this?  And how might I fix it.

Brian

-- 
View this message in context: 
http://www.nabble.com/Maven-2-and-Cobertura---100--coveragetf3280827s177.html#a9125446
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: [m2] Maven 2 and Cobertura - 100% coverage???

2007-02-23 Thread bkbonner

btw, my plugin definition in reporting is:

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

Brian
-- 
View this message in context: 
http://www.nabble.com/Maven-2-and-Cobertura---100--coveragetf3280827s177.html#a9125462
Sent from the Maven - Users mailing list archive at Nabble.com.


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



How to access test resources with Maven2/surefire?

2007-02-23 Thread Crossley, Jim
All (but Brett in particular, I think),

I'm trying to test some SQL queries in my EJB3/JPA app.  To do this, I'd
like for my unit tests to run against an in-memory Hypersonic database.
I configured a persistence unit appropriately in
src/test/resources/META-INF/persistence.xml, but alas Surefire can't
find it.  It can't even find the real one in
src/main/resources/META-INF/persistence.xml.

So how can I make Surefire access my classpath resources?  Anybody out
there test JPA stuff with Surefire successfully?

It seems there are quite a few JIRA issues about Surefire and classpath
stuff.  I have a very simple testcase demonstrating the problem.  To
which issue should I attach it?

Thanks,
Jim

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



Re: [m2] Maven 2 and Cobertura - 100% coverage???

2007-02-23 Thread Hilco Wijbenga

On 2/23/07, bkbonner [EMAIL PROTECTED] wrote:

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


mvn clean by default doesn't clean the Cobertura generated file.
Unless this has been fixed recently in either Cobertura or Maven,
Cobertura dumps a file in your project directory instead of in the
target directory. You're probably looking at stale data; remove the
Cobertura file and try again.

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



Re: [m2] Maven 2 and Cobertura - 100% coverage???

2007-02-23 Thread Wayne Fay

Sounds like simply a bug in Cobertura. Submit a unit test and someone
will surely take a look at it.

Wayne

On 2/23/07, bkbonner [EMAIL PROTECTED] wrote:


btw, my plugin definition in reporting is:

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

Brian
--
View this message in context: 
http://www.nabble.com/Maven-2-and-Cobertura---100--coveragetf3280827s177.html#a9125462
Sent from the Maven - Users mailing list archive at Nabble.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]



[M2] Classpath issue

2007-02-23 Thread Siegmann Daniel, NY
I am trying to convert a project from Maven1 to Maven2. Should be simple,
but I am getting a ClassNotFoundException on the following line in my code
when running JUnit tests through Maven:

XMLReaderFactory.createXMLReader(org.apache.xerces.parsers.SAXParser)

This class is in xerces-2.4.0.jar, I have verified. This is listed as a
dependency, and the -X option confirms it should be on the classpath. I
built the eclipse files and ran the test, no problem - I had to remove some
nested directories listed under resources, but this shouldn't have any
effect on class loading.

Any ideas what could be causing this problem? I don't even know how to debug
this. :(

--
Daniel Siegmann
FJA-US, Inc.
512 Seventh Ave., New York, NY  10018
(212) 840-2618 ext. 139

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



Re: [m2] Maven 2 and Cobertura - 100% coverage???

2007-02-23 Thread Brad Szabo
Since the Cobertura plugin does not properly execute 'clean' by default,
add the following declaration in build to bind its 'clean' goal:


  plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
executions
  execution
goals
  goalclean/goal
/goals
  /execution
/executions
  /plugin

-Brad


On Fri, 2007-02-23 at 11:45 -0800, bkbonner wrote:
 btw, my plugin definition in reporting is:
 
  plugin
   groupIdorg.codehaus.mojo/groupId
   artifactIdcobertura-maven-plugin/artifactId
   /plugin
 
 Brian


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



Re: Maven 2 and Cobertura - 100% coverage???

2007-02-23 Thread Arnaud Bailly
Hello, 
You may want to try the following configuration

 build
  !-- indique les plugin qui seront utilisés dans le projet lors de la 
compilation --
  plugins
   
   !-- clean coverage data before collecting --
   plugin
artifactIdcobertura-maven-plugin/artifactId
groupIdorg.codehaus.mojo/groupId
executions
 execution
  goals
   goalclean/goal
  /goals
 /execution
/executions
   /plugin
   
/plugins
 /build

 reporting
  plugins
  
   !-- test coverage --
   plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
   /plugin
   
  /plugins
 /reporting

HTH
-- 
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


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



[ANN] First release of Patchwork coverage maven plugin

2007-02-23 Thread Arnaud Bailly
Hi to all, 
Following some discussions on the agile-testing mailing list, I
revived an old project of mine named Patchwork, that aims to provide a
general purpose and extensible code coverage framework. In the spirit
of release early, release often, I just released first public
version of this tool, numbered 1 (no dots). It is currently available
at:

 http://www.oqube.com/projects/patchwork/index.html

This first version has the following features:
 - compute all-nodes, all-edges or both coverage metrics from the
 control flow graph of Java bytecode, with percentage and source
 colorizing to show executed lines,
 - provide CLI and maven 2 plugin interfaces,
 - provide a small GUI utility for visualizing control flow graph and
 data-flow graphs of bytecode.

Known limitations are:
 - reports are ugly,
 - Due to http://jira.codehaus.org/browse/SUREFIRE-141, the maven plugin
   still needs to execute twice the tests,
 - does not yet work on itself,
 - alpha development stage,
 - probably tons of subtle bugs.

It is different from other tools in the way it computes coverage and
provide somewhat finer grained measures than at least cobertura.  

I would welcome feedback, advices, kind comments and of course any
help. 
-- 
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


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



Re: Splitting APT in multiple files

2007-02-23 Thread Régis Décamps

On 2/20/07, Dennis Lundberg [EMAIL PROTECTED] wrote:


Roland Asmann skrev:
 Hi,

 I want to write an APT document, split over several files.



Yes, I'd like to do that as well.

Please see this link for more info on this subject:

   http://maven.apache.org/doxia/format.html



Thanks for the link. I already read this doc, though. And it reads A longer
document may be contained in a ordered list of text files. But I have no
clue how to do that... A small example would be nice indeed.

--
Régis

http://regis.decamps.info/


Re: [M2] Classpath issue

2007-02-23 Thread Marcos Silva Pereira

There is some other version of xerces in your classpath?

Kind Regards,

On 2/23/07, Siegmann Daniel, NY [EMAIL PROTECTED] wrote:


I am trying to convert a project from Maven1 to Maven2. Should be simple,
but I am getting a ClassNotFoundException on the following line in my code
when running JUnit tests through Maven:

XMLReaderFactory.createXMLReader(org.apache.xerces.parsers.SAXParser)

This class is in xerces-2.4.0.jar, I have verified. This is listed as a
dependency, and the -X option confirms it should be on the classpath. I
built the eclipse files and ran the test, no problem - I had to remove
some
nested directories listed under resources, but this shouldn't have any
effect on class loading.

Any ideas what could be causing this problem? I don't even know how to
debug
this. :(

--
Daniel Siegmann
FJA-US, Inc.
512 Seventh Ave., New York, NY  10018
(212) 840-2618 ext. 139

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





--
Marcos Silva Pereira
recife - pe
[EMAIL PROTECTED]
skype: marcos.silva.pereira
http://blastemica.blogspot.com


Maven2, class-dependencies like 'Makefile'

2007-02-23 Thread GreJ

Hi,

It's perhaps a cray question, but why not... I'ts a question involving the
compiler of maven2.
I have one Project, with a lot of classes. Some class use another class of
the same Project. So they are classes dependencies. It work's fine. I
compile with maven, no problems.
Now, if i compile a second time, nothing is compiled ( all classes are up to
date). It's also normal.

And now come my question :
If a modify a specific class(example: a method) which is used by another
class. Only the class which has been modified is compiled, all the others
are still up to date.
So the class wich use this method would crash at the execution.

So, is there a trick to force the recompilation of the classes which use the
modified classes ? And this automatically?
(with a plugin, or argument ? )
In fact, what i mean, is like the makefiles under Unix. ( A depends on B,
and if B is modified, A is recompiled.. etc)

So the aim of this idea, is to perform the compile time, (no 'clean') and to
have dependencies-crashes on the compile time, and not while the execution.

PS: Sorry for my bad english

Cheers,
Grej
-- 
View this message in context: 
http://www.nabble.com/Maven2%2C-class-dependencies-like-%27Makefile%27-tf3281340s177.html#a9127144
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Maven 2 and Cobertura - 100% coverage???

2007-02-23 Thread Dan Tran

use version2.0/version

latest 2.1 is bad, and it should be taken out of repo1

-D


On 2/23/07, Arnaud Bailly [EMAIL PROTECTED] wrote:


Hello,
You may want to try the following configuration

build
!-- indique les plugin qui seront utilisés dans le projet lors de la
compilation --
plugins

  !-- clean coverage data before collecting --
  plugin
   artifactIdcobertura-maven-plugin/artifactId
   groupIdorg.codehaus.mojo/groupId
   executions
execution
 goals
  goalclean/goal
 /goals
/execution
   /executions
  /plugin

   /plugins
/build

reporting
plugins

  !-- test coverage --
  plugin
   groupIdorg.codehaus.mojo/groupId
   artifactIdcobertura-maven-plugin/artifactId
  /plugin

/plugins
/reporting

HTH
--
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


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




Re: [m2] Maven 2 and Cobertura - 100% coverage???

2007-02-23 Thread bkbonner

Thank you all for the suggestions.   I apologize, but I am new to running
cobertura.  I looked at the msgs in the log and they indicated that they
didn't have instrumentation for the classes in question.

[cobertura] INFO  [main] net.sourceforge.cobertura.reporting.html.HTMLReport
- D
ata file does not contain instrumentation information for the file
com/test/model/Piddsdit.java.  Ensure this class was instrumented, an
d this data file contains the instrumentation information.

I've ran 'mvn clean cobertura:instrument' which generated:

C:\Documents and Settings\FUS4076\workspace\pim-bizmvn clean
cobertura:instrume
nt
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'cobertura'.
[INFO]
-
---
[INFO] Building Business Layer
[INFO]task-segment: [clean, cobertura:instrument]
[INFO]
-
---
[INFO] [clean:clean]
[INFO] Deleting directory C:\Documents and
Settings\FUS4076\workspace\pim-biz\ta
rget
[INFO] Deleting directory C:\Documents and
Settings\FUS4076\workspace\pim-biz\ta
rget\classes
[INFO] Deleting directory C:\Documents and
Settings\FUS4076\workspace\pim-biz\ta
rget\test-classes
[INFO] [cobertura:clean {execution: default}]
[INFO] [cobertura:instrument]
[WARNING] No files to instrument.
[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]

[INFO] Total time: 2 seconds
[INFO] Finished at: Fri Feb 23 16:47:36 EST 2007
[INFO] Final Memory: 4M/8M
[INFO]



My plugin in the build section is:

plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
version2.1-SNAPSHOT/version
configuration
  instrumentation/instrumentation
/configuration
executions
execution
goals
goalclean/goal
/goals
/execution
/executions
/plugin


And this in the reporting:

plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
version2.1-SNAPSHOT/version
/plugin


Brian

p.s. Wayne, maybe this is a bug, but I wanted to check if someone has it
working successfully.  From the other responses, it sounds like people do
have it working.  Are other people seeing missed coverages i.e. red bar in
the cobertura report?




Brad Szabo wrote:
 
 Since the Cobertura plugin does not properly execute 'clean' by default,
 add the following declaration in build to bind its 'clean' goal:
 
 
   plugin
 groupIdorg.codehaus.mojo/groupId
 artifactIdcobertura-maven-plugin/artifactId
 executions
   execution
 goals
   goalclean/goal
 /goals
   /execution
 /executions
   /plugin
 
 -Brad
 
 
 On Fri, 2007-02-23 at 11:45 -0800, bkbonner wrote:
 btw, my plugin definition in reporting is:
 
  plugin
  groupIdorg.codehaus.mojo/groupId
  artifactIdcobertura-maven-plugin/artifactId
  /plugin
 
 Brian
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Maven-2-and-Cobertura---100--coveragetf3280827s177.html#a9127537
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: [m2] Maven 2 and Cobertura - 100% coverage???

2007-02-23 Thread bkbonner

OK, I'll revert back to 2.0, thanks for the tip.


dan tran wrote:
 
 use version2.0/version
 
 latest 2.1 is bad, and it should be taken out of repo1
 
 -D
 
 
 On 2/23/07, Arnaud Bailly [EMAIL PROTECTED] wrote:

 Hello,
 You may want to try the following configuration

 build
 !-- indique les plugin qui seront utilisés dans le projet lors de la
 compilation --
 plugins

   !-- clean coverage data before collecting --
   plugin
artifactIdcobertura-maven-plugin/artifactId
groupIdorg.codehaus.mojo/groupId
executions
 execution
  goals
   goalclean/goal
  /goals
 /execution
/executions
   /plugin

/plugins
 /build

 reporting
 plugins

   !-- test coverage --
   plugin
groupIdorg.codehaus.mojo/groupId
artifactIdcobertura-maven-plugin/artifactId
   /plugin

 /plugins
 /reporting

 HTH
 --
 OQube  software engineering \ génie logiciel 
 Arnaud Bailly, Dr.
 \web http://www.oqube.com


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


 
 

-- 
View this message in context: 
http://www.nabble.com/Maven-2-and-Cobertura---100--coveragetf3280827s177.html#a9127574
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Transitive Dependencies

2007-02-23 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
Hi
 
Doesn't maven require all the direct dependencies to be mentioned
explicitly in the pom or parent poms. Direct dependency means those are
required for compilation.
But in my case, one of the dependency required for compilation is set as
transitive.
Example, my component A needs C to compile. But when I set in the
pom.xml, A depends on B, and B depends on C. the compilation went fine
with no errors.
 
Shouldn't this error out ??? 

 
From this link,
http://www.developer.com/open/article.php/10930_3552026_1
http://www.developer.com/open/article.php/10930_3552026_1 
Transitive Dependencies
Maven 2 introduces the concept of Transitive dependencies. Direct
dependencies are those upon which a project explicitly depends.
Typically, a project will not compile without direct dependencies.
Transitive dependencies are those which direct dependencies themselves
depend upon.

Thanks

 

 
 


Re: Transitive Dependencies

2007-02-23 Thread Brad Szabo
No this will not error out. Transitive dependencies are added to the compile 
classpath, so compilation will succeed. 
However, it is best practice to explicitly declare all direct dependencies for 
a project.

I think the *typically* in your reference refers to just this case. Typically a 
project will not compile without 
direct dependencies explicitly declared, unless they are satisfied by the 
inclusion of a transitive dependency.

-Brad

On Fri, 2007-02-23 at 14:07 -0800, Jagan Padmanabha Pillai -X (jpadmana
- Insight Solutions, Inc. at Cisco) wrote:
 Hi
  
 Doesn't maven require all the direct dependencies to be mentioned
 explicitly in the pom or parent poms. Direct dependency means those are
 required for compilation.
 But in my case, one of the dependency required for compilation is set as
 transitive.
 Example, my component A needs C to compile. But when I set in the
 pom.xml, A depends on B, and B depends on C. the compilation went fine
 with no errors.
  
 Shouldn't this error out ??? 
 
  
 From this link,
 http://www.developer.com/open/article.php/10930_3552026_1
 http://www.developer.com/open/article.php/10930_3552026_1 
 Transitive Dependencies
 Maven 2 introduces the concept of Transitive dependencies. Direct
 dependencies are those upon which a project explicitly depends.
 Typically, a project will not compile without direct dependencies.
 Transitive dependencies are those which direct dependencies themselves
 depend upon.
 
 Thanks
 
  
 
 
 


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



[M2]maven-buildnumber-plugin

2007-02-23 Thread Enrique Gaona


How do you run a plugin the parent pom only once and have its configuration
inherited by its children.   I'm using the maven-buildnumber-plugin in my
parent pom and when I run my build, this plugin gets executed on every
child pom and I end up with different buildNumber ID.

plugin
groupIdorg.codehaus.mojo/groupId

artifactIdmaven-buildnumber-plugin/artifactId
version0.9.4/version
executions
execution
phasevalidate/phase
goals
goalcreate/goal
/goals
/execution
/executions
configuration
doCheckfalse/doCheck
doUpdatefalse/doUpdate
format{0,date,-MM-dd
HH:mm:ss}/format
items
itemtimestamp/item
/items
/configuration
/plugin


As you can see from the output, the both the parent and child pom.xml
executes the plugin ad the  buildNumber gets changed.   So, basically, I
just want the plugin to run once and have the child poms inherit the
buildNumber.   Is this doable?  I tried using the
inheritedfalse/inherited in the parent pom, it executes the plugin
once, but the child poms do not get the buildNumber.


[INFO]

[INFO] Building Master POM File csdp.platform version 1.1 (csdp_dev latest)
[INFO]task-segment: [clean, antrun:run, install, rpm:rpm]
[INFO]

[INFO] [clean:clean]
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/target
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/target/classes
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/target/test-classes
[INFO] [antrun:run]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 2007-02-23 17:07:06   


[INFO]

[INFO] Building CSDP Prereq Main
[INFO]task-segment: [clean, antrun:run, install, rpm:rpm]
[INFO]

[INFO] [clean:clean]
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.prereq/target
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.prereq/target/classes
[INFO] Deleting directory
/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.prereq/target/test-classes
[INFO] [antrun:run]
[INFO] Executing tasks
[INFO] Executed tasks
[INFO] [buildnumber:create {execution: default}]
[INFO] Storing buildNumber: 2007-02-23 17:07:09
**


Enrique


Required goal not found: dependency:build-classpath

2007-02-23 Thread Jagan Padmanabha Pillai -X \(jpadmana - Insight Solutions, Inc. at Cisco\)
 
Any idea ?
 
 
$ mvn dependency:build-classpath
 

[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'dependency'.
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Required goal not found: dependency:build-classpath
[INFO]

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

[INFO] Total time: 1 second
[INFO] Finished at: Fri Feb 23 15:48:20 PST 2007
[INFO] Final Memory: 2M/61M
[INFO]


Thanks!!



Re: Required goal not found: dependency:build-classpath

2007-02-23 Thread Brad Szabo
According to
http://maven.apache.org/plugins/maven-dependency-plugin/usage.html the
build-classpath goal is new, since 2.0-alpha-2. That version is not
available on ibiblio yet, only 2.0-alpha-1 is. Looks like you will have
to check out the source code and build it if you need that goal.

If you want to see what jars are on your classpath for specific goals,
just use the -X option.

-Brad


On Fri, 2007-02-23 at 15:59 -0800, Jagan Padmanabha Pillai -X (jpadmana
- Insight Solutions, Inc. at Cisco) wrote:
  Any idea ?
  
 
 $ mvn dependency:build-classpath
  
 
 [INFO] Scanning for projects...
 [INFO] Searching repository for plugin with prefix: 'dependency'.
 [INFO]
 
 [ERROR] BUILD FAILURE
 [INFO]
 
 [INFO] Required goal not found: dependency:build-classpath
 [INFO]
 
 [INFO] For more information, run Maven with the -e switch
 [INFO]
 
 [INFO] Total time: 1 second
 [INFO] Finished at: Fri Feb 23 15:48:20 PST 2007
 [INFO] Final Memory: 2M/61M
 [INFO]
 
 
 Thanks!!
 


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