Re: Problem with database

2007-04-18 Thread Anoop kumar V

The only thing that worked for me (I tried a LOT of diff things) was to
shutdown continuum ( I used pkill - ps kill) and then go into the database
and remove the project from the table. You would need to log in to derby as
the sa user.

Anoop

On 4/17/07, Mykel Alvis [EMAIL PROTECTED] wrote:


I did.   Unfortunately, you can't seem to remove a project definition
that's
currently building.

On 4/17/07, Morgovsky, Alexander (US - Glen Mills) 
[EMAIL PROTECTED]
wrote:

 I've had this issue.  Try removing the build definition first from the
 project itself.  Then try to removing the project again.  Thanks.

 -Original Message-
 From: Mykel Alvis [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 17, 2007 12:12 PM
 To: continuum-users@maven.apache.org
 Subject: Problem with database

 I had a Maven 2 build in continuum that went rogue (for reasons totally
 outside of continuum's control, most likely).

 However, someone deleted the java process that was running and now I
 can't
 remove the project from continuum.  It's not a blocker, since other
 projects
 will build, but it still appears to be in the project list and still has
 the
 building icon.

 Is there  a way to remove this entry?

 Thanks,
 Mykel

 --
 I'm just an unfrozen caveman software developer.  I don't understand
 your
 strange, modern ways.


 This message (including any attachments) contains confidential
information
 intended for a specific individual and purpose, and is protected by
law.  If
 you are not the intended recipient, you should delete this message.


 Any disclosure, copying, or distribution of this message, or the taking
of
 any action based on it, is strictly prohibited. [v.E.1]




--
I'm just an unfrozen caveman software developer.  I don't understand your
strange, modern ways.



Re: mvn site site:deploy problem

2007-04-18 Thread Nick Stolwijk

I think I know what he means, as I have seen the same.

It thrashes in case of a multimodule project.
If you have
parent
   -child1
   -child2

It executes first for parent the goals (clean install site site:deploy), 
then child1 and then child2. So if one of your childs fails, you have 
half the new site and half the old site.


So it's more a mvn issue I guess. I don't know all the implications, but 
it would be nicer if the tree was walked for each goal. Thus clean 
parent, child1, child2, install parent, child1, child2, etc. Then it 
would only deploy the whole site, when the whole site can be generated.


With regards,

Nick S.

David Roussel wrote:

Trashes it in what way?  Which files are missing?

My understanding is that when you do site:deploy it just copies to file
over, it doesn't delete from the target first.  But exactly how this
works probably depends on how you have it configured.

Do you get the same problem if you have:

  distributionManagement
site 
  idwebsite/id 
  urlfile:///C:\Program Files\Apache

  Group\Apache2\htdocs\site/url
/site 
  /distributionManagement


What url are you currently using?

David

On Thu, 12 Apr 2007 06:41:49 -0700 (PDT), Ionut S [EMAIL PROTECTED]
said:
  

Hi,
Not sure if my problem is related to mvn or continuum, so excuse me if
I'm wrong..

Anyway, we have a continuum site in place, which works fine in general.
There is one abnormal behaviour that made me write to this list though:
if the build fails (for any reason), the site gets trashed. This is
because the command we give:

mvn clean install site site:deploy

starts to copy the files for each project, without waiting for the whole
project to be built. This trashes the site and we can't see it unless we
fix the build.

Is there something we can do in order to fix this issue ?

Thank you !
Ionut

   
-

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.



  




Re: mvn site site:deploy problem

2007-04-18 Thread Ionut S
Yes, that's exactly what happens.

Probably I should address this question to the maven list ?



Nick Stolwijk [EMAIL PROTECTED] wrote: I think I know what he means, as I 
have seen the same.

It thrashes in case of a multimodule project.
If you have
parent
-child1
-child2

It executes first for parent the goals (clean install site site:deploy), 
then child1 and then child2. So if one of your childs fails, you have 
half the new site and half the old site.

So it's more a mvn issue I guess. I don't know all the implications, but 
it would be nicer if the tree was walked for each goal. Thus clean 
parent, child1, child2, install parent, child1, child2, etc. Then it 
would only deploy the whole site, when the whole site can be generated.

With regards,

Nick S.

David Roussel wrote:
 Trashes it in what way?  Which files are missing?

 My understanding is that when you do site:deploy it just copies to file
 over, it doesn't delete from the target first.  But exactly how this
 works probably depends on how you have it configured.

 Do you get the same problem if you have:

   
  
   website 
   file:///C:\Program Files\Apache
   Group\Apache2\htdocs\site
  
   

 What url are you currently using?

 David

 On Thu, 12 Apr 2007 06:41:49 -0700 (PDT), Ionut S 
 said:
   
 Hi,
 Not sure if my problem is related to mvn or continuum, so excuse me if
 I'm wrong..

 Anyway, we have a continuum site in place, which works fine in general.
 There is one abnormal behaviour that made me write to this list though:
 if the build fails (for any reason), the site gets trashed. This is
 because the command we give:

 mvn clean install site site:deploy

 starts to copy the files for each project, without waiting for the whole
 project to be built. This trashes the site and we can't see it unless we
 fix the build.

 Is there something we can do in order to fix this issue ?

 Thank you !
 Ionut


 -
 Never miss an email again!
 Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
 

   



   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.

Re: mvn site site:deploy problem

2007-04-18 Thread David Roussel
Oh, I see.

How about changing your site build to run a script that does...

1. mkdir tmp-site
2. mvn clean site site:deploy
-DdistributionManagement.site.url=./tmp-site
3. if success; mv tmp-site /var/www/site

I suppose it in a Maven issue, but it's a fundamental 'feature' of how
Maven works.  It's as if there needs to be another level above the maven
lifecycle, for automic builds on multi module projects.

David

On Wed, 18 Apr 2007 05:44:39 -0700 (PDT), Ionut S [EMAIL PROTECTED]
said:
 Yes, that's exactly what happens.
 
 Probably I should address this question to the maven list ?
 
 
 
 Nick Stolwijk [EMAIL PROTECTED] wrote: I think I know what he
 means, as I have seen the same.
 
 It thrashes in case of a multimodule project.
 If you have
 parent
 -child1
 -child2
 
 It executes first for parent the goals (clean install site site:deploy), 
 then child1 and then child2. So if one of your childs fails, you have 
 half the new site and half the old site.
 
 So it's more a mvn issue I guess. I don't know all the implications, but 
 it would be nicer if the tree was walked for each goal. Thus clean 
 parent, child1, child2, install parent, child1, child2, etc. Then it 
 would only deploy the whole site, when the whole site can be generated.
 
 With regards,
 
 Nick S.
 
 David Roussel wrote:
  Trashes it in what way?  Which files are missing?
 
  My understanding is that when you do site:deploy it just copies to file
  over, it doesn't delete from the target first.  But exactly how this
  works probably depends on how you have it configured.
 
  Do you get the same problem if you have:
 

   
website 
file:///C:\Program Files\Apache
Group\Apache2\htdocs\site
   

 
  What url are you currently using?
 
  David
 
  On Thu, 12 Apr 2007 06:41:49 -0700 (PDT), Ionut S 
  said:

  Hi,
  Not sure if my problem is related to mvn or continuum, so excuse me if
  I'm wrong..
 
  Anyway, we have a continuum site in place, which works fine in general.
  There is one abnormal behaviour that made me write to this list though:
  if the build fails (for any reason), the site gets trashed. This is
  because the command we give:
 
  mvn clean install site site:deploy
 
  starts to copy the files for each project, without waiting for the whole
  project to be built. This trashes the site and we can't see it unless we
  fix the build.
 
  Is there something we can do in order to fix this issue ?
 
  Thank you !
  Ionut
 
 
  -
  Never miss an email again!
  Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
  
 

 
 
 

 -
 Ahhh...imagining that irresistible new car smell?
  Check outnew cars at Yahoo! Autos.


Re: How can I stop a build if I don't see the Java processes for it?

2007-04-18 Thread Andrew Williams

hitting the build all button might clear this.

Andy

On 18 Apr 2007, at 12:52, Morgovsky, Alexander ((US - Glen Mills))  
wrote:



Please help, we are at the point of uninstalling Continuum and again
installing everything.  I sincerely hope you can provide a solution  
for

this, as these problems could come at any time, and we need a way to
handle them gracefully.  Thanks in advance.

_
From:   Morgovsky, Alexander (US - Glen Mills)
Sent:   Tuesday, April 17, 2007 11:14 PM
To: 'continuum-users@maven.apache.org'
Subject:How can I stop a build if I don't see the Java processes
for it?

I am running Continuum as a service (1.0.3).  I have a hung build
which has been running for over 5 hours.  I do not see any Java
processes in the Processes window.  How do I figure out which Java
processes I need to kill to stop this build?  I am stumped by this
issue, I tried recycling the service, the box, everything.  Do I need
to go to the DB and delete something?  Please assist.  Thanks.



This message (including any attachments) contains confidential  
information intended for a specific individual and purpose, and is  
protected by law.  If you are not the intended recipient, you  
should delete this message.



Any disclosure, copying, or distribution of this message, or the  
taking of any action based on it, is strictly prohibited. [v.E.1]




RE: How can I stop a build if I don't see the Java processes for it?

2007-04-18 Thread Morgovsky, Alexander \(US - Glen Mills\)
It does not, the old build is still in progress. 

-Original Message-
From: Andrew Williams [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 18, 2007 1:43 PM
To: continuum-users@maven.apache.org
Subject: Re: How can I stop a build if I don't see the Java processes
for it?

hitting the build all button might clear this.

Andy

On 18 Apr 2007, at 12:52, Morgovsky, Alexander ((US - Glen Mills))  
wrote:

 Please help, we are at the point of uninstalling Continuum and again
 installing everything.  I sincerely hope you can provide a solution  
 for
 this, as these problems could come at any time, and we need a way to
 handle them gracefully.  Thanks in advance.
 _
 From:Morgovsky, Alexander (US - Glen Mills)
 Sent:Tuesday, April 17, 2007 11:14 PM
 To:  'continuum-users@maven.apache.org'
 Subject: How can I stop a build if I don't see the Java processes
 for it?

 I am running Continuum as a service (1.0.3).  I have a hung build
 which has been running for over 5 hours.  I do not see any Java
 processes in the Processes window.  How do I figure out which Java
 processes I need to kill to stop this build?  I am stumped by this
 issue, I tried recycling the service, the box, everything.  Do I need
 to go to the DB and delete something?  Please assist.  Thanks.


 This message (including any attachments) contains confidential  
 information intended for a specific individual and purpose, and is  
 protected by law.  If you are not the intended recipient, you  
 should delete this message.


 Any disclosure, copying, or distribution of this message, or the  
 taking of any action based on it, is strictly prohibited. [v.E.1]



RE: How to Build Eclipse RCP Application using Maven

2007-04-18 Thread Ramesh Babu Pokala - TLS, Chennai

 
Hi,

The following authentication error is coming while trying to install
your eclipse plugins. The following command deploying eclipse plugins to
the NECLUES Repo/.

How to install eclipse plugins in local repo (.m2 repo)?


C:\Documents and Settings\bpra\.m2\SampleProject1mvn -e
eclipse:make-artifacts -DeclipseDir=D:\eclipse -DdeployTo=external_free:
:default::scp://NUCLEUS/usr/local/www/default/maven2_repositories/extern
al_free

+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO]


[INFO] Building Simple Demo
[INFO]task-segment: [eclipse:make-artifacts] (aggregator-style)
[INFO]


[INFO] [eclipse:make-artifacts]
[INFO] Will deploy artifacts to remote repository
external_free::default::scp://NUCLEUS/usr/local/www/default/maven2_repos
itories
/external_free
[INFO] Processing file
D:\eclipse\plugins\com.atlassw.tools.eclipse.checkstyle_4.3.0
[INFO] Building jar: C:\DOCUME~1\bpra\LOCALS~1\Temp\mvn-eclipse54161.tmp
[INFO] Missing version for artifact org.eclipse.core.resources, assuming
any version  0
[INFO] Missing version for artifact org.eclipse.ui, assuming any version
 0
[INFO] Missing version for artifact org.eclipse.jface.text, assuming any
version  0
[INFO] Missing version for artifact org.eclipse.jdt.core, assuming any
version  0
[INFO] Missing version for artifact org.eclipse.core.runtime, assuming
any version  0
[INFO] Missing version for artifact org.eclipse.ui.ide, assuming any
version  0
[INFO] Missing version for artifact org.eclipse.jdt.ui, assuming any
version  0
[INFO] Missing version for artifact org.eclipse.ui.workbench.texteditor,
assuming any version  0
[INFO] Missing version for artifact org.eclipse.ui.editors, assuming any
version  0
[INFO] Missing version for artifact org.eclipse.team.cvs.core, assuming
any version  0
[INFO] Missing version for artifact org.eclipse.team.core, assuming any
version  0
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Unable to deploy artifact to repository.

Embedded error: Error deploying artifact: Authentication failed: Cannot
connect. Reason: java.net.UnknownHostException: NUCLEUS
[INFO]

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to deploy
artifact to repository.
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:564)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
l(DefaultLifecycleExecutor.java:493)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:463)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:224)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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)
Caused by: org.apache.maven.plugin.MojoExecutionException: Unable to
deploy artifact to repository.
at
org.apache.maven.plugin.eclipse.MakeArtifactsMojo.processSingleFile(Make
ArtifactsMojo.java:417)
at
org.apache.maven.plugin.eclipse.MakeArtifactsMojo.execute(MakeArtifactsM
ojo.java:211)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
nager.java:443)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
LifecycleExecutor.java:539)
... 16 more
Caused by:
org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error
deploying artifact: Authentication failed: Canno
t connect. Reason: java.net.UnknownHostException: NUCLEUS
at
org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(Defaul

RE: Starting a new java process from within a test case is hanging the maven JVM

2007-04-18 Thread Balasubramanian, Ravi Shankar
Just in case, if anybody is looking into this, I tried creating a new
java process from a simple Java class in it's main method and verified
if the main class exits. It does exit and only when I run it through a
test case in maven, the maven's java process is not exiting. 

Regards,
Ravi

-Original Message-
From: Balasubramanian, Ravi Shankar 
Sent: Tuesday, April 17, 2007 5:29 PM
To: Maven Users List
Subject: Starting a new java process from within a test case is hanging
the maven JVM

Hi all,

We use maven-surefire-plugin to run our testng test cases. I encountered
a problem where in the maven VM is hanging when one of the test cases
start a separate java process from within it using the java
ProcessBuilder class(which I think is inconsequential here). What I am
doing in the test case is starting a server which I need to be running
throughout my maven builds across different projects. (Some sort of
integration tests.). Following is the structure for my build:

 

MainTestModule

 --setupTests

 --functionality1Tests

 --functionality2Tests

...

 

My requirement is to have a server started (a separate java process) in
one of the test cases in the setupTests module which needs to be running
for all other tests to run.

 

One of the test case which starts the server looks something like below:

 

@Test

public void startUpgradeTestRepository() throws Exception{





ProcessBuilder pb = new
ProcessBuilder(cmd.exe,/c,C:\startrepo.bat);

MapString, String env = pb.environment();

pb.directory(new File(infa_home));

Process raprocess = pb.start();

//Process p = Runtime.getRuntime().exec(cmd.exe
/c dir);

}

 

This calls a batch script which starts a java process from within it:

startrepo.bat:

@echo off

rem #

-

rem # Script for starting the Repository

rem #

-

java
com.informatica.repository.applications.repository.server.RepAgentApp
%REP_AGENT_ARGS% 

exit



 

My problem is when I run mvn test from the setupTests directory or
from the parent directory, the maven java process that gets started for
the setupTests module does not end until the java process started by the
test case above is ended or is terminated. I am running the tests
through the surefire plugin. 

When I run mvn test from the setupTests module, it runs all the test
cases in the module successfully(the java process is also started
successfully) and then it exits from the surefire's java process.
However the build is not ending until the java process is ended or
terminated. The maven java process that gets started for the setupTests
is not ending until the java process started by my test case is
terminated. Hence I am not able to run other tests of other modules
automatically. 

 

Can one of you please let me know if there is any glitch anywhere in the
way I have coded my test case or in my setup? 

 

 

Regards,

Ravi.

Tough times never last, but tough men do...

 


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



RE: How to set class path in maven POM

2007-04-18 Thread Ramesh Babu Pokala - TLS, Chennai
 
How to declare dependencies?

Thanks  Regards 
Ramesh Babu.P 
  
 

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 9:43 PM
To: Maven Users List
Subject: Re: How to set class path in maven POM

Use properly declared dependencies and the classpath will be set
automatically for you.

This may involve installing some Eclipse libraries into your local repo
using mvn install:install-file or using using scopesystem/scope
for some artifacts.

Wayne

On 4/17/07, Ramesh Babu Pokala - TLS, Chennai [EMAIL PROTECTED]
wrote:


 Hi All,

How to set all dependent jar files to the classpath in maven to 
 compile the RCP Application?

 Thanks  Regards
 Ramesh Babu.P

 HCL Technologies - Chennai ( +91-9884506300 ' +9144-23728366 Extn: 
 1232
 * [EMAIL PROTECTED] mailto::[EMAIL PROTECTED]






 DISCLAIMER:
 --
 -

 The contents of this e-mail and any attachment(s) are confidential and
intended for the named recipient(s) only.
 It shall not attach any liability on the originator or HCL or its 
 affiliates. Any views or opinions presented in this email are solely
those of the author and may not necessarily reflect the opinions of HCL
or its affiliates.
 Any form of reproduction, dissemination, copying, disclosure, 
 modification, distribution and / or publication of this message 
 without the prior written consent of the author of this e-mail is 
 strictly prohibited. If you have received this email in error please
delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

 --
 -

-
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: How to Build Eclipse RCP Application using Maven

2007-04-18 Thread Barrie Treloar

On 4/18/07, Ramesh Babu Pokala - TLS, Chennai [EMAIL PROTECTED] wrote:



Hi,

The following authentication error is coming while trying to install
your eclipse plugins. The following command deploying eclipse plugins to
the NECLUES Repo/.

How to install eclipse plugins in local repo (.m2 repo)?


You can't blindly follow the steps and expect things to work.

The steps shown are examples, you will need to customize it to suit
your environment.

e.g. NUCLEUS is referring to the machine where your internal
repository is located.

You will need to use the examples, think about your environment, and
decide whether these steps make sense in your environment and with
that knowledge alter the example commands to work in your environment
(or ignore the step completely if it is not appropriate)

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



Re: I want a project that JUST does reporting and creates a site

2007-04-18 Thread Dave Syer



KenCoveny wrote:
 
 Where in the maven doc does it say where plugins can or cannot be run?
 

That's a joke right?  Ha, ha.

I base my (non-authoritative) conclusion only on limited experience, e.g.
observation of what happens when you put antrun in the reports
configuration, and the fact that a AbstractMavenReport is a special subclass
of AbstractMojo.

-- 
View this message in context: 
http://www.nabble.com/I-want-a-project-that-JUST-does-reporting-and-creates-a-site-tf3589071s177.html#a10053429
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Getting index.html of site generated automatically

2007-04-18 Thread Ian Rowlands




When I do a site:site build of one of my projects, no index.html (or
equivalent is generated).

Is there a way to do this automatically, rather than put it  an
xdoc/index.xml in each individual project (this happens for all of the
modules of the projects) as well?


Regards,

Ian


Disclaimer: The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons
or entities other than the intended recipient is prohibited. If you
received this in error, please contact the sender and delete the material
from your computer.
Privacy: If you are responding to this email or providing personal
information to the SRO for the purposes of one of the Acts it administers,
such information is used only for the purpose for which it was collected
( administration of SRO legislation ) and is protected by the Information
Privacy Act 2000 and secrecy provisions contained in legislation
administered by SRO. It is not disclosed otherwise than in accordance with
the law. If you would like a copy of the SRO Privacy Policy please refer to
SRO website (www.sro.vic.gov.au) or contact SRO on 9628 0556 and request a
copy.


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



Re: M2 : Controlling WEB-INF/lib contents in war

2007-04-18 Thread Marcel Schutte
Hi James,

Please take a look at http://jira.codehaus.org/browse/MEAR-60. This improvement 
should help you get rid of the duplicate dependency declarations. Please vote 
for it or comment if you see other ways to solve this problem.

Regards,
Marcel

- Original Message 
From: Shute, James [EMAIL PROTECTED]
To: Maven Users List users@maven.apache.org
Sent: Tuesday, April 17, 2007 6:52:08 PM
Subject: RE: M2 : Controlling WEB-INF/lib contents in war


I had already seen about scopes and my original mail did note that
setting the scope to provided for a.jar and b.jar did give me the layout
I wanted, but meant I had to duplicate all the dependencyversion
details which I wasn't keen on.

I have now found the dependencyManagement section I can declare in the
parent POM which means I can declare the version in that, and then the
scope override in my webapp module pom.  This seems to give me what I
need for my command line build which is a good start.  Unfortunately the
corresponding IDEA module generated suffers from the bug MIDEA-62, but
that'll get fixed when the 2.1 version of that plugin is released.

thanks

-Original Message-
From: Jerome Lacoste [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 5:04 PM
To: Maven Users List
Subject: Re: M2 : Controlling WEB-INF/lib contents in war

On 4/17/07, Shute, James [EMAIL PROTECTED] wrote:

 The target layout I'm after is:

 ear
 |
 |-lib
 |  |-a.jar
 |  |-b.jar
 |
 |-webapp
|
|-WEB-INF
|-web.xml
|-lib
|-c.jar

 I can't use warSourceExcludes as AFAIK excludes take precedence over

james,

I think you need to look at the bottom of
http://maven.apache.org/plugins/maven-war-plugin/examples/war-manifest-g
uide.html

in particular:

 dependencies
dependency
  groupIdorg.foo/groupId
  artifactIdbar-jar1/artifactId
  version${pom.version}/version
  optionaltrue/optional
  !-- goes in manifest classpath, but not included in WEB-INF/lib
--
/dependency
dependency
  groupIdorg.foo/groupId
  artifactIdbar-jar2/artifactId
  version${pom.version}/version
  !-- goes in manifest classpath, AND included in WEB-INF/lib --
/dependency
dependency
  groupIdorg.foo/groupId
  artifactIdbar-jar1/artifactId
  version${pom.version}/version
  scopeprovided/scope
  !-- excluded from manifest classpath, and excluded from
WEB-INF/lib --
/dependency

Jerome

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



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - -

This message is intended only for the personal and confidential use of the 
designated recipient(s) named above.  If you are not the intended recipient of 
this message you are hereby notified that any review, dissemination, 
distribution or copying of this message is strictly prohibited.  This 
communication is for information purposes only and should not be regarded as an 
offer to sell or as a solicitation of an offer to buy any financial product, an 
official confirmation of any transaction, or as an official statement of Lehman 
Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  
Therefore, we do not represent that this information is complete or accurate 
and it should not be relied upon as such.  All information is subject to change 
without notice.




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





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



copy-dependecies sources

2007-04-18 Thread JC Walmetz

I use the copy dependency plugin to copy dependencies of my project to a
directory. I'd like to copy jars and sources. By default the dependency
plugin just copy jars.

I found a solution to copy sources:
mvn install -Dclassifier=sources -DexcludeArtifactIds  

Unfortunately I have several jars without sources. It is quite long to list
the list of those dependencies (including transitive dependencies). 

Is there another way to copy source dependencies with ignoring dependecy
wtihout sources ?

An option like failOnMissingSourceArtifact will be great.
-- 
View this message in context: 
http://www.nabble.com/copy-dependecies---sources-tf3599434s177.html#a10053803
Sent from the Maven - Users mailing list archive at Nabble.com.


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



[m2] adding classpathentry with maven-eclipse-plugin

2007-04-18 Thread Adrian Herscu

Hi all,

Is there some way to add a classpathentry such as

  classpathentry kind=src path=target/generated-sources/antlr/

to the .classpath file?

It seems that the plugin knows only about classpath containers :-(

Adrian.


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



assembly plugin for per-customer configuration

2007-04-18 Thread Belák Václav
Hello,

 

I've a problem using assembly plugin v. 2.2-SNAPSHOT and don't know, if it's a 
bug or my fault.

 

So, i have a multi-module project.

 

/parent

|

|-war

|-ear

 

And in each module I package alternative configuration files according to 
profile (i.e. each customer has own profile, which points to his own assembly 
descriptor, which describes configuration files, which is right for this 
customer). This is possible with binding the directory-single goal on to 
process-resources phase.  In order to package config files copyed by assembly 
plugin, both war and assembly plugin have to use the same work directory. War 
plugin use the ${project.build.finalName} and assembly plugin use the 
${baseDirectory} (from assembly descriptor). If I specify equal constant values 
in both options, it works well, but my problem is I want to create a re-usable 
building environment, so I want to specify it like this way 
${project.parent.artifactId} - so, the only difference between war and ear 
modules would be the suffix of package. But if i specify it this way, assembly 
plugin creates new directory with name war and puts config files there and 
war plugin package a directory called ${project.parent.artifactId} so without 
my special configuration files. It seems like assembly plugin has a problem 
with resolving variables ...

 

This is my pom files:

 

/parent's pom:

 

?xml version=1.0?

project xmlns=http://maven.apache.org/POM/4.0.0;

  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0

  http://maven.apache.org/xsd/maven-4.0.0.xsd;

  modelVersion4.0.0/modelVersion

  groupIdsome.group/groupId

  nameApplication/name

  version2.0/version

  artifactIdapplication/artifactId

  packagingpom/packaging

  modules

modulewar/module

moduleear/module

  /modules

  pluginRepositories

pluginRepository

  idapache.org/id

  nameMaven Plugin Snapshots/name

  urlhttp://people.apache.org/repo/m2-snapshot-repository/url

  releases

enabledfalse/enabled

  /releases

  snapshots

enabledtrue/enabled

  /snapshots

/pluginRepository

  /pluginRepositories

/project

 

|-war's pom:

 

?xml version=1.0?

project xmlns=http://maven.apache.org/POM/4.0.0; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;

 xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd;

  parent

groupIdsome.group/groupId

artifactIdapplication/artifactId

version2.0/version

  /parent

  modelVersion4.0.0/modelVersion

  artifactIdwar/artifactId

  packagingwar/packaging

  version2.0/version

  nameApplication WAR/name

  groupIdsome.group.war/groupId

  profiles

profile

  iddebug/id

  build

plugins

  plugin

artifactIdmaven-assembly-plugin/artifactId

configuration

  descriptors

descriptorsrc/main/assembly/debug.xml/descriptor

  /descriptors

  appendAssemblyIdfalse/appendAssemblyId

/configuration

  /plugin

/plugins

  /build

  activation

property

  namedebug/name

/property

  /activation

/profile

  /profiles  

  build

finalNamezapisy/finalName

plugins

  plugin

artifactIdmaven-assembly-plugin/artifactId

version2.2-SNAPSHOT/version

configuration

  appendAssemblyIdtrue/appendAssemblyId

/configuration

executions

  execution

idcopy-configuration/id

phaseprocess-resources/phase

goals

  goaldirectory-single/goal

/goals

  /execution

/executions

  /plugin

/plugins

  /build

... dependencies ...

 

Debug assembly descriptor for war module:

 

assembly

  iddebug/id

  formats

formatdir/format

  /formats

  baseDirectory../${project.parent.artifactId}/baseDirectory

  includeBaseDirectorytrue/includeBaseDirectory

  ... some file sets etc. ...

/assembly

 

|- ear's pom has the same logic as war.

 

 

Thanks for all comments, hints and advices how to solve this problem or how to 
get other solution to work with configuraction files per customer.

 


==
Vaclav Belak
programator
Tel: +420 222 558 202
e-mail: [EMAIL PROTECTED]
www: http://www.sefira.cz

SEFIRA spol. s r.o.
Pocernicka 96
108 00 Praha 10
Czech Republic
IC: 62 90 77 60

Tel: +420-222 558 111
Fax: +420-222 558 555

==

 



RE: How to set class path in maven POM

2007-04-18 Thread Tim Kettler
Hi,

have you read the introductory material available for maven? Declaring
dependencies is quite a fundamental concept.

I would advise you to have a look at the 'Maven Getting Started
Guide' [1] and/or the free maven book from Mergere [2].

This guide [1] might also be of interest.

-Tim

[1] http://maven.apache.org/guides/getting-started/index.html
[2] http://www.mergere.com/m2book_download.jsp
[3] http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html


Am Mittwoch, den 18.04.2007, 11:52 +0530 schrieb Ramesh Babu Pokala -
TLS, Chennai:
  How to declare dependencies?
 
 Thanks  Regards 
 Ramesh Babu.P 
   
  
 
 -Original Message-
 From: Wayne Fay [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, April 17, 2007 9:43 PM
 To: Maven Users List
 Subject: Re: How to set class path in maven POM
 
 Use properly declared dependencies and the classpath will be set
 automatically for you.
 
 This may involve installing some Eclipse libraries into your local repo
 using mvn install:install-file or using using scopesystem/scope
 for some artifacts.
 
 Wayne
 
 On 4/17/07, Ramesh Babu Pokala - TLS, Chennai [EMAIL PROTECTED]
 wrote:
 
 
  Hi All,
 
 How to set all dependent jar files to the classpath in maven to 
  compile the RCP Application?
 
  Thanks  Regards
  Ramesh Babu.P
 
  HCL Technologies - Chennai ( +91-9884506300 ' +9144-23728366 Extn: 
  1232
  * [EMAIL PROTECTED] mailto::[EMAIL PROTECTED]
 
 
 
 
 
 
  DISCLAIMER:
  --
  -
 
  The contents of this e-mail and any attachment(s) are confidential and
 intended for the named recipient(s) only.
  It shall not attach any liability on the originator or HCL or its 
  affiliates. Any views or opinions presented in this email are solely
 those of the author and may not necessarily reflect the opinions of HCL
 or its affiliates.
  Any form of reproduction, dissemination, copying, disclosure, 
  modification, distribution and / or publication of this message 
  without the prior written consent of the author of this e-mail is 
  strictly prohibited. If you have received this email in error please
 delete it and notify the sender immediately. Before opening any mail and
 attachments please check them for viruses and defect.
 
  --
  -
 
 -
 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]



Hello, I have the following problem since 2 weeks, hope someone can help me, i've tried to ask in much other forums before:

2007-04-18 Thread Schludi

Hello, I have the following problem since 2 weeks, hope someone can help me,
i've tried to ask in much other forums before:
I am new to maven and have to refactor an old project for JBossWS, which was
deployed on Tomcat before. The maven-script (or ejbdoclet) currently don't
generate the *Endpoint-Classes. 

I get the following error:


Generating EJB deployment descriptor (ejb-jar.xml).
[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 3 source files to
C:\dev\helloMaven\FirstEJB-ejb\target\classe

[INFO] [antrun:run {execution: antTask}]
[INFO] Executing tasks
 [echo] ** Running jboss ws **
log4j:WARN No appenders could be found for logger
(org.jboss.ws.tools.WSTools).
log4j:WARN Please initialize the log4j system properly.
org.jboss.ws.WSException: Endpoint org.bbmag.test.StatlessEJBEndpoint ca
not be loaded
at
org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(To
lsHelper.java:113)
at org.jboss.ws.tools.WSTools.process(WSTools.java:132)
at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(Abstract
ntMojo.java:108)
at
org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83

at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlug
nManager.java:420)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Def
ultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithL
fecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defa
ltLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHa
dleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegme
ts(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultL
fecycleExecutor.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(DelegatingMethodAcce
sorImpl.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)
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error executing ant tasks

Embedded error: Error running jbossws:
Endpoint org.bbmag.test.StatlessEJBEndpoint cannot be loaded
[INFO]

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

[INFO] Total time: 1 minute 7 seconds
[INFO] Finished at: Wed Apr 18 09:44:02 CEST 2007
[INFO] Final Memory: 8M/21M
[INFO]



Here the Maven Script for the EJB, which creates an ant-task to generate:


project
modelVersion4.0.0/modelVersion
parent
groupIdorg.bbmag.test/groupId
artifactIdFirstEJB/artifactId
version0.1/version
/parent 
artifactIdFirstEJB-ejb/artifactId
packagingejb/packaging
nameFirstEJBejb/name
descriptionEine EJB/description
dependencies
dependency
groupIdorg.apache.geronimo.specs/groupId
artifactIdgeronimo-j2ee_1.4_spec/artifactId
version1.0/version
scopeprovided/scope
/dependency
dependency
groupIdcommons-logging/groupId
artifactIdcommons-logging/artifactId
version1.0.3/version
scopeprovided/scope
/dependency
dependency

RE: Plugin release schedules

2007-04-18 Thread Shute, James

Fantastic news - thanks very much

James

-Original Message-
From: Dennis Lundberg [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 17, 2007 9:28 PM
To: Maven Users List
Subject: Re: Plugin release schedules

Hi James,

I pinged the dev list about the IDEA plugin last week, to see if anyone
had something more they wanted to add before a release. I'm planning to
release 2.1 within the next couple of weeks.

Shute, James wrote:
 Apologies if this question is answered in an FAQ somewhere but I can't

 for the life of me find it...
 
 Where should I look to see what the release schedule is for M2 plugins

 etc?
 
 I'm particularly interested in getting the 2.1 version of the Idea 
 plugin as it'll have issue MIDEA-62 fixed.  Given I'm in a corporate 
 environment I'd really rather not go down the build from HEAD route 
 if at all possible, so would like to use the official version if I
can.
 
 thanks
 
 James
 
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 - - - - - - - - -
 
 This message is intended only for the personal and confidential use of
the designated recipient(s) named above.  If you are not the intended
recipient of this message you are hereby notified that any review,
dissemination, distribution or copying of this message is strictly
prohibited.  This communication is for information purposes only and
should not be regarded as an offer to sell or as a solicitation of an
offer to buy any financial product, an official confirmation of any
transaction, or as an official statement of Lehman Brothers.  Email
transmission cannot be guaranteed to be secure or error-free.
Therefore, we do not represent that this information is complete or
accurate and it should not be relied upon as such.  All information is
subject to change without notice.
 
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 


--
Dennis Lundberg

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



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
- - - -

This message is intended only for the personal and confidential use of the 
designated recipient(s) named above.  If you are not the intended recipient of 
this message you are hereby notified that any review, dissemination, 
distribution or copying of this message is strictly prohibited.  This 
communication is for information purposes only and should not be regarded as an 
offer to sell or as a solicitation of an offer to buy any financial product, an 
official confirmation of any transaction, or as an official statement of Lehman 
Brothers.  Email transmission cannot be guaranteed to be secure or error-free.  
Therefore, we do not represent that this information is complete or accurate 
and it should not be relied upon as such.  All information is subject to change 
without notice.




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



RE: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Arne Styve
Hi Milos,

Thanks for your answer. It did help some, but it would be nice if you could
give me an example.

Say I have a library called jamod.jar v1.2. It is installed in our company
maven2 repo as groupId=jamod, artifactId=jamod,
Version=1.2 as type=jar. In the directorystructure of my local
repository .m2, this will then appear as

.m2\repository\jamod\jamod\1.2\jamod-1.2.jar

What should the respective source and doc-files be called ? And should they
be .JAR or .ZIP-files ? And for the javadoc jar/zip-file, should the
index.html be on the root of the zipped file, or should there be a directory
called api under which the index.html file should be (inside the
zip/jar-file) ?

As you might have understood by know, I am a bit new to Maven2, so please
bear with me if my questions are a bit newbie.

Kind regards
Arne

-Original Message-
From: Milos Kleint [mailto:[EMAIL PROTECTED] 
Sent: 17. april 2007 16:07
To: Maven Users List
Subject: Re: Javadoc for dependent libraries in Netbeans...

hello,

download javadocsources checks the remote repos for artifacts with -source
or -javadoc classifiers and downloads them. The IDE then designates them as
containing source/javadoc and they are sued for hyperlinking the sources or
for code completion.
However unfortunatelly most artifacts in the central repo don't have javadoc
or sources on display.

I'm not sure about the 2.3 version of mevenide (that one works with
5.5 and later builds) but the 3.0.2 version (that works only with the 6.0
M8+ netbeans builds) has also actions install local sources and install
local javadoc that takes a local zip of sources/javadoc and puts them in
the correct place in local repo for you.

Does it help? or is the problem somewhere else?

Regards

Milos

On 4/17/07, Styve Arne [EMAIL PROTECTED] wrote:
 Hi,

 I'm using the mevenide plugin to Netbeans from codehause. This works 
 fine in most cases. However, when having added a dependency (by 
 right-clicking on the Dependencies node of the project tree (in 
 Projects view)), I can then right-click on the JAR I've included and 
 get a menue saying Download Javadoc  Source. But this has never 
 worked. I've tried placing both sourcefiles (as JAR or ZIP) and 
 API-doc in my local repository, but it still dont want to be integrated
with Netbeans.

 I was hoping that the Download Javadoc and Source would enable the 
 direct access to the API doc of the included JAR from within the editor.
 Am I wrong ? If not, how do I set up the repository (locally, and our 
 company repo), and how do I write my POM to get this working ?

 Thanks!
 Arne Styve


-
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] adding classpathentry with maven-eclipse-plugin

2007-04-18 Thread Thorsten Heit
Hi Adrian,

 Is there some way to add a classpathentry such as
 
classpathentry kind=src path=target/generated-sources/antlr/
 
 to the .classpath file?
 
 It seems that the plugin knows only about classpath containers :-(

AFAIK no. The plugin only adds all the dependencies contained in your pom.xml 
to the .classpath file. Just for curiosity: What's your use case?


Thorsten

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



Maven builds and eclipse

2007-04-18 Thread Kris Massey

Hi all,

Im having some problems getting eclipse to work with the mvn 
eclipse:eclipse task


My build creates the correct contents in the target file/WEB-INF/lib 
folder, however when I run the eclipse task it picks up 3 extra jars, 
Ive got no idea where from


The jars are to do with servlets, jsps and jsf. Im guessing that maven 
thinks these jars are needed but when added they break the deployment 
process...


Has anyone had a problem along these lines before?

Im new to maven so sorry if thats a little vague for what you guys need

Any help/guidance would be useful

Thanks
Kris

Future Publishing Limited (registered company number 2008885) is a wholly owned 
subsidiary of Future plc (registered company number 3757874), both of which are 
incorporated in England and Wales and share the same registered address at 
Beauford Court, 30 Monmouth Street, Bath BA1 2BW.

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to which they are addressed. If 
you have received this email in error please reply to this email and then 
delete it. Please note that any views or opinions presented in this email are 
solely those of the author and do not necessarily represent those of Future.

The recipient should check this email and any attachments for the presence of 
viruses. Future accepts no liability for any damage caused by any virus 
transmitted by this email.

Future may regularly and randomly monitor outgoing and incoming emails and 
other telecommunications on its email and telecommunications systems. By 
replying to this email you give your consent to such monitoring.

*
Save resources: think before you print.

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



Re: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Milos Kleint

On 4/18/07, Arne Styve [EMAIL PROTECTED] wrote:

Hi Milos,

Thanks for your answer. It did help some, but it would be nice if you could
give me an example.

Say I have a library called jamod.jar v1.2. It is installed in our company
maven2 repo as groupId=jamod, artifactId=jamod,
Version=1.2 as type=jar. In the directorystructure of my local
repository .m2, this will then appear as

.m2\repository\jamod\jamod\1.2\jamod-1.2.jar



the sources jar/zip (as jar is technically a zip) will be placed at
.m2\repository\jamod\jamod\1.2\jamod-1.2-sources.jar

and javadoc at
.m2\repository\jamod\jamod\1.2\jamod-1.2-javadoc.jar




What should the respective source and doc-files be called ? And should they
be .JAR or .ZIP-files ? And for the javadoc jar/zip-file, should the
index.html be on the root of the zipped file, or should there be a directory
called api under which the index.html file should be (inside the
zip/jar-file) ?


the maven javadoc plugin creates one with api folder inside, the maven
repo however has many that have the index.html right in the root. The
netbeans integrationshould survive both options.

Milos



As you might have understood by know, I am a bit new to Maven2, so please
bear with me if my questions are a bit newbie.

Kind regards
Arne

-Original Message-
From: Milos Kleint [mailto:[EMAIL PROTECTED]
Sent: 17. april 2007 16:07
To: Maven Users List
Subject: Re: Javadoc for dependent libraries in Netbeans...

hello,

download javadocsources checks the remote repos for artifacts with -source
or -javadoc classifiers and downloads them. The IDE then designates them as
containing source/javadoc and they are sued for hyperlinking the sources or
for code completion.
However unfortunatelly most artifacts in the central repo don't have javadoc
or sources on display.

I'm not sure about the 2.3 version of mevenide (that one works with
5.5 and later builds) but the 3.0.2 version (that works only with the 6.0
M8+ netbeans builds) has also actions install local sources and install
local javadoc that takes a local zip of sources/javadoc and puts them in
the correct place in local repo for you.

Does it help? or is the problem somewhere else?

Regards

Milos

On 4/17/07, Styve Arne [EMAIL PROTECTED] wrote:
 Hi,

 I'm using the mevenide plugin to Netbeans from codehause. This works
 fine in most cases. However, when having added a dependency (by
 right-clicking on the Dependencies node of the project tree (in
 Projects view)), I can then right-click on the JAR I've included and
 get a menue saying Download Javadoc  Source. But this has never
 worked. I've tried placing both sourcefiles (as JAR or ZIP) and
 API-doc in my local repository, but it still dont want to be integrated
with Netbeans.

 I was hoping that the Download Javadoc and Source would enable the
 direct access to the API doc of the included JAR from within the editor.
 Am I wrong ? If not, how do I set up the repository (locally, and our
 company repo), and how do I write my POM to get this working ?

 Thanks!
 Arne Styve


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



Re: Maven builds and eclipse

2007-04-18 Thread Barrie Treloar

On 4/18/07, Kris Massey [EMAIL PROTECTED] wrote:

Hi all,

Im having some problems getting eclipse to work with the mvn
eclipse:eclipse task

My build creates the correct contents in the target file/WEB-INF/lib
folder, however when I run the eclipse task it picks up 3 extra jars,
Ive got no idea where from

The jars are to do with servlets, jsps and jsf. Im guessing that maven
thinks these jars are needed but when added they break the deployment
process...

Has anyone had a problem along these lines before?

Im new to maven so sorry if thats a little vague for what you guys need

Any help/guidance would be useful


You pom.xml probably has the answers.  Can you include it?

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



RE: How to set class path in maven POM

2007-04-18 Thread Ramesh Babu Pokala - TLS, Chennai
 
I know how to set the dependency in POM.
But I have around 50 dependent jar files. Do I need to manually install
and set the dependency in POM?
Or is there any otherway?
Thank you..

Thanks  Regards 
Ramesh Babu.P 
  
 

-Original Message-
From: Tim Kettler [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 18, 2007 1:59 PM
To: Maven Users List
Subject: RE: How to set class path in maven POM

Hi,

have you read the introductory material available for maven? Declaring
dependencies is quite a fundamental concept.

I would advise you to have a look at the 'Maven Getting Started Guide'
[1] and/or the free maven book from Mergere [2].

This guide [1] might also be of interest.

-Tim

[1] http://maven.apache.org/guides/getting-started/index.html
[2] http://www.mergere.com/m2book_download.jsp
[3] http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html


Am Mittwoch, den 18.04.2007, 11:52 +0530 schrieb Ramesh Babu Pokala -
TLS, Chennai:
  How to declare dependencies?
 
 Thanks  Regards
 Ramesh Babu.P
   
  
 
 -Original Message-
 From: Wayne Fay [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, April 17, 2007 9:43 PM
 To: Maven Users List
 Subject: Re: How to set class path in maven POM
 
 Use properly declared dependencies and the classpath will be set 
 automatically for you.
 
 This may involve installing some Eclipse libraries into your local 
 repo using mvn install:install-file or using using 
 scopesystem/scope for some artifacts.
 
 Wayne
 
 On 4/17/07, Ramesh Babu Pokala - TLS, Chennai [EMAIL PROTECTED]
 wrote:
 
 
  Hi All,
 
 How to set all dependent jar files to the classpath in maven to 
  compile the RCP Application?
 
  Thanks  Regards
  Ramesh Babu.P
 
  HCL Technologies - Chennai ( +91-9884506300 ' +9144-23728366 Extn: 
  1232
  * [EMAIL PROTECTED] mailto::[EMAIL PROTECTED]
 
 
 
 
 
 
  DISCLAIMER:
  
  --
  -
 
  The contents of this e-mail and any attachment(s) are confidential 
  and
 intended for the named recipient(s) only.
  It shall not attach any liability on the originator or HCL or its 
  affiliates. Any views or opinions presented in this email are solely
 those of the author and may not necessarily reflect the opinions of 
 HCL or its affiliates.
  Any form of reproduction, dissemination, copying, disclosure, 
  modification, distribution and / or publication of this message 
  without the prior written consent of the author of this e-mail is 
  strictly prohibited. If you have received this email in error please
 delete it and notify the sender immediately. Before opening any mail 
 and attachments please check them for viruses and defect.
 
  
  --
  -
 
 -
 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]


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



Re: RE: How to set class path in maven POM

2007-04-18 Thread Thorsten Heit
Hi,

 I know how to set the dependency in POM.
 But I have around 50 dependent jar files. Do I need to manually install
 and set the dependency in POM?

If you really need them all: Yes.


 Or is there any otherway?

No.


HTH

Thorsten

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



Re: Maven builds and eclipse

2007-04-18 Thread Thorsten Heit
Hi Kris,

 My build creates the correct contents in the target file/WEB-INF/lib 
 folder, however when I run the eclipse task it picks up 3 extra jars, 
 Ive got no idea where from
 
 The jars are to do with servlets, jsps and jsf. Im guessing that maven 
 thinks these jars are needed but when added they break the deployment 
 process...
 
 Has anyone had a problem along these lines before?

I guess that one of the dependencies in your pom itself has a dependency on 
these extra jars...?


Cheers

Thorsten

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



Include runtime-dependencies in packaged jar

2007-04-18 Thread Florian Ockhuysen

Hi,

Using 'mvn package' I generated a jar for my application. This all works fine.
However, two dependency jars are used that need to be included in the jar so they are always available at runtime (they're needed at 
compile-time, too btw). Of course, these dependencies were declared in the pom.xml and exist in my local maven repository.

Just setting their scope element to 'runtime', doesn't work since they're 
also compile-time dependencies.
I googled around and read documentation, but couldn't to find information on 
this.

I solved the problem for now by putting class files from the jars in main/resources, but now I have to manually update these class files 
whenever a new version for one of the dependencies comes out.

Something tells me there must be a more generic way to do this...
Any of you have a solution??

Greets,

Florian

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



Error while trying to package RCP Application

2007-04-18 Thread Ramesh Babu Pokala - TLS, Chennai

Hi,
 
I got the following error while trying to package RCP Application using
mvn -e package  command.
Please give me a suggetion to resolve this.
 
 
C:\Documents and Settings\bpra\Desktop\OMX\SampleRCP\SampleProject1mvn
-e package
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]


[INFO] Building Simple Demo
[INFO]task-segment: [package]
[INFO]


[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/equinox.
registry/3.2.0.v20060601/equinox.registry-3.
2.0.v20060601.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/core.com
mands/3.2.0.I20060605-1400/core.commands-3.2
.0.I20060605-1400.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/equinox.
common/3.2.0.v20060603/equinox.common-3.2.0.
v20060603.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/swt/3.2.
0.v3232o/swt-3.2.0.v3232o.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/swt.win3
2.win32/x86_3.2.0.v3232m/swt.win32.win32-x86
_3.2.0.v3232m.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/equinox.
preferences/3.2.0.v20060601/equinox.preferen
ces-3.2.0.v20060601.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/core.run
time/3.2.0.v20060603/core.runtime-3.2.0.v200
60603.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/core.job
s/3.2.0.v20060603/core.jobs-3.2.0.v20060603.
pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/ui/3.2.0
.I20060605-1400/ui-3.2.0.I20060605-1400.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/core.con
tenttype/3.2.0.v20060603/core.contenttype-3.
2.0.v20060603.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/osgi/3.2
.0.v20060601/osgi-3.2.0.v20060601.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/jface/3.
2.0.I20060605-1400/jface-3.2.0.I20060605-140
0.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/eclipse/ui.workb
ench/3.2.0.I20060605-1400/ui.workbench-3.2.0
.I20060605-1400.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/plexus/
plexus-compiler-manager/1.5.3/plexus-compile
r-manager-1.5.3.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/plexus/
plexus-compiler-manager/1.5.3/plexus-compile
r-manager-1.5.3.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/plexus/
plexus-compiler-api/1.5.3/plexus-compiler-ap
i-1.5.3.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/plexus/
plexus-compiler-api/1.5.3/plexus-compiler-ap
i-1.5.3.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/plexus/
plexus-compiler-javac/1.5.3/plexus-compiler-
javac-1.5.3.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/codehaus/plexus/
plexus-compiler-javac/1.5.3/plexus-compiler-
javac-1.5.3.pom
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] No sources to compile
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/apache/maven/sur
efire/surefire-booter/2.3/surefire-booter-2.
3.pom
Downloading:
http://tntnextgen02:8080/proximity-VBL10/repository/org/apache/maven/sur
efire/surefire-booter/2.3/surefire-booter-2.
3.pom
-
this realm =
app0.child-container[org.apache.maven.plugins:maven-surefire-plugin]
urls[0] = file:/C:/Documents and
Settings/bpra/.m2/VBL10/org/apache/maven/plugins/maven-surefire-plugin/2
.3/maven-surefire-plugin
-2.3.jar
urls[1] = file:/C:/Documents and
Settings/bpra/.m2/VBL10/org/codehaus/plexus/plexus-utils/1.1/plexus-util
s-1.1.jar
urls[2] = file:/C:/Documents and
Settings/bpra/.m2/VBL10/org/apache/maven/surefire/surefire-booter/2.3/su
refire-booter-2.3.jar
Number of imports: 4
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
 

this realm = plexus.core
urls[0] = file:/C:/Documents and
Settings/bpra/Desktop/maven-2.0.6/maven-2.0.6/bin/../lib/maven-core-2.0.
6-uber.jar
Number of imports: 4
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
import: [EMAIL PROTECTED]
-
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] 

RE: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Arne Styve
Thanks again Milos, I'll give it a try :-)

By the way, do you know how to call an ANT-file from the POM ? I have a
project with a build.xml ant file that I would like to keep but want to call
from a POM.
I've searched the net, but found only hints about executing ant-statements
from within the pom, and not calling an ant file.

Regards
Arne

-Original Message-
From: Milos Kleint [mailto:[EMAIL PROTECTED] 
Sent: 18. april 2007 11:36
To: Maven Users List; [EMAIL PROTECTED]
Subject: Re: Javadoc for dependent libraries in Netbeans...

On 4/18/07, Arne Styve [EMAIL PROTECTED] wrote:
 Hi Milos,

 Thanks for your answer. It did help some, but it would be nice if you 
 could give me an example.

 Say I have a library called jamod.jar v1.2. It is installed in our 
 company
 maven2 repo as groupId=jamod, artifactId=jamod, Version=1.2 as 
 type=jar. In the directorystructure of my local repository .m2, this 
 will then appear as

 .m2\repository\jamod\jamod\1.2\jamod-1.2.jar


the sources jar/zip (as jar is technically a zip) will be placed at
.m2\repository\jamod\jamod\1.2\jamod-1.2-sources.jar

and javadoc at
.m2\repository\jamod\jamod\1.2\jamod-1.2-javadoc.jar



 What should the respective source and doc-files be called ? And should 
 they be .JAR or .ZIP-files ? And for the javadoc jar/zip-file, should 
 the index.html be on the root of the zipped file, or should there be a 
 directory called api under which the index.html file should be (inside 
 the
 zip/jar-file) ?

the maven javadoc plugin creates one with api folder inside, the maven repo
however has many that have the index.html right in the root. The netbeans
integrationshould survive both options.

Milos


 As you might have understood by know, I am a bit new to Maven2, so 
 please bear with me if my questions are a bit newbie.

 Kind regards
 Arne

 -Original Message-
 From: Milos Kleint [mailto:[EMAIL PROTECTED]
 Sent: 17. april 2007 16:07
 To: Maven Users List
 Subject: Re: Javadoc for dependent libraries in Netbeans...

 hello,

 download javadocsources checks the remote repos for artifacts with 
 -source or -javadoc classifiers and downloads them. The IDE then 
 designates them as containing source/javadoc and they are sued for 
 hyperlinking the sources or for code completion.
 However unfortunatelly most artifacts in the central repo don't have 
 javadoc or sources on display.

 I'm not sure about the 2.3 version of mevenide (that one works with
 5.5 and later builds) but the 3.0.2 version (that works only with the 
 6.0
 M8+ netbeans builds) has also actions install local sources and 
 M8+ install
 local javadoc that takes a local zip of sources/javadoc and puts them 
 in the correct place in local repo for you.

 Does it help? or is the problem somewhere else?

 Regards

 Milos

 On 4/17/07, Styve Arne [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm using the mevenide plugin to Netbeans from codehause. This works 
  fine in most cases. However, when having added a dependency (by 
  right-clicking on the Dependencies node of the project tree (in 
  Projects view)), I can then right-click on the JAR I've included and 
  get a menue saying Download Javadoc  Source. But this has never 
  worked. I've tried placing both sourcefiles (as JAR or ZIP) and 
  API-doc in my local repository, but it still dont want to be 
  integrated
 with Netbeans.
 
  I was hoping that the Download Javadoc and Source would enable the 
  direct access to the API doc of the included JAR from within the editor.
  Am I wrong ? If not, how do I set up the repository (locally, and 
  our company repo), and how do I write my POM to get this working ?
 
  Thanks!
  Arne Styve
 

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



Re: RE: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Thorsten Heit
Hi Arne,

 By the way, do you know how to call an ANT-file from the POM ? I have a
 project with a build.xml ant file that I would like to keep but want to
 call
 from a POM.
 I've searched the net, but found only hints about executing ant-statements
 from within the pom, and not calling an ant file.

I guess this is what you're looking for (see the second example): 
http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html


HTH

Thorsten

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



How to add path to a folder to classpathes

2007-04-18 Thread Ilya Vishnevsky
Hi! I need to add to pom.xml information about classpath to a folder
(not a jar-file), so that Idea project, created by mvn idea:idea, had
this path in it's project libraries list. Is it possible?

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



RE: RE: How to set class path in maven POM

2007-04-18 Thread Ramesh Babu Pokala - TLS, Chennai

 

I saw one mail in this group saying

From Davis:  i know that mvn depenendency:resolve
depdendency:build-classpath will dump a classpath list of all
transitive/non-transitive jars.

What is the purpose of the above command?
Will it be used to use classpath automatically for dependent files?

Thanks  Regards 
Ramesh Babu.P 
  

-Original Message-
From: Thorsten Heit [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 18, 2007 3:37 PM
To: Maven Users List
Subject: Re: RE: How to set class path in maven POM

Hi,

 I know how to set the dependency in POM.
 But I have around 50 dependent jar files. Do I need to manually 
 install and set the dependency in POM?

If you really need them all: Yes.


 Or is there any otherway?

No.


HTH

Thorsten

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


DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.

---

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



Re: RE: RE: How to set class path in maven POM

2007-04-18 Thread Thorsten Heit
Hi,

 I saw one mail in this group saying
 
 From Davis:  i know that mvn depenendency:resolve
 depdendency:build-classpath will dump a classpath list of all
 transitive/non-transitive jars.
 
 What is the purpose of the above command?

See 
http://maven.apache.org/plugins/maven-dependency-plugin/build-classpath-mojo.html:

This goal will output a classpath string of dependencies from the local 
repository to a file or log

i.e. a string that contains all the [transitive] dependencies that are 
used/referenced by your pom.xml.


Thorsten

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



Browsing over JUnit test history

2007-04-18 Thread Miłosz Witkowski
Hi,
I am wondering if Continuum has ability to keep results of JUnit tests
performed during builds as he is keeping output of it?
 
I am aware that JUnit test are performed when you specify proper goal or
target and for this reason depends on project configuration, but I don't
wan't to put logic for copying results inside my pom.xml. Can I specyfy in
Continuum what other resources from target should be copyed to folder where
continum is keeping history for a build?
 
Cheers,
Milosz


RE: How can I stop a build if I don't see the Java processes for it?

2007-04-18 Thread Morgovsky, Alexander \(US - Glen Mills\)
Please help, we are at the point of uninstalling Continuum and again
installing everything.  I sincerely hope you can provide a solution for
this, as these problems could come at any time, and we need a way to
handle them gracefully.  Thanks in advance.
 _ 
 From: Morgovsky, Alexander (US - Glen Mills)  
 Sent: Tuesday, April 17, 2007 11:14 PM
 To:   '[EMAIL PROTECTED]'
 Subject:  How can I stop a build if I don't see the Java processes
 for it?
 
 I am running Continuum as a service (1.0.3).  I have a hung build
 which has been running for over 5 hours.  I do not see any Java
 processes in the Processes window.  How do I figure out which Java
 processes I need to kill to stop this build?  I am stumped by this
 issue, I tried recycling the service, the box, everything.  Do I need
 to go to the DB and delete something?  Please assist.  Thanks. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


RE: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Arne Styve
Hi again Milos,

I tried your suggestion, created a JAR file of the Javadoc, and placed it in
our company repo as

jamod-1.2-javadoc.jar 

Then rightclicked the dependencynode in the Netbeans project, and selected
Download javadoc and source.
A small green indicator appeared next to the jar, indicating that the
javadoc had been downloaded and set up.

However, when i rightclick the jamod-node now, and select View Javadoc, IE
opens up with the following URL:

jar:file:/C:/Documents%20and%20Settings/asty/.m2/repository/jamod/jamod/1.2/
jamod-1.2-javadoc.jar!/apidocs/index.html

With the message: This page cannot be shown.

I don't get the javadoc integrated with the editor either. Notice that
Netbeans seams to expect the javadoc to start at /apidocs/...

Any ideas ?

Regards
Arne


-Original Message-
From: Milos Kleint [mailto:[EMAIL PROTECTED] 
Sent: 18. april 2007 11:36
To: Maven Users List; [EMAIL PROTECTED]
Subject: Re: Javadoc for dependent libraries in Netbeans...

On 4/18/07, Arne Styve [EMAIL PROTECTED] wrote:
 Hi Milos,

 Thanks for your answer. It did help some, but it would be nice if you 
 could give me an example.

 Say I have a library called jamod.jar v1.2. It is installed in our 
 company
 maven2 repo as groupId=jamod, artifactId=jamod, Version=1.2 as 
 type=jar. In the directorystructure of my local repository .m2, this 
 will then appear as

 .m2\repository\jamod\jamod\1.2\jamod-1.2.jar


the sources jar/zip (as jar is technically a zip) will be placed at
.m2\repository\jamod\jamod\1.2\jamod-1.2-sources.jar

and javadoc at
.m2\repository\jamod\jamod\1.2\jamod-1.2-javadoc.jar



 What should the respective source and doc-files be called ? And should 
 they be .JAR or .ZIP-files ? And for the javadoc jar/zip-file, should 
 the index.html be on the root of the zipped file, or should there be a 
 directory called api under which the index.html file should be (inside 
 the
 zip/jar-file) ?

the maven javadoc plugin creates one with api folder inside, the maven repo
however has many that have the index.html right in the root. The netbeans
integrationshould survive both options.

Milos


 As you might have understood by know, I am a bit new to Maven2, so 
 please bear with me if my questions are a bit newbie.

 Kind regards
 Arne

 -Original Message-
 From: Milos Kleint [mailto:[EMAIL PROTECTED]
 Sent: 17. april 2007 16:07
 To: Maven Users List
 Subject: Re: Javadoc for dependent libraries in Netbeans...

 hello,

 download javadocsources checks the remote repos for artifacts with 
 -source or -javadoc classifiers and downloads them. The IDE then 
 designates them as containing source/javadoc and they are sued for 
 hyperlinking the sources or for code completion.
 However unfortunatelly most artifacts in the central repo don't have 
 javadoc or sources on display.

 I'm not sure about the 2.3 version of mevenide (that one works with
 5.5 and later builds) but the 3.0.2 version (that works only with the 
 6.0
 M8+ netbeans builds) has also actions install local sources and 
 M8+ install
 local javadoc that takes a local zip of sources/javadoc and puts them 
 in the correct place in local repo for you.

 Does it help? or is the problem somewhere else?

 Regards

 Milos

 On 4/17/07, Styve Arne [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm using the mevenide plugin to Netbeans from codehause. This works 
  fine in most cases. However, when having added a dependency (by 
  right-clicking on the Dependencies node of the project tree (in 
  Projects view)), I can then right-click on the JAR I've included and 
  get a menue saying Download Javadoc  Source. But this has never 
  worked. I've tried placing both sourcefiles (as JAR or ZIP) and 
  API-doc in my local repository, but it still dont want to be 
  integrated
 with Netbeans.
 
  I was hoping that the Download Javadoc and Source would enable the 
  direct access to the API doc of the included JAR from within the editor.
  Am I wrong ? If not, how do I set up the repository (locally, and 
  our company repo), and how do I write my POM to get this working ?
 
  Thanks!
  Arne Styve
 

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



Re: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Milos Kleint

On 4/18/07, Arne Styve [EMAIL PROTECTED] wrote:

Hi again Milos,

I tried your suggestion, created a JAR file of the Javadoc, and placed it in
our company repo as

jamod-1.2-javadoc.jar

Then rightclicked the dependencynode in the Netbeans project, and selected
Download javadoc and source.
A small green indicator appeared next to the jar, indicating that the
javadoc had been downloaded and set up.

However, when i rightclick the jamod-node now, and select View Javadoc, IE
opens up with the following URL:

jar:file:/C:/Documents%20and%20Settings/asty/.m2/repository/jamod/jamod/1.2/
jamod-1.2-javadoc.jar!/apidocs/index.html

With the message: This page cannot be shown.

I don't get the javadoc integrated with the editor either. Notice that
Netbeans seams to expect the javadoc to start at /apidocs/...

Any ideas ?



works for me in the Netbeans 6.0 M8 build and the respective mevenide
3.0.2 version (from the Netbeans Development Update Center). It's
possible that the 2.3 version that works with 5.5 has a bug in there,
that I fixed in the source code.

Both the View Javadoc popup action and the code completion's javadoc
popup work for me.

Milos



Regards
Arne


-Original Message-
From: Milos Kleint [mailto:[EMAIL PROTECTED]
Sent: 18. april 2007 11:36
To: Maven Users List; [EMAIL PROTECTED]
Subject: Re: Javadoc for dependent libraries in Netbeans...

On 4/18/07, Arne Styve [EMAIL PROTECTED] wrote:
 Hi Milos,

 Thanks for your answer. It did help some, but it would be nice if you
 could give me an example.

 Say I have a library called jamod.jar v1.2. It is installed in our
 company
 maven2 repo as groupId=jamod, artifactId=jamod, Version=1.2 as
 type=jar. In the directorystructure of my local repository .m2, this
 will then appear as

 .m2\repository\jamod\jamod\1.2\jamod-1.2.jar


the sources jar/zip (as jar is technically a zip) will be placed at
.m2\repository\jamod\jamod\1.2\jamod-1.2-sources.jar

and javadoc at
.m2\repository\jamod\jamod\1.2\jamod-1.2-javadoc.jar



 What should the respective source and doc-files be called ? And should
 they be .JAR or .ZIP-files ? And for the javadoc jar/zip-file, should
 the index.html be on the root of the zipped file, or should there be a
 directory called api under which the index.html file should be (inside
 the
 zip/jar-file) ?

the maven javadoc plugin creates one with api folder inside, the maven repo
however has many that have the index.html right in the root. The netbeans
integrationshould survive both options.

Milos


 As you might have understood by know, I am a bit new to Maven2, so
 please bear with me if my questions are a bit newbie.

 Kind regards
 Arne

 -Original Message-
 From: Milos Kleint [mailto:[EMAIL PROTECTED]
 Sent: 17. april 2007 16:07
 To: Maven Users List
 Subject: Re: Javadoc for dependent libraries in Netbeans...

 hello,

 download javadocsources checks the remote repos for artifacts with
 -source or -javadoc classifiers and downloads them. The IDE then
 designates them as containing source/javadoc and they are sued for
 hyperlinking the sources or for code completion.
 However unfortunatelly most artifacts in the central repo don't have
 javadoc or sources on display.

 I'm not sure about the 2.3 version of mevenide (that one works with
 5.5 and later builds) but the 3.0.2 version (that works only with the
 6.0
 M8+ netbeans builds) has also actions install local sources and
 M8+ install
 local javadoc that takes a local zip of sources/javadoc and puts them
 in the correct place in local repo for you.

 Does it help? or is the problem somewhere else?

 Regards

 Milos

 On 4/17/07, Styve Arne [EMAIL PROTECTED] wrote:
  Hi,
 
  I'm using the mevenide plugin to Netbeans from codehause. This works
  fine in most cases. However, when having added a dependency (by
  right-clicking on the Dependencies node of the project tree (in
  Projects view)), I can then right-click on the JAR I've included and
  get a menue saying Download Javadoc  Source. But this has never
  worked. I've tried placing both sourcefiles (as JAR or ZIP) and
  API-doc in my local repository, but it still dont want to be
  integrated
 with Netbeans.
 
  I was hoping that the Download Javadoc and Source would enable the
  direct access to the API doc of the included JAR from within the editor.
  Am I wrong ? If not, how do I set up the repository (locally, and
  our company repo), and how do I write my POM to get this working ?
 
  Thanks!
  Arne Styve
 

 -
 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 

RE: Maven builds and eclipse

2007-04-18 Thread Phill Moran
Are they dependencies of included jars? Can you check the POMs of the jars you
included

-Original Message-
From: Kris Massey [mailto:[EMAIL PROTECTED] 
Sent: April 18, 2007 5:09 AM
To: users@maven.apache.org
Subject: Maven builds and eclipse

Hi all,

Im having some problems getting eclipse to work with the mvn eclipse:eclipse
task

My build creates the correct contents in the target file/WEB-INF/lib folder,
however when I run the eclipse task it picks up 3 extra jars, Ive got no idea
where from

The jars are to do with servlets, jsps and jsf. Im guessing that maven thinks
these jars are needed but when added they break the deployment process...

Has anyone had a problem along these lines before?

Im new to maven so sorry if thats a little vague for what you guys need

Any help/guidance would be useful

Thanks
Kris

Future Publishing Limited (registered company number 2008885) is a wholly owned
subsidiary of Future plc (registered company number 3757874), both of which are
incorporated in England and Wales and share the same registered address at
Beauford Court, 30 Monmouth Street, Bath BA1 2BW.

This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to which they are addressed. If
you have received this email in error please reply to this email and then delete
it. Please note that any views or opinions presented in this email are solely
those of the author and do not necessarily represent those of Future.

The recipient should check this email and any attachments for the presence of
viruses. Future accepts no liability for any damage caused by any virus
transmitted by this email.

Future may regularly and randomly monitor outgoing and incoming emails and other
telecommunications on its email and telecommunications systems. By replying to
this email you give your consent to such monitoring.

*
Save resources: think before you print.

-
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: org.mozilla.javascript repo?

2007-04-18 Thread mateamargo


Wayne Fay wrote:
 
 Where did this pom come from? I'd assume this artifact is served by
 another repo (not central) or requires manual installation (via mvn
 install:install-file) of the artifact.
 
 Wayne
 

Reading this tutorial:
http://wiki.apache.org/jakarta-jmeter/JMeterMavenPlugin
If you take a look at the POM link:
http://wiki.apache.org/jakarta-jmeter-data/attachments/JMeterMavenPlugin/attachments/jmeter-2.2.pom
you can see that dependency.
-- 
View this message in context: 
http://www.nabble.com/org.mozilla.javascript-repo--tf3597494s177.html#a10058498
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: RE: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Arne Styve
Hi Thorsten, 

 By the way, do you know how to call an ANT-file from the POM ? I have 
 a project with a build.xml ant file that I would like to keep but want 
 to call
 from a POM.
 I've searched the net, but found only hints about executing 
 ant-statements
 from within the pom, and not calling an ant file.

I guess this is what you're looking for (see the second example):
http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html


HTH

Thorsten

Just what I was looking for :-)

Thanks !

Arne




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



maven-surefire-plugin problem

2007-04-18 Thread Ramesh Babu Pokala - TLS, Chennai

Hi,
 
  I have installed maven-surefire-plugin version 2.3 in maven's local
repository.
 
  But still i am getting the following error/.
 
  Can anyone help me in this issue...?
 
 
C:\Documents and Settings\bpra\.m2\SampleProject1mvn -e package
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]


[INFO] Building Simple Demo
[INFO]task-segment: [package]
[INFO]


[INFO]

[ERROR] BUILD ERROR
[INFO]

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

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.maven.plugins:maven-surefire-plugin' does not exis
t or no valid version could be found
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default
LifecycleExecutor.java:1286)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De
faultLifecycleExecutor.java:1522)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPack
aging(DefaultLifecycleExecutor.java:1016)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMa
ppings(DefaultLifecycleExecutor.java:980)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
ifecycleExecutor.java:458)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
Failures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
ycleExecutor.java:143)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.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)
Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The
plugin 'org.apache.maven.plugins:maven-surefire-pl
ugin' does not exist or no valid version could be found
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi
nVersion(DefaultPluginVersionManager.java:228)
 
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi
nVersion(DefaultPluginVersionManager.java:90)
at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM
anager.java:166)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default
LifecycleExecutor.java:1257)
... 18 more
[INFO]

[INFO] Total time:  1 second
[INFO] Finished at: Wed Apr 18 19:15:03 IST 2007
[INFO] Final Memory: 2M/4M
[INFO]

 
C:\Documents and Settings\bpra\.m2\SampleProject1

Thanks  Regards 
Ramesh Babu.P 
  
HCL Technologies - Chennai ( +91-9884506300 ' +9144-23728366 Extn: 1232
* [EMAIL PROTECTED] mailto::[EMAIL PROTECTED] 

 

 


DISCLAIMER:
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in 
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of 
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have 
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and 
attachments please check them for viruses and defect.


Re: mvn site site:deploy problem

2007-04-18 Thread Ionut S
Ok, if I create that script how can I tell Continuum to run it ? 

As our continuum server is configured right now, I can only add a new goal, not 
a script.. 

David Roussel [EMAIL PROTECTED] wrote: Oh, I see.

How about changing your site build to run a script that does...

1. mkdir tmp-site
2. mvn clean site site:deploy
-DdistributionManagement.site.url=./tmp-site
3. if success; mv tmp-site /var/www/site

I suppose it in a Maven issue, but it's a fundamental 'feature' of how
Maven works.  It's as if there needs to be another level above the maven
lifecycle, for automic builds on multi module projects.

David

On Wed, 18 Apr 2007 05:44:39 -0700 (PDT), Ionut S 
said:
 Yes, that's exactly what happens.
 
 Probably I should address this question to the maven list ?
 
 
 
 Nick Stolwijk  wrote: I think I know what he
 means, as I have seen the same.
 
 It thrashes in case of a multimodule project.
 If you have
 parent
 -child1
 -child2
 
 It executes first for parent the goals (clean install site site:deploy), 
 then child1 and then child2. So if one of your childs fails, you have 
 half the new site and half the old site.
 
 So it's more a mvn issue I guess. I don't know all the implications, but 
 it would be nicer if the tree was walked for each goal. Thus clean 
 parent, child1, child2, install parent, child1, child2, etc. Then it 
 would only deploy the whole site, when the whole site can be generated.
 
 With regards,
 
 Nick S.
 
 David Roussel wrote:
  Trashes it in what way?  Which files are missing?
 
  My understanding is that when you do site:deploy it just copies to file
  over, it doesn't delete from the target first.  But exactly how this
  works probably depends on how you have it configured.
 
  Do you get the same problem if you have:
 

   
website 
file:///C:\Program Files\Apache
Group\Apache2\htdocs\site
   

 
  What url are you currently using?
 
  David
 
  On Thu, 12 Apr 2007 06:41:49 -0700 (PDT), Ionut S 
  said:

  Hi,
  Not sure if my problem is related to mvn or continuum, so excuse me if
  I'm wrong..
 
  Anyway, we have a continuum site in place, which works fine in general.
  There is one abnormal behaviour that made me write to this list though:
  if the build fails (for any reason), the site gets trashed. This is
  because the command we give:
 
  mvn clean install site site:deploy
 
  starts to copy the files for each project, without waiting for the whole
  project to be built. This trashes the site and we can't see it unless we
  fix the build.
 
  Is there something we can do in order to fix this issue ?
 
  Thank you !
  Ionut
 
 
  -
  Never miss an email again!
  Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.
  
 

 
 
 

 -
 Ahhh...imagining that irresistible new car smell?
  Check outnew cars at Yahoo! Autos.


   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.

Where is binding for maven-release-plugin specified?

2007-04-18 Thread Pankaj Tandon

Hi,
I was looking at the pom.xml of the maven-release-plugin hoping to find a
binding to one of the phases in there.
For example...
  build
plugins
...
  plugin
groupIdsample.plugin/groupId
artifactIdmaven-hello-plugin/artifactId
executions
  execution
phasecompile/phase
goals
  goalsayhi/goal
/goals
  /execution
/executions
  /plugin
...
/plugins

  /build

Did not see any explicit binding in the plugin node.

Where is that binding done? And what phase(s) it it bound to?
Thanks
Pankaj


-- 
View this message in context: 
http://www.nabble.com/Where-is-binding-for-maven-release-plugin-specified--tf3601209s177.html#a10059401
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-surefire-plugin problem

2007-04-18 Thread Pankaj Tandon

Hi,
It may help if you posted the pom.xml of your project.
Also I noticed that you have a project in your home folder.. not a big deal
and it should not break anything but it's just a bit strange :). The
repository is a peer to your project. Typically you will want to use the
'install' goal to get your project into the repository.

Pankaj


Ramesh Babu Pokala - TLS, Chennai wrote:
 
 
 Hi,
  
   I have installed maven-surefire-plugin version 2.3 in maven's local
 repository.
  
   But still i am getting the following error/.
  
   Can anyone help me in this issue...?
  
  
 C:\Documents and Settings\bpra\.m2\SampleProject1mvn -e package
 + Error stacktraces are turned on.
 [INFO] Scanning for projects...
 [INFO]
 
 
 [INFO] Building Simple Demo
 [INFO]task-segment: [package]
 [INFO]
 
 
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does
 not exist or no valid version could be found
 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
 'org.apache.maven.plugins:maven-surefire-plugin' does not exis
 t or no valid version could be found
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default
 LifecycleExecutor.java:1286)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De
 faultLifecycleExecutor.java:1522)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPack
 aging(DefaultLifecycleExecutor.java:1016)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMa
 ppings(DefaultLifecycleExecutor.java:980)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
 ifecycleExecutor.java:458)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
 Failures(DefaultLifecycleExecutor.java:311)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
 DefaultLifecycleExecutor.java:278)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
 ycleExecutor.java:143)
 at
 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
 a:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
 Impl.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)
 Caused by:
 org.apache.maven.plugin.version.PluginVersionNotFoundException: The
 plugin 'org.apache.maven.plugins:maven-surefire-pl
 ugin' does not exist or no valid version could be found
 at
 org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi
 nVersion(DefaultPluginVersionManager.java:228)
  
 at
 org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi
 nVersion(DefaultPluginVersionManager.java:90)
 at
 org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM
 anager.java:166)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default
 LifecycleExecutor.java:1257)
 ... 18 more
 [INFO]
 
 [INFO] Total time:  1 second
 [INFO] Finished at: Wed Apr 18 19:15:03 IST 2007
 [INFO] Final Memory: 2M/4M
 [INFO]
 
  
 C:\Documents and Settings\bpra\.m2\SampleProject1
 
 Thanks  Regards 
 Ramesh Babu.P 
   
 HCL Technologies - Chennai ( +91-9884506300 ' +9144-23728366 Extn: 1232
 * [EMAIL PROTECTED] mailto::[EMAIL PROTECTED] 
 
  
 
  
 
 
 DISCLAIMER:
 ---
 
 The contents of this e-mail and any attachment(s) are confidential and
 intended for the named recipient(s) only.
 It shall not attach any liability on the originator or HCL or its
 affiliates. Any views or opinions presented in 
 this email are solely those of the author and may not necessarily reflect
 the 

Re: org.mozilla.javascript repo?

2007-04-18 Thread Wayne Fay

Please take this support request back to the source -- the JMeter
folks. In particular, Tim McCune, as it seems like he is responsible
for this wiki page.

Reading the wiki page, it seems like there are a few artifacts (this
mozilla artifact being one) which do not exist in Central, and you
will need to manually install locally yourself to get things to work.

Wayne

On 4/18/07, mateamargo [EMAIL PROTECTED] wrote:



Wayne Fay wrote:

 Where did this pom come from? I'd assume this artifact is served by
 another repo (not central) or requires manual installation (via mvn
 install:install-file) of the artifact.

 Wayne


Reading this tutorial:
http://wiki.apache.org/jakarta-jmeter/JMeterMavenPlugin
If you take a look at the POM link:
http://wiki.apache.org/jakarta-jmeter-data/attachments/JMeterMavenPlugin/attachments/jmeter-2.2.pom
you can see that dependency.
--
View this message in context: 
http://www.nabble.com/org.mozilla.javascript-repo--tf3597494s177.html#a10058498
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]



RE: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Arne Styve
Hi again, 

 
 works for me in the Netbeans 6.0 M8 build and the respective mevenide
 3.0.2 version (from the Netbeans Development Update Center). 
 It's possible that the 2.3 version that works with 5.5 has a 
 bug in there, that I fixed in the source code.
 
 Both the View Javadoc popup action and the code 
 completion's javadoc popup work for me.
 
 Milos
 

Good news. The Javadoc works :-) It turned out that the Neatbeans required
the 
javadoc JAR-file to have the index.html in a directory called apidocs to be
recognized.

No it's the sourcecode. I managed to create a JAR file called
jamod-1.2-sources.jar, but 
again it looks like Netbeans expects a certain directory structure inside
the JAR-file. Have tried
Using the directory src as the root inside the JAR file, and I have tried
without using a root.

Do you know what it should be ?

Thanks for helping me out with this.

Regards
Arne



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



Re: maven-surefire-plugin problem

2007-04-18 Thread Wayne Fay

How did you install the surefire plugin into your repository? Did
you just copy the files into the proper directories, or use the mvn
install command, or what?

Wayne

On 4/18/07, Pankaj Tandon [EMAIL PROTECTED] wrote:


Hi,
It may help if you posted the pom.xml of your project.
Also I noticed that you have a project in your home folder.. not a big deal
and it should not break anything but it's just a bit strange :). The
repository is a peer to your project. Typically you will want to use the
'install' goal to get your project into the repository.

Pankaj


Ramesh Babu Pokala - TLS, Chennai wrote:


 Hi,

   I have installed maven-surefire-plugin version 2.3 in maven's local
 repository.

   But still i am getting the following error/.

   Can anyone help me in this issue...?


 C:\Documents and Settings\bpra\.m2\SampleProject1mvn -e package
 + Error stacktraces are turned on.
 [INFO] Scanning for projects...
 [INFO]
 
 
 [INFO] Building Simple Demo
 [INFO]task-segment: [package]
 [INFO]
 
 
 [INFO]
 
 [ERROR] BUILD ERROR
 [INFO]
 
 [INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does
 not exist or no valid version could be found
 [INFO]
 
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
 'org.apache.maven.plugins:maven-surefire-plugin' does not exis
 t or no valid version could be found
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default
 LifecycleExecutor.java:1286)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(De
 faultLifecycleExecutor.java:1522)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPack
 aging(DefaultLifecycleExecutor.java:1016)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMa
 ppings(DefaultLifecycleExecutor.java:980)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
 ifecycleExecutor.java:458)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
 Failures(DefaultLifecycleExecutor.java:311)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
 DefaultLifecycleExecutor.java:278)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
 ycleExecutor.java:143)
 at
 org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
 a:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
 Impl.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)
 Caused by:
 org.apache.maven.plugin.version.PluginVersionNotFoundException: The
 plugin 'org.apache.maven.plugins:maven-surefire-pl
 ugin' does not exist or no valid version could be found
 at
 org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi
 nVersion(DefaultPluginVersionManager.java:228)

 at
 org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlugi
 nVersion(DefaultPluginVersionManager.java:90)
 at
 org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginM
 anager.java:166)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Default
 LifecycleExecutor.java:1257)
 ... 18 more
 [INFO]
 
 [INFO] Total time:  1 second
 [INFO] Finished at: Wed Apr 18 19:15:03 IST 2007
 [INFO] Final Memory: 2M/4M
 [INFO]
 

 C:\Documents and Settings\bpra\.m2\SampleProject1

 Thanks  Regards
 Ramesh Babu.P

 HCL Technologies - Chennai ( +91-9884506300 ' +9144-23728366 Extn: 1232
 * [EMAIL PROTECTED] mailto::[EMAIL PROTECTED]






 DISCLAIMER:
 
---

 The contents of this e-mail and any attachment(s) are confidential and
 intended for the named recipient(s) only.
 It shall 

For you Enterprise Maven Users!

2007-04-18 Thread Jason van Zyl

http://blogs.maven.org/jvanzyl/2007/04/18/1176905394766.html

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



Re: For you Enterprise Maven Users!

2007-04-18 Thread Jo Vandermeeren

Looking good.. Good luck with the new company!

On 4/18/07, Jason van Zyl [EMAIL PROTECTED] wrote:


http://blogs.maven.org/jvanzyl/2007/04/18/1176905394766.html

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




Re: For you Enterprise Maven Users!

2007-04-18 Thread Antonio Petrelli

2007/4/18, Jason van Zyl [EMAIL PROTECTED]:

http://blogs.maven.org/jvanzyl/2007/04/18/1176905394766.html


Mmm... expect a bileblog entry soon :-P

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



JUnit tests are being skipped by Maven

2007-04-18 Thread Enrique Gaona

Hi,
I'm trying to run a JUnit test in Maven, but for some reason, the tests are
being skipped.  In my pom.xml file, I have the junit dependency and added
the maven-surefire-plugin in the hopes my JUnit test gets invoked.

dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version3.8.1/version
scopetest/scope
 /dependency

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-surefire-plugin/artifactId
  configuration
  includes
 includeAssetManagerTest.java/include
   /includes
   /configuration
 /plugin

Is there anything I need to do different?   The Junit test is 10
sub-directories deep from the pom.xml, but I don't think this is an issue.
I've also included a screenshot of the output from the mvn test command.
Thanks in advance.

Screenshot from mvn test command:
[EMAIL 
PROTECTED]:~/projects/csdp_build/sources/csdp/com.ibm.csdp.bss.catalog/catalog.repository.cmd
 mvn test
[INFO] Scanning for projects...
[INFO]

[INFO] Building catalog.repository.cmd
[INFO]task-segment: [test]
[INFO]

[INFO] [buildnumber:create {execution: default}]
[INFO] Build Number: 20070418-0955
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove
the local scope.

[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]

[INFO] Total time: 12 seconds
[INFO] Finished at: Wed Apr 18 09:55:18 CDT 2007
[INFO] Final Memory: 15M/36M
[INFO]



Enrique


Re: JUnit tests are being skipped by Maven

2007-04-18 Thread Arik Kfir

try:

include**/AssetManagerTest.java/include

On 4/18/07, Enrique Gaona [EMAIL PROTECTED] wrote:



Hi,
I'm trying to run a JUnit test in Maven, but for some reason, the tests
are
being skipped.  In my pom.xml file, I have the junit dependency and added
the maven-surefire-plugin in the hopes my JUnit test gets invoked.

dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version3.8.1/version
scopetest/scope
/dependency

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-surefire-plugin/artifactId
  configuration
  includes
 includeAssetManagerTest.java/include
   /includes
   /configuration
/plugin

Is there anything I need to do different?   The Junit test is 10
sub-directories deep from the pom.xml, but I don't think this is an issue.
I've also included a screenshot of the output from the mvn test command.
Thanks in advance.

Screenshot from mvn test command:
[EMAIL PROTECTED]
:~/projects/csdp_build/sources/csdp/com.ibm.csdp.bss.catalog/catalog.repository.cmd
mvn test
[INFO] Scanning for projects...
[INFO]


[INFO] Building catalog.repository.cmd
[INFO]task-segment: [test]
[INFO]


[INFO] [buildnumber:create {execution: default}]
[INFO] Build Number: 20070418-0955
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove
the local scope.

[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]

[INFO] Total time: 12 seconds
[INFO] Finished at: Wed Apr 18 09:55:18 CDT 2007
[INFO] Final Memory: 15M/36M
[INFO]



Enrique



Re: JUnit tests are being skipped by Maven

2007-04-18 Thread Wayne Fay

What is the file named? And where is it located with respect to your
pom.xml (the complete relative path)?

Wayne

On 4/18/07, Enrique Gaona [EMAIL PROTECTED] wrote:


Hi,
I'm trying to run a JUnit test in Maven, but for some reason, the tests are
being skipped.  In my pom.xml file, I have the junit dependency and added
the maven-surefire-plugin in the hopes my JUnit test gets invoked.

dependency
groupIdjunit/groupId
artifactIdjunit/artifactId
version3.8.1/version
scopetest/scope
 /dependency

plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-surefire-plugin/artifactId
  configuration
  includes
 includeAssetManagerTest.java/include
   /includes
   /configuration
 /plugin

Is there anything I need to do different?   The Junit test is 10
sub-directories deep from the pom.xml, but I don't think this is an issue.
I've also included a screenshot of the output from the mvn test command.
Thanks in advance.

Screenshot from mvn test command:
[EMAIL 
PROTECTED]:~/projects/csdp_build/sources/csdp/com.ibm.csdp.bss.catalog/catalog.repository.cmd
 mvn test
[INFO] Scanning for projects...
[INFO]

[INFO] Building catalog.repository.cmd
[INFO]task-segment: [test]
[INFO]

[INFO] [buildnumber:create {execution: default}]
[INFO] Build Number: 20070418-0955
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove
the local scope.

[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Not compiling test sources
[INFO] [surefire:test]
[INFO] Tests are skipped.
[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]

[INFO] Total time: 12 seconds
[INFO] Finished at: Wed Apr 18 09:55:18 CDT 2007
[INFO] Final Memory: 15M/36M
[INFO]



Enrique



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



LifecycleExecutionException: The packaging for this project did not assign a file to the build artifact

2007-04-18 Thread Michael Maven

I'm trying to use the psteclipse plugin to generate my plugins.  I've read
the Eclipse Corner Article and generated an example archetype project,
my-binary-plugin.  I'm getting a LifecycleExecutionException: The packaging
for this project did not assign a file to the build artifact exception out
of the build.  Here's the POM and build output below.  Where am I supposed
to specify the missing name?  When I specify the packaging as 'jar' the
deploy works.  Also, the jar file with the correct plugin Manafest is built
in the target\pde-test directory.  Is that all I can
expect/WAD?

Best Regards,
 Michael

project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
  modelVersion4.0.0/modelVersion
  groupIdcom.mycompany.app/groupId
  artifactIdmy-binary-plugin/artifactId
  packagingbinary-plugin/packaging
  version1.0-SNAPSHOT/version
  namemy-binary-plugin/name
  urlhttp://maven.apache.org/url
  dependencies
dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
/dependency
  /dependencies
build
plugins
plugin
artifactIdmaven-eclipse-plugin/artifactId
configuration
projectnatures
projectnature
org.eclipse.jdt.core.javanature
/projectnature
projectnature
org.eclipse.pde.PluginNature
/projectnature
/projectnatures
buildcommands
buildcommand
org.eclipse.jdt.core.javabuilder
/buildcommand
buildcommand
org.eclipse.pde.ManifestBuilder
/buildcommand
buildcommand
org.eclipse.pde.SchemaBuilder
/buildcommand
/buildcommands
classpathContainers
classpathContainer
org.eclipse.pde.core.requiredPlugins
/classpathContainer
/classpathContainers
/configuration
/plugin 
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-psteclipse-plugin/artifactId
version1.1.0/version
extensionstrue/extensions
configuration
logModificationstrue/logModifications
testFrameworkVersion3.1.0/testFrameworkVersion
/configuration
executions
execution
idtest-package/id
phasetest-compile/phase
goals
goaltestPackage/goal
/goals
/execution
execution
idupdate/id
phaseprocess-resources/phase
goals
goalupdate/goal
/goals
/execution
execution
idupdate-site-classpath/id
phasepre-site/phase
goals
goalupdate/goal
/goals
/execution
/executions
/plugin
/plugins
/build
distributionManagement
repository
idmy-repository/id
nameMy Repository/name
urlfile:///Documents and Settings/user/.m2/repository//url
/repository
/distributionManagement
/project

C:\Development\my-binary-pluginmvn -e deploy
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
-
---
[INFO] Building my-binary-plugin
[INFO]task-segment: [deploy]
[INFO]
-
---
[INFO] [psteclipse:update {execution: update}]
[INFO] Defaulting prefixes to the single prefix 'my-binary-plugin'.
[INFO] [psteclipse:testPackage {execution: test-package}]
[INFO] [site:attach-descriptor]
[INFO] [psteclipse:install]
[INFO] Installing C:\Development\my-binary-plugin\pom.xml to C:\Documents
and Se
ttings\user\.m2\repository\com\mycompany\app\my-binary-plugin\1.0-SNAPSHOT\my-
binary-plugin-1.0-SNAPSHOT.pom
[INFO] [deploy:deploy]
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] The packaging for this project did not assign a file to the build
artifac
t
[INFO]

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The packaging for
this p
roject did not assign a file to the build artifact
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:564)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan

Re: bogus error? [ERROR]? How can i get rid of it?

2007-04-18 Thread Baz

I wonder if anyone read this...

On 4/11/07, Baz [EMAIL PROTECTED] wrote:

Hi,

I have seen this error in the build log but i think they are bogus
since the operation is successful. How can i get rid of them?

Thanks.

AY

[INFO] copy c:\Documents and
Settings\Administrator\.m2\com\aaa\bbb.jar C:\install_dir
   1 file(s) copied.
[ERROR]



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



use maven-antrun-plugin

2007-04-18 Thread 張旭

i'm trying to build a dojo release use maven2, i use maven-antrun-plugin as
following:
..
build
   ..
   plugins
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-antrun-plugin/artifactId
   executions
 execution
   phasecompile/phase
   configuration
 tasks
   ant dir=src/main/javascript/dojo/release-0.4.2/buildscripts
target=release
 property name=docless value=true/
 property name=profileFile
value=src/main/javascript/profiles/my.profile.js/
   /ant
 /tasks
   /configuration

   goals
 goalrun/goal
   /goals
 /execution
   /executions
 /plugin
   /plugins
 /build


when i trying 'mvn compile' i got a :

Embedded error: The following error occurred while executing this line:
F:\works\flexstudio-dojoext\src\main\javascript\dojo\release-
0.4.2\buildscripts\build.xml:535: Could not create task or type of type:
script.
Ant could not find the task or a class this task relies upon.
.

can anybody help me? thx a lot


Re: For you Enterprise Maven Users!

2007-04-18 Thread Jason van Zyl


On 18 Apr 07, at 10:52 AM 18 Apr 07, Antonio Petrelli wrote:


2007/4/18, Jason van Zyl [EMAIL PROTECTED]:

http://blogs.maven.org/jvanzyl/2007/04/18/1176905394766.html


Mmm... expect a bileblog entry soon :-P



Rest assured. I was already scolded on IRc :-)

Jason.


-
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: Starting a new java process from within a test case is hanging the maven JVM

2007-04-18 Thread Jerome Lacoste

On 4/17/07, Balasubramanian, Ravi Shankar [EMAIL PROTECTED] wrote:

Hi all,

We use maven-surefire-plugin to run our testng test cases. I encountered
a problem where in the maven VM is hanging when one of the test cases
start a separate java process from within it using the java
ProcessBuilder class(which I think is inconsequential here). What I am
doing in the test case is starting a server which I need to be running
throughout my maven builds across different projects. (Some sort of
integration tests.). Following is the structure for my build:

[...]


Can one of you please let me know if there is any glitch anywhere in the
way I have coded my test case or in my setup?


Your problem can come from several places. The best way to
troubleshoot it is to obtain a thread dump from you JVM.

kill -3 PID under Unix, CTRL+Break on Windows I think.

J

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



Set notation for dependency version behavior question

2007-04-18 Thread Dave Hoffer
When specifying the version of a dependency using set notation, i.e.
[1.0,) should maven consider SNAPSHOTS when looking for valid versions?

Currently it seems that maven2/plugins is inconsistent in how it deals
with set notation.  It seems that during the release goal it will use
local SNAPSHOTS that have versions after 1.0, i.e. 1.1-SNAPSHOT and
complain that it cannot perform the release because of this SNAPSHOT
dependency.  However it seems all other goals do not consider SNAPSHOTS
as valid versions when using set notation for the dependency version.

It seems to me that the release goal has it wrong and that its current
behavior makes set notation un-usable.

How should this work?

-Dave

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



Re: use maven-antrun-plugin

2007-04-18 Thread Thorsten Heit
Hi,

 i'm trying to build a dojo release use maven2, i use maven-antrun-plugin
 as
 following:
 ..
 build
 ..
 plugins
   plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-antrun-plugin/artifactId
 executions
   execution
 phasecompile/phase
 configuration
   tasks
 ant
 dir=src/main/javascript/dojo/release-0.4.2/buildscripts
 target=release
   property name=docless value=true/
   property name=profileFile
 value=src/main/javascript/profiles/my.profile.js/
 /ant
   /tasks
 /configuration
 
 goals
   goalrun/goal
 /goals
   /execution
 /executions
   /plugin
 /plugins
   /build
 
 
 when i trying 'mvn compile' i got a :
 
 Embedded error: The following error occurred while executing this line:
 F:\works\flexstudio-dojoext\src\main\javascript\dojo\release-
 0.4.2\buildscripts\build.xml:535: Could not create task or type of type:
 script.
 Ant could not find the task or a class this task relies upon.
 .

Depending on what you're doing in the build.xml I guess you have to add the 
corresponding optional Ant libraries as dependencies to your plugin 
configuration. For example, if you use the script task:

plugins
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-antrun-plugin/artifactId
version1.1/version
dependencies
  dependency
groupIdant/groupId
artifactIdant-apache-bsf/artifactId
version1.6.5/version
  /dependency
/dependencies
...
  /plugin
 ...
/plugins


HTH

Thorsten

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



Mojo: query the maven repository for dependencies

2007-04-18 Thread Jo Vandermeeren

Hello fellow maven users,

I would like to create a standalone maven plugin that is able to create a
module archetype.
It should generate the pom and directory structure like a normal maven
archetype.

When this has been created, it should generate some workflows as spring
application context files, based on input parameters.
One of these parameters are the groupId, artifactId and version of other
maven-built artifacts (jars).
They should be added to the plugin classpath and certain resources in those
artifacts are loaded and used to generate other resources.

So in short..
I want to access the maven repository, look up the artifacts based on input
parameters, resolve them as plugin dependencies, do something with them and
add them to the to-be-created-project's pom dependency list.


Has anyone done this before and could point me in the right direction?


Cheers
Jo


Re: org.mozilla.javascript repo?

2007-04-18 Thread mateamargo


Wayne Fay wrote:
 
 Please take this support request back to the source -- the JMeter
 folks. In particular, Tim McCune, as it seems like he is responsible
 for this wiki page.
 
 Reading the wiki page, it seems like there are a few artifacts (this
 mozilla artifact being one) which do not exist in Central, and you
 will need to manually install locally yourself to get things to work.
 
 Wayne
 

I had to download the complete JMeter distribution and manually install each
dependency. Apparently this org.mozilla.javascript is chunk from Rhino, and
is included in Jmeter as js.jar, without version number.
-- 
View this message in context: 
http://www.nabble.com/org.mozilla.javascript-repo--tf3597494s177.html#a10060317
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: pass-in external variables to be used by POM

2007-04-18 Thread Steven Rowe
How about:

   plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-ear-plugin/artifactId
 configuration
   archive
 manifestEntries
   Build-Version${version}/Build-Version
 /manifestEntries
   /archive
 /configuration
   /plugin

And then:

mvn -Dversion=10.2.0.0 install

Steve

Piyush Hari wrote:

 I have created a POM that includes the following tag for version :
 
 plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-ear-plugin/artifactId
configuration
   archive
  manifestEntries
 Build-Version10.1.3.3/Build-Version
  /manifestEntries
/archive
  /configuration   /plugin
 /plugins
 
 Now, instead of 10.1.3.3 I want to pass an external value say version.
 How can I go about doing it ? And can I do something like mvn install
 version= ?
 
 Take care,
 Piyush


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



RE: maven-surefire-plugin problem

2007-04-18 Thread Ramesh Babu Pokala - TLS, Chennai
Hi,


The following is my POM.xml content

project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/settings-1.0.0.xsd;
  
modelVersion4.0.0/modelVersion 
groupIdmain.java/groupId 
artifactIdSampleProject1/artifactId 
packagingjar/packaging 
nameSimple Demo/name 
version1.0-SNAPSHOT/version 
descriptionCIA Tool RCP Simple Demo/description 

dependencies

  !--dependency

groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-surefire-plugin/artifactId
  version2.3/version
/dependency--


dependency
  groupIdorg.eclipse/groupId
  artifactIdui.workbench/artifactId
  version3.2.0.I20060605-1400/version
 /dependency

 dependency
groupIdorg.eclipse/groupId
  artifactIdcore.commands/artifactId
  version3.2.0.I20060605-1400/version
/dependency

 dependency

groupIdorg.eclipse/groupId
  artifactIdswt/artifactId
  version3.2.0.v3232o/version
/dependency

 dependency
groupIdorg.eclipse/groupId
  artifactIdui/artifactId
  version3.2.0.I20060605-1400/version
/dependency

 dependency
groupIdorg.eclipse/groupId
  artifactIdcore.contenttype/artifactId
  version3.2.0.v20060603/version
/dependency

 dependency
groupIdorg.eclipse/groupId
  artifactIdswt.win32.win32/artifactId
  versionx86_3.2.0.v3232m/version
/dependency

 dependency
groupIdorg.eclipse/groupId
  artifactIdosgi/artifactId
  version3.2.0.v20060601/version
/dependency

 dependency
groupIdorg.eclipse/groupId
  artifactIdjface/artifactId
  version3.2.0.I20060605-1400/version
/dependency

 dependency
groupIdorg.eclipse/groupId
  artifactIdequinox.registry/artifactId
  version3.2.0.v20060601/version
/dependency

 dependency
groupIdorg.eclipse/groupId
  artifactIdcore.jobs/artifactId
  version3.2.0.v20060603/version
/dependency

 dependency
groupIdorg.eclipse/groupId
  artifactIdequinox.common/artifactId
  version3.2.0.v20060603/version
/dependency

 dependency
groupIdorg.eclipse/groupId
  artifactIdequinox.preferences/artifactId
  version3.2.0.v20060601/version
/dependency

dependency
groupIdorg.eclipse/groupId
  artifactIdcore.runtime/artifactId
  version3.2.0.v20060603/version
 
/dependency

  /dependencies


build 
plugins 
plugin 
groupIdorg.codehaus.mojo/groupId 
artifactIdpde-maven-plugin/artifactId 
extensionstrue/extensions 
configuration 
eclipseInstallD:\eclipse/eclipseInstall 
/configuration 
/plugin 
/plugins 
/build 

/project


 


Thanks  Regards 
Ramesh Babu.P 
  
HCL Technologies - Chennai ( +91-9884506300 ' +9144-23728366 Extn: 1232
* [EMAIL PROTECTED] 
 

-Original Message-
From: Pankaj Tandon [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 18, 2007 8:00 PM
To: users@maven.apache.org
Subject: Re: maven-surefire-plugin problem


Hi,
It may help if you posted the pom.xml of your project.
Also I noticed that you have a project in your home folder.. not a big
deal and it should not break anything but it's just a bit strange :).
The repository is a peer to your project. Typically you will want to use
the 'install' goal to get your project into the repository.

Pankaj


Ramesh Babu Pokala - TLS, Chennai wrote:
 
 
 Hi,
  
   I have installed maven-surefire-plugin version 2.3 in maven's local 
 repository.
  
   But still i am getting the following error/.
  
   Can anyone help me in this issue...?
  
  
 C:\Documents and Settings\bpra\.m2\SampleProject1mvn -e package
 + Error stacktraces are turned on.
 [INFO] Scanning for projects...
 [INFO]
 --
 --
 
 [INFO] Building Simple Demo
 [INFO]task-segment: [package]
 [INFO]
 --
 --
 
 [INFO]
 --
 --
 [ERROR] BUILD ERROR
 [INFO]
 --
 -- [INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' 
 does not exist or no valid version could be found [INFO]
 --
 --
 [INFO] Trace
 org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 
 'org.apache.maven.plugins:maven-surefire-plugin' does not exis t or no

 valid version could be found
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defau
 lt
 LifecycleExecutor.java:1286)
 at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(
 De
 faultLifecycleExecutor.java:1522)
 at
 

RE: maven-surefire-plugin problem

2007-04-18 Thread Ramesh Babu Pokala - TLS, Chennai
Hi,

I used mvn install command as follows

mvn install:install-file -DgroupId=org.apache.maven.plugins
-DartifactId=maven-surefire-plugin -Dversion=2.3 -Dpackaging=jar
-Dfile=maven-surefire-plugin-2.3.jar 


Thanks  Regards 
Ramesh Babu.P 
  

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 18, 2007 8:07 PM
To: Maven Users List
Subject: Re: maven-surefire-plugin problem

How did you install the surefire plugin into your repository? Did
you just copy the files into the proper directories, or use the mvn
install command, or what?

Wayne

On 4/18/07, Pankaj Tandon [EMAIL PROTECTED] wrote:

 Hi,
 It may help if you posted the pom.xml of your project.
 Also I noticed that you have a project in your home folder.. not a big

 deal and it should not break anything but it's just a bit strange :). 
 The repository is a peer to your project. Typically you will want to 
 use the 'install' goal to get your project into the repository.

 Pankaj


 Ramesh Babu Pokala - TLS, Chennai wrote:
 
 
  Hi,
 
I have installed maven-surefire-plugin version 2.3 in maven's 
  local repository.
 
But still i am getting the following error/.
 
Can anyone help me in this issue...?
 
 
  C:\Documents and Settings\bpra\.m2\SampleProject1mvn -e package
  + Error stacktraces are turned on.
  [INFO] Scanning for projects...
  [INFO]
  
  
  
  [INFO] Building Simple Demo
  [INFO]task-segment: [package]
  [INFO]
  
  
  
  [INFO]
  
  
  [ERROR] BUILD ERROR
  [INFO]
  
   [INFO] The plugin 
  'org.apache.maven.plugins:maven-surefire-plugin' does not exist or 
  no valid version could be found [INFO]
  
  
  [INFO] Trace
  org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 
  'org.apache.maven.plugins:maven-surefire-plugin' does not exis t or 
  no valid version could be found
  at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Def
  ault
  LifecycleExecutor.java:1286)
  at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescripto
  r(De
  faultLifecycleExecutor.java:1522)
  at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleFor
  Pack
  aging(DefaultLifecycleExecutor.java:1016)
  at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecyc
  leMa
  ppings(DefaultLifecycleExecutor.java:980)
  at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defa
  ultL
  ifecycleExecutor.java:458)
  at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHa
  ndle
  Failures(DefaultLifecycleExecutor.java:311)
  at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegme
  nts(
  DefaultLifecycleExecutor.java:278)
  at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultL
  ifec
  ycleExecutor.java:143)
  at
  org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
  at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
  at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
  at
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl
  .jav
  a:39)
  at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcce
  ssor
  Impl.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)
  Caused by:
  org.apache.maven.plugin.version.PluginVersionNotFoundException: The 
  plugin 'org.apache.maven.plugins:maven-surefire-pl
  ugin' does not exist or no valid version could be found
  at
  org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveP
  lugi
  nVersion(DefaultPluginVersionManager.java:228)
 
  at
  org.apache.maven.plugin.version.DefaultPluginVersionManager.resolveP
  lugi
  nVersion(DefaultPluginVersionManager.java:90)
  at
  org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlu
  ginM
  anager.java:166)
  at
  org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Def
  ault
  LifecycleExecutor.java:1257)
  ... 18 more
  [INFO]
  
  
  [INFO] Total time:  1 second
  [INFO] Finished at: Wed Apr 18 19:15:03 

Re: org.mozilla.javascript repo?

2007-04-18 Thread Thorsten Heit
Hi,

  Please take this support request back to the source -- the JMeter
  folks. In particular, Tim McCune, as it seems like he is responsible
  for this wiki page.
  
  Reading the wiki page, it seems like there are a few artifacts (this
  mozilla artifact being one) which do not exist in Central, and you
  will need to manually install locally yourself to get things to work.
  
  Wayne
  
 
 I had to download the complete JMeter distribution and manually install
 each
 dependency. Apparently this org.mozilla.javascript is chunk from Rhino,
 and
 is included in Jmeter as js.jar, without version number.

In the meantime you can help yourself by creating the following pom and install 
it locally or deploy it to your repo:

project
  modelVersion4.0.0/modelVersion
  groupIdorg.mozilla.javascript/groupId
  artifactIdjavascript/artifactId
  version1.0/version
  distributionManagement
relocation
  groupIdrhino/groupId
  artifactIdjs/artifactId
  version1.6R5/version
/relocation
  /distributionManagement
/project


HTH

Thorsten

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



Re: JUnit tests are being skipped by Maven

2007-04-18 Thread Enrique Gaona

Arik,
Thanks for the tip.  I got a bit further and it actually tries to build
AssetManagerTest.java files, but its failing saying it can't find
junit.framework.  junit is located in ~/.m2/repository/junit/junit/3.8.1
directory.   I have the import junit.framework.* in my code, so not sure
why it can't find the package.  Any ideas?

/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.bss.catalog/catalog.repository.cmd/src/main/java/com/ibm/csdp/bss/catalog/repository/client/main/AssetManagerTest.java:[22,0]
 package junit.framework does not exist

/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.bss.catalog/catalog.repository.cmd/src/main/java/com/ibm/csdp/bss/catalog/repository/client/main/AssetManagerTest.java:[30,38]
 cannot resolve symbol
symbol  : class TestCase
location: class
com.ibm.csdp.bss.catalog.repository.client.main.AssetManagerTest

Wayne,
The file is called AssetManagerTest.java. The pom.xml is located in
~/catalog.repository.cmd while the AssetManagerTest.java is in
catalog.repository.cmd/src/main/java/com/ibm/csdp/bss/catalog/repository/client/main/
 directory.

Thanks.

Enrique



Arik Kfir [EMAIL PROTECTED] wrote on 04/18/2007 09:59:50 AM:

 try:

 include**/AssetManagerTest.java/include

 On 4/18/07, Enrique Gaona [EMAIL PROTECTED] wrote:
 
 
  Hi,
  I'm trying to run a JUnit test in Maven, but for some reason, the tests
  are
  being skipped.  In my pom.xml file, I have the junit dependency and
added
  the maven-surefire-plugin in the hopes my JUnit test gets invoked.
 
  dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
  /dependency
 
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
configuration
includes
 
includeAssetManagerTest.java/include
 /includes
 /configuration
  /plugin
 
  Is there anything I need to do different?   The Junit test is 10
  sub-directories deep from the pom.xml, but I don't think this is an
issue.
  I've also included a screenshot of the output from the mvn test
command.
  Thanks in advance.
 
  Screenshot from mvn test command:
  [EMAIL PROTECTED]
  :~/projects/csdp_build/sources/csdp/com.ibm.csdp.bss.
 catalog/catalog.repository.cmd
  mvn test
  [INFO] Scanning for projects...
  [INFO]
 
 


  [INFO] Building catalog.repository.cmd
  [INFO]task-segment: [test]
  [INFO]
 
 


  [INFO] [buildnumber:create {execution: default}]
  [INFO] Build Number: 20070418-0955
  [INFO] [resources:resources]
  [INFO] Using default encoding to copy filtered resources.
  [WARNING]
  Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
  overriding broader scope 'compile'
  given by a dependency. If this is not intended, modify or
remove
  the local scope.
 
  [INFO] [compiler:compile]
  [INFO] Nothing to compile - all classes are up to date
  [INFO] [resources:testResources]
  [INFO] Using default encoding to copy filtered resources.
  [INFO] [compiler:testCompile]
  [INFO] Not compiling test sources
  [INFO] [surefire:test]
  [INFO] Tests are skipped.
  [INFO]
 

  [INFO] BUILD SUCCESSFUL
  [INFO]
 

  [INFO] Total time: 12 seconds
  [INFO] Finished at: Wed Apr 18 09:55:18 CDT 2007
  [INFO] Final Memory: 15M/36M
  [INFO]
 

 
 
  Enrique
 

Re: RE: maven-surefire-plugin problem

2007-04-18 Thread Thorsten Heit
Hi,

 I used mvn install command as follows
 
 mvn install:install-file -DgroupId=org.apache.maven.plugins
 -DartifactId=maven-surefire-plugin -Dversion=2.3 -Dpackaging=jar
 -Dfile=maven-surefire-plugin-2.3.jar 

Why did you do this? This isn't necessary as Maven automatically fetches 
plugins from central (assuming that you have Internet access and specified 
proxy settings if you are behind a firewall).


Thorsten

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



url format for Maven2 projects?

2007-04-18 Thread Michael Stacey

I'm trying to use the file url and it is not working:

file:///path/to/parent/pom.xml

The web interface tells me to use http,https,ftp, or file.

Is there some other format I'm missing?


--

*Michael Stacey*

Systems Analyst

1100 Terex Road

Hudson, Ohio 44236-3771



330.650.6506   PHONE

330.655.0223   DIRECT DIAL

330.656.4307   FAX

www.lexi.com http://www.lexi.com



*/ /*


LEXI-COMP CONFIDENTIALITY NOTICE
The information in this electronic mail is intended for the named 
recipients only.  Any use of this information by anyone other than 
the intended receiver is prohibited.  If the reader of this message is
not the intended recipient, you are hereby notified that any 
dissemination, distribution, copying, or other use of this message 
or its attachments is strictly prohibited.  If you have received this 
message in error, please notify the sender immediately by replying 
to this electronic e-mail or by calling 330-650-6506.  Please delete 
it from your computer.  Thank you.


WEIRD : mvn assembly is not adding my dependencies

2007-04-18 Thread Petr V.
Greetings All,

Okay here is an issue and I am not sure what am I doing wrong.

I had this in one my sub project pom

   plugin
  artifactIdmaven-assembly-plugin/artifactId
  configuration
descriptors
  descriptorsrc/assemble/CPWebService-assembly.xml/descriptor
/descriptors
  /configuration
/plugin

and now problem is that if I issue mvn assemly:assembly from main project 
then it complains that descriptior could not be found because I guess main POM 
has no clue for that. So every time I have to go to sub project and issue 
assembly command there.

c:\main\mvn assembly:assembly
 comapins that descriptor is not found 
[INFO] [assembly:assembly]
[INFO] 
[ERROR] BUILD FAILURE
[INFO] 
[INFO] No assembly descriptors found.
[INFO] 

Now if I move to sub project 

c:\main\sublevel1\sublevel2\mvn assembly:assembly
 It works fine and I get my zip file

Now I don't wanna move to sub project to issue assembly command

so is it possible if I could issue mvn assembly:assembly from main project ???

If it is _NOT_ possible then I have already tried following.
 
Alternate try:

What I did that I moved the above assemby plugin to main POM and made change in 
descriptor tag to find the assemly file with respect to main project then I 
issued mvn assembly from main project and I had success and got zip file which 
included all files and filesets but it did not inlcude all dependenices in my 
and showed no error by the way. 

My assembly.xml contains (just a snippet)

files
 file
  sourcesrc/main/lib/windows-x86-32.dll/source
  outputDirectory/bin/outputDirectory
/file
/files

dependencySets
dependencySet
  unpackfalse/unpack
  scoperuntime/scope
  outputDirectory/lib/outputDirectory
  includes
includecom.abc.cp:cps-core/include
includecom.abc.cp:cps-authn/include
includecom.abc.cp:cps-authz/include
includecom.abc.cp:cps-inv/include
includecom.abc.cp:cps-perf/include
includecom.abc.cp:CPWebService/include
includeorg.springframework:spring/include
includeorg.hibernate:hibernate/include
includeorg.hibernate:hibernate-annotations/include
includecommons-dbcp:commons-dbcp/include
includedom4j:dom4j/include
includejavax.transaction:jta/include
includecom.microsoft.jdbcdriver:sqljdbc/include
includecommons-pool:commons-pool/include
includejavax.persistence:persistence-api/include
includecommons-collections:commons-collections/include
includecglib:cglib/include
includeasm:asm/include
includeantlr:antlr/include
  /includes
/dependencySet
  /dependencySets

Ok so I am wondering why my dependencies are not including if I add assmebly 
plugin in main project while if I leave assembly plugin in sub project, they 
are added. I have almostly tried one whole day to make it work but no luck. Any 
help is appreciated.

Thanks,

Petr V.

P.S. I admit that my maven knowledge is based on fire fighting. When ever I 
face issue, I google and get things done and I am not proeprly trained in maven.

   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.

Re: JUnit tests are being skipped by Maven

2007-04-18 Thread Wayne Fay

I figured as much. Here's your problem...

Your junit artifact is brought in with scope test.

Your test is currently situated in src/main/java which is main java
code directory. So when maven-compiler is trying to compile your
code, the junit dependency is not available.

You have two choices:
1. Change junit scope to compile. This will get you past your
current problems but its really not the proper solution.
2. Move your test(s) to src/test/java. This is the proper solution.

There's actually another choice in there where you would use
resources, testSourceDirectory, includes and excludes to make things
work but its complicated and I'm not going to recommend that approach.

Wayne

On 4/18/07, Enrique Gaona [EMAIL PROTECTED] wrote:


Arik,
Thanks for the tip.  I got a bit further and it actually tries to build
AssetManagerTest.java files, but its failing saying it can't find
junit.framework.  junit is located in ~/.m2/repository/junit/junit/3.8.1
directory.   I have the import junit.framework.* in my code, so not sure
why it can't find the package.  Any ideas?

/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.bss.catalog/catalog.repository.cmd/src/main/java/com/ibm/csdp/bss/catalog/repository/client/main/AssetManagerTest.java:[22,0]
 package junit.framework does not exist

/home/egaona/projects/csdp_build/sources/csdp/com.ibm.csdp.bss.catalog/catalog.repository.cmd/src/main/java/com/ibm/csdp/bss/catalog/repository/client/main/AssetManagerTest.java:[30,38]
 cannot resolve symbol
symbol  : class TestCase
location: class
com.ibm.csdp.bss.catalog.repository.client.main.AssetManagerTest

Wayne,
The file is called AssetManagerTest.java. The pom.xml is located in
~/catalog.repository.cmd while the AssetManagerTest.java is in
catalog.repository.cmd/src/main/java/com/ibm/csdp/bss/catalog/repository/client/main/
 directory.

Thanks.

Enrique



Arik Kfir [EMAIL PROTECTED] wrote on 04/18/2007 09:59:50 AM:

 try:

 include**/AssetManagerTest.java/include

 On 4/18/07, Enrique Gaona [EMAIL PROTECTED] wrote:
 
 
  Hi,
  I'm trying to run a JUnit test in Maven, but for some reason, the tests
  are
  being skipped.  In my pom.xml file, I have the junit dependency and
added
  the maven-surefire-plugin in the hopes my JUnit test gets invoked.
 
  dependency
  groupIdjunit/groupId
  artifactIdjunit/artifactId
  version3.8.1/version
  scopetest/scope
  /dependency
 
  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
configuration
includes
 
includeAssetManagerTest.java/include
 /includes
 /configuration
  /plugin
 
  Is there anything I need to do different?   The Junit test is 10
  sub-directories deep from the pom.xml, but I don't think this is an
issue.
  I've also included a screenshot of the output from the mvn test
command.
  Thanks in advance.
 
  Screenshot from mvn test command:
  [EMAIL PROTECTED]
  :~/projects/csdp_build/sources/csdp/com.ibm.csdp.bss.
 catalog/catalog.repository.cmd
  mvn test
  [INFO] Scanning for projects...
  [INFO]
 
 


  [INFO] Building catalog.repository.cmd
  [INFO]task-segment: [test]
  [INFO]
 
 


  [INFO] [buildnumber:create {execution: default}]
  [INFO] Build Number: 20070418-0955
  [INFO] [resources:resources]
  [INFO] Using default encoding to copy filtered resources.
  [WARNING]
  Artifact junit:junit:jar:3.8.1:test retains local scope 'test'
  overriding broader scope 'compile'
  given by a dependency. If this is not intended, modify or
remove
  the local scope.
 
  [INFO] [compiler:compile]
  [INFO] Nothing to compile - all classes are up to date
  [INFO] [resources:testResources]
  [INFO] Using default encoding to copy filtered resources.
  [INFO] [compiler:testCompile]
  [INFO] Not compiling test sources
  [INFO] [surefire:test]
  [INFO] Tests are skipped.
  [INFO]
 

  [INFO] BUILD SUCCESSFUL
  [INFO]
 

  [INFO] Total time: 12 seconds
  [INFO] Finished at: Wed Apr 18 09:55:18 CDT 2007
  [INFO] Final Memory: 15M/36M
  [INFO]
 

 
 
  Enrique
 


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



Re: url format for Maven2 projects?

2007-04-18 Thread Emmanuel Venisse

It isn't allowed by default. You can allow it in application.xml, explained in 
FAQs.

Emmanuel

Michael Stacey a écrit :

I'm trying to use the file url and it is not working:

file:///path/to/parent/pom.xml

The web interface tells me to use http,https,ftp, or file.

Is there some other format I'm missing?






Re: pass-in external variables to be used by POM

2007-04-18 Thread Wayne Fay

That should work, but I wouldn't use the word version. Use
${thisismyversion} or something.

The word version is already used in the pom's version tag etc, and I'm
afraid you won't get what you're expecting.

Wayne

On 4/18/07, Steven Rowe [EMAIL PROTECTED] wrote:

How about:

   plugin
 groupIdorg.apache.maven.plugins/groupId
 artifactIdmaven-ear-plugin/artifactId
 configuration
   archive
 manifestEntries
   Build-Version${version}/Build-Version
 /manifestEntries
   /archive
 /configuration
   /plugin

And then:

mvn -Dversion=10.2.0.0 install

Steve

Piyush Hari wrote:

 I have created a POM that includes the following tag for version :

 plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-ear-plugin/artifactId
configuration
   archive
  manifestEntries
 Build-Version10.1.3.3/Build-Version
  /manifestEntries
/archive
  /configuration   /plugin
 /plugins

 Now, instead of 10.1.3.3 I want to pass an external value say version.
 How can I go about doing it ? And can I do something like mvn install
 version= ?

 Take care,
 Piyush


-
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: url format for Maven2 projects?

2007-04-18 Thread Michael Stacey

Thank you.  I missed that in the FAQs.

Emmanuel Venisse wrote:
It isn't allowed by default. You can allow it in application.xml, 
explained in FAQs.


Emmanuel

Michael Stacey a écrit :

I'm trying to use the file url and it is not working:

file:///path/to/parent/pom.xml

The web interface tells me to use http,https,ftp, or file.

Is there some other format I'm missing?




--

*Michael Stacey*

Systems Analyst

1100 Terex Road

Hudson, Ohio 44236-3771



330.650.6506   PHONE

330.655.0223   DIRECT DIAL

330.656.4307   FAX

www.lexi.com http://www.lexi.com



*/ /*


LEXI-COMP CONFIDENTIALITY NOTICE
The information in this electronic mail is intended for the named 
recipients only.  Any use of this information by anyone other than 
the intended receiver is prohibited.  If the reader of this message is
not the intended recipient, you are hereby notified that any 
dissemination, distribution, copying, or other use of this message 
or its attachments is strictly prohibited.  If you have received this 
message in error, please notify the sender immediately by replying 
to this electronic e-mail or by calling 330-650-6506.  Please delete 
it from your computer.  Thank you.


Re: For you Enterprise Maven Users!

2007-04-18 Thread John Casey

Adding mine to the stack:

http://www.ejlife.net/blogs/buildchimp

-john

On 4/18/07, Jason van Zyl [EMAIL PROTECTED] wrote:



On 18 Apr 07, at 10:52 AM 18 Apr 07, Antonio Petrelli wrote:

 2007/4/18, Jason van Zyl [EMAIL PROTECTED]:
 http://blogs.maven.org/jvanzyl/2007/04/18/1176905394766.html

 Mmm... expect a bileblog entry soon :-P


Rest assured. I was already scolded on IRc :-)

Jason.

 -
 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: WEIRD : mvn assembly is not adding my dependencies

2007-04-18 Thread John Casey

You might find it easier to bind the assembly construction to the main build
process, in the package phase (for example). To do this, you can use the
assembly:single mojo like this:

plugin
 artifactIdmaven-assembly-plugin/artifactId
 version2.2-beta-1/version

 executions
   execution
 idassembly/id
 phasepackage/phase
 goalsgoalsingle/goal/goals
 configuration
   descriptors
 descriptorsrc/assemble/CPWebService-assembly.xml/descriptor
   /descriptors
 /configuration
   /execution
 /executions
/plugin

Now, when you fire off the build from the top-level like this:

mvn clean install

you'll see that the sub-project with the assembly plugin configuration will
go ahead and put the assembly together when everything is packaged up.
Incidentally, using the single mojo allows you to have multiple assemblies
in the same multi-module build.

HTH,

John

On 4/18/07, Petr V. [EMAIL PROTECTED] wrote:


Greetings All,

Okay here is an issue and I am not sure what am I doing wrong.

I had this in one my sub project pom

   plugin
  artifactIdmaven-assembly-plugin/artifactId
  configuration
descriptors
  descriptorsrc/assemble/CPWebService-assembly.xml
/descriptor
/descriptors
  /configuration
/plugin

and now problem is that if I issue mvn assemly:assembly from main
project then it complains that descriptior could not be found because I
guess main POM has no clue for that. So every time I have to go to sub
project and issue assembly command there.

c:\main\mvn assembly:assembly
 comapins that descriptor is not found
[INFO] [assembly:assembly]
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] No assembly descriptors found.
[INFO]


Now if I move to sub project

c:\main\sublevel1\sublevel2\mvn assembly:assembly
 It works fine and I get my zip file

Now I don't wanna move to sub project to issue assembly command

so is it possible if I could issue mvn assembly:assembly from main project
???

If it is _NOT_ possible then I have already tried following.

Alternate try:

What I did that I moved the above assemby plugin to main POM and made
change in descriptor tag to find the assemly file with respect to main
project then I issued mvn assembly from main project and I had success and
got zip file which included all files and filesets but it did not inlcude
all dependenices in my and showed no error by the way.

My assembly.xml contains (just a snippet)

files
 file
  sourcesrc/main/lib/windows-x86-32.dll/source
  outputDirectory/bin/outputDirectory
/file
/files

dependencySets
dependencySet
  unpackfalse/unpack
  scoperuntime/scope
  outputDirectory/lib/outputDirectory
  includes
includecom.abc.cp:cps-core/include
includecom.abc.cp:cps-authn/include
includecom.abc.cp:cps-authz/include
includecom.abc.cp:cps-inv/include
includecom.abc.cp:cps-perf/include
includecom.abc.cp:CPWebService/include
includeorg.springframework:spring/include
includeorg.hibernate:hibernate/include
includeorg.hibernate:hibernate-annotations/include
includecommons-dbcp:commons-dbcp/include
includedom4j:dom4j/include
includejavax.transaction:jta/include
includecom.microsoft.jdbcdriver:sqljdbc/include
includecommons-pool:commons-pool/include
includejavax.persistence:persistence-api/include
includecommons-collections:commons-collections/include
includecglib:cglib/include
includeasm:asm/include
includeantlr:antlr/include
  /includes
/dependencySet
  /dependencySets

Ok so I am wondering why my dependencies are not including if I add
assmebly plugin in main project while if I leave assembly plugin in sub
project, they are added. I have almostly tried one whole day to make it work
but no luck. Any help is appreciated.

Thanks,

Petr V.

P.S. I admit that my maven knowledge is based on fire fighting. When ever
I face issue, I google and get things done and I am not proeprly trained in
maven.


-
Ahhh...imagining that irresistible new car smell?
Check outnew cars at Yahoo! Autos.


Re: maven-assembly-plugin: unpack false not supported correctly

2007-04-18 Thread John Casey

Please file this in JIRA, so I can add some user-friendly messaging to it...

http://jira.codehaus.org/browse/MASSEMBLY

If you have a small test project I can use to incorporate in the integration
tests, that would be even better...

Thanks,

John

On 4/17/07, Brad Szabo [EMAIL PROTECTED] wrote:


I may be wrong, but try removing the
outputFileNameMapping/outputFileNameMapping with unpack set to
false. I think it will pick up the dependencies then.

Good luck,
Brad


On Tue, 2007-04-17 at 15:35 +0200, Graham Leggett wrote:
 Hi all,

 While trying to build an assembly using 2.2-beta-1 of the assembly
plugin,
 I end up with en empty zip file.

 The key difference is the unpackfalse/unpack - if this is set to
true,
 the assembly works, if however it is set to false, the assembly plugin
 ignores the dependencies.

 In order to be useful to us, the dependency plugin needs to set this to
 false.

 I have defined a dependencySet as follows:

 dependencySet
   outputDirectory/outputDirectory
   outputFileNameMapping/outputFileNameMapping
   includes
 includealchemy:alchemy-quant:jar:${os-platform}/include
 includealchemy:alchemy-quant:ctf:${os-platform}/include

includealchemy:alchemy-transformer:jar:${os-platform}/include

includealchemy:alchemy-transformer:ctf:${os-platform}/include
   /includes
   unpackfalse/unpack
   scoperuntime/scope
 /dependencySet

 What this is supposed to do is include the following dependencies within
 the assembly:

 dependency
   groupIdalchemy/groupId
   artifactIdalchemy-quant/artifactId
   version${pom.version}/version
   classifier${os-platform}/classifier
 /dependency
 dependency
   groupIdalchemy/groupId
   artifactIdalchemy-quant/artifactId
   version${pom.version}/version
   classifier${os-platform}/classifier
   typectf/type
 /dependency
 dependency
   groupIdalchemy/groupId
   artifactIdalchemy-transformer/artifactId
   version${pom.version}/version
   classifier${os-platform}/classifier
 /dependency
 dependency
   groupIdalchemy/groupId
   artifactIdalchemy-transformer/artifactId
   version${pom.version}/version
   classifier${os-platform}/classifier
   typectf/type
 /dependency

 Is this a known problem?

 Regards,
 Graham
 --



 -
 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: Are there any predefined variables when filtering using the Assembly plugin?

2007-04-18 Thread John Casey

If you're not seeing that behavior, put it in JIRA so I can take a look.

http://jira.codehaus.org/browse/MASSEMBLY

Thanks,

john

On 4/17/07, Danny MacMillan [EMAIL PROTECTED]
wrote:


Hi,

From what I've read, you can include stuff from your POM when filtering
resources by doing something like ${pom.artifactId} -- is the same
facility available when filtering files in the assembly plugin?  It
doesn't seem to work that way.

What I want to do is put a filter in a batch file I'm including in the
assembly so that the name of my jar will be included.

Thanks,

--
Danny MacMillan

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




RE: maven-surefire-plugin problem

2007-04-18 Thread Pankaj Tandon

Hi,
I think your groupId is wrong.
From my surefire pom, here is the groupId:
...
  groupIdorg.apache.maven.surefire/groupId
  artifactIdsurefire/artifactId
  packagingpom/packaging
...
You have an extra 'plugins' there.

Rather than trying downloading as a dependency, see if you can get it into
your local repo usign mvn install:install-file goal with this groupId.
HTH
Pankaj



Ramesh Babu Pokala - TLS, Chennai wrote:
 
 Hi,
 
 
 The following is my POM.xml content
 
 project xmlns=http://maven.apache.org/POM/4.0.0;
 xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
   xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
 http://maven.apache.org/xsd/settings-1.0.0.xsd;
   
 modelVersion4.0.0/modelVersion 
 groupIdmain.java/groupId 
 artifactIdSampleProject1/artifactId 
 packagingjar/packaging 
 nameSimple Demo/name 
 version1.0-SNAPSHOT/version 
 descriptionCIA Tool RCP Simple Demo/description 
 
 dependencies
 
   !--dependency
 
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-surefire-plugin/artifactId
   version2.3/version
   /dependency--
 
 
 dependency
   groupIdorg.eclipse/groupId
   artifactIdui.workbench/artifactId
   version3.2.0.I20060605-1400/version
  /dependency
 
  dependency
   groupIdorg.eclipse/groupId
   artifactIdcore.commands/artifactId
   version3.2.0.I20060605-1400/version
   /dependency
 
  dependency
 
   groupIdorg.eclipse/groupId
   artifactIdswt/artifactId
   version3.2.0.v3232o/version
   /dependency
 
  dependency
   groupIdorg.eclipse/groupId
   artifactIdui/artifactId
   version3.2.0.I20060605-1400/version
   /dependency
 
  dependency
   groupIdorg.eclipse/groupId
   artifactIdcore.contenttype/artifactId
   version3.2.0.v20060603/version
   /dependency
 
  dependency
   groupIdorg.eclipse/groupId
   artifactIdswt.win32.win32/artifactId
   versionx86_3.2.0.v3232m/version
   /dependency
 
  dependency
   groupIdorg.eclipse/groupId
   artifactIdosgi/artifactId
   version3.2.0.v20060601/version
   /dependency
 
  dependency
   groupIdorg.eclipse/groupId
   artifactIdjface/artifactId
   version3.2.0.I20060605-1400/version
   /dependency
 
  dependency
   groupIdorg.eclipse/groupId
   artifactIdequinox.registry/artifactId
   version3.2.0.v20060601/version
   /dependency
 
  dependency
   groupIdorg.eclipse/groupId
   artifactIdcore.jobs/artifactId
   version3.2.0.v20060603/version
   /dependency
 
  dependency
   groupIdorg.eclipse/groupId
   artifactIdequinox.common/artifactId
   version3.2.0.v20060603/version
   /dependency
 
  dependency
   groupIdorg.eclipse/groupId
   artifactIdequinox.preferences/artifactId
   version3.2.0.v20060601/version
   /dependency
 
   dependency
   groupIdorg.eclipse/groupId
   artifactIdcore.runtime/artifactId
   version3.2.0.v20060603/version
  
 /dependency
 
   /dependencies
 
 
 build 
 plugins 
 plugin 
 groupIdorg.codehaus.mojo/groupId 
 artifactIdpde-maven-plugin/artifactId 
 extensionstrue/extensions 
 configuration 
 eclipseInstallD:\eclipse/eclipseInstall 
 /configuration 
 /plugin 
 /plugins 
 /build 
 
 /project
 
 
  
 
 
 Thanks  Regards 
 Ramesh Babu.P 
   
 HCL Technologies - Chennai ( +91-9884506300 ' +9144-23728366 Extn: 1232
 * [EMAIL PROTECTED] 
  
 
 -Original Message-
 From: Pankaj Tandon [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, April 18, 2007 8:00 PM
 To: users@maven.apache.org
 Subject: Re: maven-surefire-plugin problem
 
 
 Hi,
 It may help if you posted the pom.xml of your project.
 Also I noticed that you have a project in your home folder.. not a big
 deal and it should not break anything but it's just a bit strange :).
 The repository is a peer to your project. Typically you will want to use
 the 'install' goal to get your project into the repository.
 
 Pankaj
 
 
 Ramesh Babu Pokala - TLS, Chennai wrote:
 
 
 Hi,
  
   I have installed maven-surefire-plugin version 2.3 in maven's local 
 repository.
  
   But still i am getting the following error/.
  
   Can anyone help me in this issue...?
  
  
 C:\Documents and Settings\bpra\.m2\SampleProject1mvn -e package
 + Error stacktraces are turned on.
 [INFO] Scanning for projects...
 [INFO]
 --
 --
 
 [INFO] Building Simple Demo
 [INFO]task-segment: [package]
 [INFO]
 --
 --
 
 [INFO]
 --
 --
 [ERROR] BUILD ERROR
 [INFO]
 --
 -- [INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' 
 does not exist or no valid version could be found [INFO]
 

Re: M2: Strange problem with assembly plugin

2007-04-18 Thread John Casey

looks like a bug in the line-ending filtration...that's a part I pretty much
carried straight over from 2.1 (IIRC), so it may have some bugs I didn't
see. Can you file it in JIRA?

http://jira.codehaus.org/browse/MASSEMBLY

Thanks,

John

On 4/13/07, Orford, Ian [EMAIL PROTECTED] wrote:


Hi,

I have a project that creates a tar.gz deliverable that includes unix
shell scripts. In the assembly descriptor, I have:
fileSet
  directorytarget/bin/directory
  outputDirectorybin/outputDirectory
  includes
include*.sh/include
  /includes
  fileMode0755/fileMode
  lineEndinglf/lineEnding
/fileSet

As you can see, I'm specifying the lineEnding.

When I deploy this from the project level it works fine.

However, when I deploy this from the parent level, the bin files get
included, but the lineEnding is not honoured.


Anyone encountered this before? Any suggestions?

Thanks, Ian


--
This e-mail is confidential and the information contained in it may be
privileged.  It should not be read, copied or used by anyone other than the
intended recipient.  If you have received it in error, please contact the
sender immediately by telephoning +44 (0)20 7623 8000 or by return email,
and delete the e-mail and do not disclose its contents to any person.  We
believe, but do not warrant, that this e-mail and any attachments are virus
free, but you must take full responsibility for virus checking.  Please
refer to http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail
disclaimer statement and monitoring policy.

Dresdner Kleinwort is the trading name of the investment banking division
of Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner
Kleinwort Limited, Dresdner Kleinwort Securities Limited and their
affiliated or associated companies.  Dresdner Bank AG is a company
incorporated in Germany with limited liability and registered in England
(registered no. FC007638, place of business 30 Gresham Street, London EC2V
7PG), and is authorised by the German Federal Financial Supervisory
Authority and by the Financial Services Authority ('FSA') and regulated by
the FSA for the conduct of designated business in the UK.  Dresdner
Kleinwort Limited is a company incorporated in England (registered no.
551334, registered office 30 Gresham Street, London EC2V 7PG), and is
authorised and regulated by the FSA.  Dresdner Kleinwort Securities Limited
is a company incorporated in England (registered no. 1767419, registered
office 30 Gresham Street, London EC2V 7PG), and is authorised and regulated
by the FSA.




Re: Hello, I have the following problem since 2 weeks, hope someone can help me, i've tried to ask in much other forums before:

2007-04-18 Thread Wayne Fay

Seems like a problem for the xdoclet users list. Maven looks like its
doing its job -- but xdoclet does not seem to be generating the
service endpoints you're expecting.

Wayne

On 4/18/07, Schludi [EMAIL PROTECTED] wrote:


Hello, I have the following problem since 2 weeks, hope someone can help me,
i've tried to ask in much other forums before:
I am new to maven and have to refactor an old project for JBossWS, which was
deployed on Tomcat before. The maven-script (or ejbdoclet) currently don't
generate the *Endpoint-Classes.

I get the following error:


Generating EJB deployment descriptor (ejb-jar.xml).
[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 3 source files to
C:\dev\helloMaven\FirstEJB-ejb\target\classe

[INFO] [antrun:run {execution: antTask}]
[INFO] Executing tasks
 [echo] ** Running jboss ws **
log4j:WARN No appenders could be found for logger
(org.jboss.ws.tools.WSTools).
log4j:WARN Please initialize the log4j system properly.
org.jboss.ws.WSException: Endpoint org.bbmag.test.StatlessEJBEndpoint ca
not be loaded
at
org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(To
lsHelper.java:113)
at org.jboss.ws.tools.WSTools.process(WSTools.java:132)
at org.jboss.ws.tools.WSTools.generate(WSTools.java:120)
at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103)
at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at
org.apache.maven.plugin.antrun.AbstractAntMojo.executeTasks(Abstract
ntMojo.java:108)
at
org.apache.maven.plugin.antrun.AntRunMojo.execute(AntRunMojo.java:83

at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlug
nManager.java:420)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Def
ultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithL
fecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defa
ltLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHa
dleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegme
ts(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultL
fecycleExecutor.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(DelegatingMethodAcce
sorImpl.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)
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error executing ant tasks

Embedded error: Error running jbossws:
Endpoint org.bbmag.test.StatlessEJBEndpoint cannot be loaded
[INFO]

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

[INFO] Total time: 1 minute 7 seconds
[INFO] Finished at: Wed Apr 18 09:44:02 CEST 2007
[INFO] Final Memory: 8M/21M
[INFO]



Here the Maven Script for the EJB, which creates an ant-task to generate:


project
modelVersion4.0.0/modelVersion
parent
groupIdorg.bbmag.test/groupId
artifactIdFirstEJB/artifactId
version0.1/version
/parent
artifactIdFirstEJB-ejb/artifactId
packagingejb/packaging
nameFirstEJBejb/name
descriptionEine EJB/description
dependencies
dependency
groupIdorg.apache.geronimo.specs/groupId
artifactIdgeronimo-j2ee_1.4_spec/artifactId
version1.0/version
scopeprovided/scope
/dependency
dependency

Re: Javadoc for dependent libraries in Netbeans...

2007-04-18 Thread Milos Kleint

the sources are extected to be packaged the way the maven-sources-plugin does

the classpath is directly in the root, eg. org/netbeans/modules/XXX.java

to test if it works or not, the best way is to try a hyperlinking from
the project sources to a class that is in that particular dependency.
It should open that file in the editor in R/O mode

Milos



On 4/18/07, Arne Styve [EMAIL PROTECTED] wrote:

Hi again,


 works for me in the Netbeans 6.0 M8 build and the respective mevenide
 3.0.2 version (from the Netbeans Development Update Center).
 It's possible that the 2.3 version that works with 5.5 has a
 bug in there, that I fixed in the source code.

 Both the View Javadoc popup action and the code
 completion's javadoc popup work for me.

 Milos


Good news. The Javadoc works :-) It turned out that the Neatbeans required
the
javadoc JAR-file to have the index.html in a directory called apidocs to be
recognized.

No it's the sourcecode. I managed to create a JAR file called
jamod-1.2-sources.jar, but
again it looks like Netbeans expects a certain directory structure inside
the JAR-file. Have tried
Using the directory src as the root inside the JAR file, and I have tried
without using a root.

Do you know what it should be ?

Thanks for helping me out with this.

Regards
Arne



-
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: Where is binding for maven-release-plugin specified?

2007-04-18 Thread Wim Deblauwe

I don't think the release plugin is bound to a lifecycle phase. I think you
need to call it directly.

regards,

Wim

2007/4/18, Pankaj Tandon [EMAIL PROTECTED]:



Hi,
I was looking at the pom.xml of the maven-release-plugin hoping to find a
binding to one of the phases in there.
For example...
  build
plugins
...
  plugin
groupIdsample.plugin/groupId
artifactIdmaven-hello-plugin/artifactId
executions
  execution
phasecompile/phase
goals
  goalsayhi/goal
/goals
  /execution
/executions
  /plugin
...
/plugins

  /build

Did not see any explicit binding in the plugin node.

Where is that binding done? And what phase(s) it it bound to?
Thanks
Pankaj


--
View this message in context:
http://www.nabble.com/Where-is-binding-for-maven-release-plugin-specified--tf3601209s177.html#a10059401
Sent from the Maven - Users mailing list archive at Nabble.com.


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





--
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester


Problem compiling JSPs

2007-04-18 Thread Doug Tanner
I am using the appc goal of the weblogic-maven-plugin on a .war file,
however, I am seeing the following error for every jsp I try to compile:

 

*.jsp:#:#:  Package javelin.jsp contains no member type of this name.

...

*.jsp:#:#:  The qualifier of this name is a package, which cannot
contain methods.

...

 

I believe the problem can be fixed if the *.tld files in the
*.war/WEB-INF folder are available on the classpath, but I am not sure
why they are not seen.  Do I need to add anything to the plugin
configuration?  Here is the plugin, including all the jars that I have
found it needs:

 

plugin

groupIdorg.codehaus.mojo/groupId

artifactIdweblogic-maven-plugin/artifactId

version2.9.0-SNAPSHOT/version

configuration

 
inputArtifactPath${basedir}/../../jar/broker.war/inputArtifactPath

verbosetrue/verbose

/configuration

executions

execution

phasepackage/phase

goals

goalappc/goal

/goals

/execution

/executions

dependencies

dependency

groupIdweblogic/groupId

artifactIdxbean/artifactId

version9.2.0/version

/dependency

dependency

groupIdweblogic/groupId

artifactIdwlxbean/artifactId

version9.2/version

/dependency

dependency

groupIdweblogic/groupId

 
artifactIdweblogic-container-binding/artifactId

version9.2/version

/dependency

dependency

groupIdweblogic/groupId

artifactIdwlw-util/artifactId

version9.2/version

/dependency

dependency

groupIdweblogic/groupId

artifactIdwlw-langx/artifactId

version9.2/version

/dependency

dependency

groupIdweblogic/groupId

artifactIdweblogic/artifactId

version9.2/version

/dependency

dependency

groupIdcom.sun/groupId

artifactIdtools/artifactId

version1.5.0/version

/dependency

dependency

groupIdweblogic/groupId

artifactIdjavelin/artifactId

version9.2/version

/dependency

dependency

groupIdweblogic/groupId

artifactIdrt/artifactId

version9.2/version

/dependency

dependency

groupIdweblogic/groupId

artifactIdbcel/artifactId

version5.1/version

/dependency

dependency

groupIdjunit/groupId

artifactIdjunit/artifactId

version4.1/version

/dependency

dependency

groupIdweblogic/groupId

artifactIdweblogic/artifactId

version9.2/version

/dependency

dependency

groupIdbf.cbm/groupId

artifactIdcbm-support/artifactId

versionSNAPSHOT/version

/dependency

dependency

groupIdbf.webapps/groupId

artifactIdcommon/artifactId

versionSNAPSHOT/version

/dependency

/dependencies

/plugin

 

Has anyone else seen this problem and found a fix?  How can I make sure
that appc knows where to find the .tld files?

 

Thanks,

 

Doug Tanner

Configuration Management Engineer

Benefitfocus.com, Inc.

843-849-7476 ext. 6394

843-849-9485 (Fax)

 




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 

release plugin lifecycle binding

2007-04-18 Thread Steven Rowe
Hello,

I want to bind a custom plugin goal to a phase in the
maven-release-plugin's lifecycle, but when I attempt to do so, the
binding appears to be ignored:

  build
plugins
  plugin
groupIdmy.group/groupId
artifactIdmy-maven-plugin/artifactId
executions
  execution
phasescm-commit-release/phase
goalsgoalmy-goal/goal/goals
  /execution
/executions
  /plugin
/plugins
  /build

In the above example, I'm attempting to bind to the scm-commit-release
phase, which I see defined in maven-release-plugin's components
descriptor [1].  But when I run mvn release:prepare,
my-maven-plugin:my-goal is not invoked.

Is this not possible?  I'm using Maven v2.0.6 with maven-release-plugin
v1.0-alpha-1.

Thanks,
Steve Rowe

[1]
http://svn.apache.org/viewvc/maven/release/tags/maven-release-manager-1.0-alpha-1/src/main/resources/META-INF/plexus/components.xml?revision=528665view=markup

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



Re: For you Enterprise Maven Users!

2007-04-18 Thread Andrew Williams

Of course mine was the first, as I woke up before the others ;)

http://handyande.co.uk/Coding_News/_articles/26.html

Andy

On 18 Apr 2007, at 15:38, Jason van Zyl wrote:


http://blogs.maven.org/jvanzyl/2007/04/18/1176905394766.html

-
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: I want a project that JUST does reporting and creates a site

2007-04-18 Thread Ken Coveny
On Wed, 2007-04-18 at 00:09 -0700, Dave Syer wrote:
 
 
 KenCoveny wrote:
  
  Where in the maven doc does it say where plugins can or cannot be run?
  
 
 That's a joke right?  Ha, ha.
 
 I base my (non-authoritative) conclusion only on limited experience, e.g.
 observation of what happens when you put antrun in the reports
 configuration, and the fact that a AbstractMavenReport is a special subclass
 of AbstractMojo.
 
The joke being that maven doco sux? ;-)


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



Howto enable 1.1 xml-rpc service in plexus application

2007-04-18 Thread Bram de Kruijff
Hi,

when I was running continuum-20070323.15 plexus application I
noticed that my xml-rpc service was gone. Looking at the trunk source it
seems that it totally gone from the application.xml en the application
doesnt contain the service either. So two questions...

Is it supposed to be gone and how do I get my xml-rpc interface back?

thanks,
Bram


CVS doesn't like dots (release plugin)

2007-04-18 Thread Crossley, Jim
Hi all,

I'm currently digging the Maven release plugin, but I'd like to be able
to run it in batch mode, accepting the default values it suggests for
version, scm tag, etc.

Unfortunately, CVS doesn't seem to like dots '.' in a tag name.  Is
there any mechanism I can invoke to override the default prompts,
replacing dots with underscores, for example?  I know I can override the
tag, but then I'd have to put the version number in two places:  the pom
and the CI box.  That is, I'd rather the tag come from the version in
the pom, just with underscores instead of dots, e.g. 2.0.3 resolves to
2_0_3.

Thanks,
Jim

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



Re: CVS doesn't like dots (release plugin)

2007-04-18 Thread John Casey

IIRC, there used to be a way that you could specify all of the information
for a release up-front, to allow it all to be batched out via some sort of
automated process...if those parameters are still there, you should be able
to use them to specify your own tags. I doubt that it has the ability to
accept a tag-prompt template, though. Try this, for more information:

mvn help:describe -Dplugin=release -Dmojo=prepare =Dfull=true | less

Good luck, and I'd still file this one in JIRA (if you can't find it there
already):

http://jira.codehaus.org/browse/MRELEASE

-john

On 4/18/07, Crossley, Jim [EMAIL PROTECTED] wrote:


Hi all,

I'm currently digging the Maven release plugin, but I'd like to be able
to run it in batch mode, accepting the default values it suggests for
version, scm tag, etc.

Unfortunately, CVS doesn't seem to like dots '.' in a tag name.  Is
there any mechanism I can invoke to override the default prompts,
replacing dots with underscores, for example?  I know I can override the
tag, but then I'd have to put the version number in two places:  the pom
and the CI box.  That is, I'd rather the tag come from the version in
the pom, just with underscores instead of dots, e.g. 2.0.3 resolves to
2_0_3.

Thanks,
Jim

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




Re: Include runtime-dependencies in packaged jar

2007-04-18 Thread Marcos Silva Pereira

Hum, maybe you could resolve it with assembly plugin.

Take a look at: http://maven.apache.org/plugins/maven-assembly-plugin/

Kind Regards

On 4/18/07, Florian Ockhuysen [EMAIL PROTECTED] wrote:


Hi,

Using 'mvn package' I generated a jar for my application. This all works
fine.
However, two dependency jars are used that need to be included in the jar
so they are always available at runtime (they're needed at
compile-time, too btw). Of course, these dependencies were declared in the
pom.xml and exist in my local maven repository.
Just setting their scope element to 'runtime', doesn't work since
they're also compile-time dependencies.
I googled around and read documentation, but couldn't to find information
on this.

I solved the problem for now by putting class files from the jars in
main/resources, but now I have to manually update these class files
whenever a new version for one of the dependencies comes out.
Something tells me there must be a more generic way to do this...
Any of you have a solution??

Greets,

Florian

-
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: Include runtime-dependencies in packaged jar

2007-04-18 Thread Wayne Fay

Search the list archives for jar-with-dependencies.

Wayne

On 4/18/07, Marcos Silva Pereira [EMAIL PROTECTED] wrote:

Hum, maybe you could resolve it with assembly plugin.

Take a look at: http://maven.apache.org/plugins/maven-assembly-plugin/

Kind Regards

On 4/18/07, Florian Ockhuysen [EMAIL PROTECTED] wrote:

 Hi,

 Using 'mvn package' I generated a jar for my application. This all works
 fine.
 However, two dependency jars are used that need to be included in the jar
 so they are always available at runtime (they're needed at
 compile-time, too btw). Of course, these dependencies were declared in the
 pom.xml and exist in my local maven repository.
 Just setting their scope element to 'runtime', doesn't work since
 they're also compile-time dependencies.
 I googled around and read documentation, but couldn't to find information
 on this.

 I solved the problem for now by putting class files from the jars in
 main/resources, but now I have to manually update these class files
 whenever a new version for one of the dependencies comes out.
 Something tells me there must be a more generic way to do this...
 Any of you have a solution??

 Greets,

 Florian

 -
 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



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



RE: release plugin lifecycle binding

2007-04-18 Thread LAMY Olivier
Hi,
No it's not a maven phase.
What is your use case ?
You need to made something with the generated artifact ?

Maybe you can invoke the maven-release-plugin with this :
-Dgoals=deploy,my:my-goal (or add the configuration in your pom) (you need to 
have my.group in your pluginGroups/pluginGroup in your settings).

I have this in my company (in order to commit some artifacts war,ear to a svn 
repo).

--
Olivier

-Message d'origine-
De : Steven Rowe [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 18 avril 2007 21:55
À : Maven Users List
Objet : release plugin lifecycle binding

Hello,

I want to bind a custom plugin goal to a phase in the maven-release-plugin's 
lifecycle, but when I attempt to do so, the binding appears to be ignored:

  build
plugins
  plugin
groupIdmy.group/groupId
artifactIdmy-maven-plugin/artifactId
executions
  execution
phasescm-commit-release/phase
goalsgoalmy-goal/goal/goals
  /execution
/executions
  /plugin
/plugins
  /build

In the above example, I'm attempting to bind to the scm-commit-release
phase, which I see defined in maven-release-plugin's components descriptor [1]. 
 But when I run mvn release:prepare, my-maven-plugin:my-goal is not invoked.

Is this not possible?  I'm using Maven v2.0.6 with maven-release-plugin 
v1.0-alpha-1.

Thanks,
Steve Rowe

[1]
http://svn.apache.org/viewvc/maven/release/tags/maven-release-manager-1.0-alpha-1/src/main/resources/META-INF/plexus/components.xml?revision=528665view=markup

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


This e-mail, any attachments and the information contained therein (this 
message) are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited.
** 
Ce message électronique et tous les fichiers joints ainsi que  les informations 
contenues dans ce message ( ci après le message ), sont confidentiels et 
destinés exclusivement à l'usage de la  personne à laquelle ils sont adressés. 
Si vous avez reçu ce message par erreur, merci  de le renvoyer à son émetteur 
et de le détruire. Toutes diffusion, publication, totale ou partielle ou 
divulgation sous quelque forme que se soit non expressément autorisées de ce 
message, sont interdites.
** 


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



Is there any way to get timestamp in maven?

2007-04-18 Thread Chen Li

Hi,

It might be a very basic question.

I want to add timestamp to the distribute, for instance ${DSTAMP}.war .
Is there any similar way in maven can do it like what tstamp/ does in ant?

Thanks,
Chen

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



[ANN] Maven Site Plugin 1.7.2 for Maven 1.x released

2007-04-18 Thread aheritier
We are pleased to announce the Maven Site Plugin 1.7.2 release! 

http://maven.apache.org/maven-1.x/plugins/site/

Generate web site. 

===

Changes in this version include:

  Fixed bugs:

o maven.rsync.args isn't used by site:rsyncdeploy. 

  Changes:

o Do not force -az options for rsync. maven.rsync.args=-az by default but can 
  be overriden.  

===


To automatically install the plugin, type the following on a single line:

maven plugin:download
  
-Dmaven.repo.remote=http://people.apache.org/repo/m1-snapshot-repository/,http://repo1.maven.org/maven
  -DgroupId=maven
  -DartifactId=maven-site-plugin
  -Dversion=1.7.2

For a manual installation, you can download the plugin here:
http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-site-plugin-1.7.2.jar

Issues, bugs, and feature requests for Maven Site Plugin should be submitted to 
the following issue tracking system:
http://jira.codehaus.org/browse/MPSITE


Have fun!
-The Maven Site Plugin development team


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



[ANN] Maven Announcement Plugin 1.4.1 for Maven 1.x released

2007-04-18 Thread aheritier
We are pleased to announce the Maven Announcement Plugin 1.4.1 release! 

http://maven.apache.org/maven-1.x/plugins/announcement/

The Announcement plugin generates release announcements. It uses the 
information found in both the POM and in the changes.xml file to generate the 
announcement text. 

===

Changes in this version include:

  New Features:

o Add a link to the issue tracking system (if defined). 

  Changes:

o Update dependencies to unify them between plugins. The following 
  dependencies are updated : commons-net v1.4.0 to v1.4.1  

===


To automatically install the plugin, type the following on a single line:

maven plugin:download
  
-Dmaven.repo.remote=http://people.apache.org/repo/m1-snapshot-repository/,http://repo1.maven.org/maven
  -DgroupId=maven
  -DartifactId=maven-announcement-plugin
  -Dversion=1.4.1

For a manual installation, you can download the plugin here:
http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-announcement-plugin-1.4.1.jar

Issues, bugs, and feature requests for Maven Announcement Plugin should be 
submitted to the following issue tracking system:
http://jira.codehaus.org/browse/MPANNOUNCEMENT


Have fun!
-The Maven Announcement Plugin development team


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



Re: xdoclet-maven-plugin and java 1.5

2007-04-18 Thread Erik Drolshammer

Yuri Schimke wrote:
We are using a non released jar also.  


I remember where we downloaded the jar though;
http://sourceforge.net/projects/xdoclet/



Sorry.  the xdoclet stuff seems effectively dead.


Yes, it does. Java annotations should be preferred I guess.


--
Regards
Erik Drolshammer







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



Re: CVS doesn't like dots (release plugin)

2007-04-18 Thread Max Bowsher
Crossley, Jim wrote:
 Hi all,
 
 I'm currently digging the Maven release plugin, but I'd like to be able
 to run it in batch mode, accepting the default values it suggests for
 version, scm tag, etc.
 
 Unfortunately, CVS doesn't seem to like dots '.' in a tag name.  Is
 there any mechanism I can invoke to override the default prompts,
 replacing dots with underscores, for example?  I know I can override the
 tag, but then I'd have to put the version number in two places:  the pom
 and the CI box.  That is, I'd rather the tag come from the version in
 the pom, just with underscores instead of dots, e.g. 2.0.3 resolves to
 2_0_3.


I think this is fixed in trunk, and has been for a while. Problem is,
the release plugin hasn't been released in a long time.

Max.



signature.asc
Description: OpenPGP digital signature


Daniel J. Bernstein is out of the office.

2007-04-18 Thread DJBernstein

I will be out of the office starting  04/18/2007 and will not return until
04/23/2007.

I am reachable by cell for urgent issues.

-
This e-mail and any attachments are intended only for the
individual or company to which it is addressed and may contain
information which is privileged, confidential and prohibited from
disclosure or unauthorized use under applicable law.  If you are
not the intended recipient of this e-mail, you are hereby notified
that any use, dissemination, or copying of this e-mail or the
information contained in this e-mail is strictly prohibited by the
sender.  If you have received this transmission in error, please
return the material received to the sender and delete all copies
from your system.


  1   2   >