SCM triggered build in svn is not happening

2006-02-06 Thread Deepesh D
Hi ,

 I am a newbe to continuum.

 I am trying to build an application from svn.

  i am able to add the maven 2 project successfully and be able to build.

 the problem is that whenever i make a change in the svn , continuum doesnt
build the project immediately.

 It is waiting for the build scedule and whenever the schedule is reached it
will get the latest from svn and will do the build.

 Do u need to configure anything for SCM triggered build to happen


 Thanks in Advance

Deepesh


Continuum and site-deploy or wagon hanging

2006-02-06 Thread Johnson, Jonathan
Anyone having problems with Continuum or site-deploy or wagon hanging?

Using Continuum 1.0.2, Maven 2.0.2.

I recently added deploy and deploy-site to my Continuum build and have
found Continuum will hang waiting for the build to finish.  If I restart
Continuum and force the build again it will sometimes work, sometimes it
hangs again.

It always hangs at the same place, just after calling unzip on the site
zip file expansion.  The site does get expanded so it seems to hang just
after completing the expansion.

Tail of build report.  

...
[INFO] ResourceManager : found templates/package-frame.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
[INFO] Generate Maven Surefire Report report.
[INFO] Generate Tag List report.
[INFO] Generate an index file for the English version.
[INFO] [site:deploy]
scp://hober/home/builder/454/deploy/site/common - Session: Opened
Executing command: mkdir -p /home/builder/454/deploy/site/common/.
Executing command: mkdir -p /home/builder/454/deploy/site/common/.
Executing command: scp -t
/home/builder/454/deploy/site/common/./wagon47499.zip
Uploading: ./wagon47499.zip to
scp://hober/home/builder/454/deploy/site/common

###[...for email, bunch of pounds omitted...]#! ###[...omitted...]##

Transfer finished. 6317094 bytes copied in 3.269 seconds Executing
command: cd /home/builder/454/deploy/site/common/.; unzip -o
wagon47499.zip; rm -f wagon47499.zip
 Hung here 

LEGAL NOTICE:
Unless expressly stated otherwise, this message is confidential and may be 
privileged. It is intended for the addressee(s) only. Access to this e-mail by 
anyone else is unauthorized. If you are not an addressee, any disclosure or 
copying of the contents or any action taken (or not taken) in reliance on it is 
unauthorized and may be unlawful. If you are not an addressee, please inform 
the sender immediately.




Re: SCM triggered build in svn is not happening

2006-02-06 Thread Emmanuel Venisse
Not exactly, you can add an post-commit hook in your SCM and call the xmlrpc server for building the 
project.


Emmanuel

Brian E. Fox a écrit :

Currently no, although I wish it did. You could set your schedule to a
very small timeframe and you would get the effect you wanted. 


-Original Message-
From: Deepesh D [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 06, 2006 9:27 AM

To: continuum-users@maven.apache.org
Subject: Re: SCM triggered build in svn is not happening

Thank you for the prompt reply.

I can understand the concept behind schedule building.
But, my question was whether continuum supports SCM triggered build.

Will continuum start build the project imediately whenever there is a
change in the SCM, irrespective of the build schedule.

Thanks,
Deepesh.

On 2/6/06, Brian E. Fox [EMAIL PROTECTED] wrote:

Apparently this is the only way it works. If there are no changes in 
scm when the scheduled time comes, it won't build.


-Original Message-
From: Deepesh D [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06, 2006 6:57 AM
To: continuum-users@maven.apache.org
Subject: SCM triggered build in svn is not happening

Hi ,

I am a newbe to continuum.

I am trying to build an application from svn.

 i am able to add the maven 2 project successfully and be able to 
build.


the problem is that whenever i make a change in the svn , continuum 
doesnt build the project immediately.


It is waiting for the build scedule and whenever the schedule is 
reached it will get the latest from svn and will do the build.


Do u need to configure anything for SCM triggered build to happen


Thanks in Advance

Deepesh














Re: Continuum and site-deploy or wagon hanging

2006-02-06 Thread Emmanuel Venisse

Do you have the same problem when you call site-deploy directly for maven on 
your continuum machine?
When a goal is called, it's an external maven process that run it and not 
Continuum.

Emmanuel

Johnson, Jonathan a écrit :

Anyone having problems with Continuum or site-deploy or wagon hanging?

Using Continuum 1.0.2, Maven 2.0.2.

I recently added deploy and deploy-site to my Continuum build and have
found Continuum will hang waiting for the build to finish.  If I restart
Continuum and force the build again it will sometimes work, sometimes it
hangs again.

It always hangs at the same place, just after calling unzip on the site
zip file expansion.  The site does get expanded so it seems to hang just
after completing the expansion.

Tail of build report.  


...
[INFO] ResourceManager : found templates/package-frame.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
[INFO] Generate Maven Surefire Report report.
[INFO] Generate Tag List report.
[INFO] Generate an index file for the English version.
[INFO] [site:deploy]
scp://hober/home/builder/454/deploy/site/common - Session: Opened
Executing command: mkdir -p /home/builder/454/deploy/site/common/.
Executing command: mkdir -p /home/builder/454/deploy/site/common/.
Executing command: scp -t
/home/builder/454/deploy/site/common/./wagon47499.zip
Uploading: ./wagon47499.zip to
scp://hober/home/builder/454/deploy/site/common

###[...for email, bunch of pounds omitted...]#! ###[...omitted...]##

Transfer finished. 6317094 bytes copied in 3.269 seconds Executing
command: cd /home/builder/454/deploy/site/common/.; unzip -o
wagon47499.zip; rm -f wagon47499.zip
 Hung here 

LEGAL NOTICE:
Unless expressly stated otherwise, this message is confidential and may be 
privileged. It is intended for the addressee(s) only. Access to this e-mail by 
anyone else is unauthorized. If you are not an addressee, any disclosure or 
copying of the contents or any action taken (or not taken) in reliance on it is 
unauthorized and may be unlawful. If you are not an addressee, please inform 
the sender immediately.









Re: Continuum and site-deploy or wagon hanging

2006-02-06 Thread Emmanuel Venisse

We must add a timeout for executions but i don't think it will be add in 1.0.3, 
probably in 1.1

Emmanuel

Johnson, Jonathan a écrit :
Good question, thanks.  Yes when run from the command line 


mvn clean install deploy site-deploy

it Maven hangs in the sample place.  The M2 site-deploy plugin is hanging on the unzip command.  


I will send my findings to the site-deploy plugin mailing list and let you know 
when there is a resolution.

Although this is unrelated to Continuum, Continuum should handle this 
gracefully.  The only way to work around the problem is to restart the 
Continuum server (and not use the site-deploy command for the moment). Perhaps 
adding some sort of daemon that detects a hung condition would strengthen its 
fault tolerance.


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 06, 2006 3:52 PM

To: continuum-users@maven.apache.org
Subject: Re: Continuum and site-deploy or wagon hanging

Do you have the same problem when you call site-deploy directly for maven on 
your continuum machine?
When a goal is called, it's an external maven process that run it and not 
Continuum.

Emmanuel

Johnson, Jonathan a écrit :


Anyone having problems with Continuum or site-deploy or wagon hanging?

Using Continuum 1.0.2, Maven 2.0.2.

I recently added deploy and deploy-site to my Continuum build and have
found Continuum will hang waiting for the build to finish.  If I restart
Continuum and force the build again it will sometimes work, sometimes it
hangs again.

It always hangs at the same place, just after calling unzip on the site
zip file expansion.  The site does get expanded so it seems to hang just
after completing the expansion.

Tail of build report.  


...
[INFO] ResourceManager : found templates/package-frame.vm with loader
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
[INFO] Generate Maven Surefire Report report.
[INFO] Generate Tag List report.
[INFO] Generate an index file for the English version.
[INFO] [site:deploy]
scp://hober/home/builder/454/deploy/site/common - Session: Opened
Executing command: mkdir -p /home/builder/454/deploy/site/common/.
Executing command: mkdir -p /home/builder/454/deploy/site/common/.
Executing command: scp -t
/home/builder/454/deploy/site/common/./wagon47499.zip
Uploading: ./wagon47499.zip to
scp://hober/home/builder/454/deploy/site/common

###[...for email, bunch of pounds omitted...]#! ###[...omitted...]##

Transfer finished. 6317094 bytes copied in 3.269 seconds Executing
command: cd /home/builder/454/deploy/site/common/.; unzip -o
wagon47499.zip; rm -f wagon47499.zip
 Hung here 

LEGAL NOTICE:
Unless expressly stated otherwise, this message is confidential and may be 
privileged. It is intended for the addressee(s) only. Access to this e-mail by 
anyone else is unauthorized. If you are not an addressee, any disclosure or 
copying of the contents or any action taken (or not taken) in reliance on it is 
unauthorized and may be unlawful. If you are not an addressee, please inform 
the sender immediately.















Re: Continuum Maven 2 not using settings.xml

2006-02-06 Thread Christian Mouttet
Yes, that's what I'm worried about. But what can I do? Never had any behavior 
like this before.

Am Sonntag, 5. Februar 2006 04:52 schrieb Brian E. Fox:
 Must be a linux issue then? It works ok for me on windows using the
 /win32 folder.

 -Original Message-
 From: Christian Mouttet [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 03, 2006 8:56 AM
 To: Maven Users List
 Subject: Re: Continuum  Maven 2 not using settings.xml

 Hi Brian,

 thank's. I've already tried this. The paths for global settings.xml and
 user settings.xml are plotted into the log file. But neither global nor
 user settings are used. I'm quite confused.


**
Diese E-Mail wurde auf Viren ueberprueft.
[EMAIL PROTECTED]
**

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



Re: Continuum Maven 2 not using settings.xml

2006-02-06 Thread Emmanuel Venisse

I'll try it on linux. If I can't reproduce it , i'll close issue on Continuum.

What is your linux?

Emmanuel

Christian Mouttet a écrit :
Yes, that's what I'm worried about. But what can I do? Never had any behavior 
like this before.


Am Sonntag, 5. Februar 2006 04:52 schrieb Brian E. Fox:


Must be a linux issue then? It works ok for me on windows using the
/win32 folder.

-Original Message-
From: Christian Mouttet [mailto:[EMAIL PROTECTED]
Sent: Friday, February 03, 2006 8:56 AM
To: Maven Users List
Subject: Re: Continuum  Maven 2 not using settings.xml

Hi Brian,

thank's. I've already tried this. The paths for global settings.xml and
user settings.xml are plotted into the log file. But neither global nor
user settings are used. I'm quite confused.




**
Diese E-Mail wurde auf Viren ueberprueft.
[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: AW: Integrating Junit Testreport into the maven site

2006-02-06 Thread Allan Ramirez

Hi there,

Try this 
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-HowdoIintegratestatic%28x%29htmlintoaMavensite%3F


-allan

Pleines, Karsten (I B 3) wrote:


Hi,
Thank you for the answer. I think you missunderstood my question or I forulated them erroneous. 
Now I have the Junit reports inside the target\surefire-reports as Text and XML Files but I don't know how to include them into the maven generated website? I want to deploy the site for a better controle of my project. 
Can you help me to solve this problem?


Tank you for your help
Karsten

-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Gesendet: Freitag, 3. Februar 2006 15:07

An: Maven Users List
Betreff: Re: Integrating Junit Testreport into the maven site


Pleines, Karsten (I B 3) wrote:

 


Hi,
I've started to generate a maven site and it succeeds. The problem is, 
I don't know how to integrate the Junit report into the site. Can 
somebody help me?


Thank you
Karsten

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



   



if you get a numberformatexception build version 2.0-beta-2 from the 
sources in subversion codehaus



all config settings are the defaults
except testFailureIgnoretrue/testFailureIgnore because if you do not set 
this to true, you well never see failed tests in the site report because you wont have a site 
(junit failure makes site generation stop)


...
   reporting

plugins
plugin
groupIdorg.codehaus.mojo/groupId

artifactIdsurefire-report-maven-plugin/artifactId
configuration
!-- The base directory of the project being tested. 
This can be obtained in your unit test by System.getProperty(basedir). --
basedir${basedir}/basedir
!-- The directory containing generated 
classes of the project being tested. --
classesDirectory
${project.build.outputDirectory}
/classesDirectory
!-- List of patterns (separated by 
commas) used to specify the tests that should be excluded in testing. When not 
specified and whent the test parameter is not specified, the default excludes will be 
**/Abstract*Test.java **/Abstract*TestCase.java --
!--excludesList/excludes--
!-- List of patterns (separated by 
commas) used to specify the tests that should be included in testing. When not 
specified and whent the test parameter is not specified, the default includes will be 
**/Test*.java **/*Test.java **/*TestCase.java --
!--includesList/includes--
!-- ArtifactRepository of the localRepository. To 
obtain the directory of localRepository in unit tests use System.setProperty( 
localRepository). --
LocalRepository
${localRepository}
/LocalRepository
!-- List of of Plugin Artifacts. --
pluginArtifacts
${plugin.artifacts}
/pluginArtifacts
!-- Option to print summary of test 
suites or just print the test cases that has errors. --
printSummarytrue/printSummary
!-- Selects the formatting for the test 
report to be generated. Can be set as brief, plain, or xml. --
reportFormatbrief/reportFormat
!-- Base directory where all reports are 
written to. --
reportsDirectory

${project.build.directory}/surefire-reports
/reportsDirectory
!-- Set this to 'true' to bypass unit 
tests entirely. Its use is NOT RECOMMENDED, but quite convenient on occasion. --
skip${maven.test.skip}/skip
!-- List of System properties to pass to 
the JUnit tests. --

!--systemPropertiesProperties/systemProperties--
!-- Specify this parameter if you want to 
use the test regex notation to select tests to run. The regular expression will be 

[maven-proxy] Problems with http proxies?

2006-02-06 Thread Grothaus, Christoph
Hi maven-users!

I know this is a maven-proxy-related question, but I hope you can help me 
nevertheless, as the archives of maven-proxy 
(http://archive.maven-proxy.codehaus.org/user/) seem to be empty.

I am trying to get up running maven-proxy 0.2 
(http://dist.codehaus.org/maven-proxy/distributions/maven-proxy-standalone-0.2.zip).
 Therefore I used the demo configuration given at 
http://cvs.maven-proxy.codehaus.org/maven-proxy/core/src/test/resources/org/apache/maven/proxy/config/PropertyLoaderTest1.properties?rev=1.1view=markup,
 but stripped down to just the ibiblio and codehaus repositories. The 
properties file with these settings is attached to this e-mail.

Now I am encountering the following behaviour: when having direct connection to 
the internet, everything works fine. When sitting behind the corporate http 
proxy, maven-proxy get's no connection to ibiblio.

Do you know what I can do to get maven-proxy working? Any hint is appreciated.

Thanks in advance
Christoph Grothaus
__
zeb/information.technology 

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

Réf. : M2.0.2 Source Xref and JavaDocs

2006-02-06 Thread fabrice . belingard




Hi Javed,

if you're trying to find Xref sources of your sub-modules in the Source
Xref report of your master project, you will hardly find them for your
master project usually doesn't have any source. You have to go down into
the sub-module sites to find them.
Same thing for the Javadoc: you won't have Javadocs in the master site, but
only in sub-modules.

I guess that when the Javadoc and Xref plugins will be released, the links
in the report section won't appear if a project has no source (an API has
been introduced sometime ago for that purpose, but the modifications are
still in SVN for those plugins).

Best Regards / Cordialement,
Fabrice BELLINGARD
DINQ/DSIN/INSI/EATE/IDVS/AIDV
(+33) (01 61) 45 15 91  -  [EMAIL PROTECTED]


   
 javed mandary 
 [EMAIL PROTECTED]  
 m   Pour
   Maven Users List
 06/02/2006 08:05  users@maven.apache.org
cc
   
 VeuillezObjet
répondre à M2.0.2 Source Xref and JavaDocs
 Maven Users List  
 [EMAIL PROTECTED]  
 che.org  
   
   
   




Hi ,
 am currently using Maven 2.0.2 to generate a site out of the main POM
of my multiple-project . There are many sub poms which describe the
sub-modules within my project .

However when i generate site , the report for Source Xref says:

--
Project sources

No project sources were found.
 Test sources

No test sources were found.
---

Is there a place where the source directory needs to be defined in the main
master POM ?

Also when i try to open the index.html file in the main target directory at
the top of the project structure and try to click on JavaDoc , the page is
missing , it seems that it cant find the source directories within the sub
modules.

Anyone has an example of how to handle multiple-project dependencies and
have the site generated properly?

kind regards,
Javed



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



Re: Continuum Maven 2 not using settings.xml

2006-02-06 Thread Christian Mouttet
Hi Emmanuel,

it's SuSE SLES-9 (2.6.5-7.151-bigsmp).

If you're not able to reprocude this issue how will we track this prob. Does 
it belong to Maven itself?

I'm very interested in having this issue fixed. And I think that at least 
David Hawkins (original reporter of CONTINUUM-488) is interested too. :-)

Have a nice day.

-chris

Am Montag, 6. Februar 2006 09:38 schrieb Emmanuel Venisse:
 I'll try it on linux. If I can't reproduce it , i'll close issue on
 Continuum.

 What is your linux?

 Emmanuel

 Christian Mouttet a écrit :
  Yes, that's what I'm worried about. But what can I do? Never had any
  behavior like this before.
 
  Am Sonntag, 5. Februar 2006 04:52 schrieb Brian E. Fox:
 Must be a linux issue then? It works ok for me on windows using the
 /win32 folder.
 
 -Original Message-
 From: Christian Mouttet [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 03, 2006 8:56 AM
 To: Maven Users List
 Subject: Re: Continuum  Maven 2 not using settings.xml
 
 Hi Brian,
 
 thank's. I've already tried this. The paths for global settings.xml and
 user settings.xml are plotted into the log file. But neither global nor
 user settings are used. I'm quite confused.


**
Diese E-Mail wurde auf Viren ueberprueft.
[EMAIL PROTECTED]
**

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



Re: [m202] Cobertura plugin

2006-02-06 Thread David Sag
Brett Porter [EMAIL PROTECTED] wrote on 04-02-2006 03:29:43:

 It's the first one in the reporting section on the link you gave. 
Unless
 I'm clearly mistaken :)
 

well it is now, so maybe i just missed it the last time i looked.  if so i 
apologise.

 The cobertura plugin will be worked on to completion in the next two 
weeks.
 We're working through the issues at the mojo project.

fantastic news.  do you have a link to a JIRA issue i could track?

 - Brett
 
 On 2/4/06, David Sag [EMAIL PROTECTED] wrote:
 
 
  As far as I can tell the latest snapshot version (2.0) still does not 
work
  properly.  it will instrument okay but when generating the a site with
  cobertura as a report it generates 0 byte class files and the surefire 
tests
  break.
 
  brett porter claims it does work and offered up
  https://svn.apache.org/repos/asf/maven/repository-manager/trunk as an
  example of it in use, but a quick look over
  
https://svn.apache.org/repos/asf/maven/repository-manager/trunk/pom.xmlshows
 that there is no mention of cobertura there, so brett is clearly
  mistaken.
 
  I am still hopefull that this could be fixed so have commented out the
  cobertura stuff for now and am persevering with maven 2.
 
  Kind regards,
  Dave Sag
 
 
 
 
 
 
  Konstantin Polyzois [EMAIL PROTECTED] wrote on 03-02-2006 08:03:52:
 
   I checked it out ant built it myself did not find a working release 
of
  it.
  
   /Konstantin
  
   2006/2/1, Arnaud Bailly [EMAIL PROTECTED]:
Hello,
What is the status of the cobertura plugin for m2 ? I had problems
trying to include it in the pom through central and there
was some discussion on the list some days ago, but I didn't find
how to get the latest and greatest version.
   
Thanks,
   
--
Arnaud Bailly, Dr. - Ingénieur de Recherche
NORSYS
1, rue de la Cense des Raines
ZAC du Moulin
59710 ENNEVELIN
Tel : (33) 3 28 76 56 76
Mob : (33) 6 17 12 19 78
Fax : (33) 3 28 76 57 00
Web : http://www.norsys.fr
   
   

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


OT: Servlet 2.4/JSP 2.0 Testing

2006-02-06 Thread Allison, Bob
Does anybody know of a means to do unit testing of web servlets which
are coded to the Servlet 2.4 specification and JSPs coded to the JSP 2.0
specification?  Cactus doesn't seem to be there yet in any release I
could find and I have been unable to build Cactus in a manner which
would provide this capability (although it looks like it might be
partially present).  I asked this question on the Cactus user list and
have not gotten any responses so I thought I would try here and see if
any Maven users have done anything like this.

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



RE: downloading plug-ins from mojo (org.codehaus.mojo)?

2006-02-06 Thread Brian E. Fox
Brett,
Why aren't any of the other released plugins in this metadata? For example, 
dependency?  

-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 06, 2006 2:39 AM
To: Maven Users List
Subject: Re: downloading plug-ins from mojo (org.codehaus.mojo)?

The problem is that the entry is not in here:
http://www.ibiblio.org/maven2/org/codehaus/mojo/maven-metadata.xml

Once the plugin is released, it will be remedied.

- Brett

On 2/6/06, Hervé BOUTEMY [EMAIL PROTECTED] wrote:
 oh, I see : I did not know it was possible.

 How is mvn jxr:jxr converted to 
 org.apache.maven.plugins:maven-jxr-plugin,
 when it should be org.codehaus.mojo:jxr-maven-plugin ? The fact that 
 the groupId is different seems intriguing to me : the conversion rule 
 cannot work only on artifactId, but both on groupId and artifactId.

 Now that the jxr plugin is in local cache, perhaps you don't need the 
 pom entry any more.
 I made the following test : having the jxr plugin in my local cache, 
 mvn jxr:jxr works perfectly without the jxr pom entry. But after 
 deleting my cache (rm -rf ~/.m2/repository/org/codehaus/mojo/), it 
 doesn't work any more : I get the same error stated by Chris at the beginning.

 Then this problem does happen only to new users, who have an empty 
 local cache.

 Hervé

 Le Lundi 06 Février 2006 04:07, Brian E. Fox a écrit :
  Yes, but if you run it from the command line, you don't need to put 
  it in the pom. If it is in the pom incorrectly, then that will cause 
  problems. I tested it on a random project with nothing in my pom for 
  the plugin and it found it ok.
 
  -Original Message-
  From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED]
  Sent: Sunday, February 05, 2006 6:09 PM
  To: Maven Users List
  Subject: Re: downloading plug-ins from mojo (org.codehaus.mojo)?
 
  it's jxr-maven-plugin, not maven-jxr-plugin : I did the same mistake 
  some time ago... The convention is not the same between 
  org.apache.maven.plugins
  (maven-xxx-plugin) and org.codehaus.mojo (xxx-maven-plugin).
 
  Jira http://jira.codehaus.org/browse/MPLUGIN-11 is an attempt to 
  help newbies to copy/paste a pom excerpt to avoid such mistakes : 
  please vote for it.
 
  Hervé
 
  Le Dimanche 05 Février 2006 22:34, Chris Markle a écrit :
   Brian et al,
  
Hrm, works ok for me. What version of maven are you using?
  
   Maven 2:
  
   C:\blah mvn --version
   Maven version: 2.0.2
  
 Try mvn -U jxr:jxr and see what happens.
  
   C:\blah mvn --version
   Maven version: 2.0.2
  
   C:\blah mvn -U jxr:jxr
  
   [INFO] Scanning for projects...
   [INFO] Searching repository for plugin with prefix: 'jxr'.
   [INFO] org.apache.maven.plugins: checking for updates from central 
   [INFO] org.codehaus.mojo: checking for updates from central [INFO] 
   artifact org.apache.maven.plugins:maven-jxr-plugin: checking for 
   updates from central ...
   [ERROR] BUILD ERROR
   ...
   [INFO] The plugin 'org.apache.maven.plugins:maven-jxr-plugin' does 
   not exist or no valid version could be found
  
   No joy :(
  
   Chris
  
   --
   --- 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]



-
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: SCM triggered build in svn is not happening

2006-02-06 Thread Deepesh D
Thank you for the prompt reply.

I can understand the concept behind schedule building.
But, my question was whether continuum supports SCM triggered build.

Will continuum start build the project imediately whenever there is a change
in the SCM, irrespective of the build schedule.

Thanks,
Deepesh.

On 2/6/06, Brian E. Fox [EMAIL PROTECTED] wrote:

 Apparently this is the only way it works. If there are no changes in scm
 when the scheduled time comes, it won't build.

 -Original Message-
 From: Deepesh D [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 06, 2006 6:57 AM
 To: continuum-users@maven.apache.org
 Subject: SCM triggered build in svn is not happening

 Hi ,

 I am a newbe to continuum.

 I am trying to build an application from svn.

   i am able to add the maven 2 project successfully and be able to
 build.

 the problem is that whenever i make a change in the svn , continuum
 doesnt build the project immediately.

 It is waiting for the build scedule and whenever the schedule is
 reached it will get the latest from svn and will do the build.

 Do u need to configure anything for SCM triggered build to happen


 Thanks in Advance

 Deepesh





Maven 2.0: accents and entities with xdoc

2006-02-06 Thread Herve Quiroz
Hi,

I am trying to migrate to Maven 2.0. So far, I've been doing fine with
everything that is Java build-cycle related.

However, I can't get XML entites to be resolved when building the site
using xdoc, which means I can't include files. This feature is quite
mandatory for many projects so I am assuming there is a new way of doing
that in Maven 2.0. Could anyone tell me how? Here is the typical use
case in my projects:

!DOCTYPE whatever [
!ENTITY mytest SYSTEM relative/path/to/MyTest.java
]

section name=Sample code
sourcemytest;/source
/section

Which gives me a nice error message:

  Caused by: org.codehaus.plexus.util.xml.pull.XmlPullParserException:
  could not resolve entity named 'mytest' (position: START_TAG seen
  ...section name=Sample code\n\n  sourcemytest;... @45:23)

I am not really used to XML entities and I only know this trick to
import files into some xdoc source file so there has to be a workaround
here.


Next, I have some trouble when using accents. The xdoc source file is
effectively set to ISO-8859-1, and I did not change the outputEncoding
setting in the site plugin configuration (which defaults to ISO 8859-1).
Then the resulting page contains weird characters (often 2 characters in
the output for each single accent character in the xdoc file). I would
be glad if someone could tell me how to use accents with Maven 2.0
(needless to say it was working fine with Maven 1.0).


BTW, I really enjoy using Maven 2.0. Developing plugins is so much
easier now.

Herve

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



How to handle Property Files?

2006-02-06 Thread Roland Kofler

Hello,
I would like to have certain property files outside of my deployment JAR 
for quick configuration. I put them into src/main/config.

My questions are:

1. How to tell  to test goal to classpath these files
2. How can I deploy them along with the generated JAR? With UberJar or 
an install-Zip that contains a folder structure like /bin /lib /conf  etc.?


Thank you very much!!

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



basic project info

2006-02-06 Thread EJ Ciramella
Hello Maven community!
 
I'm excited to test out a little bit of maven before I start really working 
with it, but I'm having a problem right at the start.
 
Following the instructions on the getting started page, I ran this:
 
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
I can see the structures are all there after running but the next step fails.  
Instead of compiling, I get an error:
[ERROR] BUILD ERROR
[INFO] 

[INFO] Cannot execute mojo: resources. It requires a project, but the build is 
not using one.
What am I doing wrong?


RE: basic project info

2006-02-06 Thread EJ Ciramella
nevermind - I was one directory too high.



-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06, 2006 10:15 AM
To: users@maven.apache.org
Subject: basic project info


Hello Maven community!
 
I'm excited to test out a little bit of maven before I start really working 
with it, but I'm having a problem right at the start.
 
Following the instructions on the getting started page, I ran this:
 
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
I can see the structures are all there after running but the next step fails.  
Instead of compiling, I get an error:
[ERROR] BUILD ERROR
[INFO] 

[INFO] Cannot execute mojo: resources. It requires a project, but the build is 
not using one.
What am I doing wrong?

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



Re: How to handle Property Files?

2006-02-06 Thread brian . a . yoffe
I dont know if this is the best approach, but here's what I did (POM 
follows):

Create filters to filter into my configuration files
Put the start scripts and other resources external to the jar into the 
resource folder
Use the maven assembly plugin to create my tar.gz containing both.

Note, the actual JAR is built and installed in a different project.In 
this case, I simply make reference to the jar as a dependency to get this 
pom to pull it and all its dependencies into the tar.gz.

To get the whole thing to work run:

mvn resources:resources assembly:assembly -Denv=dev|sit|uat|prod

Thanks,
Brian Yoffe

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
groupIdcom.jpmorgan.pat.fi/groupId
artifactIdfixed-income/artifactId
version1.0-SNAPSHOT/version
  /parent
  modelVersion4.0.0/modelVersion
  artifactIdconfiguration/artifactId
  packagingpom/packaging
  namePat Fixed Income Packaging/name
  urlhttp://maven.apache.org/url
  dependencies
dependency
  groupId${pom.groupId}/groupId
  artifactIdfi-strategies/artifactId
  version${pom.version}/version
  scoperuntime/scope
/dependency
  /dependencies
  build
filters
  filtersrc/main/filters/${env}/filter_default.properties/filter
/filters
resources
  resource
directorysrc/main/resources/common/directory
filteringtrue/filtering
  /resource
  resource
directorysrc/main/resources/${env}/directory
filteringtrue/filtering
  /resource
/resources
plugins
   plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-assembly-plugin/artifactId
  configuration
finalName${project.build.finalName}-${env}/finalName
descriptors
   descriptorsrc/main/assembly/conf.xml/descriptor
   descriptorsrc/main/assembly/bin.xml/descriptor
/descriptors
  /configuration
/plugin
/plugins
  /build
/project





Roland Kofler [EMAIL PROTECTED]
02/06/2006 09:05 AM
Please respond to Maven Users List

 
To: Maven Users List users@maven.apache.org
cc: 
Subject:How to handle Property Files?


Hello,
I would like to have certain property files outside of my deployment JAR 
for quick configuration. I put them into src/main/config.
My questions are:

1. How to tell  to test goal to classpath these files
2. How can I deploy them along with the generated JAR? With UberJar or 
an install-Zip that contains a folder structure like /bin /lib /conf etc.?

Thank you very much!!

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




This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein 
do not necessarily reflect those of JPMorgan Chase  Co., its subsidiaries 
and affiliates



RE: SCM triggered build in svn is not happening

2006-02-06 Thread Brian E. Fox
Currently no, although I wish it did. You could set your schedule to a
very small timeframe and you would get the effect you wanted. 

-Original Message-
From: Deepesh D [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 06, 2006 9:27 AM
To: continuum-users@maven.apache.org
Subject: Re: SCM triggered build in svn is not happening

Thank you for the prompt reply.

I can understand the concept behind schedule building.
But, my question was whether continuum supports SCM triggered build.

Will continuum start build the project imediately whenever there is a
change in the SCM, irrespective of the build schedule.

Thanks,
Deepesh.

On 2/6/06, Brian E. Fox [EMAIL PROTECTED] wrote:

 Apparently this is the only way it works. If there are no changes in 
 scm when the scheduled time comes, it won't build.

 -Original Message-
 From: Deepesh D [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 06, 2006 6:57 AM
 To: continuum-users@maven.apache.org
 Subject: SCM triggered build in svn is not happening

 Hi ,

 I am a newbe to continuum.

 I am trying to build an application from svn.

   i am able to add the maven 2 project successfully and be able to 
 build.

 the problem is that whenever i make a change in the svn , continuum 
 doesnt build the project immediately.

 It is waiting for the build scedule and whenever the schedule is 
 reached it will get the latest from svn and will do the build.

 Do u need to configure anything for SCM triggered build to happen


 Thanks in Advance

 Deepesh







LinkageError in Surefire-Plugin in spite of forking

2006-02-06 Thread Stefan Rademacher
Hello,

I have some JUnit tests, that fail with a LinkageError: loader
constraints violated when linking org/xml/sax/Parser class.
As described in the documentation and other threads in the mailing
list, I set forking to once, in order to run the tests in a separate
JVM. Here is the plugin configuration:

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
configuration
forkModeonce/forkMode
/configuration
/plugin

Unfortunately this doesn't change anything, I still have the same
error. Do you have any other suggestions, what the origin of the problem
could be?

Thanks a lot for your help!
regards,
Stefan

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



Re: Using Maven 2 from Eclipse/RAD 6.0

2006-02-06 Thread Mang Jun Lau
I've tried installing this plugin into RAD 6 but it doesn't work.  I right 
click on my project and try select Enable under the Maven2 group and it 
does nothing.  Installing this plugin into RAD seems different from 
installing it into Eclipse.  I installed this plugin using the Find and 
Install... option and not through the IBM Product Updater.  I've chosen 
D:\Program Files\IBM\Rational\SDP\6.0\sdpisv\eclipse as the install 
directory as suggested from a forum post on IBM developerworks (I can't 
find that post now).  Anyhow, has anyone gotten this plugin to work in 
RAD?

Thanks a lot.


_Mang





Jason van Zyl [EMAIL PROTECTED] 
01/25/2006 05:20 PM
Please respond to
Maven Users List users@maven.apache.org


To
Maven Users List users@maven.apache.org
cc

Subject
Re: Using Maven 2 from Eclipse/RAD 6.0






Dixit, Sandeep (ProSource Solutions) wrote:
 Can I use Maven 2 with Eclipse / Rational Application Developer 6.0? 

You mean from inside Eclipse?

http://maven.apache.org/eclipse-plugin.html

 Thanks,
 Sandeep
 
 
---
 ***National City made the following annotations
 
---
 This communication is a confidential and proprietary business 
communication.  It is intended solely for the use of the designated 
recipient(s).  If this communication is received in error, please contact 
the sender and delete this communication.
 
===
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


-- 

jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

  -- Thoreau

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




[m2] Site Plugin Cannot Overrite Site Files when using file:/// p rotocol.

2006-02-06 Thread Stevenson, Chris
Hello All, 
 
Has anyone had any luck publishing site files using site:deploy and the
file:/// file:///  protocol?
 
This works for me the first time I publish the site but when I try and
republish to the same dir I get an error saying 
 
[INFO] Error uploading site

Embedded error: Could not make directory
'f:\Build\Documentation\atom2\root\.'.

It can't create this dir as it already exists. Any ideas? If I wipe down the
dir it all works fine again. 
 
Thanks,

Chris
 

Chris Stevenson

Dresdner Kleinwort Wasserstein 

 

 
 --



The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express 
written permission of the sender. If you are not the intended recipient, please 
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender. 3166




RE: Servlet 2.4/JSP 2.0 Testing

2006-02-06 Thread Allison, Bob
Hi Vincent.

My problems with your suggestions are:
* Cactus does not support the stated specifications; from what I see in the 
docs and source, it stops at Servlet 2.3 and JSP 1.2 (as far as released 
binaries, I have not been able to successfully build the J2EE 1.4 version and 
no one on the Cactus list answers my questions)
* It seems like it would be much easier to use an embedded Jetty 5.x server 
rather than using Cargo and an external container; too bad Cactus' 
JettyTestSetup class doesn't support jetty 5.x
* I'm not sure if linking surefire into the integration test phase will work; 
it looks like there is currently nothing tied to that phase as part of war 
packaging so there wouldn't be any conflicts, but I'm not sure if it has any 
dependencies on what phase it is running in

-Original Message-
From: Vincent Massol [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 06, 2006 08:35
To: 'Maven Users List'
Subject: RE: Servlet 2.4/JSP 2.0 Testing


Hi Bob,

 -Original Message-
 From: Allison, Bob [mailto:[EMAIL PROTECTED]
 Sent: lundi 6 février 2006 14:04
 To: Maven Users List
 Subject: OT: Servlet 2.4/JSP 2.0 Testing
 
 Does anybody know of a means to do unit testing of web servlets which
 are coded to the Servlet 2.4 specification and JSPs coded to the JSP 2.0
 specification?  Cactus doesn't seem to be there yet in any release I
 could find and I have been unable to build Cactus in a manner which
 would provide this capability (although it looks like it might be
 partially present).  I asked this question on the Cactus user list and
 have not gotten any responses so I thought I would try here and see if
 any Maven users have done anything like this.

AFAIK Alexander is working on a Cactus m2 plugin. Also you should be able to
use the Cactus cactifywar goal using the Antrun m2 plugin. Then you can use
the Cargo plugin to start/stop/deploy the cactified war.

You could try binding the cactification to the pre-integration-test phase
and then bind cargo:start also in the same phase (but define after so that
the order is preserved). One issue will be that the current surefire plugin
has no goal to run junit tests in the integration-test phase... 

But at least this is how I think it could be supported easily.

Thanks
-Vincent


-
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: Using Maven 2 from Eclipse/RAD 6.0

2006-02-06 Thread Yann Andenmatten
Hi Mang,

I tried last week without success. My guess is that the plugin is written 
for Eclipse 3.1 and RAD6 is based on Eclipse 3.0. On the other hand, I 
didn't give a try on Eclipse directly.

Any other experiences ?

Yann

_
Yann Andenmatten




Mang Jun Lau [EMAIL PROTECTED] 
06.02.2006 16:57
Veuillez répondre à
Maven Users List users@maven.apache.org


A
Maven Users List users@maven.apache.org
cc

Objet
Re: Using Maven 2 from Eclipse/RAD 6.0






I've tried installing this plugin into RAD 6 but it doesn't work.  I right 

click on my project and try select Enable under the Maven2 group and it 
does nothing.  Installing this plugin into RAD seems different from 
installing it into Eclipse.  I installed this plugin using the Find and 
Install... option and not through the IBM Product Updater.  I've chosen 
D:\Program Files\IBM\Rational\SDP\6.0\sdpisv\eclipse as the install 
directory as suggested from a forum post on IBM developerworks (I can't 
find that post now).  Anyhow, has anyone gotten this plugin to work in 
RAD?

Thanks a lot.


_Mang





Jason van Zyl [EMAIL PROTECTED] 
01/25/2006 05:20 PM
Please respond to
Maven Users List users@maven.apache.org


To
Maven Users List users@maven.apache.org
cc

Subject
Re: Using Maven 2 from Eclipse/RAD 6.0






Dixit, Sandeep (ProSource Solutions) wrote:
 Can I use Maven 2 with Eclipse / Rational Application Developer 6.0? 

You mean from inside Eclipse?

http://maven.apache.org/eclipse-plugin.html

 Thanks,
 Sandeep
 
 
---
 ***National City made the following annotations
 
---
 This communication is a confidential and proprietary business 
communication.  It is intended solely for the use of the designated 
recipient(s).  If this communication is received in error, please contact 
the sender and delete this communication.
 
===
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


-- 

jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

  -- Thoreau

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





Re: [m2] Site Plugin Cannot Overrite Site Files when using file:/// p rotocol.

2006-02-06 Thread Tomislav Stojcevich
See:  http://jira.codehaus.org/browse/WAGON-30

Replacing the jar in your maven/lib directory as indicated in the
comments should work, it worked for me.

--tom

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



RE: Servlet 2.4/JSP 2.0 Testing

2006-02-06 Thread Vincent Massol


 -Original Message-
 From: Allison, Bob [mailto:[EMAIL PROTECTED]
 Sent: lundi 6 février 2006 17:03
 To: Maven Users List
 Subject: RE: Servlet 2.4/JSP 2.0 Testing
 
 Hi Vincent.
 
 My problems with your suggestions are:
 * Cactus does not support the stated specifications; from what I see in
 the docs and source, it stops at Servlet 2.3 and JSP 1.2 (as far as
 released binaries, I have not been able to successfully build the J2EE 1.4
 version and no one on the Cactus list answers my questions)

Yes you're right. This was a work in progress but never got released.

 * It seems like it would be much easier to use an embedded Jetty 5.x
 server rather than using Cargo and an external container; too bad Cactus'
 JettyTestSetup class doesn't support jetty 5.x

FWIW Cargo supports Jetty as an embedded container too.

 * I'm not sure if linking surefire into the integration test phase will
 work; it looks like there is currently nothing tied to that phase as part
 of war packaging so there wouldn't be any conflicts, but I'm not sure if
 it has any dependencies on what phase it is running in

No, it won't work without modifying the surefire plugin. This is a work
planned for the future but not done.

I was just trying to explain how it could work in the future. It's
definitely not working as of now...

Thanks
-Vincent

 
 -Original Message-
 From: Vincent Massol [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 06, 2006 08:35
 To: 'Maven Users List'
 Subject: RE: Servlet 2.4/JSP 2.0 Testing
 
 
 Hi Bob,
 
  -Original Message-
  From: Allison, Bob [mailto:[EMAIL PROTECTED]
  Sent: lundi 6 février 2006 14:04
  To: Maven Users List
  Subject: OT: Servlet 2.4/JSP 2.0 Testing
 
  Does anybody know of a means to do unit testing of web servlets which
  are coded to the Servlet 2.4 specification and JSPs coded to the JSP 2.0
  specification?  Cactus doesn't seem to be there yet in any release I
  could find and I have been unable to build Cactus in a manner which
  would provide this capability (although it looks like it might be
  partially present).  I asked this question on the Cactus user list and
  have not gotten any responses so I thought I would try here and see if
  any Maven users have done anything like this.
 
 AFAIK Alexander is working on a Cactus m2 plugin. Also you should be able
 to
 use the Cactus cactifywar goal using the Antrun m2 plugin. Then you can
 use
 the Cargo plugin to start/stop/deploy the cactified war.
 
 You could try binding the cactification to the pre-integration-test phase
 and then bind cargo:start also in the same phase (but define after so that
 the order is preserved). One issue will be that the current surefire
 plugin
 has no goal to run junit tests in the integration-test phase...
 
 But at least this is how I think it could be supported easily.
 
 Thanks
 -Vincent
 
 
 -
 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: deploy snapshot error

2006-02-06 Thread Brad O'Hearne

Thanks Dan!

dan tran wrote:


i think this problem is fixed in maven-2.0.2 + maven-deploy-plugin 2.0

google Did receive proper ACK: '1' for details

-D


On 2/2/06, Brad O'Hearne [EMAIL PROTECTED] wrote:
 


I have already deployed a 1.0-SNAPSHOT into my repository. I am trying
to deploy again over this snapshot and am having trouble. The stack
trace is below, but I think there's a general understanding I need about
deploying snapshots. Can I repeatedly deploy a snapshot without changing
the version element in the pom.xml, or deleting the previous deployed
snapshot from the repository? I guess likewise, for actual deployed
releases, if I have deployed a version 1.0.0, can I execute mvn deploy
and have it overwrite the previous 1.0.0 version, if the version element
in the pom.xml goes unchanged?

Thanks for your help!  Stack trace is below:

[ERROR] BUILD ERROR
[INFO]
-
---
[INFO] Error deploying artifact: Did receive proper ACK: '1'

[INFO]
-
---
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying
artifact
: Did receive proper ACK: '1'
  at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:555)

Brad

-
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: Using Maven 2 from Eclipse/RAD 6.0

2006-02-06 Thread Mang Jun Lau
This is not looking good.  I just found this: 
http://jira.codehaus.org/browse/MNGECLIPSE-22

Looks like the priority was lowered for Eclipse 3.0 support.  Has anyone 
been able to find workarounds?  Seems like a pretty big roadblock though. 
Not being able to have tight integration with RAD could mean that we can't 
use Maven at all.


_Mang





Yann Andenmatten [EMAIL PROTECTED] 
02/06/2006 11:08 AM
Please respond to
Maven Users List users@maven.apache.org


To
Maven Users List users@maven.apache.org
cc

Subject
Re: Re: Using Maven 2 from Eclipse/RAD 6.0






Hi Mang,

I tried last week without success. My guess is that the plugin is written 
for Eclipse 3.1 and RAD6 is based on Eclipse 3.0. On the other hand, I 
didn't give a try on Eclipse directly.

Any other experiences ?

Yann

_
Yann Andenmatten




Mang Jun Lau [EMAIL PROTECTED] 
06.02.2006 16:57
Veuillez répondre à
Maven Users List users@maven.apache.org


A
Maven Users List users@maven.apache.org
cc

Objet
Re: Using Maven 2 from Eclipse/RAD 6.0






I've tried installing this plugin into RAD 6 but it doesn't work.  I right 


click on my project and try select Enable under the Maven2 group and it 
does nothing.  Installing this plugin into RAD seems different from 
installing it into Eclipse.  I installed this plugin using the Find and 
Install... option and not through the IBM Product Updater.  I've chosen 
D:\Program Files\IBM\Rational\SDP\6.0\sdpisv\eclipse as the install 
directory as suggested from a forum post on IBM developerworks (I can't 
find that post now).  Anyhow, has anyone gotten this plugin to work in 
RAD?

Thanks a lot.


_Mang





Jason van Zyl [EMAIL PROTECTED] 
01/25/2006 05:20 PM
Please respond to
Maven Users List users@maven.apache.org


To
Maven Users List users@maven.apache.org
cc

Subject
Re: Using Maven 2 from Eclipse/RAD 6.0






Dixit, Sandeep (ProSource Solutions) wrote:
 Can I use Maven 2 with Eclipse / Rational Application Developer 6.0? 

You mean from inside Eclipse?

http://maven.apache.org/eclipse-plugin.html

 Thanks,
 Sandeep
 
 
---
 ***National City made the following annotations
 
---
 This communication is a confidential and proprietary business 
communication.  It is intended solely for the use of the designated 
recipient(s).  If this communication is received in error, please contact 
the sender and delete this communication.
 
===
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 


-- 

jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

  -- Thoreau

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






Re: How to handle Property Files?

2006-02-06 Thread Roland Kofler

Thank you!
I expected at least that maven copies /src/main/config or ...resource 
folder to the target/test/
or binds it to the classpath for testing. But no. Do I have to specify 
/src/main/config classpath in the pom?


thanks again
roland

[EMAIL PROTECTED] schrieb:
I dont know if this is the best approach, but here's what I did (POM 
follows):


Create filters to filter into my configuration files
Put the start scripts and other resources external to the jar into the 
resource folder

Use the maven assembly plugin to create my tar.gz containing both.

Note, the actual JAR is built and installed in a different project.In 
this case, I simply make reference to the jar as a dependency to get this 
pom to pull it and all its dependencies into the tar.gz.


To get the whole thing to work run:

mvn resources:resources assembly:assembly -Denv=dev|sit|uat|prod

Thanks,
Brian Yoffe

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
groupIdcom.jpmorgan.pat.fi/groupId
artifactIdfixed-income/artifactId
version1.0-SNAPSHOT/version
  /parent
  modelVersion4.0.0/modelVersion
  artifactIdconfiguration/artifactId
  packagingpom/packaging
  namePat Fixed Income Packaging/name
  urlhttp://maven.apache.org/url
  dependencies
dependency
  groupId${pom.groupId}/groupId
  artifactIdfi-strategies/artifactId
  version${pom.version}/version
  scoperuntime/scope
/dependency
  /dependencies
  build
filters
  filtersrc/main/filters/${env}/filter_default.properties/filter
/filters
resources
  resource
directorysrc/main/resources/common/directory
filteringtrue/filtering
  /resource
  resource
directorysrc/main/resources/${env}/directory
filteringtrue/filtering
  /resource
/resources
plugins
   plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-assembly-plugin/artifactId
  configuration
finalName${project.build.finalName}-${env}/finalName
descriptors
   descriptorsrc/main/assembly/conf.xml/descriptor
   descriptorsrc/main/assembly/bin.xml/descriptor
/descriptors
  /configuration
/plugin
/plugins
  /build
/project





Roland Kofler [EMAIL PROTECTED]
02/06/2006 09:05 AM
Please respond to Maven Users List

 
To: Maven Users List users@maven.apache.org
cc: 
Subject:How to handle Property Files?



Hello,
I would like to have certain property files outside of my deployment JAR 
for quick configuration. I put them into src/main/config.

My questions are:

1. How to tell  to test goal to classpath these files
2. How can I deploy them along with the generated JAR? With UberJar or 
an install-Zip that contains a folder structure like /bin /lib /conf etc.?


Thank you very much!!

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




This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein 
do not necessarily reflect those of JPMorgan Chase  Co., its subsidiaries 
and affiliates



  



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



Re: What scope is like 'provided' and 'test' together?

2006-02-06 Thread Lee Meador
David,

I am doing something sort of like you described and that seems to work. The
work-around is to set the scope one way in a project that is depended on and
then exclude it in a project that is dependant.

It's just not very satisfying when what you want is to include the jar for
regular  compile and test compile and for test run but not for normal run.
and the options don't include that combination.

Thanks.

On 2/4/06, David H. DeWolf [EMAIL PROTECTED] wrote:

 Lee,

 Have you tried using the exclusions that are available within the
 dependency declarations?

 If this webservices.jar is needed in a project (say project-a) which
 is included within an ear (say ear-project), you would define the
 following dependency within the ear-project pom:

 dependency
   groupIdwhatever/groupId
   artifactIdproject-a/artifactId
   version1.0/version
   scopecompile/scope
   exclusions
 exclusion
   groupIdwhatever/groupId
   artifactIdwebservices/artifactId
 /exclusion
   /exclusions
 /dependency

 With this approach, you could use a compile scoped dependency but not
 have it included in the ear.

 Hope that helps,

 David

 On 2/3/06, Lee Meador [EMAIL PROTECTED] wrote:
  I have a jar (webservices.jar) that I need for these things:
 
  1) Compile main source.
  2) Run tests in projects that are dependant on this one.
 
  But not for running the main source since that will run in the ejb
  container.
 
  scopeprovided/scope doesn't work because the jar isn't available for
 the
  tests in the dependent projects which need to instantiate a class from
 the
  jar but not to call it.
  scopecompile/scope doesn't work because the jar ends up inside the
 ear
  scopetest/scope doesn't work because the main code doesn't compile.
 
  Am I looking at this wrong somehow?
 
  The one solution I have found is to put it as provided in this project
 and
  put it as 'test in another project that runs tests that need classes.
 (I
  use the term project to mean a think with a POM of its own.) The
 problems
  with this are:
 
  1) I can't run any such tests in the same project. (I can live with
 this.)
  2) I have to put the dependency in the other project even though it is
 only
  needed when running the test that references this project. That seems
  wrong in some way.
 
  Any ideas?
 
  -- Lee Meador
  Sent from gmail. My real email address is [EMAIL PROTECTED]
 
 

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




--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]


Re: M2.0.2 Source Xref and JavaDocs

2006-02-06 Thread Lee Meador
My master POM has no source, per se, so there is not xref for the master
project. My children are in sibling folders from the parent.

The master POM references the children POMs with the module/ tags. In my
POM it has locations like ../child1

The children POMs reference the master with the parent/ tags. In my POM
the locations are like ../parent

mvn site should be issued in the folder for the master POM.

You can have deploy locations defined in the parent and in the children but
if you only put one in the parent, the children will be in folders right
under it. (But you didn't ask about mvn site:deploy.)

You might want to share some of the relevant POM sections with us.

Thanks.

On 2/6/06, javed mandary [EMAIL PROTECTED] wrote:

 Hi ,
  am currently using Maven 2.0.2 to generate a site out of the main POM
 of my multiple-project . There are many sub poms which describe the
 sub-modules within my project .

 However when i generate site , the report for Source Xref says:

 --
 Project sources

 No project sources were found.
 Test sources

 No test sources were found.
 ---

 Is there a place where the source directory needs to be defined in the
 main
 master POM ?

 Also when i try to open the index.html file in the main target directory
 at
 the top of the project structure and try to click on JavaDoc , the page is
 missing , it seems that it cant find the source directories within the sub
 modules.

 Anyone has an example of how to handle multiple-project dependencies and
 have the site generated properly?

 kind regards,
 Javed




--
-- Lee Meador
Sent from gmail. My real email address is [EMAIL PROTECTED]


Re: How to handle Property Files?

2006-02-06 Thread brian . a . yoffe
Yeah, that's the part of the pom that I included below:

 resources
   resource
 directorysrc/main/resources/common/directory
 filteringtrue/filtering
   /resource
   resource
 directorysrc/main/resources/${env}/directory
 filteringtrue/filtering
   /resource
 /resources

Thanks,
Brian Yoffe





Roland Kofler [EMAIL PROTECTED]
02/06/2006 11:02 AM
Please respond to Maven Users List

 
To: Maven Users List users@maven.apache.org
cc: 
Subject:Re: How to handle Property Files?


Thank you!
I expected at least that maven copies /src/main/config or ...resource 
folder to the target/test/
or binds it to the classpath for testing. But no. Do I have to specify 
/src/main/config classpath in the pom?

thanks again
roland

[EMAIL PROTECTED] schrieb:
 I dont know if this is the best approach, but here's what I did (POM 
 follows):

 Create filters to filter into my configuration files
 Put the start scripts and other resources external to the jar into the 
 resource folder
 Use the maven assembly plugin to create my tar.gz containing both.

 Note, the actual JAR is built and installed in a different project. In 
 this case, I simply make reference to the jar as a dependency to get 
this 
 pom to pull it and all its dependencies into the tar.gz.

 To get the whole thing to work run:

 mvn resources:resources assembly:assembly -Denv=dev|sit|uat|prod

 Thanks,
 Brian Yoffe

 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
 groupIdcom.jpmorgan.pat.fi/groupId
 artifactIdfixed-income/artifactId
 version1.0-SNAPSHOT/version
   /parent
   modelVersion4.0.0/modelVersion
   artifactIdconfiguration/artifactId
   packagingpom/packaging
   namePat Fixed Income Packaging/name
   urlhttp://maven.apache.org/url
   dependencies
 dependency
   groupId${pom.groupId}/groupId
   artifactIdfi-strategies/artifactId
   version${pom.version}/version
   scoperuntime/scope
 /dependency
   /dependencies
   build
 filters
   filtersrc/main/filters/${env}/filter_default.properties/filter
 /filters
 resources
   resource
 directorysrc/main/resources/common/directory
 filteringtrue/filtering
   /resource
   resource
 directorysrc/main/resources/${env}/directory
 filteringtrue/filtering
   /resource
 /resources
 plugins
plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-assembly-plugin/artifactId
   configuration
 finalName${project.build.finalName}-${env}/finalName
 descriptors
descriptorsrc/main/assembly/conf.xml/descriptor
descriptorsrc/main/assembly/bin.xml/descriptor
 /descriptors
   /configuration
 /plugin
 /plugins
   /build
 /project





 Roland Kofler [EMAIL PROTECTED]
 02/06/2006 09:05 AM
 Please respond to Maven Users List

 
 To: Maven Users List users@maven.apache.org
 cc: 
 Subject:How to handle Property Files?


 Hello,
 I would like to have certain property files outside of my deployment JAR 

 for quick configuration. I put them into src/main/config.
 My questions are:

 1. How to tell  to test goal to classpath these files
 2. How can I deploy them along with the generated JAR? With UberJar or 
 an install-Zip that contains a folder structure like /bin /lib /conf 
etc.?

 Thank you very much!!

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




 This communication is for informational purposes only. It is not 
intended
 as an offer or solicitation for the purchase or sale of any financial
 instrument or as an official confirmation of any transaction. All market 
prices,
 data and other information are not warranted as to completeness or 
accuracy and
 are subject to change without notice. Any comments or statements made 
herein 
 do not necessarily reflect those of JPMorgan Chase  Co., its 
subsidiaries 
 and affiliates


 


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





This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein 
do not necessarily reflect those of JPMorgan Chase  Co., its subsidiaries 
and affiliates.

[m2] Surefire-Plugin ignores argLine

2006-02-06 Thread Jim Babka
I am trying to run tests with assertions enabled, but the surefire
plugin is apparently ignoring the argLine parameter.  If I specify the
following, assertions are not turned on:

...
  build
...
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
configuration
test**/*TestSuite*/test
useFilefalse/useFile
forkModeonce/forkMode
argLine-ea/argLine
/configuration
/plugin
...
/plugins
  /build
...

By the way, I did try this with -enableassertions as well (which is what
is shown in the surefire example doc), and it made no difference.

As a further example, this produces no error at all, even though it
clearly should, so this argLine parameter is really being ignored:

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
configuration
test**/*TestSuite*/test
useFilefalse/useFile
forkModeonce/forkMode
argLine-xxx/argLine
/configuration
/plugin

What is the right way to get surefire to run tests with assertions on?

Jim Babka
Senior Software Engineer
Main: (512) 334 3200
Direct: (512) 334 3237
Email: [EMAIL PROTECTED]
 
Webify Solutions
Enabling the On Demand Enterprise(tm)
www.webifysolutions.com


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



Re: [m2] Site Plugin Cannot Overrite Site Files when using file:/// p rotocol.

2006-02-06 Thread brian . a . yoffe
As an alternative, I tried using the workaround (below) which doesn't 
function as expected when I try to use a maven property. Is there a 
way to pass a property to the delete command (or any plugin arg in quotes) 
such as: delete dir=${my-maven-property}? 



plugins
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasesite/phase
configuration
tasks
delete dir=c:/www /
/tasks
/configuration
goals
goalrun/goal
/goals
/execution
/executions
/plugin
/plugins
/build

Thanks,
Brian Yoffe





Tomislav Stojcevich [EMAIL PROTECTED]
02/06/2006 10:30 AM
Please respond to Maven Users List

 
To: Maven Users List users@maven.apache.org
cc: 
Subject:Re: [m2] Site Plugin Cannot Overrite Site Files when 
using file:/// p 
rotocol.


See:  http://jira.codehaus.org/browse/WAGON-30

Replacing the jar in your maven/lib directory as indicated in the
comments should work, it worked for me.

--tom

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





This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein 
do not necessarily reflect those of JPMorgan Chase  Co., its subsidiaries 
and affiliates.

RE: [m2] Site Plugin Cannot Overrite Site Files when using file:/ // p rotocol.

2006-02-06 Thread Stevenson, Chris
Many thanks Tom.

Chris 

-Original Message-
From: Tomislav Stojcevich [mailto:[EMAIL PROTECTED] 
Sent: 06 February 2006 16:31
To: Maven Users List
Subject: Re: [m2] Site Plugin Cannot Overrite Site Files when using file:///
p rotocol.

See:  http://jira.codehaus.org/browse/WAGON-30

Replacing the jar in your maven/lib directory as indicated in the comments
should work, it worked for me.

--tom

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



The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express
written permission of the sender. If you are not the intended recipient, please
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender. 3167



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



Re: [m2] Site Plugin Cannot Overrite Site Files when using file:/// p rotocol.

2006-02-06 Thread brian . a . yoffe
Sorry,

I found the problem - my-maven-property was file:///x   (i.e., 
prefixed with file).

Thanks,
Brian Yoffe





[EMAIL PROTECTED]
02/06/2006 11:54 AM
Please respond to Maven Users List

 
To: Maven Users List users@maven.apache.org
cc: 
Subject:Re: [m2] Site Plugin Cannot Overrite Site Files when 
using file:/// p 
rotocol.


As an alternative, I tried using the workaround (below) which doesn't 
function as expected when I try to use a maven property. Is there a 
way to pass a property to the delete command (or any plugin arg in quotes) 

such as: delete dir=${my-maven-property}? 



plugins
plugin
artifactIdmaven-antrun-plugin/artifactId
executions
execution
phasesite/phase
configuration
tasks
delete dir=c:/www /
/tasks
/configuration
goals
goalrun/goal
/goals
/execution
/executions
/plugin
/plugins
/build

Thanks,
Brian Yoffe





Tomislav Stojcevich [EMAIL PROTECTED]
02/06/2006 10:30 AM
Please respond to Maven Users List

 
To: Maven Users List users@maven.apache.org
cc: 
Subject:Re: [m2] Site Plugin Cannot Overrite Site Files 
when using file:/// p 
rotocol.


See:  http://jira.codehaus.org/browse/WAGON-30

Replacing the jar in your maven/lib directory as indicated in the
comments should work, it worked for me.

--tom

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





This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market 
prices,
data and other information are not warranted as to completeness or 
accuracy and
are subject to change without notice. Any comments or statements made 
herein 
do not necessarily reflect those of JPMorgan Chase  Co., its subsidiaries 

and affiliates.

This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market 
prices,
data and other information are not warranted as to completeness or 
accuracy and
are subject to change without notice. Any comments or statements made 
herein 
do not necessarily reflect those of JPMorgan Chase  Co., its subsidiaries 

and affiliates.




This communication is for informational purposes only. It is not intended
as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All market prices,
data and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein 
do not necessarily reflect those of JPMorgan Chase  Co., its subsidiaries 
and affiliates.

RE: SCM triggered build in svn is not happening

2006-02-06 Thread Stevenson, Chris
Does anyone know fo a CI system that does it another way? We are still using
Cruise Control here for our stuff and that has a SCM poll time just like the
build schedule in Continuum. 

I haven't seen one that listens to the SCM system, even if it did wouldn't
it just be polling it regularly anyway? We have the build schedule running
every 2 mins here and that does the job pretty well.

My 2 cents,

Chris

-Original Message-
From: Brian E. Fox [mailto:[EMAIL PROTECTED] 
Sent: 06 February 2006 15:35
To: continuum-users@maven.apache.org
Subject: RE: SCM triggered build in svn is not happening

Currently no, although I wish it did. You could set your schedule to a very
small timeframe and you would get the effect you wanted. 

-Original Message-
From: Deepesh D [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06, 2006 9:27 AM
To: continuum-users@maven.apache.org
Subject: Re: SCM triggered build in svn is not happening

Thank you for the prompt reply.

I can understand the concept behind schedule building.
But, my question was whether continuum supports SCM triggered build.

Will continuum start build the project imediately whenever there is a change
in the SCM, irrespective of the build schedule.

Thanks,
Deepesh.

On 2/6/06, Brian E. Fox [EMAIL PROTECTED] wrote:

 Apparently this is the only way it works. If there are no changes in 
 scm when the scheduled time comes, it won't build.

 -Original Message-
 From: Deepesh D [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 06, 2006 6:57 AM
 To: continuum-users@maven.apache.org
 Subject: SCM triggered build in svn is not happening

 Hi ,

 I am a newbe to continuum.

 I am trying to build an application from svn.

   i am able to add the maven 2 project successfully and be able to 
 build.

 the problem is that whenever i make a change in the svn , continuum 
 doesnt build the project immediately.

 It is waiting for the build scedule and whenever the schedule is 
 reached it will get the latest from svn and will do the build.

 Do u need to configure anything for SCM triggered build to happen


 Thanks in Advance

 Deepesh






The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express 
written permission of the sender. If you are not the intended recipient, please 
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to 
http://www.drkw.com/disc/email/ or contact the sender. 3166




Using extensions

2006-02-06 Thread Dixit, Sandeep (ProSource Solutions)
Is there a way to extend a POM only project using
buildextensionsextenstion... tag?

I am not able to do so as by default extension is looking for JAR type
project. And mine is POM. Extension tag is not allowing defining of
type tag.

Thanks,
Sandeep


---
***National City made the following annotations
---
This communication is a confidential and proprietary business communication.  
It is intended solely for the use of the designated recipient(s).  If this 
communication is received in error, please contact the sender and delete this 
communication.
===

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



[ANN] Maven Checkstyle Plugin 3.0 for Maven 1.x released

2006-02-06 Thread ltheussl
We are pleased to announce the Maven Checkstyle Plugin 3.0 release! 

http://maven.apache.org/maven-1.x/reference/plugins/checkstyle/


===

Changes in this version include:

  New Features:

o Added new summary report as front page. 
o Added properties maven.checkstyle.output.xml and 
  maven.checkstyle.output.txt 
o Ability to check test sources using property maven.checkstyle.check.tests 
  Fixes MPCHECKSTYLE-30. 
o Generate reports filtered by severity 

  Fixed bugs:

o Do not assert ASF copyright in checkstyle.rss. Fixes MPCHECKSTYLE-39. 
o Fixed MemberName rule in Turbine checkstyle rules Fixes MPCHECKSTYLE-29. 

  Changes:

o Upgraded to checkstyle 4.1. 
o Moved reports under the checkstyle folder and renamed. 
o Added maven.checkstyle.dir and move output files there. 
o The checkstyle plugin use the maven.xdoc.locale.default to generate the 
  report. Fixes MPCHECKSTYLE-39. 
o Support for Java5  

===


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

maven plugin:download
  
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/
  -DgroupId=maven
  -DartifactId=maven-checkstyle-plugin
  -Dversion=3.0

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

Have fun!
-The Maven Checkstyle Plugin development team

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



[ANN] Maven Clover Plugin 1.11 for Maven 1.x released

2006-02-06 Thread ltheussl
We are pleased to announce the Maven Clover Plugin 1.11 release! 

http://maven.apache.org/maven-1.x/reference/plugins/clover/

The Clover plugin allows measuring test coverage using Clover 
(http://www.cenqua.com/clover). 

===

Changes in this version include:

  New Features:

o Add support for span attribute. Fixes MPCLOVER-50. 
o Allow to specify the relative property for clover-setup. Fixes 
  MPCLOVER-45. 

  Fixed bugs:

o Allow override of flushpolicy, flushinterval in clover-setup, 
  change default values. Fixes MPCLOVER-48. Thanks to Brendan Humphreys. 

  Changes:

o Upgrade to Clover 1.3.11. Fixes MPCLOVER-52. 
o Use new clover license. Fixes MPCLOVER-53.  

===


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

maven plugin:download
  
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/
  -DgroupId=maven
  -DartifactId=maven-clover-plugin
  -Dversion=1.11

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

Have fun!
-The Maven Clover Plugin development team

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



[ANN] Maven Dashboard Plugin 1.9 for Maven 1.x released

2006-02-06 Thread ltheussl
We are pleased to announce the Maven Dashboard Plugin 1.9 release! 

http://maven.apache.org/maven-1.x/reference/plugins/dashboard/

Generate a dashboard containing global statistics about other maven reports 

===

Changes in this version include:

  New Features:

o Allow sorting of dashboard items (requires Maven 1.1). Fixes 
  MPDASHBOARD-28. 
o Add message on status of finding dashboard-single.xml. Fixes 
  MPDASHBOARD-30. Thanks to Jeff Jensen. 
o Add new aggregators jiraopenand jirascheduled. 
o Added Cobertura aggregator. Fixes MPDASHBOARD-31. 

  Fixed bugs:

o Fix count of changelog-entries with maven-changelog-plugin-1.9. Fixes 
  MPDASHBOARD-35. Thanks to Christoph Jerolimov. 
o Incorrect links with multiproject independent navigation. Fixes 
  MPDASHBOARD-24. Thanks to Wim Deblauwe. 
o maven.dashboard.report.showemptyproperty not honored. Fixes MPDASHBOARD-32. 
  Thanks to Wim Deblauwe. 
o Cobertura aggregator doesn't support offline mode. Fixes MPDASHBOARD-34. 
  Thanks to Philippe Kernevez. 
o Properties maven.dashboard.basedir, maven.dashboard.includes, 
  maven.dashboard.excludesand maven.dashboard.ignoreFailureswere ignored and 
  were always defaulting to their multiproject plugin counterpart. Fixes 
  MPDASHBOARD-27. 
o The JUnit pass rate aggregator was no longer showing values in the 
  dashboard. Fixes MPDASHBOARD-26. Thanks to Wim Deblauwe. 

  Changes:

o Update the default checkstyle report location to make it compatible with 
  Checkstyle plugin 3.0+ (MPCHECKSTYLE-40). Fixes MPDASHBOARD-33. Thanks to 
  [EMAIL PROTECTED]  

===


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

maven plugin:download
  
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/
  -DgroupId=maven
  -DartifactId=maven-dashboard-plugin
  -Dversion=1.9

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

Have fun!
-The Maven Dashboard Plugin development team

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



[ANN] Maven JDepend Plugin 1.6 for Maven 1.x released

2006-02-06 Thread ltheussl
We are pleased to announce the Maven JDepend Plugin 1.6 release! 

http://maven.apache.org/maven-1.x/reference/plugins/jdepend/

JDepend traverses Java class file directories and generates design quality 
metrics for each Java package. JDepend allows you to automatically measure the 
quality of a design in terms of its extensibility, reusability, and 
maintainability to manage package dependencies effectively. 

===

Changes in this version include:

  New Features:

o New property maven.jdepend.propertiesto specify a custom jdepend.properties 
  file. Fixes MPJDEPEND-2. 
o New maven.jdepend.dirsand maven.jdepend.componentsproperties. 

  Changes:

o Upgrade to JDepend 2.9.1. Fixes MPJDEPEND-6. 
o Update dependencies to match ones in maven 1.1 core and to unify them 
  between plugins. The following dependencies are updated : xercesImpl v 
  2.4.0 - v2.6.2 xml-apis v 1.0.b2 - xmlParserAPIs v2.6.2 Fixes 
  MAVEN-1712.  

===


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

maven plugin:download
  
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/
  -DgroupId=maven
  -DartifactId=maven-jdepend-plugin
  -Dversion=1.6

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

Have fun!
-The Maven JDepend Plugin development team

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



[ANN] Maven JIRA Plugin 1.3 for Maven 1.x released

2006-02-06 Thread ltheussl
We are pleased to announce the Maven JIRA Plugin 1.3 release! 

http://maven.apache.org/maven-1.x/reference/plugins/jira/

This plugin downloads issues from Jira and creates a report. Note that this 
version of the Jira plugin requires at least JIRA 3.3. 

===

Changes in this version include:

  New Features:

o Add a jira-roadmap report. 

  Fixed bugs:

o Jira plugin does not work with NTLM proxy. Fixes MPJIRA-10. 
o Plugin uses deprecated API to retrieve JIRA issues. Now requires at least 
  JIRA 3.3. Fixes MPJIRA-17. 
o Icons are corrupted (images are filtered during the copy). 

  Changes:

o Upgrade to HttpClient 3.0. Fixes MAVEN-1739. 
o Layout changes: mimic default JIRA appearance, also show votes.  

===


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

maven plugin:download
  
-Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/
  -DgroupId=maven
  -DartifactId=maven-jira-plugin
  -Dversion=1.3

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

Have fun!
-The Maven JIRA Plugin development team

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



Re: Deploying Pom w/ Dependencies to Remote Repository

2006-02-06 Thread coder
Heya,

This is the behavior I've experienced when changing the packaging to
pom.  Whenever the packaging is changed to pom, this is the pom file
that gets uploaded into the internal repository.

?xml version=1.0 encoding=UTF-8?project
  modelVersion4.0.0/modelVersion
  groupIdjavax.xml/groupId
  artifactIdjaxrpc/artifactId
  packagingpom/packaging
  version1.3/version
  descriptionPOM was created from deploy:deploy-file/description
  distributionManagement
statusdeployed/status
  /distributionManagement
/project

So, the pom doesn't contain the necessary dependencies.  If I add the
parameter -pomFile and specify the pom file, the right pom file gets
deployed, but then a jar also gets created.  I'm wondering if I'm
overlooking something really simple here. :)

Thanks,
Ryan



On 2/3/2006, Allan Ramirez [EMAIL PROTECTED] wrote:

Hi there,

Try this,

Change the packaging to pom

mvn deploy:deploy-file -DgroupId=your group
-DartifactId=artifact
-Dversion=version
-Dfile=path-to-your-pom.xml
-Dpackaging=pom
-DrepositoryId=repoId
-Durl=url-to-deploy

-allan

[EMAIL PROTECTED] wrote:

Here's my situation... I've setup an internal proxy where everyone
internal to our organization can download from.  Some of our projects
depend on the JWSDP packages, and for example, if you're using the
JAX-RPC Sun libraries, there's about 10 other libraries it depends on.
I want to be able to just deploy this pom to the internal repository...

project
   modelVersion4.0.0/modelVersion
   groupIdjavax.xml/groupId
   artifactIdjaxrpc/artifactId
   version1.1.3/version
   nameJAXRPC Package/name
   description
 Part of the Java Web Services Developer Pack 2.0
   /description
   dependencies
 dependency
   groupIdjavax.xml/groupId
   artifactIdjaxrpc-api/artifactId
   version1.1.3/version
 /dependency
 dependency
   groupIdjavax.xml/groupId
   artifactIdjaxrpc-impl/artifactId
   version1.1.3/version
 /dependency
   ...

This way, developers can just add the following dependency to their
project and get all the jaxrpc libraries.

 dependency
   groupIdjavax.xml/groupId
   artifactIdjaxrpc/artifactId
   version1.1.3/version
 /dependency

However, I haven't found a way to use deploy:deploy-file to just deploy
the Pom w/ Dependencies into the internal repository.  Can someone lend
some insight into a possible solution.  I'm trying to avoid just
copying the structure into the internal repository and I was wondering
if the deploy plugin could do something for me.

Thanks,
Ryan


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



assembly attached to build

2006-02-06 Thread Kevin Galligan

I think I had my email configured wrong.  Anyway, attempt #2...

I have one project in a multi module build that requires the assembly 
plugin to run.  Here's the pom config...


build
plugins
plugin
artifactIdmaven-assembly-plugin/artifactId
version2.0.1/version
executions
execution
phasepackage/phase
goals
goalassembly/goal
/goals
/execution
/executions
configuration
descriptorIdjar-with-dependencies/descriptorId
/configuration
/plugin
 /plugins
/build

If you run 'mvn install' directly on this project it works fine.  If you 
run that on the higher level (multi-module) it acts differently.  In 
2.0, it looked like the context info was off.  It would give errors 
while looking for things at the top multi-module level.  I tried forcing 
version 2.0.1 of the assembly plugin, and now the multi-module level 
just ignores this config completely.  It doesn't try to run assembly at 
all.  Still works if you run this project directly.


Any thoughts?

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



[m2] Bug? Maven2 Classloader doesn't URLEncoding

2006-02-06 Thread Roland Kofler

When I'm executing an

getClass().getClassLoader().getResource(s);

it gives back an URL encoded string in eclipse while Maven2 gives me 
blanks in my URL:


eclipse
file:/C:/Dokumente%20und%20Einstellungen/roland.kofler/systemone/core/target/test-classes/fsm.jpg

maven2
file:/C:/Dokumente und 
Einstellungen/roland.kofler/systemone/core/target/test-classes/fsm.jpg


Maybe there is a special system setting swiched on in Maven, to evoke 
this error?


Thanks,
Roland

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



Re: [m2] Possible bug?

2006-02-06 Thread Rubén Barroso
Hi Brett!

How should I such a thing? (report the possible bug, I mean)

Thanks


2006/2/4, Brett Porter [EMAIL PROTECTED]:

 sounds like a bug. Please file it under the MRESOURCES section in JIRA.

 - Brett

 On 2/3/06, Rubén Barroso [EMAIL PROTECTED] wrote:
  I forgot to mention that @ char is in a comment.
 
  2006/2/2, Rubén Barroso [EMAIL PROTECTED]:
  
   Hi all!
  
   I've got a resource (a Spring XML contexty file) that needs to be
 filtered
   before being deployed. I use profiles to filter plenty of properties
 present
   on it. I've an at character (@) in the middle of the file, and I've
 found
   out that properties after that comment aren't filtered (properties
 before
   that comment are). Any ideas?
  
   rb
  
 
 

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




RE: [m2] Surefire-Plugin ignores argLine

2006-02-06 Thread Jim Babka
By the way, this is what happens with version 2.0 of the surefire
plugin.  I tried the latest version (2.1.2), but with that version I get
no reports at all, even when I tell it to ignore test failures (it tells
me a test failed, but I have no way to find out what test it was).  I
have updated MOJO-107 for this second problem.

Jim Babka
Senior Software Engineer
Main: (512) 334 3200
Direct: (512) 334 3237
Email: [EMAIL PROTECTED]
 
Webify Solutions
Enabling the On Demand Enterprise(tm)
www.webifysolutions.com

-Original Message-
From: Jim Babka 
Sent: Monday, February 06, 2006 11:54 AM
To: Maven Users List
Subject: [m2] Surefire-Plugin ignores argLine

I am trying to run tests with assertions enabled, but the surefire
plugin is apparently ignoring the argLine parameter.  If I specify the
following, assertions are not turned on:

...
  build
...
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
configuration
test**/*TestSuite*/test
useFilefalse/useFile
forkModeonce/forkMode
argLine-ea/argLine
/configuration
/plugin
...
/plugins
  /build
...

By the way, I did try this with -enableassertions as well (which is what
is shown in the surefire example doc), and it made no difference.

As a further example, this produces no error at all, even though it
clearly should, so this argLine parameter is really being ignored:

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-surefire-plugin/artifactId
configuration
test**/*TestSuite*/test
useFilefalse/useFile
forkModeonce/forkMode
argLine-xxx/argLine
/configuration
/plugin

What is the right way to get surefire to run tests with assertions on?

Jim Babka
Senior Software Engineer
Main: (512) 334 3200
Direct: (512) 334 3237
Email: [EMAIL PROTECTED]
 
Webify Solutions
Enabling the On Demand Enterprise(tm)
www.webifysolutions.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]



Does maven 2 really support dependencies of type war?

2006-02-06 Thread Jason Chaffee






If I try to add a dependency of type war to my pom, I get the followingError (note: I can remove typewar/type and it doesnt fail): [ERROR] FATAL ERROR[INFO][INFO] Error building POM (may not be this project's POM). Project ID: webaoo:webappPOM Location: C:\workspace\webapp\pom.xmlValidation Messages: [0] 'dependencies.dependency.version' is missing forcommon-assets:common-assets Reason: Failed to validate POM [INFO][INFO] Traceorg.apache.maven.reactor.MavenExecutionException: Failed to validate POM atorg.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) atorg.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) atorg.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) atorg.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375)Caused by: org.apache.maven.project.InvalidProjectModelException: Failedto validate POM atorg.apache.maven.project.DefaultMavenProjectBuilder.processProjectLogic(DefaultMavenProjectBuilder.java:781) atorg.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:631) atorg.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFile(DefaultMavenProjectBuilder.java:303) atorg.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:274) atorg.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515) atorg.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447) atorg.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351) ... 11 more





Jason
Chaffee 



Software
Architect/Server Team Manager 











[EMAIL PROTECTED]






Tel : 415.380.6316 





Cell: 415.637.8061 



 










[Release] maven-plugin-plugin

2006-02-06 Thread John Casey

Hi,

The Apache Maven team is pleased to announce the 2.1 release of the 
maven-plugin-plugin for Maven 2. This release corrects the dreaded 
AbstractMethodError when trying to write Ant-based mojos, since it takes 
advantage of improvements to the plugin processing tools introduced in 
Maven 2.0.1.


NOTE: This does not mean that you have to use at least Maven 2.0.1 to 
use this new release (though you should consider it, for other 
reasons!). The dependency on the new plugin processing tools is kept 
independent of the Maven runtime, and will not introduce any 
2.0.1-specific information into your plugin.


Unfortunately, a full changelog for this release does not seem to be 
readily available, as this release was supposed to be included with the 
release of Maven 2.0.1, and the plugin JIRA issues had not been 
separated at the time. No new fixes have been committed to this plugin 
since that time, so the changelog for Maven 2.0.1 should contain a full 
accounting of fixes included in this release of the maven-plugin-plugin.


Enjoy.

John Casey

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



Any command for listing all the goals in maven 2?

2006-02-06 Thread cheethus
Hi All - Is there any command that can list all the goals in maven2? Thanks!


assembly attached to build

2006-02-06 Thread Kevin Galligan
I have one project in a multi module build that requires the assembly 
plugin to run.  Here's the pom config...


build
plugins
plugin
artifactIdmaven-assembly-plugin/artifactId
version2.0.1/version
executions
execution
phasepackage/phase
goals
goalassembly/goal
/goals
/execution
/executions
configuration

descriptorIdjar-with-dependencies/descriptorId
/configuration
/plugin
 /plugins
/build

If you run 'mvn install' directly on this project it works fine.  If you 
run that on the higher level (multi-module) it acts differently.  In 
2.0, it looked like the context info was off.  It would give errors 
while looking for things at the top multi-module level.  I tried forcing 
version 2.0.1 of the assembly plugin, and now the multi-module level 
just ignores this config completely.  It doesn't try to run assembly at 
all.  Still works if you run this project directly.


Any thoughts?

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



project specific local repos

2006-02-06 Thread Stefan Podkowinski
Hello

Whats the best way to distribute your project if you need to provide
all artifacts incl. dependencies with your release? E.g. if you want
to ship everything on CD, or just have a lot of artifacts that are not
available on public repos.

I wonder if it would be possible to create a project specific local
repo that is refered to from pom.xml? But as far as I could tell
theres only a config option for remote repos and I didnt have much
success with it.. Am I missing something or how would I do this?

Regards,
Stefan

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



Creating EAR project bombs

2006-02-06 Thread Brad O'Hearne
I must be missing something obvious. Off the documentation on the 
following page:


http://maven.apache.org/guides/mini/guide-ear.html

Executing the following statement:

mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-webapp 
-DarchetypeArtifactId=maven-archetype-ear

bombs returning this:

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

---
[INFO] Building Maven Default Project
[INFO]task-segment: [archetype:create] (aggregator-style)
[INFO] 
-

---
[INFO] Setting property: classpath.resource.loader.class = 
'org.codehaus.plexus

.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: resource.loader = 'classpath'.
[INFO] **
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: 
org\apache\velocity\runtime\defaults\velocity.pr

operties
[INFO] Default ResourceManager initializing. (class 
org.apache.velocity.runtime.

resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: 
org.codehaus.plexus.velocity.ContextClassLo

aderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class 
org.apache.velocity.runtime.resource.

ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: 
org.apache.velocity.runtime.directive.Literal

[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: 
org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: 
org.apache.velocity.runtime.directive.Foreach

[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : 
VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' 
in any

resource loader.
[INFO] Velocimacro : error using  VM library template 
VM_global_library.vm : org
.apache.velocity.exception.ResourceNotFoundException: Unable to find 
resource 'V

M_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in 
templates


[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline 
may NOT

replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will 
be  glob

al in scope if allowed.
[INFO] Velocimacro : messages on  : VM system will output logging messages
[INFO] Velocimacro : autoload off  : VM system will not automatically 
reload glo

bal library macros
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [archetype:create]
[INFO] Defaulting package to group ID: com.mycompany.app
[INFO] 
-

---
[ERROR] BUILD ERROR
[INFO] 
-

---
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.archetypes
ArtifactId: maven-archetype-ear
Version: RELEASE

Reason: Unable to determine the release version

 org.apache.maven.archetypes:maven-archetype-ear:jar:RELEASE



Any ideas?

Brad

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



[m2] Re: Need help with ibiblio problems

2006-02-06 Thread Loïc Lefèvre
Problem with central repository?

In fact, I've asked for the upload of JXTA 2.3.6 and well I'm a bit
late but the fact is that I've cleaned my m2 cache and now the jaxen
dependency does not work anymore.

Indeed, when I've checked for the presence of dependencies in the m2
central repository,
I've found the file
http://ibiblio.org/maven2/jaxen/jaxen/1.0-FCS/jaxen-1.0-FCS-full.jar

However, to be correct, this file should be there:

http://ibiblio.org/maven2/jaxen/jaxen/1.0-FCS-full/jaxen-1.0-FCS-full.jar

So what should I do now? Create a JIRA issue in the MAVENUPLOAD?

TIA for your answers,
Loic

On 1/11/06, Helck, Christopher [EMAIL PROTECTED] wrote:
 Yes, it is working. Thanks for the prompt help.
 -chris

 -Original Message-
 From: Brett Porter [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, January 10, 2006 10:18 PM
 To: Maven Users List
 Subject: Re: Need help with ibiblio problems


 fixed. Not sure why it was working for other jars before with a leading
 slash, but it is now working for them all.

 - Brett

 On 1/11/06, Brett Porter [EMAIL PROTECTED] wrote:
  That's quite odd. The rule is there, but is not being picked up. I'll
  continue investigating.
 
  - Brett
 
  On 1/11/06, Helck, Christopher [EMAIL PROTECTED] wrote:
   I have issues
  
   If I browse to http://www.ibiblio.org/maven/jaxen/jars/ I can see my

   jar file. If I click on it I get a 404 error. If I click the other
   jar files on the page they seem ok.
  
   I'm not sure which jaxen file you special cased.
  
   Thanks,
   Christopher
  
   -Original Message-
   From: Brett Porter [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, January 10, 2006 4:51 PM
   To: Maven Users List
   Subject: Re: Need help with ibiblio problems
  
  
   The changes should be transparent. jaxen was one of the JARs I had
   special cased, but it was for a version of 1.0-FCS.
  
   This should be fixed now. Please let us know if there are any other
   issues.
  
   - Brett
  
  
   On 1/11/06, Helck, Christopher [EMAIL PROTECTED] wrote:
What's happened to ibiblio/maven? Maven is unable to download
jaxen-1.0-FCS-full.jar. Yet when I browse to the ibiblio it seems
to be there and other jars download ok.
   
I gather there is a restructuring of ibiblio going on for maven 2.

Is this the issue? Is there a description of the changes anywhere?
   
Thanks,
C. Helck
   
   
Thank you for being part of it.
   
The information contained in this e-mail is confidential. This
e-mail is intended only for the stated addressee.  If you are not
an addressee, you must not disclose, copy, circulate or in any
other way use or rely on the information contained in this e-mail.

if you have received this e-mail in error, please inform us
immediately and delete
  
it and all copies from your system.
   
EBS Dealing Resources International Limited. Registered address:
10 Paternoster Square, London EC4M 7DY, United Kingdom. Registered

number
  
2669861.
   
EBS Dealing Resources, Inc, registered in Delaware. Address: 535
Madison Avenue, 24th Floor, New York, NY 10022, USA, and One upper

Pond road, Building F - Floor 3, Parsippany, NJ 07054, USA.
   
EBS Dealing Resources Japan Limited, a Japanese Corporation.
Address: Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa,
Chuo-Ku,  Tokyo 104-0033, Japan.
   
   
   
  
   
   -
   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]



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



Re: SCM triggered build in svn is not happening

2006-02-06 Thread Mark Donszelmann

Hi

could you (or someone) put instructions on how t do this in the FAQ o
continuum.

Regards
Mark Donszelmann

On Feb 6, 2006, at 12:46 PM, Emmanuel Venisse wrote:

Not exactly, you can add an post-commit hook in your SCM and call  
the xmlrpc server for building the project.


Emmanuel

Brian E. Fox a écrit :
Currently no, although I wish it did. You could set your schedule  
to a
very small timeframe and you would get the effect you wanted. - 
Original Message-
From: Deepesh D [mailto:[EMAIL PROTECTED] Sent: Monday, February  
06, 2006 9:27 AM

To: continuum-users@maven.apache.org
Subject: Re: SCM triggered build in svn is not happening
Thank you for the prompt reply.
I can understand the concept behind schedule building.
But, my question was whether continuum supports SCM triggered build.
Will continuum start build the project imediately whenever there is a
change in the SCM, irrespective of the build schedule.
Thanks,
Deepesh.
On 2/6/06, Brian E. Fox [EMAIL PROTECTED] wrote:
Apparently this is the only way it works. If there are no changes  
in scm when the scheduled time comes, it won't build.


-Original Message-
From: Deepesh D [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06, 2006 6:57 AM
To: continuum-users@maven.apache.org
Subject: SCM triggered build in svn is not happening

Hi ,

I am a newbe to continuum.

I am trying to build an application from svn.

 i am able to add the maven 2 project successfully and be able to  
build.


the problem is that whenever i make a change in the svn ,  
continuum doesnt build the project immediately.


It is waiting for the build scedule and whenever the schedule is  
reached it will get the latest from svn and will do the build.


Do u need to configure anything for SCM triggered build to happen


Thanks in Advance

Deepesh









Re: multiproject/module site ETA

2006-02-06 Thread Geoffrey De Smet


Brett Porter wrote:

There is a roadmap in JIRA for issues to be completed. Late February
is a possibility.


Nice :)

The new multiproject support is already included in the latest snapshot? 
I might test the snapshot this weekend.


With kind regards,
Geoffrey De Smet



- Brett

On 2/6/06, Geoffrey De Smet [EMAIL PROTECTED] wrote:

Maven 2.0.2 is out a while, but I haven't found the new multiproject
site functionality yet. I suppose it comes with the next release of the
site plugin. Is there any rough estimated time of arrival on that?

Thanks.

--
With kind regards,
Geoffrey De Smet


-
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: SCM triggered build in svn is not happening

2006-02-06 Thread Emmanuel Venisse
File an issue about it in jira, and i'll do it for the next release (1.0.3) when our xmlrpc client 
will be release. While waiting, you can find it in jira (http://jira.codehaus.org/browse/CONTINUUM-544)


Emmanuel

Mark Donszelmann a écrit :

Hi

could you (or someone) put instructions on how t do this in the FAQ o
continuum.

Regards
Mark Donszelmann

On Feb 6, 2006, at 12:46 PM, Emmanuel Venisse wrote:

Not exactly, you can add an post-commit hook in your SCM and call  the 
xmlrpc server for building the project.


Emmanuel

Brian E. Fox a écrit :


Currently no, although I wish it did. You could set your schedule  to a
very small timeframe and you would get the effect you wanted. - 
Original Message-
From: Deepesh D [mailto:[EMAIL PROTECTED] Sent: Monday, February  
06, 2006 9:27 AM

To: continuum-users@maven.apache.org
Subject: Re: SCM triggered build in svn is not happening
Thank you for the prompt reply.
I can understand the concept behind schedule building.
But, my question was whether continuum supports SCM triggered build.
Will continuum start build the project imediately whenever there is a
change in the SCM, irrespective of the build schedule.
Thanks,
Deepesh.
On 2/6/06, Brian E. Fox [EMAIL PROTECTED] wrote:

Apparently this is the only way it works. If there are no changes  
in scm when the scheduled time comes, it won't build.


-Original Message-
From: Deepesh D [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06, 2006 6:57 AM
To: continuum-users@maven.apache.org
Subject: SCM triggered build in svn is not happening

Hi ,

I am a newbe to continuum.

I am trying to build an application from svn.

 i am able to add the maven 2 project successfully and be able to  
build.


the problem is that whenever i make a change in the svn ,  continuum 
doesnt build the project immediately.


It is waiting for the build scedule and whenever the schedule is  
reached it will get the latest from svn and will do the build.


Do u need to configure anything for SCM triggered build to happen


Thanks in Advance

Deepesh














RE: Continuum and site-deploy or wagon hanging

2006-02-06 Thread Johnson, Jonathan
Good question, thanks.  Yes when run from the command line 

mvn clean install deploy site-deploy

it Maven hangs in the sample place.  The M2 site-deploy plugin is hanging on 
the unzip command.  

I will send my findings to the site-deploy plugin mailing list and let you know 
when there is a resolution.

Although this is unrelated to Continuum, Continuum should handle this 
gracefully.  The only way to work around the problem is to restart the 
Continuum server (and not use the site-deploy command for the moment). Perhaps 
adding some sort of daemon that detects a hung condition would strengthen its 
fault tolerance.


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 06, 2006 3:52 PM
To: continuum-users@maven.apache.org
Subject: Re: Continuum and site-deploy or wagon hanging

Do you have the same problem when you call site-deploy directly for maven on 
your continuum machine?
When a goal is called, it's an external maven process that run it and not 
Continuum.

Emmanuel

Johnson, Jonathan a écrit :
 Anyone having problems with Continuum or site-deploy or wagon hanging?
 
 Using Continuum 1.0.2, Maven 2.0.2.
 
 I recently added deploy and deploy-site to my Continuum build and have
 found Continuum will hang waiting for the build to finish.  If I restart
 Continuum and force the build again it will sometimes work, sometimes it
 hangs again.
 
 It always hangs at the same place, just after calling unzip on the site
 zip file expansion.  The site does get expanded so it seems to hang just
 after completing the expansion.
 
 Tail of build report.  
 
 ...
 [INFO] ResourceManager : found templates/package-frame.vm with loader
 org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader
 [INFO] Generate Maven Surefire Report report.
 [INFO] Generate Tag List report.
 [INFO] Generate an index file for the English version.
 [INFO] [site:deploy]
 scp://hober/home/builder/454/deploy/site/common - Session: Opened
 Executing command: mkdir -p /home/builder/454/deploy/site/common/.
 Executing command: mkdir -p /home/builder/454/deploy/site/common/.
 Executing command: scp -t
 /home/builder/454/deploy/site/common/./wagon47499.zip
 Uploading: ./wagon47499.zip to
 scp://hober/home/builder/454/deploy/site/common
 
 ###[...for email, bunch of pounds omitted...]#! ###[...omitted...]##
 
 Transfer finished. 6317094 bytes copied in 3.269 seconds Executing
 command: cd /home/builder/454/deploy/site/common/.; unzip -o
 wagon47499.zip; rm -f wagon47499.zip
  Hung here 
 
 LEGAL NOTICE:
 Unless expressly stated otherwise, this message is confidential and may be 
 privileged. It is intended for the addressee(s) only. Access to this e-mail 
 by anyone else is unauthorized. If you are not an addressee, any disclosure 
 or copying of the contents or any action taken (or not taken) in reliance on 
 it is unauthorized and may be unlawful. If you are not an addressee, please 
 inform the sender immediately.
 
 
 
 
 



A local repository acting as a remote one

2006-02-06 Thread Fabrice BELLINGARD
Hi Maveners,

My case is the following: with Maven 2, I want to have an intermediate
repository for my dev team, so that the developers don't download Jars from
Ibiblio but only from this very repository. This is a common use case lots
of people know.
The difference in my case is that I want to have it on my computer, and I
want my local repository to be this intermediate repository. So to sum up:
my local repository would be the remote repository of my teams. Why ?
Because of 2 main reasons that seem important to me:
- I want to control which components they use (so I don't want a Maven proxy
that would allow them to download any Jars they would want)
- I don't want to have twice the same Jars (once in the intermediate
repository and once in my local repository), because it would take twice the
required space on my hard drive
Theses are the reasons why I want to make my local repository accessible via
HTTP as a remote repository.

However, I made some tests and it seems that there are problems due to the
metadata files: when one of my dev's Maven connects to my local repository
to download a Jar, it can't find the maven metadata file and so my local
repository is blacklisted. It seems that local metadata is different from
remote metadata, which is a pain in my case...


So my questions are: is this the normal behaviour? did I miss something? is
there a workaround for that?
-- Maven developers: shouldn't it be possible to copy-paste a repository
and using it either ways as a remote or a local repository?

Thank you so much in advance for your answers, and please CC me when
answering, I'm not on the list for the moment.

Best regards,
Stephen Fabemn.


Re: Using extensions

2006-02-06 Thread John Casey
Not sure what the end goal is here, but I assume you're saying you're 
trying to do something like:


build
  extensions
extension
  groupIdsome.group.id/groupId
  artifactIdsome-artifact/artifactId
  version1.1.1.1/version
  typepom/type
/extension
  /extensions
/build

Other than playing the trick of having that POM's dependencies all 
included in the core classloader of Maven, I'm not sure what this would 
acoomplish. BTW, it's entirely possible that the type/ element isn't 
allowed here, I don't remember for sure. It would seem to make some 
amount of sense not to allow this, though...


-john

Dixit, Sandeep (ProSource Solutions) wrote:

Is there a way to extend a POM only project using
buildextensionsextenstion... tag?

I am not able to do so as by default extension is looking for JAR type
project. And mine is POM. Extension tag is not allowing defining of
type tag.

Thanks,
Sandeep


---
***National City made the following annotations
---
This communication is a confidential and proprietary business communication.  
It is intended solely for the use of the designated recipient(s).  If this 
communication is received in error, please contact the sender and delete this 
communication.
===

-
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] Re: Need help with ibiblio problems

2006-02-06 Thread Carlos Sanchez
You can get jaxen-1.0-FCS-full adding classifierfull/classifier to
your dependency

On 2/6/06, Loïc Lefèvre [EMAIL PROTECTED] wrote:
 Problem with central repository?

 In fact, I've asked for the upload of JXTA 2.3.6 and well I'm a bit
 late but the fact is that I've cleaned my m2 cache and now the jaxen
 dependency does not work anymore.

 Indeed, when I've checked for the presence of dependencies in the m2
 central repository,
 I've found the file
 http://ibiblio.org/maven2/jaxen/jaxen/1.0-FCS/jaxen-1.0-FCS-full.jar

 However, to be correct, this file should be there:

 http://ibiblio.org/maven2/jaxen/jaxen/1.0-FCS-full/jaxen-1.0-FCS-full.jar

 So what should I do now? Create a JIRA issue in the MAVENUPLOAD?

 TIA for your answers,
 Loic

 On 1/11/06, Helck, Christopher [EMAIL PROTECTED] wrote:
  Yes, it is working. Thanks for the prompt help.
  -chris
 
  -Original Message-
  From: Brett Porter [mailto:[EMAIL PROTECTED]
  Sent: Tuesday, January 10, 2006 10:18 PM
  To: Maven Users List
  Subject: Re: Need help with ibiblio problems
 
 
  fixed. Not sure why it was working for other jars before with a leading
  slash, but it is now working for them all.
 
  - Brett
 
  On 1/11/06, Brett Porter [EMAIL PROTECTED] wrote:
   That's quite odd. The rule is there, but is not being picked up. I'll
   continue investigating.
  
   - Brett
  
   On 1/11/06, Helck, Christopher [EMAIL PROTECTED] wrote:
I have issues
   
If I browse to http://www.ibiblio.org/maven/jaxen/jars/ I can see my
 
jar file. If I click on it I get a 404 error. If I click the other
jar files on the page they seem ok.
   
I'm not sure which jaxen file you special cased.
   
Thanks,
Christopher
   
-Original Message-
From: Brett Porter [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 10, 2006 4:51 PM
To: Maven Users List
Subject: Re: Need help with ibiblio problems
   
   
The changes should be transparent. jaxen was one of the JARs I had
special cased, but it was for a version of 1.0-FCS.
   
This should be fixed now. Please let us know if there are any other
issues.
   
- Brett
   
   
On 1/11/06, Helck, Christopher [EMAIL PROTECTED] wrote:
 What's happened to ibiblio/maven? Maven is unable to download
 jaxen-1.0-FCS-full.jar. Yet when I browse to the ibiblio it seems
 to be there and other jars download ok.

 I gather there is a restructuring of ibiblio going on for maven 2.
 
 Is this the issue? Is there a description of the changes anywhere?

 Thanks,
 C. Helck


 Thank you for being part of it.

 The information contained in this e-mail is confidential. This
 e-mail is intended only for the stated addressee.  If you are not
 an addressee, you must not disclose, copy, circulate or in any
 other way use or rely on the information contained in this e-mail.
 
 if you have received this e-mail in error, please inform us
 immediately and delete
   
 it and all copies from your system.

 EBS Dealing Resources International Limited. Registered address:
 10 Paternoster Square, London EC4M 7DY, United Kingdom. Registered
 
 number
   
 2669861.

 EBS Dealing Resources, Inc, registered in Delaware. Address: 535
 Madison Avenue, 24th Floor, New York, NY 10022, USA, and One upper
 
 Pond road, Building F - Floor 3, Parsippany, NJ 07054, USA.

 EBS Dealing Resources Japan Limited, a Japanese Corporation.
 Address: Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa,
 Chuo-Ku,  Tokyo 104-0033, Japan.



   

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

 -
 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-proxy] Problems with http proxies?

2006-02-06 Thread Treloar, Barrie (SAPOL)
 -Original Message-
 From: Grothaus, Christoph [mailto:[EMAIL PROTECTED]
 Sent: Monday, 6 February 2006 7:25 PM
 To: users@maven.apache.org
 Subject: [maven-proxy] Problems with http proxies?
 
 Hi maven-users!
 
 I know this is a maven-proxy-related question, but I hope you can help me
 nevertheless, as the archives of maven-proxy (http://archive.maven-
 proxy.codehaus.org/user/) seem to be empty.
 
 I am trying to get up running maven-proxy 0.2
 (http://dist.codehaus.org/maven-proxy/distributions/maven-proxy-
 standalone-0.2.zip). Therefore I used the demo configuration given at
 http://cvs.maven-proxy.codehaus.org/maven-
 proxy/core/src/test/resources/org/apache/maven/proxy/config/PropertyLoader
 Test1.properties?rev=1.1view=markup, but stripped down to just the
 ibiblio and codehaus repositories. The properties file with these settings
 is attached to this e-mail.
 
 Now I am encountering the following behaviour: when having direct
 connection to the internet, everything works fine. When sitting behind the
 corporate http proxy, maven-proxy get's no connection to ibiblio.
 
 Do you know what I can do to get maven-proxy working? Any hint is
 appreciated.

I've answered this enough on this list now, it should be found in the Nabble
archives.

Do the following:
1) Specify proxy.list to include all the proxies you use, most likely you
use just one proxy.

proxy.list=one

2) Define the proxy details. Use one of the three examples in the properties
file. I am assuming you have an unauthenticated proxy in this example.

proxy.one.host=
proxy.one.port=

3) Configure the repositories that are being proxied by maven-proxy to use
the internet proxy just configured.

repo.www-ibiblio-org.proxy=one
repo.dist-codehaus-org.proxy=one

If you need more details, see
http://docs.codehaus.org/display/MAVENUSER/Using+Maven+in+a+corporate+enviro
nment 

Barrie

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



Ear projects

2006-02-06 Thread Brad O'Hearne
I'm trying to convert an existing project to a maven ear project and I'm 
having some difficulty. I have several questions:


1) Is there any solid documentation surrounding EAR projects? There 
doesn't seem to be much of anything in any depth discussing EARs or 
structuring ear projects.


2) How do I create an EAR project? The command line in the brief 
documentation returns errors.


3) I have an existing Java project with Java source and I tried to build 
it as an EAR project. It doesn't seem to compile java source code. Is 
there some rule that states an EAR can't have java source code?


Thanks for your help

Brad

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



Re: [m2] Possible bug?

2006-02-06 Thread Brett Porter
Go to http://jira.codehaus.org/browse/MRESOURCES and Create New
Issue from the top bar. You need to sign up for an account first.

- Brett

On 2/7/06, Rubén Barroso [EMAIL PROTECTED] wrote:
 Hi Brett!

 How should I such a thing? (report the possible bug, I mean)

 Thanks


 2006/2/4, Brett Porter [EMAIL PROTECTED]:
 
  sounds like a bug. Please file it under the MRESOURCES section in JIRA.
 
  - Brett
 
  On 2/3/06, Rubén Barroso [EMAIL PROTECTED] wrote:
   I forgot to mention that @ char is in a comment.
  
   2006/2/2, Rubén Barroso [EMAIL PROTECTED]:
   
Hi all!
   
I've got a resource (a Spring XML contexty file) that needs to be
  filtered
before being deployed. I use profiles to filter plenty of properties
  present
on it. I've an at character (@) in the middle of the file, and I've
  found
out that properties after that comment aren't filtered (properties
  before
that comment are). Any ideas?
   
rb
   
  
  
 
  -
  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: downloading plug-ins from mojo (org.codehaus.mojo)?

2006-02-06 Thread Brett Porter
I don't know... perhaps permissions on the file at the time of
deployment? Not sure why that wouldn't have caused a failure though.

- Brett

On 2/7/06, Brian E. Fox [EMAIL PROTECTED] wrote:
 Brett,
 Why aren't any of the other released plugins in this metadata? For example, 
 dependency?

 -Original Message-
 From: Brett Porter [mailto:[EMAIL PROTECTED]
 Sent: Monday, February 06, 2006 2:39 AM
 To: Maven Users List
 Subject: Re: downloading plug-ins from mojo (org.codehaus.mojo)?

 The problem is that the entry is not in here:
 http://www.ibiblio.org/maven2/org/codehaus/mojo/maven-metadata.xml

 Once the plugin is released, it will be remedied.

 - Brett

 On 2/6/06, Hervé BOUTEMY [EMAIL PROTECTED] wrote:
  oh, I see : I did not know it was possible.
 
  How is mvn jxr:jxr converted to
  org.apache.maven.plugins:maven-jxr-plugin,
  when it should be org.codehaus.mojo:jxr-maven-plugin ? The fact that
  the groupId is different seems intriguing to me : the conversion rule
  cannot work only on artifactId, but both on groupId and artifactId.
 
  Now that the jxr plugin is in local cache, perhaps you don't need the
  pom entry any more.
  I made the following test : having the jxr plugin in my local cache,
  mvn jxr:jxr works perfectly without the jxr pom entry. But after
  deleting my cache (rm -rf ~/.m2/repository/org/codehaus/mojo/), it
  doesn't work any more : I get the same error stated by Chris at the 
  beginning.
 
  Then this problem does happen only to new users, who have an empty
  local cache.
 
  Hervé
 
  Le Lundi 06 Février 2006 04:07, Brian E. Fox a écrit :
   Yes, but if you run it from the command line, you don't need to put
   it in the pom. If it is in the pom incorrectly, then that will cause
   problems. I tested it on a random project with nothing in my pom for
   the plugin and it found it ok.
  
   -Original Message-
   From: Hervé BOUTEMY [mailto:[EMAIL PROTECTED]
   Sent: Sunday, February 05, 2006 6:09 PM
   To: Maven Users List
   Subject: Re: downloading plug-ins from mojo (org.codehaus.mojo)?
  
   it's jxr-maven-plugin, not maven-jxr-plugin : I did the same mistake
   some time ago... The convention is not the same between
   org.apache.maven.plugins
   (maven-xxx-plugin) and org.codehaus.mojo (xxx-maven-plugin).
  
   Jira http://jira.codehaus.org/browse/MPLUGIN-11 is an attempt to
   help newbies to copy/paste a pom excerpt to avoid such mistakes :
   please vote for it.
  
   Hervé
  
   Le Dimanche 05 Février 2006 22:34, Chris Markle a écrit :
Brian et al,
   
 Hrm, works ok for me. What version of maven are you using?
   
Maven 2:
   
C:\blah mvn --version
Maven version: 2.0.2
   
  Try mvn -U jxr:jxr and see what happens.
   
C:\blah mvn --version
Maven version: 2.0.2
   
C:\blah mvn -U jxr:jxr
   
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'jxr'.
[INFO] org.apache.maven.plugins: checking for updates from central
[INFO] org.codehaus.mojo: checking for updates from central [INFO]
artifact org.apache.maven.plugins:maven-jxr-plugin: checking for
updates from central ...
[ERROR] BUILD ERROR
...
[INFO] The plugin 'org.apache.maven.plugins:maven-jxr-plugin' does
not exist or no valid version could be found
   
No joy :(
   
Chris
   
--
--- 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]
 
 

 -
 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: [ANN] Maven Checkstyle Plugin 3.0 for Maven 1.x released

2006-02-06 Thread Dion Gillard
Go Luke!

Keep up the hard work.

On 2/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 We are pleased to announce the Maven Checkstyle Plugin 3.0 release!

 http://maven.apache.org/maven-1.x/reference/plugins/checkstyle/


 ===

 Changes in this version include:

   New Features:

 o Added new summary report as front page.
 o Added properties maven.checkstyle.output.xml and
   maven.checkstyle.output.txt
 o Ability to check test sources using property maven.checkstyle.check.tests
   Fixes MPCHECKSTYLE-30.
 o Generate reports filtered by severity

   Fixed bugs:

 o Do not assert ASF copyright in checkstyle.rss. Fixes MPCHECKSTYLE-39.
 o Fixed MemberName rule in Turbine checkstyle rules Fixes MPCHECKSTYLE-29.

   Changes:

 o Upgraded to checkstyle 4.1.
 o Moved reports under the checkstyle folder and renamed.
 o Added maven.checkstyle.dir and move output files there.
 o The checkstyle plugin use the maven.xdoc.locale.default to generate the
   report. Fixes MPCHECKSTYLE-39.
 o Support for Java5

 ===


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

 maven plugin:download
   
 -Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/
   -DgroupId=maven
   -DartifactId=maven-checkstyle-plugin
   -Dversion=3.0

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


 Have fun!
 -The Maven Checkstyle Plugin development team

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




--
http://www.multitask.com.au/people/dion/
If I close my eyes it doesn't seem so dark. - SpongeBob SquarePants

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



Re: multiproject/module site ETA

2006-02-06 Thread Brett Porter
Yes, you just need to install the skins first with -DupdateReleaseInfo=true set.

- Brett

On 2/7/06, Geoffrey De Smet [EMAIL PROTECTED] wrote:

 Brett Porter wrote:
  There is a roadmap in JIRA for issues to be completed. Late February
  is a possibility.

 Nice :)

 The new multiproject support is already included in the latest snapshot?
 I might test the snapshot this weekend.

 With kind regards,
 Geoffrey De Smet

 
  - Brett
 
  On 2/6/06, Geoffrey De Smet [EMAIL PROTECTED] wrote:
  Maven 2.0.2 is out a while, but I haven't found the new multiproject
  site functionality yet. I suppose it comes with the next release of the
  site plugin. Is there any rough estimated time of arrival on that?
 
  Thanks.
 
  --
  With kind regards,
  Geoffrey De Smet
 
 
  -
  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: [ANN] Maven Checkstyle Plugin 3.0 for Maven 1.x released

2006-02-06 Thread Arnaud HERITIER
Thanks for yours encouragements
Now, we know that we still have at least one person interested by maven 1.1 ;-)

Cheers,

Arnaud

On 2/7/06, Dion Gillard [EMAIL PROTECTED] wrote:
 Go Luke!

 Keep up the hard work.

 On 2/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  We are pleased to announce the Maven Checkstyle Plugin 3.0 release!
 
  http://maven.apache.org/maven-1.x/reference/plugins/checkstyle/
 
 
  ===
 
  Changes in this version include:
 
New Features:
 
  o Added new summary report as front page.
  o Added properties maven.checkstyle.output.xml and
maven.checkstyle.output.txt
  o Ability to check test sources using property maven.checkstyle.check.tests
Fixes MPCHECKSTYLE-30.
  o Generate reports filtered by severity
 
Fixed bugs:
 
  o Do not assert ASF copyright in checkstyle.rss. Fixes MPCHECKSTYLE-39.
  o Fixed MemberName rule in Turbine checkstyle rules Fixes MPCHECKSTYLE-29.
 
Changes:
 
  o Upgraded to checkstyle 4.1.
  o Moved reports under the checkstyle folder and renamed.
  o Added maven.checkstyle.dir and move output files there.
  o The checkstyle plugin use the maven.xdoc.locale.default to generate the
report. Fixes MPCHECKSTYLE-39.
  o Support for Java5
 
  ===
 
 
  To automatically install the plugin, type the following on a single line:
 
  maven plugin:download

  -Dmaven.repo.remote=http://www.ibiblio.org/maven,http://cvs.apache.org/repository/
-DgroupId=maven
-DartifactId=maven-checkstyle-plugin
-Dversion=3.0
 
  For a manual installation, you can download the plugin here:
  http://www.apache.org/dyn/closer.cgi/java-repository/maven/plugins/maven-checkstyle-plugin-3.0.jar
 
 
  Have fun!
  -The Maven Checkstyle Plugin development team
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 


 --
 http://www.multitask.com.au/people/dion/
 If I close my eyes it doesn't seem so dark. - SpongeBob SquarePants

 -
 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: Any command for listing all the goals in maven 2?

2006-02-06 Thread Allan Ramirez

Hi

There is none. :) But you may use the help plugin to list all the goals 
with in a certain plugin.
Refer here 
http://docs.codehaus.org/display/MAVENUSER/FAQs#FAQs-Howtolistallgoalsavailableforacertainplugin%3F


Note: just replace the projecthelp to help

-allan


[EMAIL PROTECTED] wrote:


Hi All - Is there any command that can list all the goals in maven2? Thanks!

 



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

Re: Does maven 2 really support dependencies of type war?

2006-02-06 Thread Allan Ramirez

Hi,

Im not sure, but It seems that you did not include the version of the 
war when you declared it as your dependency


Jason Chaffee wrote:


If I try to add a dependency of type war to my pom, I get the following

Error (note: I can remove typewar/type and it doesn’t fail):



[ERROR] FATAL ERROR

[INFO]



-

---

[INFO] Error building POM (may not be this project's POM).





Project ID: webaoo:webapp

POM Location: C:\workspace\webapp\pom.xml

Validation Messages:



   [0]  'dependencies.dependency.version' is missing for

common-assets:common-assets





Reason: Failed to validate POM





[INFO]



-

---

[INFO] Trace

org.apache.maven.reactor.MavenExecutionException: Failed to validate POM

   at

org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)

   at

org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)

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

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

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

   at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)

   at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)

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

   at

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

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

   at

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



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

Caused by: org.apache.maven.project.InvalidProjectModelException: Failed

to vali

date POM

   at

org.apache.maven.project.DefaultMavenProjectBuilder.processProjectLog

ic(DefaultMavenProjectBuilder.java:781)

   at

org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave

nProjectBuilder.java:631)

   at

org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi

le(DefaultMavenProjectBuilder.java:303)

   at

org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave

nProjectBuilder.java:274)

   at

org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)

   at

org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:447)

   at

org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)

   ... 11 more

**Jason Chaffee **

**Software Architect/Server Team Manager **

TVWorks

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

Tel : 415.380.6316

Cell: 415.637.8061



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

Generating a jboss wsr file

2006-02-06 Thread Brad O'Hearne

Is there a way to generate a jboss wsr file using maven?

Brad

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



Re: How to handle Property Files?

2006-02-06 Thread Brad O'Hearne
I have a similar issue, but in my case its a JBoss datasource xml file. 
This needs to be deployed outside of the archive. It seems a little 
weird to have an entire project devoted to a single datasource file so 
as not to couple the file with a jar. Does anyone have the definitive 
answer to this?


Brad


Roland Kofler wrote:


Thank you!
I expected at least that maven copies /src/main/config or ...resource 
folder to the target/test/
or binds it to the classpath for testing. But no. Do I have to specify 
/src/main/config classpath in the pom?


thanks again
roland

[EMAIL PROTECTED] schrieb:

I dont know if this is the best approach, but here's what I did (POM 
follows):


Create filters to filter into my configuration files
Put the start scripts and other resources external to the jar into 
the resource folder

Use the maven assembly plugin to create my tar.gz containing both.

Note, the actual JAR is built and installed in a different 
project.In this case, I simply make reference to the jar as a 
dependency to get this pom to pull it and all its dependencies into 
the tar.gz.


To get the whole thing to work run:

mvn resources:resources assembly:assembly -Denv=dev|sit|uat|prod

Thanks,
Brian Yoffe

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
groupIdcom.jpmorgan.pat.fi/groupId
artifactIdfixed-income/artifactId
version1.0-SNAPSHOT/version
  /parent
  modelVersion4.0.0/modelVersion
  artifactIdconfiguration/artifactId
  packagingpom/packaging
  namePat Fixed Income Packaging/name
  urlhttp://maven.apache.org/url
  dependencies
dependency
  groupId${pom.groupId}/groupId
  artifactIdfi-strategies/artifactId
  version${pom.version}/version
  scoperuntime/scope
/dependency
  /dependencies
  build
filters
  filtersrc/main/filters/${env}/filter_default.properties/filter
/filters
resources
  resource
directorysrc/main/resources/common/directory
filteringtrue/filtering
  /resource
  resource
directorysrc/main/resources/${env}/directory
filteringtrue/filtering
  /resource
/resources
plugins
   plugin
  groupIdorg.apache.maven.plugins/groupId
  artifactIdmaven-assembly-plugin/artifactId
  configuration
finalName${project.build.finalName}-${env}/finalName
descriptors
   descriptorsrc/main/assembly/conf.xml/descriptor
   descriptorsrc/main/assembly/bin.xml/descriptor
/descriptors
  /configuration
/plugin
/plugins
  /build
/project





Roland Kofler [EMAIL PROTECTED]
02/06/2006 09:05 AM
Please respond to Maven Users List

 
To: Maven Users List users@maven.apache.org

cc: Subject:How to handle Property Files?


Hello,
I would like to have certain property files outside of my deployment 
JAR for quick configuration. I put them into src/main/config.

My questions are:

1. How to tell  to test goal to classpath these files
2. How can I deploy them along with the generated JAR? With UberJar 
or an install-Zip that contains a folder structure like /bin /lib 
/conf etc.?


Thank you very much!!

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




This communication is for informational purposes only. It is not 
intended

as an offer or solicitation for the purchase or sale of any financial
instrument or as an official confirmation of any transaction. All 
market prices,
data and other information are not warranted as to completeness or 
accuracy and
are subject to change without notice. Any comments or statements made 
herein do not necessarily reflect those of JPMorgan Chase  Co., its 
subsidiaries and affiliates



  




-
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: [m102] overriding goal

2006-02-06 Thread Laird Nelson
Leaping in: if you can override a plugin goal, can you call super?  That
is, I'd like my goal override to prevent execution of the real goal in
some circumstances.  What's the best way to go about this?

Thanks,
Laird

On 1/13/06, Jörg Schaible [EMAIL PROTECTED] wrote:

 Kristof Vanbecelaere wrote on Friday, January 13, 2006 2:27 PM:

  Hi,
 
  is it correct that in 1.0.2 one can only override project goals but
  not plugin goals?

 No, you can also override plugin goals.

 - Jörg

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




trouble getting some M1 navigation.xml to work in M2 site.xml

2006-02-06 Thread Chris Markle
I'm having trouble getting Maven 1 features on the site to work in Maven 
2 (I am using site.xml in M2 as opposed to the navigation.xml from M1). 
I know it's finding my site.xml because other changes to it are showing 
up...


1) Cannot get external link and open in a new window icons to work...

On page 
http://maven.apache.org/maven-1.x/reference/plugins/xdoc/reference/navfile.html 
in the Menu section it notes:


To open a link in a new window, use the target attribute. For example, 
for a menu item:


item name=Name href=URL target=_blank/

XDoc automatically adds the Opens in a new window icon and New 
Window tooltip to links with the target attribute.


XDoc also automatically adds the External Link icon and tooltip to 
links referring to external sites (actually, any absolute url).


This is not working for me in Maven 2 (i.e., the icons are not getting 
added).


Is this a known issue or maybe someone has hints for me?

2) Cannot get footer to work...

I add the same footer definition I had in my navigation.xml for M1 into 
my site.xml:


footer
  a href=http://sourceforge.net/projects/xxx;
img src=http://sourceforge.net/sflogo.php?group_id=118374; 
border=0 alt=sf logo/

  /a
/footer

Inside the body... and the create site does not show this footer. Again, 
is this a known issue or maybe someone has hints for me?


Chris

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



Re: [ANN] Maven Checkstyle Plugin 3.0 for Maven 1.x released

2006-02-06 Thread Eric Rose
On Tuesday 07 February 2006 06:18, [EMAIL PROTECTED] wrote:
 We are pleased to announce the Maven Checkstyle Plugin 3.0 release!

 http://maven.apache.org/maven-1.x/reference/plugins/checkstyle/

Hi,

I'm using Maven 1.0.2 and had been running with no errors using the Checkstyle 
Plugin 2.5, but am getting the following after upgrading to version 3.0:

checkstyle:init:

checkstyle:report:
checkstyle:run:
[echo] Using file:/usr/local/forge/ForgeLibs/BuildTools/etc/checkstyle.xml 
for checkstyle ...
[echo] LocaleCountry : en
[checkstyle] Running Checkstyle 4.1 on 1396 files

checkstyle:report-internal:
[style] 
Processing 
/home/ericr/workspace/mapIntelligence/tmp/checkstyle/checkstyle-raw-report.xml 
to 
/home/ericr/workspace/mapIntelligence/tmp/checkstyle/checkstyle-summary-report.xml
[style] Loading 
stylesheet 
/usr/local/mavenPluginRepository/cache/maven-checkstyle-plugin-3.0/plugin-resources/checkstyle-summary.xsl

BUILD FAILED
File.. 
/usr/local/mavenPluginRepository/cache/maven-checkstyle-plugin-3.0/plugin.jelly
Element... style
Line.. 238
Column 59
Provider for javax.xml.transform.TransformerFactory cannot be found
Total time: 36 seconds
Finished at: Tue Feb 07 15:58:56 EST 2006



I presume that I'll have to add 
-Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl
 
somewhere, but I'm not sure where best to put it or of there's a better 
solution. Any clues?

Eric

-- 
Eric Rose  | Sed quis custodiet ipsos custodes?
[EMAIL PROTECTED]   | Juvenal (Satires, VI.347-8)

***
This message contains privileged and confidential information intended
only for the use of the addressee named above.  If you are not the
intended recipient of this message you must not disseminate, copy or
take any action in reliance on it.  If you have received this message
in error please notify the sender immediately.  Any views expressed in
this message are those of the individual sender, except where the
sender specifically states them to be the views of another (including
a Body Corporate).

If you wish to opt out from future messages, send an email to
[EMAIL PROTECTED] with the subject UNSUBSCRIBE




pgppwFmiUj5me.pgp
Description: PGP signature


Re: [maven-proxy] Problems with http proxies?

2006-02-06 Thread Grothaus, Christoph
 3) Configure the repositories that are being proxied by maven-proxy to use
 the internet proxy just configured.
 
 repo.www-ibiblio-org.proxy=one
 repo.dist-codehaus-org.proxy=one

Damn! I must have overlooked those tiny last two lines for hundreds of times. 
Maybe there should be a hint in the section where you define the proxies that 
you have to enable them down in the repository section?

 I've answered this enough on this list now, it should be found in the Nabble
 archives.

I'm very sorry for that :-( 
And many many thanks, Barrie!

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



RE: [m102] overriding goal

2006-02-06 Thread Jörg Schaible
Hi Laird,

Laird Nelson wrote on Tuesday, February 07, 2006 5:23 AM:

 Leaping in: if you can override a plugin goal, can you call super? 
 That is, I'd like my goal override to prevent execution of the real
 goal in some circumstances.  What's the best way to go about this?

No. In that case you have to add your functionality to preGoal/postGoal.

- Jörg

 
 Thanks,
 Laird
 
 On 1/13/06, Jörg Schaible [EMAIL PROTECTED] wrote:
 
 Kristof Vanbecelaere wrote on Friday, January 13, 2006 2:27 PM:
 
 Hi,
 
 is it correct that in 1.0.2 one can only override project goals but
 not plugin goals?
 
 No, you can also override plugin goals.
 
 - Jörg
 
 
 -
 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]