Re: Multiproject Rector

2006-10-02 Thread Dion Gillard

It's based on dependencies specified by the projects.

On 9/30/06, Neeraj Bisht [EMAIL PROTECTED] wrote:

hi all
   i am unable to get answer of my Question regarding maven 1.0.2
   i want to know that while building the multiple project
through reactor in maven 1.0.2 ,
is build on the bases of dependency  based on each othere or its build in
the sorted order

Regards
Neeraj





--
http://www.multitask.com.au/people/dion/
Rule of Acquisition #91: Hear all, trust nothing.

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



VS: Re: test-jar - unknown artefact type

2006-10-02 Thread Ken Helmes
Thanks.  I can't see any good reason for this though.  It seems that this
would be a pretty common use case - including test jars inside an ear.

Ken 

-Alkuperäinen viesti-
Lähettäjä: Tom Huybrechts [mailto:[EMAIL PROTECTED] 
Lähetetty: 29. syyskuuta 2006 16:16
Vastaanottaja: Maven Users List
Aihe: Re: Re: test-jar - unknown artefact type

The maven-ear-plugin only handles a limited number of artifact types, and
test-jar is not one of them.
See
https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-ear-plugin/src/ma
in/java/org/apache/maven/plugin/ear/EarModuleFactory.java

Tom

On 9/29/06, Ken Helmes [EMAIL PROTECTED] wrote:

 Tom,

 (This comes as a new post since I was unsubscribed.  I am subscribed
 again.)

 I am working almost exactly from the directions given here:

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

 module1 - t2_config (ear level) - multilevel build creates a
 t2_config_logic-1.28-SNAPSHOT-tests.jar including its unit tests.
 The jar level pom includes this and works.

 artifactIdmaven-jar-plugin/artifactId

executions

  execution

goals

  goaltest-jar/goal

/goals

  /execution

/executions

 module2 - t2_test (ear level) - multilevel build wants to include
 t2_config
 test-jar in its ear.
 The ear packaging pom tries to include this:

 dependency

   groupIdt2.1_0_0.t2_config/groupId

   artifactIdt2_config_logic/artifactId

   version1.28-SNAPSHOT/version

   typetest-jar/type

 /dependency

 Putting scopetest/test results in a successful ear build, but the
 t2_config-logic.-tests.jar is not included in the module2 ear.

 Regards,
 Ken


 Can you give us some more context for the error ?
 Try giving your test-jar dependency a scopetest/scope

 Tom

 On 9/29/06, Ken Helmes [EMAIL PROTECTED] wrote:
 
  Hello,
 
 
 
  Has anyone run into this error when trying to use the test-jar type:
 
 
 
  Embedded error: Unknown artefact type[test-jar]
 
 
 
  -  Maven 2.0.4
 
  -  The actual test-jar is created correctly and can be found
 from
  the repository.  It is when being used that the error comes:
 
  dependency
 
groupIdconfig/groupId
 
artifactIdconfig_logic/artifactId
 
version1.28-SNAPSHOT/version
 
typetest-jar/type
 
  /dependency
 
 
 
  Ken Helmes
 
 









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



maven war plugin filter

2006-10-02 Thread foamdino

Hi,

I've been struggling with this for the whole morning and I'm at an impasse.

I'm trying to use jspc + war plugin + filters (on the jspweb.xml or web.xml)

The basic problem is that I need to filter in a context-param into my
web.xml which lands in the complete war file.

Right now I can get maven to filter in the property to the jspweb.xml, but
the web.xml file still has the unexpanded property, not the value.

I've created a simple test case so that I'm not dealing with lots of other
things (hibernate etc) and I just cannot see what I should be doing.

Here's my pom.xml (shortened test version):

http://www.nabble.com/file/239/pom.xml pom.xml 

Here's the fabulous jspweb.xml output:

http://www.nabble.com/file/240/jspweb.xml jspweb.xml 

And here's the not so fabulous web.xml output:

http://www.nabble.com/file/241/web.xml web.xml 

As you can see the property appears in the jspweb.xml but not in the
web.xml.

Kev
-- 
View this message in context: 
http://www.nabble.com/maven-war-plugin-filter-tf2368405.html#a6597896
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: Maven2 and Network Shares

2006-10-02 Thread Jörg Schaible
Doug Douglass wrote on Friday, September 29, 2006 4:00 PM:

 maven 2.x uses/expects M2_HOME env. variable, not MAVEN_HOME (as in
 maven 
 1.x). This is confirmed by having a look at the comments in
 the mvn.bat file
 in the bin directory. Try defining M2_HOME and see if that makes any
 difference. 
 
 As for UNC paths, like most pathing issues between windows
 and java, I'd try
 using / instead of \ (i.e., //server/share/). As a long
 shot you might
 try an URL of the form file://server/share/
 
 If that all fails then Wayne is probably correct.

This is not a proper URL for the Windows share!

file:/server/share

which is

file://localhost///server/share

Formally URL is:
protocolserverlocal path

file:// = protocol
localhost/ = server
//server/share = local path (the Windows share)

- Jörg

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



[jety6 plugin] Can't start plugin on Windows, get build error.

2006-10-02 Thread Mikael Andersson

Hi,
I'm having problems in Windows with something which works on Linux.

When running, mvn clean jetty6:run on Windows I get this stack trace:

[ERROR] BUILD ERROR
[INFO]

[INFO] Failure

Embedded error: Multiple exceptions
[INFO]

[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failure
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa

ultLifecycleExecutor.java:559)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandalone
Goal(DefaultLifecycleExecutor.java:488)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau

ltLifecycleExecutor.java:458)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:306)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:273)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi

fecycleExecutor.java:140)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.

java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces

sorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:324)
   at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

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


   at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failure
   at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMo

jo.java:422)
   at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.

java:356)
   at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRu

nMojo.java:172)
   at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:167

)
   at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi

nManager.java:412)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa

ultLifecycleExecutor.java:534)
   ... 16 more
Caused by: org.mortbay.util.MultiException[java.lang.IllegalStateException:
Serv
let class Dasty is not a javax.servlet.Servlet,
java.lang.IllegalStateException:
Servlet class Index is not a javax.servlet.Servlet,
java.lang.IllegalStateExcep
tion: Servlet class Index2 is not a javax.servlet.Servlet,
java.lang.IllegalStat
eException: Servlet class Index3 is not a javax.servlet.Servlet,
java.lang.Illeg
alStateException: Servlet class Index4 is not a javax.servlet.Servlet,
java.lang
.IllegalStateException: Servlet class Index6 is not a javax.servlet.Servlet,
jav
a.lang.IllegalStateException: Servlet class
org.apache.jasper.servlet.JspServlet
is not a javax.servlet.Servlet]
   at org.mortbay.jetty.Server.doStart(Server.java:179)
   at org.mortbay.component.AbstractLifeCycle.start(
AbstractLifeCycle.java:
38)
   at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.

java:115)
   at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMo

jo.java:409)
   ... 21 more

At the end it complains that the Servlets aren't
javax.servlet.Servletclasses, but they all extends HttpServlet.

This is the plugin setup from the pom:

   build
   finalNamehtmlhelpers/finalName
   plugins
   plugin
   groupIdorg.mortbay.jetty/groupId
   artifactIdmaven-jetty6-plugin/artifactId
   !--version6.0.0beta17/version--
   configuration
   scanIntervalSeconds10/scanIntervalSeconds
   contextPath/htmlhelpers/contextPath
   systemProperties
   systemProperty
   nameorg.apache.commons.logging.Log/name
   valueorg.apache.commons.logging.impl.SimpleLog
/value
   /systemProperty
   /systemProperties
   /configuration
   /plugin
   /plugins
   /build

Cheers,
Mike


Re: mojo.codehouse.org problems?

2006-10-02 Thread jerome lacoste

On 9/30/06, Stefano Fornari [EMAIL PROTECTED] wrote:

Hi all,
is anyone experiencing the following problem sending emails from google:

From: Mail Delivery Subsystem [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Sep 30, 2006 3:19 AM
Subject: Delivery Status Notification (Delay)
Reply | Reply to all | Forward | Print | Add sender to Contacts list |
Delete this message | Report phishing | Show original | Message text
garbled?
This is an automatically generated Delivery Status Notification

THIS IS A WARNING MESSAGE ONLY.

YOU DO NOT NEED TO RESEND YOUR MESSAGE.

Delivery to the following recipient has been delayed:

[EMAIL PROTECTED]


codehouse - codehaus

J

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



[WARNING] Unable to get resource from repository central

2006-10-02 Thread Ken Schwartz
Hello - I'm getting the following error when I compile. This artifact only
exits in my local repository. Can I tell maven not to look elsewhere for it?
I do NOT have the source code for this artifact. Is that what maven is
trying to find? Can I somehow tell maven there is no source code?

I've also noticed that I don't have a .pom file or any .sha1 files in my
repository for this artifact. I used mvn install:install-file to install it
in my repository. Should I have used a different command?


Downloading:
http://repo1.maven.org/maven2/cognosSDK/CAM_AAA_CustomIF/8.1.108.33-0/CAM_AA
A_CustomIF-8.1.108.33-0.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)
[INFO] [compiler:compile]

Thanks!
-ken


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



Re: How to use latest snapshot of assembly plugin?

2006-10-02 Thread Adam Lally
Yes, I can get to that URL in my browser.  When I get a chance I will try 
this from home instead of the office, maybe a different firewall 
configuration will make a difference.

This isn't critical for me, since at this point I'm not really sure I want 
my build to have a dependency on a snapshot plugin anyway.  I was just 
surprised that it didn't work.

-Adam





John Casey [EMAIL PROTECTED] 
09/29/2006 06:39 PM
Please respond to
Maven Users List users@maven.apache.org


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

Subject
Re: How to use latest snapshot of assembly plugin?






stupid question, maybe, but can you browse to this URL:

http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-assembly-plugin/2.2-SNAPSHOT/maven-assembly-plugin-2.2-20060920.230937-23.pom


?

I suspect there is some problem with your firewall/proxy that might keep 
you
from getting to people.apache.org...of course, your browser might be
configured correctly...

-john

On 9/29/06, Adam Lally [EMAIL PROTECTED] wrote:

 Yes, I'm behind a firewall.  But that doesn't in general seem to prevent
 me from downloading components from Maven repositories.

 -Adam




 Wayne Fay [EMAIL PROTECTED]
 09/29/2006 04:46 PM
 Please respond to
 Maven Users List users@maven.apache.org


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

 Subject
 Re: How to use latest snapshot of assembly plugin?






 Looks like you're behind a firewall or proxy of some kind?

 Wayne

 On 9/29/06, Adam Lally [EMAIL PROTECTED] wrote:
  Running with -U did not help.  Here's the output from mvn -X 
compile.
 I
  see a bunch of Skipping disabled repository... messages.  Why is 
that?
 
 
 
  + Error stacktraces are turned on.
  Maven version: 2.0.4
  [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
 and
  Settings\Administrator\.m2\plugin-registry.xml'
  [DEBUG] Building Maven global-level plugin registry from: 'c:\Program
  Files\maven\bin\..\conf\plugin-registry.xml'
  [INFO] Scanning for projects...
  [INFO]
 

 

  [INFO] Building Maven Quick Start Archetype
  [INFO]task-segment: [compile]
  [INFO]
 

 

  [DEBUG] Skipping disabled repository apache.snapshots
  [DEBUG] Skipping disabled repository apache.org
  [DEBUG] Skipping disabled repository codehaus.org
  [DEBUG] maven-resources-plugin: resolved to version 2.2 from 
repository
  central
  [DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugins::1
  for project: null:maven-resources-plugin:maven-plugin:2.2 from the
  repository.
  [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
  project: org.apache.maven.plugins:maven-plugins:pom:1 from the
 repository.
  [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
  org.apache.maven:maven-parent:pom:1 from the repository.
  [DEBUG] Skipping disabled repository apache.snapshots
  [DEBUG] Skipping disabled repository apache.org
  [DEBUG] Skipping disabled repository codehaus.org
  [DEBUG] maven-compiler-plugin: resolved to version 2.0.1 from 
repository
  central
  [DEBUG] Retrieving parent-POM: 
org.apache.maven.plugins:maven-plugins::1
  for project: null:maven-compiler-plugin:maven-plugin:2.0.1 from the
  repository.
  [DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::1 for
  project: org.apache.maven.plugins:maven-plugins:pom:1 from the
 repository.
  [DEBUG] Retrieving parent-POM: org.apache:apache::1 for project:
  org.apache.maven:maven-parent:pom:1 from the repository.
  [DEBUG] Skipping disabled repository central
  [DEBUG] Skipping disabled repository central
  [DEBUG] maven-assembly-plugin: using locally installed snapshot
  [DEBUG] Trying repository apache.snapshots
  Downloading:
 

 
http://people.apache.org/repo/m2-snapshot-repository/org/apache/maven/plugins/maven-assembly-plugin/2.2-SNAPSHOT/maven-assembly-plugin-2.2-SNAPSHOT.pom


  [WARNING] Unable to get resource from repository apache.snapshots
  (http://people.apache.org/repo/m2-snapshot-repository)
  [DEBUG] Trying repository apache.org
  Downloading:
 

 
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-assembly-plugin/2.2-SNAPSHOT/maven-assembly-plugin-2.2-SNAPSHOT.pom


  [WARNING] Unable to get resource from repository apache.org
  (http://people.apache.org/maven-snapshot-repository)
  [DEBUG] Trying repository codehaus.org
  Downloading:
 

 
http://snapshots.repository.codehaus.org//org/apache/maven/plugins/maven-assembly-plugin/2.2-SNAPSHOT/maven-assembly-plugin-2.2-SNAPSHOT.pom


  [WARNING] Unable to get resource from repository codehaus.org
  (http://snapshots.repository.codehaus.org/)
  [DEBUG] Skipping disabled repository central
  [DEBUG] Skipping disabled repository central
  [INFO]
  

  [ERROR] BUILD ERROR
  

RE: Creating a shared Maven 2 repository

2006-10-02 Thread Andreas Guther
Alexander,

I would suggest looking into Maven Archiva[1].  Maven Archiva comes with
a Maven repository proxy that we used to replace our Maven central
repository.  We configured then Maven Archiva to proxy the Maven central
repository at Ibiblio.

I am not aware of any tools that are explicitly provided to help
synching a local repository with an internal one.  Sure, rsync is a way
to do that.  But I am hesitant to establish an automated process that
updates an internal repository from a local one.

Regarding our own components, I like using the Maven release goal to
push them to the internal repository.

Andreas

[1] http://maven.apache.org/archiva/



-Original Message-
From: Morgovsky, Alexander (US - Glen Mills)
[mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 01, 2006 6:23 PM
To: users@maven.apache.org
Subject: Creating a shared Maven 2 repository

 Thanks Andreas.  I would like to extend my question since I now know
 what I need to do on the server side.  I have a local Maven 2
 repository which has the necessary artifacts for the application.
 What is the best way to export this local repository to the shared
 Maven repository?  Should I use a script like rsync?  The alternative
 would be to deploy each artifact individually, but this would take a
 long time.  I would like to know if there is some bulk method for
 doing an export of the local repository to a shared repository.
 Thanks. 


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


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

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



Re: JUnit Output Directory

2006-10-02 Thread Douglas Ferguson

I am trying to test a class that produces a file. I'd like the file to be
generated in the target directory.
Is there a way to pass the target directory to JUnit. 
The documenation on surefire says that system properties won't evaluate
non-string properties, speicifically siting this example 

...will literally pass $project.build.outputDirectory because the value of
that expression is a File, not a String.


http://maven.apache.org/plugins/maven-surefire-plugin/examples/system-properties.html


Denis Cabasson wrote:
 
 
 Ole Ersoy wrote:
 
 Hi,
 
 Does anyone know whether I can specify which directory
 a junit test will run in.
 
 
 What kind of output do your Junit tests have?
 
 IMHO, Junit shouldn't have any output, except for failure of the test.
 Junit is about automatised tests. Such test shouldn't have any output.
 Moreover, if your tests have any output, it should definitly goes in the
 target directory, not in the src...
 
 Denis.
 
 

-- 
View this message in context: 
http://www.nabble.com/JUnit-Output-Directory-tf1993004.html#a6602074
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: [M2] Surefire executing a single test suite.

2006-10-02 Thread dan tran

One suggestion,

Can you repoduce the problem in a small project? this way you
can open a JIRA and other ppl can take a crack at it.

Thanks

-D


On 9/30/06, Michael Rimov [EMAIL PROTECTED] wrote:




 -Original Message-
 From: dan tran [mailto:[EMAIL PROTECTED]
 Sent: Saturday, September 30, 2006 7:41 AM
 To: Maven Users List
 Subject: Re: [M2] Surefire executing a single test suite.

 Mike, I have a small good news for you, I have the exact test scenario
and
 have no problem with maven2.

Actually, that's excellent news.  I was starting to wonder :)

 So you will need to do further investigation in your java junit setup .
 Are you able to use an IDE to run your suite?

Yes, absolutely -- it runs inside an IDE fine and it runs within maven1 as
well fine.

I tried renaming the current plugins directory and forcing a clean
download
(once before I had weird problems that a clean repository fixed)... no
dice
there too.

Any chance I could see the relevant section of your POM?

Thanks for the reply!


-Mike




 -D


 On 9/30/06, Michael Rimov [EMAIL PROTECTED] wrote:
 
  Hi All,
 
  I didn't see a response to my first post -- I did some additional
  experimentation with it:
 
   -Original Message-
   From: Michael Rimov [mailto:[EMAIL PROTECTED]
   Sent: Friday, September 29, 2006 5:11 AM
   To: users@maven.apache.org
   Subject: [M2] Surefire executing a single test suite.
  
   I've been working on updating the build system for a project
   (http://emo.sf.net/) to maven2.
  
   Because of the extensive database setup, it all unit tests execute
  through
   a
   single test suite which has the format liket his:
  
  
   com.sri.emo.test.EmoTestSuite:
  
   public static junit.framework.Test suite() throws Exception {
  
   EmoTestSuite ts = new EmoTestSuite();
  
   ts.addTest(com.sri.emo.dbobj.TestSchema.suite());
  
   ts.addTestSuite(com.sri.emo.TestEmoSchema.class);
  
  
 ts.addTestSuite(com.sri.emo.test.TestDatabaseTestFixture.class);
  
  
  
 //Other test suites
  
 return ts;
  
   }
 
  Followup:  If I put a method:  testSomething() {} inside the
 EmoTestSuite
  class, then THAT test case gets run (within the same class) -- so it
  specifically appears to be a problem with the surefire plugin not
 calling
  suite() to build a test suite.
 
  Is there a setting that I'm just missing to get surefire to do
this?  Is
  it
  a bug?  Does anyone have a workaround to suggest?  Am I misapplying
  Surefire?
 
  Thanks in advance!
 
 -Mike
 
 
 
 
  -
  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]




Error getting POM

2006-10-02 Thread Jeff Mutonho

My projects were building  without issues and just out of the blue the
builds are failing with the message :

[INFO]

[ERROR] BUILD ERROR
[INFO]

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


Project ID: org.codehaus.cargo:cargo-ant

Reason: Error getting POM for 'org.codehaus.cargo:cargo-ant' from the
repository
: Error transferring file
 org.codehaus.cargo:cargo-ant:pom:0.8

from the specified remote repositories:
 central (http://repo1.maven.org/maven2)



I haven't touched anything this side.What's going on?


--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


Beginning with batch file

2006-10-02 Thread Evi
Hello!

I am trying to make a catch file for installing and running Maven (and ant
as well). For some reason I get an error 'maven' is not recognized as an
internal or external command, operable program or batch file when running
the batch file. Everything works fine when the same commands are copy-pasted
from the batch file to cmd. 

I attach both results to this E-mail: the results of running batch file is
in TulemusBatch.doc, the result of running the commands one by one in cmd
is in TulemusKasud.doc.
Any ideas what I am doing wrong?
Thanks in advance:-)
Evi

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

Re: Error getting POM

2006-10-02 Thread Jeff Mutonho

On 10/2/06, Jeff Mutonho [EMAIL PROTECTED] wrote:


My projects were building  without issues and just out of the blue the
builds are failing with the message :

[INFO]

[ERROR] BUILD ERROR
[INFO]

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


Project ID: org.codehaus.cargo:cargo-ant

Reason: Error getting POM for ' org.codehaus.cargo:cargo-ant' from the
repository
: Error transferring file
  org.codehaus.cargo:cargo-ant:pom:0.8

from the specified remote repositories:
  central ( http://repo1.maven.org/maven2)



I haven't touched anything this side.What's going on?


--




I just tried a build from a different sub-module and got a similar error ,
but this time for the hibernate pom
as shown below :


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


Project ID: net.sf.hibernate2:hibernate

Reason: Error getting POM for 'net.sf.hibernate2:hibernate' from the
repository:
Error transferring file
net.sf.hibernate2:hibernate:pom:2.0.0

from the specified remote repositories:
central (http://repo1.maven.org/maven2
http://repo1.maven.org/maven2 )



[INFO]


What's strange about the hibernate pom is that I installed the hibernate jar
manually , why is maven trying to get  it from repo1.maven.org/maeven2?
--


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


[stoping build]

2006-10-02 Thread Francois Le Fevre

Dear continuum users,

I am using continuum but it seems that when I have execute a goal on a 
project that contains an error, continuum clock never stop !!

I mean that for example the server connection crashes.
When I restart continum, the timer for the build I have throw is still 
in action???


How can I delete them ??

Is it in the working directory???

Thanks

Francois

Oct 2, 2006 3:44:09 PM  
	Started since : 1 h 45 min 11 sec 	Building 	Result 
http://taal:8090/continuum/servlet/continuum/target/ProjectBuild.vm?view=ProjectBuildbuildId=119id=46 




--
Francois Le Fevre
Bioinformatics Engineer
Computational Biology Group -  NeMo group
Genoscope
Tél. : (+33) 1 60 87 45 83
Web : http://www.genoscope.cns.fr/bioinfo



trying maven getting started, getting errors

2006-10-02 Thread Michael Stevens
Hi.

I'm trying to get started with maven, and following the tutorial at
http://maven.apache.org/guides/getting-started/index.html

This is my maven version:

 mvn --version
Maven version: 2.0.4

I get as far as 'mvn site' and things are working fine, but, although
mvn site claims to have built correctly, it says:

[INFO] Generate Continuous Integration report.
[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
got 0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got
0

which I assume is a problem?

Michael

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



Re: [stoping build]

2006-10-02 Thread Jesse McConnell

this is a known issue if your using 1.0.3, sometimes bouncing the
continuum server will reset that, or clicking on 'build all' will get
it to reset.

kenney added a whole host of features in this area for stopping builds
and automatically timing them out for the 1.1 release, which we'll be
working towards pretty soon for releasing.

jesse

On 10/2/06, Francois Le Fevre [EMAIL PROTECTED] wrote:

Dear continuum users,

I am using continuum but it seems that when I have execute a goal on a
project that contains an error, continuum clock never stop !!
I mean that for example the server connection crashes.
When I restart continum, the timer for the build I have throw is still
in action???

How can I delete them ??

Is it in the working directory???

Thanks

Francois

Oct 2, 2006 3:44:09 PM
Started since : 1 h 45 min 11 sec   BuildingResult
http://taal:8090/continuum/servlet/continuum/target/ProjectBuild.vm?view=ProjectBuildbuildId=119id=46



--
Francois Le Fevre
Bioinformatics Engineer
Computational Biology Group -  NeMo group
Genoscope
Tél. : (+33) 1 60 87 45 83
Web : http://www.genoscope.cns.fr/bioinfo





--
jesse mcconnell
[EMAIL PROTECTED]


Re: trying maven getting started, getting errors

2006-10-02 Thread Wayne Fay

You assume incorrectly. ;-)

This is fine. Ignore these errors.

Wayne

On 10/2/06, Michael Stevens [EMAIL PROTECTED] wrote:

Hi.

I'm trying to get started with maven, and following the tutorial at
http://maven.apache.org/guides/getting-started/index.html

This is my maven version:

 mvn --version
Maven version: 2.0.4

I get as far as 'mvn site' and things are working fine, but, although
mvn site claims to have built correctly, it says:

[INFO] Generate Continuous Integration report.
[ERROR] VM #displayTree: error : too few arguments to macro. Wanted 2
got 0
[ERROR] VM #menuItem: error : too few arguments to macro. Wanted 1 got
0

which I assume is a problem?

Michael

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




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



maven-dependency-plugin missed?

2006-10-02 Thread Roberto Tiella

Hi all,

I'm trying to use the maven-dependency-plugin but I'm not able to find 
it in any repos I know



To be more precise: I can find and use the plugin (that I suppose 
obsolete) identified by:


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

but not the (that I suppose newer):

groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-dependency-plugin/artifactId

which is documented on the maven2 site 
(http://maven.apache.org/plugins/maven-dependency-plugin/)
but it is missed in the directory 
http://repo1.maven.org/maven2/org/apache/maven/plugins/ where the other

plugins are.

Any suggestions?

Thanks in advance, best regards. roberto.


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



RE: Excluding depencencies inherited from parent

2006-10-02 Thread Tom Hurley
Thanks Neeraj,

I'm not sure I understand what you are telling me though. I was hoping there
might be some sort of excludesexclude ... /exclude/excludes that
could permanently be part of the project's pom file.

I am relative new to Maven so my understanding migh not be correct.

Tom.



-Original Message-
From: Neeraj Bisht [mailto:[EMAIL PROTECTED] 
Sent: Saturday, September 30, 2006 4:44 AM
To: Maven Users List
Subject: Re: Excluding depencencies inherited from parent

yes it is possible by giving the scope of dependeny as a runtime

On 9/30/06, Tom Hurley [EMAIL PROTECTED] wrote:

 Hi:

 Is it possible to exclude dependencies inherited from a parent pom in a
 child's pom.

 I have a multi level project where each project inherits dependencies from
 its parent. However in one of the children, one of its dependencies is
 causing some problems with one of the inherited dependencies. Is it
 possible
 to exclude this?

 Any help would be greatly appreciated.

 Thanks,

 Tom.


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



new error with surefire report in only 1 module

2006-10-02 Thread Mick Knutson

Not doing anything different for these 2 new JUNit tests. They are not even
completed yet. So what is this error as I am not sure where to start to find
out what might be causing this.


[INFO] Instrumentation was successful.
[INFO] [junitdoclet:junitdoclet {execution: default}]
Loading source files for package org.delta.security...
Constructing Javadoc information...
Generating TestSuites and TestCases.
Loading properties junitdoclet.properties from class path.
TestCase org.delta.security.RoleLookupTest did not change but
org.delta.security.RoleLookup did.
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 3 source files to
c:\opt\npi\common\jazn-adapter\target\test-classes
[INFO] [surefire:test]
[INFO] Setting reports dir:
c:\opt\npi\common\jazn-adapter\target/surefire-reports

---
T E S T S
---
Cobertura: Loaded information on 7 classes.
[surefire] Running org.delta.security.RoleLookupTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.079 sec
[surefire] Running org.delta.security.SecurityLoginModuleTest
[surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.016 sec

Results :
[surefire] Tests run: 9, Failures: 0, Errors: 0

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error configuring: org.apache.maven.plugins:maven-surefire-plugin.
Reason: ERROR: Cannot override read-only parameter: classpathElements in goa
l: surefire:test
[INFO]

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error configuring:
org.apache.maven.plugins:maven-surefire-plugin. Reason: ERROR: Cannot overr
ide read-only parameter: classpathElements in goal: surefire:test
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:563)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(
DefaultLifecycleExecutor.java:891)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle
(DefaultLifecycleExecutor.java:734)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:525)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:454)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
   at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
DefaultLifecycleExecutor.java:273)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java: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.plugin.PluginConfigurationException: Error
configuring: org.apache.maven.plugins:maven-surefire-plugin. Reason: ERROR:
Can
not override read-only parameter: classpathElements in goal: surefire:test
   at
org.apache.maven.plugin.DefaultPluginManager.validatePomConfiguration(
DefaultPluginManager.java:848)
   at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(
DefaultPluginManager.java:558)
   at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
DefaultPluginManager.java:390)
   at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:534)
   ... 20 more
[INFO]

[INFO] Total time: 1 minute 42 seconds
[INFO] Finished at: Mon Oct 02 10:23:40 PDT 2006
[INFO] Final Memory: 30M/55M
[INFO]

Cobertura: Saved information on 7 classes.

Re: Excluding depencencies inherited from parent

2006-10-02 Thread Wayne Fay

Neeraj is simply suggesting that you specify each of these problem
dependencies as follows in your child pom:

dependency
 artifactId/
 groupId/
 version/
 scoperuntime/scope
/dependency

Wayne

On 10/2/06, Tom Hurley [EMAIL PROTECTED] wrote:

Thanks Neeraj,

I'm not sure I understand what you are telling me though. I was hoping there
might be some sort of excludesexclude ... /exclude/excludes that
could permanently be part of the project's pom file.

I am relative new to Maven so my understanding migh not be correct.

Tom.



-Original Message-
From: Neeraj Bisht [mailto:[EMAIL PROTECTED]
Sent: Saturday, September 30, 2006 4:44 AM
To: Maven Users List
Subject: Re: Excluding depencencies inherited from parent

yes it is possible by giving the scope of dependeny as a runtime

On 9/30/06, Tom Hurley [EMAIL PROTECTED] wrote:

 Hi:

 Is it possible to exclude dependencies inherited from a parent pom in a
 child's pom.

 I have a multi level project where each project inherits dependencies from
 its parent. However in one of the children, one of its dependencies is
 causing some problems with one of the inherited dependencies. Is it
 possible
 to exclude this?

 Any help would be greatly appreciated.

 Thanks,

 Tom.


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



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




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



Maven-TestNG with JDK 1.4 - Asserts not working

2006-10-02 Thread datech

I am using JDK1.4 assert statements in TestNG test. When I try to compile the
test using Maven 2.0 (mvn test-compile), it doesn't recognize assert
statement and give compilation failure : 
BasicTest.java:[28,15] ';' expected 
on the following code.

public void basicTest() {
int cnt = getCount();
assert cnt  0 : COUNT NOT GREATER THAN ZERO;
}

Surefire enables the assertion by default so I don't need to specify it in
POM surefire plugin configuration. But I did try that too but it's still not
working.

Here's part of my POM
project
...
build
sourceDirectorysrc//sourceDirectory
plugins 
plugin 
groupIdorg.apache.maven.plugins/groupId 
artifactIdmaven-surefire- 
plugin/artifactId 
configuration
groupsbasic/groups 
/configuration 
/plugin 
/plugins 
/build
...
/project

Not sure why it's failing. Please help? Thanks
(I am able to compile the code using javac command)
 
-- 
View this message in context: 
http://www.nabble.com/Maven-TestNG-with-JDK-1.4---Asserts-not-working-tf2371315.html#a6606185
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: Maven-TestNG with JDK 1.4 - Asserts not working

2006-10-02 Thread Ken Schwartz
I'm new to maven, but I believe you need to configure the maven java plug-in
for anything other than Java 1.3. You do this under the plugin tag within
the build tag. Look at:
http://maven.apache.org/maven-1.x/plugins/java/properties.html.

plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-compiler-plugin/artifactId
configuration
source1.4/source
target1.4/target
/configuration
/plugin

-Original Message-
From: datech [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 02, 2006 1:44 PM
To: users@maven.apache.org
Subject: Maven-TestNG with JDK 1.4 - Asserts not working


I am using JDK1.4 assert statements in TestNG test. When I try to compile
the
test using Maven 2.0 (mvn test-compile), it doesn't recognize assert
statement and give compilation failure : 
BasicTest.java:[28,15] ';' expected 
on the following code.

public void basicTest() {
int cnt = getCount();
assert cnt  0 : COUNT NOT GREATER THAN ZERO;
}

Surefire enables the assertion by default so I don't need to specify it in
POM surefire plugin configuration. But I did try that too but it's still not
working.

Here's part of my POM
project
...
build
sourceDirectorysrc//sourceDirectory
plugins 
plugin 
groupIdorg.apache.maven.plugins/groupId 
artifactIdmaven-surefire- 
plugin/artifactId 
configuration
groupsbasic/groups 
/configuration 
/plugin 
/plugins 
/build
...
/project

Not sure why it's failing. Please help? Thanks
(I am able to compile the code using javac command)
 
-- 
View this message in context:
http://www.nabble.com/Maven-TestNG-with-JDK-1.4---Asserts-not-working-tf2371
315.html#a6606185
Sent from the Maven - Users mailing list archive at Nabble.com.


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


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



How to use VSS in Maven 2 together with Continuum?

2006-10-02 Thread Bill Qiu

Hi, 

Could anybody tell me how to use Visual
Source Safe in Maven 2? From the Maven 2 web page, I see the VSS has been
partially implemented, 
and following the instruction, I am
using the right scm url, I am trying to use Continuum to set up the auto
build, but somehow, I got error message 
like below: 

Provider message: No such provider: 'vss'.


Then I downloaded the latest maven-scm-plugin,
and modify my pom to include 



   plugin

   
   groupIdorg.apache.maven.plugins/groupId

   
   artifactIdmaven-scm-plugin/artifactId

   
   version1.0-beta-3/version

   /plugin

in the plugins section to override the
scm plugin. but I still got the same problem. Is there particular thing
I need to do to register the new scm 
provider? 

Could anybody help?

Thanks a lot,

Bill

Re: new error with surefire report in only 1 module

2006-10-02 Thread Mick Knutson

The plot thickends.
It seems to actually be in cobertura where the error is and when I comment
out the coburtura plugin, it works.

The module that the error is happening is one of 4 modules in my ./common/*
set of modules
The first module is common-jar and when I run site, I now get a 
surefire.properties, and surefire-classloader.properties file created in
the root directory of common-jar module.

WHy are these 2 files being created all of the sudden? Was there a change in
the SNAPSHOT plugin?



On 10/2/06, Mick Knutson [EMAIL PROTECTED] wrote:


Not doing anything different for these 2 new JUNit tests. They are not
even completed yet. So what is this error as I am not sure where to start to
find out what might be causing this.


[INFO] Instrumentation was successful.
[INFO] [junitdoclet:junitdoclet {execution: default}]
Loading source files for package org.delta.security...
Constructing Javadoc information...
Generating TestSuites and TestCases.
Loading properties junitdoclet.properties from class path.
TestCase org.delta.security.RoleLookupTest did not change but
org.delta.security.RoleLookup did.
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 3 source files to
c:\opt\npi\common\jazn-adapter\target\test-classes
[INFO] [surefire:test]
[INFO] Setting reports dir:
c:\opt\npi\common\jazn-adapter\target/surefire-reports

---
 T E S T S
---
Cobertura: Loaded information on 7 classes.
[surefire] Running org.delta.security.RoleLookupTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.079 sec
[surefire] Running org.delta.security.SecurityLoginModuleTest
[surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.016 sec

Results :
[surefire] Tests run: 9, Failures: 0, Errors: 0

[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error configuring: org.apache.maven.plugins:maven-surefire-plugin .
Reason: ERROR: Cannot override read-only parameter: classpathElements in goa
l: surefire:test
[INFO]

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException : Error
configuring: org.apache.maven.plugins:maven-surefire-plugin. Reason:
ERROR: Cannot overr
ide read-only parameter: classpathElements in goal: surefire:test
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (
DefaultLifecycleExecutor.java:563)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle (
DefaultLifecycleExecutor.java:891)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(
DefaultLifecycleExecutor.java:734)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals (
DefaultLifecycleExecutor.java:525)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
(DefaultLifecycleExecutor.java:475)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:454)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
(DefaultLifecycleExecutor.java:306)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments (
DefaultLifecycleExecutor.java:273)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
DefaultLifecycleExecutor.java:140)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke (Method.java: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.plugin.PluginConfigurationException: Error
configuring: org.apache.maven.plugins:maven-surefire-plugin . Reason:
ERROR: Can
not override read-only parameter: classpathElements in goal: surefire:test
at
org.apache.maven.plugin.DefaultPluginManager.validatePomConfiguration(
DefaultPluginManager.java:848)
at org.apache.maven.plugin.DefaultPluginManager.getConfiguredMojo(

Re: Continuum behind Apache Proxy

2006-10-02 Thread Mark Hewett

On 9/28/06, Vivian Stelller [EMAIL PROTECTED] wrote:

Hello at all,
I want to setup continuum in a subdomain of my Apache 2.0.x managed
domain. It should appear on
http://continuum.eecoo.net



Not sure if this will help, but here's how I'm doing it (which ends up
with continuum being at http://scm.example.com/continuum/

VirtualHost *:80
 ServerName scm.example.com
...
 RewriteEngine on
 # Proxy Continuum
 RewriteRule ^/continuum$ continuum/ [R]
 ProxyPass /continuum/ http://localhost:8090/continuum/
 ProxyPassReverse /continuum/ http://localhost:8090/continuum/
/VirtualHost

Mark


[ANN] Maven Changes Plugin 2.0-beta-2 for Maven 2 Released

2006-10-02 Thread Dennis Lundberg

The Maven team is pleased to announce the release of the Maven Changes
Plugin, version 2.0-beta-2

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

This is the first release of this plugin since it moved from the Mojo 
project. Please try it and send your feedback to the users list.


Have fun!
-The Maven team


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



Re: M2 release plugin snapshot version does not handle new development d

2006-10-02 Thread shinsato

I don't understand the logic here.  I'm not releasing independent projects. 
I'm releasing a multi-module project.  All the modules are renamed from
snapshot to release and then back to snapshot again.  But suddenly the
multi-module project, after the release is completed, is no longer building
cohesive artifacts.

I just don't see a useful use-case where someone would actually want their
multi-module project (which almost certainly will have modules that are
depending on each other) to require a manual and potentially error prone
conversion.  The only valid scenario I see for a multi-module project is for
the submodule interdependencies to be kept in step with each other, and that
not doing so in fact does break things, as opposed to the reverse.

Am I missing a useful use-case scenario here?  It sounds like the
${pom.version} might be a solution.  When I ran the archetype creation for
subprojects, I actually wondered why it didn't make it possible to set the
version only in the parent pom, so all sub-projects inherit the parent
version number.

- Harold



Hi,

This is not a bug - the release plugin just updates the module you're
releasing.

Dependencies should be updated manually, since changing versions might break
things.

What you could do though is specify ${pom.version} for the version in your
dependencies.

-- Kenney

-- 
View this message in context: 
http://www.nabble.com/M2-release-plugin-snapshot-version-does-not-handle-new-development-depency-version-correctly-in-multimodule-project-tf2152810.html#a6607157
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Eclipse war builder

2006-10-02 Thread Kevin Galligan

Just thought I'd send a little back to the community.  I coded a
simple eclipse builder plugin that helps speed up webapp development
when using the war plugin.

I'm sure there's something out there that does this already, but this
works pretty well.  If you edit and save a file in either the
'src/main/webapp' directory or a java class file, it copies the output
to the exploaded war directory in 'target', so changes should be
visible immediately rather than after running maven.

Obviously, if you have plugins on your project, they won't get run.
This really came out of a need to speed up jsp editing.  The plugin
will also listen to the output on the compiled classes directory, so
editing java classes in 'src/main/java' will compile to
'target/classes', and from there be copied to the webapp exploded
directory.

The plugin also takes 'finalName' into account.  However, it does not
look into parent pom definitions, etc, so more tricky configurations
are not taken into account.

http://www.bigheadco.com/warplugineclipsebuilder

Comments welcome.

-Kevin

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



errors adding maven2 project

2006-10-02 Thread Joseph Marques

My SVN server is on a linux box and exposed via https; there is NO http
access.  I'm setting up continuum-1.0.3 on a windows box.  Here are the
results when using various URLs.

https://user:pass@server/project/pom.xml
Could not download https://server/project/pom.xml:
Server returned HTTP response code: 401 for URL:
https://server/project/pom.xml

https://server/project/pom.xml
The URL you provided doesn't exist

OK, so...on a whim, I decided to leave the s off, and try http instead.

http://server/project/pom.xml
The URL you provided doesn't exist

http://user:pass@server/project/pom.xml
Works?!?


Um...what's going on here.  Regular http access to this box isn't even
allowed, so why is continuum pulling projects down using http?

-joe


Re: Need help on site building

2006-10-02 Thread Mick Knutson

when I run site, there are ZERO index.html files created for the main site,
or the modules.
Why? The documentation needs to have an index.html file created so the
navigation will work...



On 9/21/06, franz see [EMAIL PROTECTED] wrote:





Mick Knutson-4 wrote:

 The site-deploy will create the whole site for you and tie them
together.




 On 9/21/06, christophe blin [EMAIL PROTECTED] wrote:

 Hi,

 I am trying to build a site for a multiprojects structure.
 Here is my structure:
 pom.xml
 module1
 module2

 what I would like to do is to create ONE site that groups ALL the
 modules.

 Can someone point me to a GOOD documentation to do this task please ?

 regards,
 chris

 --

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


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




 --

 Thanks

 DJ MICK
 http://www.djmick.com
 http://www.myspace.com/mickknutson



Good day to you, christophe,

You can try and take a look at the maven-site-plugin ([1]). Specifically,
at
the Including Generated Content section under the Configuring the Site
Descriptor example.

However, this latest revision of the maven-site-plugin documentation has
not
yet been released since it's still being review. If you have any comments
about it, kindly notify us so that we can improve it.

Thanks,
Franz

[1]

http://people.apache.org/~oching/maven-site-plugin/examples/sitedescriptor.html
--
View this message in context:
http://www.nabble.com/Need-help-on-site-building-tf2312807.html#a6438416
Sent from the Maven - Users mailing list archive at Nabble.com.


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





--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson


Re: Need help on site building

2006-10-02 Thread Mick Knutson

Just wondering, am I required to create a ./site/apt/index.apt for each of
my modules in order to have an index page?

On 9/21/06, franz see [EMAIL PROTECTED] wrote:





Mick Knutson-4 wrote:

 The site-deploy will create the whole site for you and tie them
together.




 On 9/21/06, christophe blin [EMAIL PROTECTED] wrote:

 Hi,

 I am trying to build a site for a multiprojects structure.
 Here is my structure:
 pom.xml
 module1
 module2

 what I would like to do is to create ONE site that groups ALL the
 modules.

 Can someone point me to a GOOD documentation to do this task please ?

 regards,
 chris

 --

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


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




 --

 Thanks

 DJ MICK
 http://www.djmick.com
 http://www.myspace.com/mickknutson



Good day to you, christophe,

You can try and take a look at the maven-site-plugin ([1]). Specifically,
at
the Including Generated Content section under the Configuring the Site
Descriptor example.

However, this latest revision of the maven-site-plugin documentation has
not
yet been released since it's still being review. If you have any comments
about it, kindly notify us so that we can improve it.

Thanks,
Franz

[1]

http://people.apache.org/~oching/maven-site-plugin/examples/sitedescriptor.html
--
View this message in context:
http://www.nabble.com/Need-help-on-site-building-tf2312807.html#a6438416
Sent from the Maven - Users mailing list archive at Nabble.com.


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





--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson


Re: error with doccheck still

2006-10-02 Thread Mick Knutson

Why am I getting files created under ./null/*

file:///C:/opt/npi/common/common-jar/target/site/doccheck/null/com/baselogic/PackageErrors.html





On 9/22/06, Shinobu Kawai [EMAIL PROTECTED] wrote:


Hi Mick,

 So are you saying I do NOT need this and to remove it from my repository
and
 my pom.xml?

Correct.  It won't hurt to have it in your repository, but it should
be taken out of your pom.xml.

   What is this plugin then:
  
http://www.ibiblio.org/maven2/doccheck/maven-doccheck-plugin/1.4-0.1/

Best regards,
-- Shinobu

--
Shinobu Kawai [EMAIL PROTECTED]

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





--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson


cobertura coverage error in Java comments

2006-10-02 Thread Mick Knutson

Can someone help me understand why I am testing my entire class (Taxonomy),
but there are line that still did not get covered, YET several of the lines
are comments:


55  6

/**

 56  0

 * Get Specialty Description

 57  0

 *

 58  0

 * @return String Specialty Description

 59

 */

 60

public String getSpecialtyDescription() {

 61  72

return specialtyDescription;

 62  0

}

 63  0



 64  0

/**

 65

 * Set Specialty Description

 66  0

 *

 67

 * @param specialtyDescription String Specialty Description

 68  0

 */

 69

public void setSpecialtyDescription(String specialtyDescription) {

 70  72

this.specialtyDescription = specialtyDescription;

 71  72

}

 72  0






--

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson


Need Some Basic Help, I Think

2006-10-02 Thread Allison, Bob
I am trying to get Archiva to work, and am having problems I can't
solve.  I am hoping that someone can see what I am doing wrong and help
me get this working.  I had downloaded the source and built it at the
end of August, but am just trying to get it working.  (I am currently
downloading the current code in case that has something to do with my
problems.)

I installed a new Tomcat 5.5 instance (running on
http://www.home.net:8082/;) and deployed the web application to it as
/archiva.  I created just one managed repository named remote.  I
added one proxied repository named central with a URL of
http://www.ibiblio.org/maven2;.  In my settings.xml file, I defined a
mirror of central with a URL of
http://www.home.net:8082/archiva/proxy; (I have also tried adding
/remote to the end of the URL).

Every time I try to build something in Maven with the mirror defined
(and no local repository), I get a build failure because no plugins can
be found.  The build works fine if the mirror to central is not defined.
If I try to access
http://www.home.net:8082/archiva/proxy/org/apache/maven/plugins/maven-m
etadata.xml in my browser, I get a 404 error.  If I access
http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-metadata.x
ml in my browser, I get the XML file.

Anybody got an idea of what I am doing wrong?


This communication is the property of Qwest and may contain confidential or
privileged information. Unauthorized use of this communication is strictly 
prohibited and may be unlawful.  If you have received this communication 
in error, please immediately notify the sender by reply e-mail and destroy 
all copies of the communication and any attachments.


Re: EJB3 applications and M2

2006-10-02 Thread Owen Jacobson

Sorry it took a while to get back to this -- was on a trip all
weekend.  Thanks for the suggestions...

However, setting the dependency type to typeejb/type causes maven
to throw an exception when parsing the ear's POM:

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


Project ID: com.example.hibernate.ejb3:example-ear
POM Location: /home/ojacobson/hibernate-bug/example-ear/pom.xml
Validation Messages:

   [0]  'dependencies.dependency.version' is missing for
com.example.hibernate.ejb3:sessions


Reason: Failed to validate POM

In the parent POM this dependency is declared as
 dependency
   groupIdcom.example.hibernate.ejb3/groupId
   artifactIdsessions/artifactId
   version1.0-SNAPSHOT/version
   typeejb/type
 /dependency
which looks okay according to the pom.xml guide.  Any ideas?

On 9/30/06, Marco Mistroni [EMAIL PROTECTED] wrote:

Hello,
 sorry i didnt read properly ur email...
i m packaging my apps too as ear project. and ejbs are packaged as jar
here's my pom.xml for ear

modelVersion4.0.0/modelVersion
artifactId${ear.name}/artifactId
nameEAR project/name
packagingear/packaging

build
plugins
plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-ear-plugin/artifactId
configuration
modules
ejbModule
groupIdExpenseControl/groupId
artifactIdejbs/artifactId
bundleFileName
ejb3-app-1.0-SNAPSHOT.jar
/bundleFileName
/ejbModule
webModule
groupIdExpenseControl/groupId
artifactIdweb/artifactId
bundleFileName
ejb3-web.war
/bundleFileName
/webModule
  /modules

outputDirectory${deploy.directory}/outputDirectory

 /configuration
/plugin
/plugins
/build

dependencies
 dependency
groupIdExpenseControl/groupId
artifactIdejbs/artifactId
version1.0/version
typeejb/type
   /dependency
dependency
groupIdExpenseControl/groupId
artifactIdweb/artifactId
version1.0/version
typewar/type
   /dependency
 /dependencies


this is actually a jar project

ejbModule
groupIdExpenseControl/groupId
artifactIdejbs/artifactId
bundleFileName
ejb3-app-1.0-SNAPSHOT.jar
/bundleFileName
  /ejbModule


hth
 marco




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



RE: Maven-TestNG with JDK 1.4 - Asserts not working

2006-10-02 Thread datech

Thanks a lot. It worked. 



Ken Schwartz wrote:
 
 I'm new to maven, but I believe you need to configure the maven java
 plug-in
 for anything other than Java 1.3. You do this under the plugin tag within
 the build tag. Look at:
 http://maven.apache.org/maven-1.x/plugins/java/properties.html.
 
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-compiler-plugin/artifactId
   configuration
   source1.4/source
   target1.4/target
   /configuration
 /plugin
 
 -Original Message-
 From: datech [mailto:[EMAIL PROTECTED] 
 Sent: Monday, October 02, 2006 1:44 PM
 To: users@maven.apache.org
 Subject: Maven-TestNG with JDK 1.4 - Asserts not working
 
 
 I am using JDK1.4 assert statements in TestNG test. When I try to compile
 the
 test using Maven 2.0 (mvn test-compile), it doesn't recognize assert
 statement and give compilation failure : 
 BasicTest.java:[28,15] ';' expected 
 on the following code.
 
 public void basicTest() {
 int cnt = getCount();
 assert cnt  0 : COUNT NOT GREATER THAN ZERO;
 }
 
 Surefire enables the assertion by default so I don't need to specify it in
 POM surefire plugin configuration. But I did try that too but it's still
 not
 working.
 
 Here's part of my POM
 project
 ...
 build
 sourceDirectorysrc//sourceDirectory
 plugins 
 plugin 
 groupIdorg.apache.maven.plugins/groupId 
 artifactIdmaven-surefire- 
 plugin/artifactId 
 configuration
 groupsbasic/groups 
 /configuration 
 /plugin 
 /plugins 
 /build
 ...
 /project
 
 Not sure why it's failing. Please help? Thanks
 (I am able to compile the code using javac command)
  
 -- 
 View this message in context:
 http://www.nabble.com/Maven-TestNG-with-JDK-1.4---Asserts-not-working-tf2371
 315.html#a6606185
 Sent from the Maven - Users mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Maven-TestNG-with-JDK-1.4---Asserts-not-working-tf2371315.html#a6612334
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: maven-dependency-plugin missed?

2006-10-02 Thread Brian E. Fox
The plugin was moved and hasn't been released yet. There are snapshots
available ( 2.0-ALPHA-1-SNAPSHOT )but you would need to add:
pluginRepository
idMaven Snapshots/id
urlhttp://people.apache.org/maven-snapshot-repository/url
snapshots
  enabledtrue/enabled
/snapshots
releases
  enabledfalse/enabled
/releases
  /pluginRepository
To your settings. 

I've been working on finishing up the integration tests and then we
should be able to do an alpha release soon. The core of the code from
1.0 is fully functional, we just need to nail down some of the other
goals added since. 

-Original Message-
From: Roberto Tiella [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 02, 2006 12:47 PM
To: users@maven.apache.org
Subject: maven-dependency-plugin missed?

Hi all,

I'm trying to use the maven-dependency-plugin but I'm not able to find
it in any repos I know


To be more precise: I can find and use the plugin (that I suppose 
obsolete) identified by:

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

but not the (that I suppose newer):

groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-dependency-plugin/artifactId

which is documented on the maven2 site 
(http://maven.apache.org/plugins/maven-dependency-plugin/)
but it is missed in the directory 
http://repo1.maven.org/maven2/org/apache/maven/plugins/ where the other
plugins are.

Any suggestions?

Thanks in advance, best regards. roberto.


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



mvn deploy does not work

2006-10-02 Thread Janos Mucsi
Hi 
I have this in  ../conf/settings.xml:

profile
idrepo/id
repositories
repository
idinternal/id
nameInternal Repository/name
urlftp://localhost/url
/repository
/repositories
  /profile

In the pom.xml I have:

distributionManagement
  repository
idinternal/id
nameInternal Repository/name
urlftp://localhost/url
  /repository
   /distributionManagement
   build
extensions
extension
groupIdorg.apache.maven.wagon/groupId
artifactIdwagon-ftp/artifactId
version1.0-beta-1/version
/extension
/extensions
  /build

My ftp server is of course up and running. I have two questions:

1. Do I have to repeat the repository in pom.xml and settings.xml?
2. Why do I get:

[ERROR] BUILD ERROR
[INFO] 

[INFO] Error deploying artifact: Unsupported Protocol: 'ftp': Cannot find 
wagon
which supports the requested protocol: ftp

org/apache/commons/net/ftp/FTP


Thanks for your help!



Re: error with doccheck still

2006-10-02 Thread Shinobu Kawai

Hi Mick,


Why am I getting files created under ./null/*

file:///C:/opt/npi/common/common-jar/target/site/doccheck/null/com/baselogic/PackageErrors.html


This is a bug in the DocCheck Doclet.  You need to specify the output
directory.  Or, you can apply a patch on the plugin website:

http://maven-doccheck.sourceforge.net/faq.html#m2-no-output

Best regards,
-- Shinobu

--
Shinobu Kawai [EMAIL PROTECTED]

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



[m2] eclipse plugin - too many jar showing in package explorer

2006-10-02 Thread Man-Chi Leung

hi,

after I did  mvn eclipse:eclipse and got the project imported to eclipse

I found a very long list of jar showing in eclipse's Package Explorer.

however, not all the jars that i am actually programming for ,  i 
believe , they are simply the dependencies of dependencies.


in eclipse plugin, how can I only include those dependencies that are 
stated in pom.xml and add them in .classpath eclipse conf file ?


pls help
~manchi



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



RE: maven-resources-plugin StringIndexOutOfBoundsException

2006-10-02 Thread Ian Springer
| 
| Hi!
| 
| I am migrating a project from m1 to m2.
| 
| I have two modeules, one to make a jar from jaxb generated 
| and compiled
| source and another module that must create a war and which 
| have a dependency
| with the previous jar cretaed in my jaxb module.
| 
| Well, my jaxb module works fine, the problem is when the resources are
| filtered in my second module.
| 
| I think is a problem during the execution of 
| maven-resoures-plugin but I
| don´t know where the problem is.
| 
| I ran mvn install and the error shown is this:
| 
| ...
| ...
| ...
| [INFO]
| --
| --
| [INFO] Building nooscom-voiceportal-web-jsf
| [INFO]task-segment: [install]
| [INFO]
| --
| --
| [DEBUG] Skipping disabled repository Maven Snapshots
| [DEBUG] maven-war-plugin: resolved to version 2.0.2-SNAPSHOT 
| from repository
| central
| [DEBUG] Skipping disabled repository central
| [DEBUG] maven-war-plugin: resolved to version 
| 2.0.2-20060829.202242-1 from
| repository snapshots
| [DEBUG] Retrieving parent-POM:
| org.apache.maven.plugins:maven-plugins::2-SNAPSHOT for project:
| null:maven-war-plugin:maven-plugin:2.0.2-20060829.202242-1 from the
| repository.
| [DEBUG] maven-plugins: resolved to version 2-20060822.131811-5 from
| repository snapshots
| [DEBUG] Retrieving parent-POM: 
| org.apache.maven:maven-parent::4-SNAPSHOT for
| project: 
| org.apache.maven.plugins:maven-plugins:pom:2-SNAPSHOT from the
| repository.
| [DEBUG] maven-parent: resolved to version 4-20060822.161338-4 from
| repository snapshots
| [DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
| org.apache.maven:maven-parent:pom:4-SNAPSHOT from the repository.
| [DEBUG] Configuring mojo
| 'org.apache.maven.plugins:maven-resources-plugin:2.3-SNAPSHOT:
| resources' --
| [DEBUG]   (f) filters =
| [c:\java\workspace\nooscom-servicecopy\servicecopy/src/main/fi
| lters/desarrollo15.properties]
| [DEBUG]   (f) outputDirectory =
| c:\java\workspace\nooscom-servicecopy\servicecopy/target/classes
| [DEBUG]   (f) project = [EMAIL PROTECTED]
| [DEBUG]   (f) resources = [EMAIL PROTECTED]
| [DEBUG] -- end configuration --
| [INFO] [resources:resources]
| [INFO] Using default encoding to copy filtered resources.
| [INFO]
| --
| --
| [ERROR] FATAL ERROR
| [INFO]
| --
| --
| [INFO] String index out of range: 0
| [INFO]
| --
| --
| [DEBUG] Trace
| java.lang.StringIndexOutOfBoundsException: String index out 
| of range: 0
|   at java.lang.String.charAt(String.java:558)
|   at
| org.apache.maven.plugin.resources.util.InterpolationFilterRead
| er.read(InterpolationFilterReader.java:193)
|   at
| org.apache.maven.plugin.resources.util.InterpolationFilterRead
| er.read(InterpolationFilterReader.java:201)
|   at
| org.apache.maven.plugin.resources.util.InterpolationFilterRead
| er.read(InterpolationFilterReader.java:162)
|   at java.io.Reader.read(Reader.java:122)
|   at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:212)
|   at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
|   at
| org.apache.maven.plugin.resources.ResourcesMojo.copyFile(Resou
| rcesMojo.java:274)
|   at
| org.apache.maven.plugin.resources.ResourcesMojo.copyResources(
| ResourcesMojo.java:188)
|   at
| org.apache.maven.plugin.resources.ResourcesMojo.execute(Resour
| cesMojo.java:105)
|   at
| org.apache.maven.plugin.DefaultPluginManager.executeMojo(Defau
| ltPluginManager.java:412)
|   at
| org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
| ls(DefaultLifecycleExecutor.java:534)
|   at
| org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
| lWithLifecycle(DefaultLifecycleExecutor.java:475)
|   at
| org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
| l(DefaultLifecycleExecutor.java:454)
|   at
| org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
| lAndHandleFailures(DefaultLifecycleExecutor.java:306)
|   at
| org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTas
| kSegments(DefaultLifecycleExecutor.java:273)
|   at
| org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(De
| faultLifecycleExecutor.java:140)
|   at 
| org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
|   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
|   at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
|   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|   at
| sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess
| orImpl.java:39)
|   at
| sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth
| odAccessorImpl.java:25)
|   at 

RE: maven-resources-plugin StringIndexOutOfBoundsException

2006-10-02 Thread Ian Springer
| -Original Message-
| From: Ian Springer [mailto:[EMAIL PROTECTED] 
| Sent: Monday, October 02, 2006 10:41 PM
| To: Maven Users List
| Subject: RE: maven-resources-plugin StringIndexOutOfBoundsException
| 
| | 
| | Hi!
| | 
| | I am migrating a project from m1 to m2.
| | 
| | I have two modeules, one to make a jar from jaxb generated 
| | and compiled
| | source and another module that must create a war and which 
| | have a dependency
| | with the previous jar cretaed in my jaxb module.
| | 
| | Well, my jaxb module works fine, the problem is when the 
| resources are
| | filtered in my second module.
| | 
| | I think is a problem during the execution of 
| | maven-resoures-plugin but I
| | don´t know where the problem is.
| | 
| | I ran mvn install and the error shown is this:
| | 
| | ...
| | ...
| | ...
| | [INFO]
| | --
| | --
| | [INFO] Building nooscom-voiceportal-web-jsf
| | [INFO]task-segment: [install]
| | [INFO]
| | --
| | --
| | [DEBUG] Skipping disabled repository Maven Snapshots
| | [DEBUG] maven-war-plugin: resolved to version 2.0.2-SNAPSHOT 
| | from repository
| | central
| | [DEBUG] Skipping disabled repository central
| | [DEBUG] maven-war-plugin: resolved to version 
| | 2.0.2-20060829.202242-1 from
| | repository snapshots
| | [DEBUG] Retrieving parent-POM:
| | org.apache.maven.plugins:maven-plugins::2-SNAPSHOT for project:
| | null:maven-war-plugin:maven-plugin:2.0.2-20060829.202242-1 from the
| | repository.
| | [DEBUG] maven-plugins: resolved to version 2-20060822.131811-5 from
| | repository snapshots
| | [DEBUG] Retrieving parent-POM: 
| | org.apache.maven:maven-parent::4-SNAPSHOT for
| | project: 
| | org.apache.maven.plugins:maven-plugins:pom:2-SNAPSHOT from the
| | repository.
| | [DEBUG] maven-parent: resolved to version 4-20060822.161338-4 from
| | repository snapshots
| | [DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
| | org.apache.maven:maven-parent:pom:4-SNAPSHOT from the repository.
| | [DEBUG] Configuring mojo
| | 'org.apache.maven.plugins:maven-resources-plugin:2.3-SNAPSHOT:
| | resources' --
| | [DEBUG]   (f) filters =
| | [c:\java\workspace\nooscom-servicecopy\servicecopy/src/main/fi
| | lters/desarrollo15.properties]
| | [DEBUG]   (f) outputDirectory =
| | c:\java\workspace\nooscom-servicecopy\servicecopy/target/classes
| | [DEBUG]   (f) project = 
| [EMAIL PROTECTED]
| | [DEBUG]   (f) resources = [EMAIL PROTECTED]
| | [DEBUG] -- end configuration --
| | [INFO] [resources:resources]
| | [INFO] Using default encoding to copy filtered resources.
| | [INFO]
| | --
| | --
| | [ERROR] FATAL ERROR
| | [INFO]
| | --
| | --
| | [INFO] String index out of range: 0
| | [INFO]
| | --
| | --
| | [DEBUG] Trace
| | java.lang.StringIndexOutOfBoundsException: String index out 
| | of range: 0
| | at java.lang.String.charAt(String.java:558)
| | at
| | org.apache.maven.plugin.resources.util.InterpolationFilterRead
| | er.read(InterpolationFilterReader.java:193)
| | at
| | org.apache.maven.plugin.resources.util.InterpolationFilterRead
| | er.read(InterpolationFilterReader.java:201)
| | at
| | org.apache.maven.plugin.resources.util.InterpolationFilterRead
| | er.read(InterpolationFilterReader.java:162)
| | at java.io.Reader.read(Reader.java:122)
| | at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:212)
| | at org.codehaus.plexus.util.IOUtil.copy(IOUtil.java:200)
| | at
| | org.apache.maven.plugin.resources.ResourcesMojo.copyFile(Resou
| | rcesMojo.java:274)
| | at
| | org.apache.maven.plugin.resources.ResourcesMojo.copyResources(
| | ResourcesMojo.java:188)
| | at
| | org.apache.maven.plugin.resources.ResourcesMojo.execute(Resour
| | cesMojo.java:105)
| | at
| | org.apache.maven.plugin.DefaultPluginManager.executeMojo(Defau
| | ltPluginManager.java:412)
| | at
| | org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
| | ls(DefaultLifecycleExecutor.java:534)
| | at
| | org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
| | lWithLifecycle(DefaultLifecycleExecutor.java:475)
| | at
| | org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
| | l(DefaultLifecycleExecutor.java:454)
| | at
| | org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoa
| | lAndHandleFailures(DefaultLifecycleExecutor.java:306)
| | at
| | org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTas
| | kSegments(DefaultLifecycleExecutor.java:273)
| | at
| | org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(De
| | faultLifecycleExecutor.java:140)
| | at 
| | org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
|