RE: [m2?] SWT

2005-07-04 Thread Jörg Schaible
Emmanuel Venisse wrote on Saturday, July 02, 2005 2:43 PM:

 Hi kennew,
 
 This stuff will be resolve by the build profile feature
 (http://docs.codehaus.org/display/MAVEN/Build+Profiles)
 
 Emmanuel

will this be available for first release of M2?

- Jörg

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



Re: Provider for javax.xml.transform.TransformerFactory cannot be found

2005-07-04 Thread Arnaud HERITIER
you can take a look at :
 http://maven.apache.org/faq.html#BadXSLT
 or you can try something like that :
  !-- 'Major hack.' Stolen from the Latka plugin.jelly. All of this could 
be avoided by putting
xalan into $MAVEN_HOME/lib/endorsed directory in the distribution, but never 
mind --
${systemScope.setProperty('javax.xml.transform.TransformerFactory','
org.apache.xalan.processor.TransformerFactoryImpl')}
style in=${docsToc} out=${docsPdf}/project.fo
style=${plugin.resources}/project2fo.xslt
force=true
...
 /style
 if you add xalan as dependency..
 Arnaud


 On 7/3/05, Jacek Laskowski [EMAIL PROTECTED] wrote: 
 
 Hi,
 
 I'm executing Ant's style (xslt) task via Maven and am getting 'Provider
 for javax.xml.transform.TransformerFactory cannot be found'. Does anyone
 know how to work it out?
 
 $ maven -v
 __ __
 | \/ |__ _Apache__ ___
 | |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
 |_| |_\__,_|\_/\___|_||_| v. 1.0.2
 
 $ java -version
 java version 1.4.2_08
 Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
 Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
 
 Jacek
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 



Re: unable to deploy site using ftp

2005-07-04 Thread Arnaud HERITIER
The site:ftpdeploy goal doesn't work in maven 1.0.X.
It's documented on subversion but it was not published :-(
 It's weird, I thought Brett did it.
 This issue is resolved in maven 1.1 which uses ant 1.6.
 Sorry
 Arnaud
  

 On 7/4/05, NATARAJAN Sasi Kumar [EMAIL PROTECTED] wrote: 
 
 Hai
 
 You can set following in forehead.config. This file available in maven
 bin directory.
 
 [root]
 ${maven.home}/lib/ant-optional-1.5.3-1.jar
 
 Cheers
 Sasikumar
 
 -Original Message-
 From: edovale [mailto:[EMAIL PROTECTED]
 Sent: Sunday, July 03, 2005 7:06 PM
 To: 'Maven Users List'
 Subject: unable to deploy site using ftp
 
 
 Hello there,
 
 I am trying to deploy the site using ftp and I am getting anexception
 saying the maven is unable to find
 classorg.apache.tools.ant.taskdefs.optional.net.FTP.
 
 When I look into the lib folder in my maven installationfolder I see
 there is ant-optional-1.5.3-1.jar and the the class
 org.apache.tools.ant.taskdefs.optional.net.FTPis in there.
 
 Have any one had this problem before??
 
 Here goes the stack trace obtained running maven #8211;X
 
 
 
 Thanks.
 
 
 
 BUILD FAILED
 
 File.. C:\Documents
 andSettings\edovale\.maven\cache\maven-site-plugin-1.6.
 
 1\plugin.jelly
 
 Element... taskdef
 
 Line.. 130
 
 Column 6
 
 taskdef class org.apache.tools.ant.taskdefs.optional.net.FTPcannot be
 found
 
 com.werken.werkz.UnattainableGoalException: Unable to obtaingoal
 [site:deploy]
 
 -- C:\Documents
 andSettings\edovale\.maven\cache\maven-site-plugin-1.6.1\plugin
 
 .jelly:130:6: taskdef taskdef
 classorg.apache.tools.ant.taskdefs.optional.nethttp://classorg.apache.tools.ant.taskdefs.optional.net
 
 .FTP cannot be found
 
 at com.werken.werkz.Goal.fire(Goal.java:646)
 
 atcom.werken.werkz.Goal.attain(Goal.java:575)
 
 
 atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
 
 671)
 
 
 atorg.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
 
 atorg.apache.maven.cli.App.doMain(App.java:488)
 
 atorg.apache.maven.cli.App.main(App.java:1239)
 
 atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
 
 atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
 
 java:39)
 
 
 atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
 
 sorImpl.java:25)
 
 atjava.lang.reflect.Method.invoke(Method.java:585)
 
 atcom.werken.forehead.Forehead.run(Forehead.java:551)
 
 atcom.werken.forehead.Forehead.main(Forehead.java:581)
 
 org.apache.commons.jelly.JellyTagException: C:\Documents
 andSettings\edovale\.m
 
 aven\cache\maven-site-plugin-1.6.1\plugin.jelly:130:6:taskdef taskdef
 class o
 
 rg.apache.tools.ant.taskdefs.optional.net.FTP cannot befound
 
 
 atorg.apache.commons.jelly.impl.TagScript.handleException(TagScript.jav
 
 a:683)
 
 
 atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:288)
 
 
 atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
 
 
 atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
 
 g.java:79)
 
 
 atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
 
 mAction(MavenGoalTag.java:110)
 
 atcom.werken.werkz.Goal.fire(Goal.java:639)
 
 atcom.werken.werkz.Goal.attain(Goal.java:575)
 
 
 atcom.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
 
 
 atorg.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai
 
 nGoalTag.java:127)
 
 
 atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
 
 
 atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
 
 
 atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
 
 g.java:79)
 
 at
 org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
 
 mAction(MavenGoalTag.java:110)
 
 atcom.werken.werkz.Goal.fire(Goal.java:639)
 
 atcom.werken.werkz.Goal.attain(Goal.java:575)
 
 
 atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
 
 671)
 
 
 atorg.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
 
 atorg.apache.maven.cli.App.doMain(App.java:488)
 
 atorg.apache.maven.cli.App.main(App.java:1239)
 
 atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
 
 atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
 
 java:39)
 
 
 atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
 
 sorImpl.java:25)
 
 atjava.lang.reflect.Method.invoke(Method.java:585)
 
 atcom.werken.forehead.Forehead.run(Forehead.java:551)
 
 atcom.werken.forehead.Forehead.main(Forehead.java:581)
 
 Caused by: taskdef classorg.apache.tools.ant.taskdefs.optional.net.FTP
 cannot b
 
 e found
 
 
 atorg.apache.tools.ant.taskdefs.Definer.addDefinition(Definer.java:240)
 
 
 
 
 atorg.apache.tools.ant.taskdefs.Definer.execute(Definer.java:162)
 
 atorg.apache.tools.ant.Task.perform(Task.java:341)
 
 at
 org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)
 
 
 atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
 
 ... 23 more
 
 Caused by: 

Re: [m2] maven surefire plugin

2005-07-04 Thread Nadeem Bitar
On Sun, 2005-07-03 at 23:59 -0400, Jason van Zyl wrote:
 On Sun, 2005-07-03 at 19:29 -0700, Nadeem Bitar wrote:
  Where can I find documentation for the maven-surefire-plugin. I am
  looking on using testng instead of junit to run my tests.
 
 There is just the source for the surefire plugin here:
 
 http://svn.apache.org/viewcvs.cgi/maven/components/trunk/maven-
 plugins/maven-surefire-plugin/
 
 And the surefire code itself is here:
 
 http://cvs.surefire.codehaus.org/surefire/
 
 But it would also be great if you wanted to develop a TestNG m2 plugin
 as I'm sure lots of people would be interested in using it.

It would be nice to have at least some javadoc to write a plugin. I
browsed the source and there was almost zero javadoc. 

Out of curiosity why is it called surefire? Also what's a Battery?



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


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



[m2] javacc plugin

2005-07-04 Thread Allan Ramirez

Hi everyone,

Is there anyone working on javacc plugin in m2?

thanks,
allan

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



Re: [m2?] SWT

2005-07-04 Thread Emmanuel Venisse



Jörg Schaible wrote:

Emmanuel Venisse wrote on Saturday, July 02, 2005 2:43 PM:



Hi kennew,

This stuff will be resolve by the build profile feature
(http://docs.codehaus.org/display/MAVEN/Build+Profiles)

Emmanuel



will this be available for first release of M2?


yes

Emmanuel



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



RE: unable to deploy site using ftp

2005-07-04 Thread NATARAJAN Sasi Kumar
Hai Arnaud

  I wrote custom plugin with Brett help.
 FTP is working for me Maven 1.0.2 with ant 1.6.
I use following code

forehead.config file

 [root]
 ${maven.home}/lib/ant-optional-1.5.3-1.jar
 ${maven.home}/lib/NetComponents.jar

Plugin.jelly file

goal name=source:ftp description=Copy the artifacts
taskdef
name=ftp

classname=org.apache.tools.ant.taskdefs.optional.net.FTP
/

 ant:ftp server=${maven.remote.machine}
userid=${maven.remote.user} password=${maven.remote.password}
remotedir=${maven.remote.dir}
fileset dir=${maven.ftp.source}
 include name=**/*.*/
 /fileset
  /ant:ftp
/goal

Build.properties file

maven.remote.machine=
maven.remote.user=
maven.remote.password=
maven.remote.port=
maven.ftp.source=

Cheers
Sasikumar

-Original Message-
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 04, 2005 12:22 PM
To: Maven Users List
Subject: Re: unable to deploy site using ftp

The site:ftpdeploy goal doesn't work in maven 1.0.X.
It's documented on subversion but it was not published :-(
 It's weird, I thought Brett did it.
 This issue is resolved in maven 1.1 which uses ant 1.6.
 Sorry
 Arnaud
  

 On 7/4/05, NATARAJAN Sasi Kumar [EMAIL PROTECTED] wrote: 
 
 Hai
 
 You can set following in forehead.config. This file available in maven
 bin directory.
 
 [root]
 ${maven.home}/lib/ant-optional-1.5.3-1.jar
 
 Cheers
 Sasikumar
 
 -Original Message-
 From: edovale [mailto:[EMAIL PROTECTED]
 Sent: Sunday, July 03, 2005 7:06 PM
 To: 'Maven Users List'
 Subject: unable to deploy site using ftp
 
 
 Hello there,
 
 I am trying to deploy the site using ftp and I am getting anexception
 saying the maven is unable to find
 classorg.apache.tools.ant.taskdefs.optional.net.FTP.
 
 When I look into the lib folder in my maven installationfolder I see
 there is ant-optional-1.5.3-1.jar and the the class
 org.apache.tools.ant.taskdefs.optional.net.FTPis in there.
 
 Have any one had this problem before??
 
 Here goes the stack trace obtained running maven #8211;X
 
 
 
 Thanks.
 
 
 
 BUILD FAILED
 
 File.. C:\Documents
 andSettings\edovale\.maven\cache\maven-site-plugin-1.6.
 
 1\plugin.jelly
 
 Element... taskdef
 
 Line.. 130
 
 Column 6
 
 taskdef class org.apache.tools.ant.taskdefs.optional.net.FTPcannot be
 found
 
 com.werken.werkz.UnattainableGoalException: Unable to obtaingoal
 [site:deploy]
 
 -- C:\Documents
 andSettings\edovale\.maven\cache\maven-site-plugin-1.6.1\plugin
 
 .jelly:130:6: taskdef taskdef

classorg.apache.tools.ant.taskdefs.optional.nethttp://classorg.apache.t
ools.ant.taskdefs.optional.net
 
 .FTP cannot be found
 
 at com.werken.werkz.Goal.fire(Goal.java:646)
 
 atcom.werken.werkz.Goal.attain(Goal.java:575)
 
 

atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
 
 671)
 
 
 atorg.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
 
 atorg.apache.maven.cli.App.doMain(App.java:488)
 
 atorg.apache.maven.cli.App.main(App.java:1239)
 
 atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
 

atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
 
 java:39)
 
 

atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
 
 sorImpl.java:25)
 
 atjava.lang.reflect.Method.invoke(Method.java:585)
 
 atcom.werken.forehead.Forehead.run(Forehead.java:551)
 
 atcom.werken.forehead.Forehead.main(Forehead.java:581)
 
 org.apache.commons.jelly.JellyTagException: C:\Documents
 andSettings\edovale\.m
 
 aven\cache\maven-site-plugin-1.6.1\plugin.jelly:130:6:taskdef
taskdef
 class o
 
 rg.apache.tools.ant.taskdefs.optional.net.FTP cannot befound
 
 

atorg.apache.commons.jelly.impl.TagScript.handleException(TagScript.jav
 
 a:683)
 
 
 atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:288)
 
 
 atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
 
 

atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
 
 g.java:79)
 
 

atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
 
 mAction(MavenGoalTag.java:110)
 
 atcom.werken.werkz.Goal.fire(Goal.java:639)
 
 atcom.werken.werkz.Goal.attain(Goal.java:575)
 
 
 atcom.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
 
 

atorg.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai
 
 nGoalTag.java:127)
 
 
 atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
 
 
 atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
 
 

atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
 
 g.java:79)
 
 at
 org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
 
 mAction(MavenGoalTag.java:110)
 
 atcom.werken.werkz.Goal.fire(Goal.java:639)
 
 atcom.werken.werkz.Goal.attain(Goal.java:575)
 
 

atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
 
 671)
 
 
 

RE: [m2] javacc plugin

2005-07-04 Thread Donszelmann, Mark
 
Hi

if someone writes one, it would be nice if it could handle 
arbitrary options and multiple .jj files.

for m1 we modified the standard one, see

http://java.freehep.org/freehep-jcc-plugin

Regards
Mark
-Original Message-
From: Allan Ramirez [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 04, 2005 12:04 AM
To: Maven Users List
Subject: [m2] javacc plugin

Hi everyone,

Is there anyone working on javacc plugin in m2?

thanks,
allan

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


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



[m2] dependency outside the repository

2005-07-04 Thread Herve AGNOUX
Hi,

How I specify a jar dependency outside the repository with maven 2 ?

Whith Maven 1, for a jar outside the repository, I write in the project.xml :

dependency
idjms/id
/dependency

... and in the build.properties :

maven.jar.override=on
maven.jar.jms=/home/user/java/paquages/jms1.0.2/lib/jms.jar

I should want the same with maven 2.

Thanks.


-- 
SARL diaam informatique - 04 77 25 43 28
Ingenierie, développements de systèmes d'information
http://www.diaam-informatique.com

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



where's the source code package?

2005-07-04 Thread WolfgangHäfelinger
Hello,
I'm  about  to rebuild Maven from scratch and I start to wonder how I'm 
about to get
Maven's source code?

Is it really true that those Maven guys want me to use Subversion? Is it 
not common
practice to provide a source code package? 

There's no problem with Subversion as such - it's rather that I'm behind a 
rather
restrictive Firewall where I can't change the settings ..

Regards,
Wolfgang.

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



Re: where's the source code package?

2005-07-04 Thread Emmanuel Venisse



WolfgangHäfelinger wrote:

Hello,
I'm  about  to rebuild Maven from scratch and I start to wonder how I'm 
about to get

Maven's source code?

Is it really true that those Maven guys want me to use Subversion? Is it 
not common
practice to provide a source code package? 

There's no problem with Subversion as such - it's rather that I'm behind a 
rather

restrictive Firewall where I can't change the settings ..



Yes, you need to use subversion for obtain sources. You can set up 
subversion to pass through firewall


Emmanuel


Regards,
Wolfgang.

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



Creating a Project Skeleton (java.lang.NumberFormatException: For input string: )

2005-07-04 Thread Christopher Haskins
Hi,

 

I have just installed Maven 2.0 on a linux box and I am following the
setup instructions. I am just at the stage where I am creating a project
skeleton and I run the following command;  m2 archetype:create
-DgroupId=com.mycompany.app -DartifactId=my-app

 

I get a java.lang.NumberFormatException: For input string: .

 

The stack trace is as follows;

 

constituent[0]:
file:/usr/local/maven-2.0-alpha-3/lib/wagon-http-lightweight-1.0-alpha-4
.jar

constituent[1]:
file:/usr/local/maven-2.0-alpha-3/lib/wagon-ssh-1.0-alpha-4.jar

constituent[2]:
file:/usr/local/maven-2.0-alpha-3/lib/commons-validator-1.1.4.jar

constituent[3]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-model-2.0-alpha-3.jar

constituent[4]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-profile-2.0-alpha-3.jar

constituent[5]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-settings-2.0-alpha-3.jar

constituent[6]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-plugin-registry-2.0-alpha-3.
jar

constituent[7]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-plugin-descriptor-2.0-alpha-
3.jar

constituent[8]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-core-2.0-alpha-3.jar

constituent[9]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-reporting-api-2.0-alpha-3.ja
r

constituent[10]: file:/usr/local/maven-2.0-alpha-3/lib/jsch-0.1.17.jar

constituent[11]: file:/usr/local/maven-2.0-alpha-3/lib/oro-2.0.7.jar

constituent[12]:
file:/usr/local/maven-2.0-alpha-3/lib/wagon-provider-api-1.0-alpha-4.jar

constituent[13]:
file:/usr/local/maven-2.0-alpha-3/lib/plexus-input-handler-1.0-alpha-2.j
ar

constituent[14]:
file:/usr/local/maven-2.0-alpha-3/lib/commons-cli-1.0-beta-2.jar

constituent[15]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-monitor-2.0-alpha-3.jar

constituent[16]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-plugin-api-2.0-alpha-3.jar

constituent[17]:
file:/usr/local/maven-2.0-alpha-3/lib/doxia-core-1.0-alpha-3.jar

constituent[18]: file:/usr/local/maven-2.0-alpha-3/lib/jline-0.9.1.jar

constituent[19]:
file:/usr/local/maven-2.0-alpha-3/lib/wagon-file-1.0-alpha-4.jar

constituent[20]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-artifact-manager-2.0-alpha-3
.jar

constituent[21]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-artifact-2.0-alpha-3.jar

constituent[22]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-project-2.0-alpha-3.jar

---

java.lang.NumberFormatException: For input string: 

at
java.lang.NumberFormatException.forInputString(NumberFormatException.jav
a:48)

at java.lang.Integer.parseInt(Integer.java:489)

at java.lang.Integer.valueOf(Integer.java:574)

at
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.getIntegerValue(Set
tingsXpp3Reader.java:148)

at
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseProxy(Settings
Xpp3Reader.java:451)

at
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseSettings(Setti
ngsXpp3Reader.java:601)

at
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.read(SettingsXpp3Re
ader.java:979)

at
org.apache.maven.settings.DefaultMavenSettingsBuilder.readSettings(Defau
ltMavenSettingsBuilder.java:89)

at
org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(Defa
ultMavenSettingsBuilder.java:110)

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

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

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

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

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

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

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

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

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

 

Has anyone seen this before and if so is there a fix for it?

 

Thanks

 

Chris Haskins

 

Senior Analyst Developer

Logistics  Information Systems
Customer Solutions  Support
BAE SYSTEMS

 

Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

Tel: + 44 (0) 1454 284900

Fax:+ 44 (0) 1454 284950

This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender. You
should not copy it or use it for any purpose nor disclose or distribute
its contents to any other person.

 



Re: [m2] Artifact in two different versions?

2005-07-04 Thread Carlos Sanchez
Hi Jörg,

You can. It's working for me with Hibernate 2.x and 3.x.

Regards

On 7/4/05, Jörg Schaible [EMAIL PROTECTED] wrote:
 Hi,
 
 can I specify dependencies to an artifact in two different versions? We 
 provide a library that can be used with webworks 1.x as well as with webworks 
 2.x. Since the artifact use internally different package names, this works 
 perfectly. For M1 we introduced an artifactId for one of the libs on your own 
 and use the override mechanism to point to a project local version, but this 
 is gone for M2.
 
 - Jö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: [m2] Artifact in two different versions?

2005-07-04 Thread Emmanuel Venisse

You'll can use it with profiles. I'm not sure it's available in alpha-3.

Emmanuel

Jörg Schaible wrote:

Hi,

can I specify dependencies to an artifact in two different versions? We provide 
a library that can be used with webworks 1.x as well as with webworks 2.x. 
Since the artifact use internally different package names, this works 
perfectly. For M1 we introduced an artifactId for one of the libs on your own 
and use the override mechanism to point to a project local version, but this is 
gone for M2.

- Jö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: Creating a Project Skeleton (java.lang.NumberFormatException: For input string: )

2005-07-04 Thread Emmanuel Venisse

You have define a proxy in your settings.xml, and the port isn't an integer.

Emmanuel

Christopher Haskins wrote:

Hi,

 


I have just installed Maven 2.0 on a linux box and I am following the
setup instructions. I am just at the stage where I am creating a project
skeleton and I run the following command;  m2 archetype:create
-DgroupId=com.mycompany.app -DartifactId=my-app

 


I get a java.lang.NumberFormatException: For input string: .

 


The stack trace is as follows;

 


constituent[0]:
file:/usr/local/maven-2.0-alpha-3/lib/wagon-http-lightweight-1.0-alpha-4
.jar

constituent[1]:
file:/usr/local/maven-2.0-alpha-3/lib/wagon-ssh-1.0-alpha-4.jar

constituent[2]:
file:/usr/local/maven-2.0-alpha-3/lib/commons-validator-1.1.4.jar

constituent[3]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-model-2.0-alpha-3.jar

constituent[4]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-profile-2.0-alpha-3.jar

constituent[5]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-settings-2.0-alpha-3.jar

constituent[6]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-plugin-registry-2.0-alpha-3.
jar

constituent[7]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-plugin-descriptor-2.0-alpha-
3.jar

constituent[8]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-core-2.0-alpha-3.jar

constituent[9]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-reporting-api-2.0-alpha-3.ja
r

constituent[10]: file:/usr/local/maven-2.0-alpha-3/lib/jsch-0.1.17.jar

constituent[11]: file:/usr/local/maven-2.0-alpha-3/lib/oro-2.0.7.jar

constituent[12]:
file:/usr/local/maven-2.0-alpha-3/lib/wagon-provider-api-1.0-alpha-4.jar

constituent[13]:
file:/usr/local/maven-2.0-alpha-3/lib/plexus-input-handler-1.0-alpha-2.j
ar

constituent[14]:
file:/usr/local/maven-2.0-alpha-3/lib/commons-cli-1.0-beta-2.jar

constituent[15]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-monitor-2.0-alpha-3.jar

constituent[16]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-plugin-api-2.0-alpha-3.jar

constituent[17]:
file:/usr/local/maven-2.0-alpha-3/lib/doxia-core-1.0-alpha-3.jar

constituent[18]: file:/usr/local/maven-2.0-alpha-3/lib/jline-0.9.1.jar

constituent[19]:
file:/usr/local/maven-2.0-alpha-3/lib/wagon-file-1.0-alpha-4.jar

constituent[20]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-artifact-manager-2.0-alpha-3
.jar

constituent[21]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-artifact-2.0-alpha-3.jar

constituent[22]:
file:/usr/local/maven-2.0-alpha-3/lib/maven-project-2.0-alpha-3.jar

---

java.lang.NumberFormatException: For input string: 

at
java.lang.NumberFormatException.forInputString(NumberFormatException.jav
a:48)

at java.lang.Integer.parseInt(Integer.java:489)

at java.lang.Integer.valueOf(Integer.java:574)

at
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.getIntegerValue(Set
tingsXpp3Reader.java:148)

at
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseProxy(Settings
Xpp3Reader.java:451)

at
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.parseSettings(Setti
ngsXpp3Reader.java:601)

at
org.apache.maven.settings.io.xpp3.SettingsXpp3Reader.read(SettingsXpp3Re
ader.java:979)

at
org.apache.maven.settings.DefaultMavenSettingsBuilder.readSettings(Defau
ltMavenSettingsBuilder.java:89)

at
org.apache.maven.settings.DefaultMavenSettingsBuilder.buildSettings(Defa
ultMavenSettingsBuilder.java:110)

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

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

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)

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

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

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

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

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

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

 


Has anyone seen this before and if so is there a fix for it?

 


Thanks

 


Chris Haskins

 


Senior Analyst Developer

Logistics  Information Systems
Customer Solutions  Support
BAE SYSTEMS

 

Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 


Tel: + 44 (0) 1454 284900

Fax:+ 44 (0) 1454 284950

This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender. You
should not copy it or use it for any purpose nor disclose or distribute
its contents to any other person.

 






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



hello. (Maven generate reports )

2005-07-04 Thread Sreenivas Mangasandra
Hello !!!

 

The reports such as CheckStyle, Javadocs etc generated by the Maven is in
the html format. 

Does any body know if we can we generate reports using maven into xml
format,

So that I can store them onto a database and later use them for some
processing. 

Thanks.

 

With Best regards / Mit freundlichen Grüßen 

Sreenivas Mangasandra,

Intland Software GmbH, Wankel Str. 3,

D-70563 Stuttgart, Germany.

Tel.: +49 711 722 1834

 



Re: [m2] javacc plugin

2005-07-04 Thread Stephane Nicoll
Why don't you open a Jira issue with a patch? The maven team was about
to remove the JavaCC plugin from the list of 'released' plugins
because it was lacking of support.

Thanks,
Stéphane

On 7/4/05, Donszelmann, Mark [EMAIL PROTECTED] wrote:
 
 Hi
 
 if someone writes one, it would be nice if it could handle
 arbitrary options and multiple .jj files.
 
 for m1 we modified the standard one, see
 
 http://java.freehep.org/freehep-jcc-plugin
 
 Regards
 Mark
 -Original Message-
 From: Allan Ramirez [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 04, 2005 12:04 AM
 To: Maven Users List
 Subject: [m2] javacc plugin
 
 Hi everyone,
 
 Is there anyone working on javacc plugin in m2?
 
 thanks,
 allan
 
 -
 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]
 
 


-- 
.::You're welcome ::.

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



RE: [m2] Artifact in two different versions?

2005-07-04 Thread Jörg Schaible
Carlos Sanchez wrote on Monday, July 04, 2005 11:50 AM:

 Hi Jörg,
 
 You can. It's working for me with Hibernate 2.x and 3.x.

Great news! Thanks, guys!

 
 Regards
 
 On 7/4/05, Jörg Schaible [EMAIL PROTECTED] wrote:
 Hi,
 
 can I specify dependencies to an artifact in two different versions?
 We provide a library that can be used with webworks 1.x as well as
 with webworks 2.x. Since the artifact use internally different
 package names, this works perfectly. For M1 we introduced an
 artifactId for one of the libs on your own and use the override
 mechanism to point to a project local version, but this is gone for
 M2. 
 
 - Jö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]

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



RE: hello. (Maven generate reports )

2005-07-04 Thread Dário Luís Coneglian Oliveros
Hi Sreenivas,

You will be able to find these reports in XML format in the 'generated-xdocs' 
directory.
Maven actually creates the xml documents first and then convert them to html.
Hope it helps.

Dário

-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 07:18
To: users@maven.apache.org
Subject: hello. (Maven generate reports )


Hello !!!

 

The reports such as CheckStyle, Javadocs etc generated by the Maven is in
the html format. 

Does any body know if we can we generate reports using maven into xml
format,

So that I can store them onto a database and later use them for some
processing. 

Thanks.

 

With Best regards / Mit freundlichen Grüßen 

Sreenivas Mangasandra,

Intland Software GmbH, Wankel Str. 3,

D-70563 Stuttgart, Germany.

Tel.: +49 711 722 1834

 


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



AW: hello. (Maven generate reports )

2005-07-04 Thread Sreenivas Mangasandra
Hi Dário,

thanks, i found it. 


Sreenivas.

-Ursprüngliche Nachricht-
Von: Dário Luís Coneglian Oliveros [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 4. Juli 2005 14:31
An: Maven Users List
Betreff: RE: hello. (Maven generate reports )

Hi Sreenivas,

You will be able to find these reports in XML format in the
'generated-xdocs' directory.
Maven actually creates the xml documents first and then convert them to
html.
Hope it helps.

Dário

-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 07:18
To: users@maven.apache.org
Subject: hello. (Maven generate reports )


Hello !!!

 

The reports such as CheckStyle, Javadocs etc generated by the Maven is in
the html format. 

Does any body know if we can we generate reports using maven into xml
format,

So that I can store them onto a database and later use them for some
processing. 

Thanks.

 

With Best regards / Mit freundlichen Grüßen 

Sreenivas Mangasandra,

Intland Software GmbH, Wankel Str. 3,

D-70563 Stuttgart, Germany.

Tel.: +49 711 722 1834

 


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



AW: hello. (Maven generate reports )

2005-07-04 Thread Sreenivas Mangasandra
Hi Dário,

I would like to know a few more things. Please let me know about it.

How can maven be started from Java? Are there examples how to integrate
maven into java applications? i.e, do we have any APIs so that we call 
Maven from a java program etc.


Can we stop maven from not downloading the plugins during a goal completion.
Since we need to integrate into a product, where it can be a local
Installation without an internet connection. 

Shall be thankful for any ideas / suggestions.Thanks.

Sreenivas.



-Ursprüngliche Nachricht-
Von: Dário Luís Coneglian Oliveros [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 4. Juli 2005 14:31
An: Maven Users List
Betreff: RE: hello. (Maven generate reports )

Hi Sreenivas,

You will be able to find these reports in XML format in the
'generated-xdocs' directory.
Maven actually creates the xml documents first and then convert them to
html.
Hope it helps.

Dário

-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 07:18
To: users@maven.apache.org
Subject: hello. (Maven generate reports )


Hello !!!

 

The reports such as CheckStyle, Javadocs etc generated by the Maven is in
the html format. 

Does any body know if we can we generate reports using maven into xml
format,

So that I can store them onto a database and later use them for some
processing. 

Thanks.

 

With Best regards / Mit freundlichen Grüßen 

Sreenivas Mangasandra (mksreenivas),

Intland Software GmbH, Wankel Str. 3,

D-70563 Stuttgart, Germany.

Tel.: +49 711 722 1834

 


-
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: unable to deploy site using ftp

2005-07-04 Thread Erick Dovale
Hi all, 
I had it to work for a while doing the changes below. Thanks very much. 
Now, for some weird reason the thing hangs while uploading files to the
ftp server. 
When I try uploading other files manually to the ftp server it works
fine however, when I try uploading the generated files my ftp client
hangs as well. Any idea what could be happening?

Erick.

-Original Message-
From: NATARAJAN Sasi Kumar [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 04, 2005 3:12 AM
To: Maven Users List; Arnaud HERITIER
Subject: RE: unable to deploy site using ftp

Hai Arnaud

  I wrote custom plugin with Brett help.
 FTP is working for me Maven 1.0.2 with ant 1.6.
I use following code

forehead.config file

 [root]
 ${maven.home}/lib/ant-optional-1.5.3-1.jar
 ${maven.home}/lib/NetComponents.jar

Plugin.jelly file

goal name=source:ftp description=Copy the artifacts
taskdef
name=ftp

classname=org.apache.tools.ant.taskdefs.optional.net.FTP
/

 ant:ftp server=${maven.remote.machine}
userid=${maven.remote.user} password=${maven.remote.password}
remotedir=${maven.remote.dir}
fileset dir=${maven.ftp.source}
 include name=**/*.*/
 /fileset
  /ant:ftp
/goal

Build.properties file

maven.remote.machine=
maven.remote.user=
maven.remote.password=
maven.remote.port=
maven.ftp.source=

Cheers
Sasikumar

-Original Message-
From: Arnaud HERITIER [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 04, 2005 12:22 PM
To: Maven Users List
Subject: Re: unable to deploy site using ftp

The site:ftpdeploy goal doesn't work in maven 1.0.X.
It's documented on subversion but it was not published :-(
 It's weird, I thought Brett did it.
 This issue is resolved in maven 1.1 which uses ant 1.6.
 Sorry
 Arnaud
  

 On 7/4/05, NATARAJAN Sasi Kumar [EMAIL PROTECTED] wrote: 
 
 Hai
 
 You can set following in forehead.config. This file available in maven
 bin directory.
 
 [root]
 ${maven.home}/lib/ant-optional-1.5.3-1.jar
 
 Cheers
 Sasikumar
 
 -Original Message-
 From: edovale [mailto:[EMAIL PROTECTED]
 Sent: Sunday, July 03, 2005 7:06 PM
 To: 'Maven Users List'
 Subject: unable to deploy site using ftp
 
 
 Hello there,
 
 I am trying to deploy the site using ftp and I am getting anexception
 saying the maven is unable to find
 classorg.apache.tools.ant.taskdefs.optional.net.FTP.
 
 When I look into the lib folder in my maven installationfolder I see
 there is ant-optional-1.5.3-1.jar and the the class
 org.apache.tools.ant.taskdefs.optional.net.FTPis in there.
 
 Have any one had this problem before??
 
 Here goes the stack trace obtained running maven #8211;X
 
 
 
 Thanks.
 
 
 
 BUILD FAILED
 
 File.. C:\Documents
 andSettings\edovale\.maven\cache\maven-site-plugin-1.6.
 
 1\plugin.jelly
 
 Element... taskdef
 
 Line.. 130
 
 Column 6
 
 taskdef class org.apache.tools.ant.taskdefs.optional.net.FTPcannot be
 found
 
 com.werken.werkz.UnattainableGoalException: Unable to obtaingoal
 [site:deploy]
 
 -- C:\Documents
 andSettings\edovale\.maven\cache\maven-site-plugin-1.6.1\plugin
 
 .jelly:130:6: taskdef taskdef

classorg.apache.tools.ant.taskdefs.optional.nethttp://classorg.apache.t
ools.ant.taskdefs.optional.net
 
 .FTP cannot be found
 
 at com.werken.werkz.Goal.fire(Goal.java:646)
 
 atcom.werken.werkz.Goal.attain(Goal.java:575)
 
 

atorg.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:
 
 671)
 
 
 atorg.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
 
 atorg.apache.maven.cli.App.doMain(App.java:488)
 
 atorg.apache.maven.cli.App.main(App.java:1239)
 
 atsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 
 

atsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
 
 java:39)
 
 

atsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
 
 sorImpl.java:25)
 
 atjava.lang.reflect.Method.invoke(Method.java:585)
 
 atcom.werken.forehead.Forehead.run(Forehead.java:551)
 
 atcom.werken.forehead.Forehead.main(Forehead.java:581)
 
 org.apache.commons.jelly.JellyTagException: C:\Documents
 andSettings\edovale\.m
 
 aven\cache\maven-site-plugin-1.6.1\plugin.jelly:130:6:taskdef
taskdef
 class o
 
 rg.apache.tools.ant.taskdefs.optional.net.FTP cannot befound
 
 

atorg.apache.commons.jelly.impl.TagScript.handleException(TagScript.jav
 
 a:683)
 
 
 atorg.apache.commons.jelly.impl.TagScript.run(TagScript.java:288)
 
 
 atorg.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
 
 

atorg.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTa
 
 g.java:79)
 
 

atorg.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.perfor
 
 mAction(MavenGoalTag.java:110)
 
 atcom.werken.werkz.Goal.fire(Goal.java:639)
 
 atcom.werken.werkz.Goal.attain(Goal.java:575)
 
 
 atcom.werken.werkz.WerkzProject.attainGoal(WerkzProject.java:193)
 
 

atorg.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttai
 
 

RE: hello. (Maven generate reports )

2005-07-04 Thread Dário Luís Coneglian Oliveros
Hi Sreenivas,

Unfortunately I don´t know the answer for your first question.
Regarding the second one, you can disable the download from internet by setting 
the property 'maven.mode.online' to false. Another option is to create a mirror 
of ibiblio in your intranet and then donwload the artifacts from the new remote 
repository by pointing the 'maven.repo.remote' to your web server, e.g., 
http://www.intland.com/repository/ibiblio.

Dário



-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 09:43
To: 'Maven Users List'
Subject: AW: hello. (Maven generate reports )


Hi Dário,

I would like to know a few more things. Please let me know about it.

How can maven be started from Java? Are there examples how to integrate
maven into java applications? i.e, do we have any APIs so that we call 
Maven from a java program etc.


Can we stop maven from not downloading the plugins during a goal completion.
Since we need to integrate into a product, where it can be a local
Installation without an internet connection. 

Shall be thankful for any ideas / suggestions.Thanks.

Sreenivas.



-Ursprüngliche Nachricht-
Von: Dário Luís Coneglian Oliveros [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 4. Juli 2005 14:31
An: Maven Users List
Betreff: RE: hello. (Maven generate reports )

Hi Sreenivas,

You will be able to find these reports in XML format in the
'generated-xdocs' directory.
Maven actually creates the xml documents first and then convert them to
html.
Hope it helps.

Dário

-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 07:18
To: users@maven.apache.org
Subject: hello. (Maven generate reports )


Hello !!!

 

The reports such as CheckStyle, Javadocs etc generated by the Maven is in
the html format. 

Does any body know if we can we generate reports using maven into xml
format,

So that I can store them onto a database and later use them for some
processing. 

Thanks.

 

With Best regards / Mit freundlichen Grüßen 

Sreenivas Mangasandra (mksreenivas),

Intland Software GmbH, Wankel Str. 3,

D-70563 Stuttgart, Germany.

Tel.: +49 711 722 1834

 


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



AW: hello. (Maven generate reports )

2005-07-04 Thread Sreenivas Mangasandra
Hi Dário,

Thanks for the answer. So it means that by using the 'maven.mode.online' we
can stop downloading of the plugins during a maven run. Could we not have a 
Local folder of a PC to be pointed as the repository. I mean copy / download
the plugins from the web n then later copy them into a folder for the
repository. I shall be trying this option. 

I have found a folder called .maven in the documents directory of the
user, but how does one manually copy the plugins into this directory is 
Not known by me. Could let me know anything on this...

Thanks

Sreenivas.



-Ursprüngliche Nachricht-
Von: Dário Luís Coneglian Oliveros [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 4. Juli 2005 15:45
An: Maven Users List
Betreff: RE: hello. (Maven generate reports )

Hi Sreenivas,

Unfortunately I don´t know the answer for your first question.
Regarding the second one, you can disable the download from internet by
setting the property 'maven.mode.online' to false. Another option is to
create a mirror of ibiblio in your intranet and then donwload the artifacts
from the new remote repository by pointing the 'maven.repo.remote' to your
web server, e.g., http://www.intland.com/repository/ibiblio.

Dário



-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 09:43
To: 'Maven Users List'
Subject: AW: hello. (Maven generate reports )


Hi Dário,

I would like to know a few more things. Please let me know about it.

How can maven be started from Java? Are there examples how to integrate
maven into java applications? i.e, do we have any APIs so that we call 
Maven from a java program etc.


Can we stop maven from not downloading the plugins during a goal completion.
Since we need to integrate into a product, where it can be a local
Installation without an internet connection. 

Shall be thankful for any ideas / suggestions.Thanks.

Sreenivas.



-Ursprüngliche Nachricht-
Von: Dário Luís Coneglian Oliveros [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 4. Juli 2005 14:31
An: Maven Users List
Betreff: RE: hello. (Maven generate reports )

Hi Sreenivas,

You will be able to find these reports in XML format in the
'generated-xdocs' directory.
Maven actually creates the xml documents first and then convert them to
html.
Hope it helps.

Dário

-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 07:18
To: users@maven.apache.org
Subject: hello. (Maven generate reports )


Hello !!!

 

The reports such as CheckStyle, Javadocs etc generated by the Maven is in
the html format. 

Does any body know if we can we generate reports using maven into xml
format,

So that I can store them onto a database and later use them for some
processing. 

Thanks.

 

With Best regards / Mit freundlichen Grüßen 

Sreenivas Mangasandra (mksreenivas),

Intland Software GmbH, Wankel Str. 3,

D-70563 Stuttgart, Germany.

Tel.: +49 711 722 1834

 


-
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: hello. (Maven generate reports )

2005-07-04 Thread Dário Luís Coneglian Oliveros
Hi,

You sure can do that. If I am not mistaken, you should set the 
maven.repo.remote to something like file://c:\\maven/repository.
Remember that there is a difference between remote and local repository. By 
default all the artifacts used by maven and your project are downloaded from a 
remote repository (ibiblio site) and placed under ${user.home}, which is 
default local repository. That´s why you found a .maven directory under your 
user home.
You can find more information on 
http://maven.apache.org/reference/internal-repositories.html
Hope it helps.

Dário

-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 11:20
To: 'Maven Users List'
Subject: AW: hello. (Maven generate reports )


Hi Dário,

Thanks for the answer. So it means that by using the 'maven.mode.online' we
can stop downloading of the plugins during a maven run. Could we not have a 
Local folder of a PC to be pointed as the repository. I mean copy / download
the plugins from the web n then later copy them into a folder for the
repository. I shall be trying this option. 

I have found a folder called .maven in the documents directory of the
user, but how does one manually copy the plugins into this directory is 
Not known by me. Could let me know anything on this...

Thanks

Sreenivas.



-Ursprüngliche Nachricht-
Von: Dário Luís Coneglian Oliveros [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 4. Juli 2005 15:45
An: Maven Users List
Betreff: RE: hello. (Maven generate reports )

Hi Sreenivas,

Unfortunately I don´t know the answer for your first question.
Regarding the second one, you can disable the download from internet by
setting the property 'maven.mode.online' to false. Another option is to
create a mirror of ibiblio in your intranet and then donwload the artifacts
from the new remote repository by pointing the 'maven.repo.remote' to your
web server, e.g., http://www.intland.com/repository/ibiblio.

Dário



-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 09:43
To: 'Maven Users List'
Subject: AW: hello. (Maven generate reports )


Hi Dário,

I would like to know a few more things. Please let me know about it.

How can maven be started from Java? Are there examples how to integrate
maven into java applications? i.e, do we have any APIs so that we call 
Maven from a java program etc.


Can we stop maven from not downloading the plugins during a goal completion.
Since we need to integrate into a product, where it can be a local
Installation without an internet connection. 

Shall be thankful for any ideas / suggestions.Thanks.

Sreenivas.



-Ursprüngliche Nachricht-
Von: Dário Luís Coneglian Oliveros [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 4. Juli 2005 14:31
An: Maven Users List
Betreff: RE: hello. (Maven generate reports )

Hi Sreenivas,

You will be able to find these reports in XML format in the
'generated-xdocs' directory.
Maven actually creates the xml documents first and then convert them to
html.
Hope it helps.

Dário

-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 07:18
To: users@maven.apache.org
Subject: hello. (Maven generate reports )


Hello !!!

 

The reports such as CheckStyle, Javadocs etc generated by the Maven is in
the html format. 

Does any body know if we can we generate reports using maven into xml
format,

So that I can store them onto a database and later use them for some
processing. 

Thanks.

 

With Best regards / Mit freundlichen Grüßen 

Sreenivas Mangasandra (mksreenivas),

Intland Software GmbH, Wankel Str. 3,

D-70563 Stuttgart, Germany.

Tel.: +49 711 722 1834

 


-
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: [m2] javacc plugin

2005-07-04 Thread Donszelmann, Mark
Hi

the plugin we wrote for javacc is not really a patched version of the
the maven-javacc-plugin. I did not open a jira issue yet, as I considered
it to be 'competitive' with the maven-javacc one and felt it not-done
to add it as issue to their list.

When we started using m1, we thought the javacc plugin was missing generality
and some other plugins for tools delivered by sun were missing, such as
rmic and idlj. We needed to run those tools in one project, on multiple
sources with different options.

In m1 that functionality can easily be written into a maven.xml
and if that functionality needs to be shared, changing the plugin into
plugin.jelly is almost trivial. 

As far as I understand the maven.xml disappeared in m2. So it would
probably be a good idea if the sun tools (rmic, idlj and javacc being a 
special one though) would be supported by maven plugins.

Ours are available (for anyone) for maven 1:

http://java.freehep.org/freehep-jcc-plugin
http://java.freehep.org/freehep-rmic-plugin
http://java.freehep.org/freehep-idlj-plugin


or from the repository:

http://java.freehep.org/maven

groupId = freehep
artifactId and version = freehep-jcc-plugin-1.0, freehep-rmic-1.0 and 
freehep-idlj-1.0

When we move to m2, we would rewrite them if no other functionality is
available.

Regards
Mark

 

-Original Message-
From: Stephane Nicoll [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 04, 2005 4:45 AM
To: Maven Users List
Subject: Re: [m2] javacc plugin

Why don't you open a Jira issue with a patch? The maven team was about to 
remove the JavaCC plugin from the list of 'released' plugins because it was 
lacking of support.

Thanks,
Stéphane

On 7/4/05, Donszelmann, Mark [EMAIL PROTECTED] wrote:
 
 Hi
 
 if someone writes one, it would be nice if it could handle arbitrary 
 options and multiple .jj files.
 
 for m1 we modified the standard one, see
 
 http://java.freehep.org/freehep-jcc-plugin
 
 Regards
 Mark
 -Original Message-
 From: Allan Ramirez [mailto:[EMAIL PROTECTED]
 Sent: Monday, July 04, 2005 12:04 AM
 To: Maven Users List
 Subject: [m2] javacc plugin
 
 Hi everyone,
 
 Is there anyone working on javacc plugin in m2?
 
 thanks,
 allan
 
 -
 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]
 
 


--
.::You're welcome ::.

-
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] testResources not working ?

2005-07-04 Thread c_inconnu3

c_inconnu3 a écrit :


Hi,

I have this pom:

?xml version=1.0 encoding=UTF-8?

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 
maven-v4_0_0.xsd


   modelVersion4.0.0/modelVersion

   groupIdmygroup/groupId
   artifactIdtests/artifactId
   version0.20-SNAPSHOT/version

   packagingjar/packaging

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

   build
   testResources
   testResource
   directorysrc/test/resources/directory
   includes
   include**/*.properties/include
   /includes
   /testResource
   /testResources

   plugins
   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-compiler-plugin/artifactId
   version2.0-alpha-3/version
   configuration
   source1.5/source
   target1.5/target
   /configuration
   /plugin
   /plugins
   /build
  /project

And a properties file in src/test/resources/a/b/c.
When I run m2 test the following always returns null:

InputStream inputStream = 
ClassLoader.getSystemResourceAsStream(a/b/c/myTest.properties);

System.out.println(  + inputStream);
inputStream = getClass().getResourceAsStream(a/b/c/myTest.properties);
System.out.println(  + inputStream);

This works in eclipse and the properties files are indeed copied into 
target/test-classes/a/b/c

I am certainly missing something but what ?

Thanks

David DIDIER


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




An idea ?


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



AW: hello. (Maven generate reports )

2005-07-04 Thread Sreenivas Mangasandra
Hi Dário,

Thanks alot it worked.

Sreenivas.


-Ursprüngliche Nachricht-
Von: Dário Luís Coneglian Oliveros [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 4. Juli 2005 16:37
An: Maven Users List
Betreff: RE: hello. (Maven generate reports )

Hi,

You sure can do that. If I am not mistaken, you should set the
maven.repo.remote to something like file://c:\\maven/repository.
Remember that there is a difference between remote and local repository. By
default all the artifacts used by maven and your project are downloaded from
a remote repository (ibiblio site) and placed under ${user.home}, which is
default local repository. That´s why you found a .maven directory under your
user home.
You can find more information on
http://maven.apache.org/reference/internal-repositories.html
Hope it helps.

Dário

-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 11:20
To: 'Maven Users List'
Subject: AW: hello. (Maven generate reports )


Hi Dário,

Thanks for the answer. So it means that by using the 'maven.mode.online' we
can stop downloading of the plugins during a maven run. Could we not have a 
Local folder of a PC to be pointed as the repository. I mean copy / download
the plugins from the web n then later copy them into a folder for the
repository. I shall be trying this option. 

I have found a folder called .maven in the documents directory of the
user, but how does one manually copy the plugins into this directory is 
Not known by me. Could let me know anything on this...

Thanks

Sreenivas.



-Ursprüngliche Nachricht-
Von: Dário Luís Coneglian Oliveros [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 4. Juli 2005 15:45
An: Maven Users List
Betreff: RE: hello. (Maven generate reports )

Hi Sreenivas,

Unfortunately I don´t know the answer for your first question.
Regarding the second one, you can disable the download from internet by
setting the property 'maven.mode.online' to false. Another option is to
create a mirror of ibiblio in your intranet and then donwload the artifacts
from the new remote repository by pointing the 'maven.repo.remote' to your
web server, e.g., http://www.intland.com/repository/ibiblio.

Dário



-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 09:43
To: 'Maven Users List'
Subject: AW: hello. (Maven generate reports )


Hi Dário,

I would like to know a few more things. Please let me know about it.

How can maven be started from Java? Are there examples how to integrate
maven into java applications? i.e, do we have any APIs so that we call 
Maven from a java program etc.


Can we stop maven from not downloading the plugins during a goal completion.
Since we need to integrate into a product, where it can be a local
Installation without an internet connection. 

Shall be thankful for any ideas / suggestions.Thanks.

Sreenivas.



-Ursprüngliche Nachricht-
Von: Dário Luís Coneglian Oliveros [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 4. Juli 2005 14:31
An: Maven Users List
Betreff: RE: hello. (Maven generate reports )

Hi Sreenivas,

You will be able to find these reports in XML format in the
'generated-xdocs' directory.
Maven actually creates the xml documents first and then convert them to
html.
Hope it helps.

Dário

-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 07:18
To: users@maven.apache.org
Subject: hello. (Maven generate reports )


Hello !!!

 

The reports such as CheckStyle, Javadocs etc generated by the Maven is in
the html format. 

Does any body know if we can we generate reports using maven into xml
format,

So that I can store them onto a database and later use them for some
processing. 

Thanks.

 

With Best regards / Mit freundlichen Grüßen 

Sreenivas Mangasandra (mksreenivas),

Intland Software GmbH, Wankel Str. 3,

D-70563 Stuttgart, Germany.

Tel.: +49 711 722 1834

 


-
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 

Project Plugin regarding CPD.

2005-07-04 Thread Sreenivas Mangasandra
Hello,

 

I am using Maven to generate several different kinds of project reports. 

I could generate a few of them, but the CPD (Detection of copy-paste code)
report does not

Get generated. Any idea?

 

Maven version : 1.0.2

Java : 1.4.2

 

Part of the project.xml file:

 

reports

   reportmaven-checkstyle-plugin/report

   reportmaven-javadoc-plugin/report

   reportmaven-jdepend-plugin/report

   reportmaven-junit-report-plugin/report

   reportmaven-jxr-plugin/report

   reportmaven-license-plugin/report

reportmaven-linkcheck-plugin/report

   reportmaven-pmd-plugin/report

   reportmaven-simian-plugin/report

   reportmaven-tasklist-plugin/report

/reports

 

What is the tag for the CPD plugin, I checked out with
reportmaven-CPD-plugin/report, but it failed.

 

On maven site : http://maven.apache.org/cpd-report.html

 

With Best regards / Mit freundlichen Grüßen 

Sreenivas Mangasandra,

Intland Software GmbH, Wankel Str. 3,

D-70563 Stuttgart, Germany.

Tel.: +49 711 722 1834

 



Re: hello. (Maven generate reports )

2005-07-04 Thread Arik Kfir

Hi Sreenivas,


Activating Maven (1.x) from Java is a bit cumberstone, as it was 
designed as a commandline app. Maven 2 is a lot better in that, but it 
is not released yet (alpha-3). There are parts of it, however, that can 
be utilitzed in another app's context - we do that in Mevenide.



If you can define your needs perhaps I can be of some assistance.


Cheers,

   Arik Kfir.


Dário Luís Coneglian Oliveros wrote:


Hi Sreenivas,

Unfortunately I don´t know the answer for your first question.
Regarding the second one, you can disable the download from internet by setting 
the property 'maven.mode.online' to false. Another option is to create a mirror 
of ibiblio in your intranet and then donwload the artifacts from the new remote 
repository by pointing the 'maven.repo.remote' to your web server, e.g., 
http://www.intland.com/repository/ibiblio.

Dário



-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 09:43
To: 'Maven Users List'
Subject: AW: hello. (Maven generate reports )


Hi Dário,

I would like to know a few more things. Please let me know about it.

How can maven be started from Java? Are there examples how to integrate
maven into java applications? i.e, do we have any APIs so that we call 
Maven from a java program etc.



Can we stop maven from not downloading the plugins during a goal completion.
Since we need to integrate into a product, where it can be a local
Installation without an internet connection. 


Shall be thankful for any ideas / suggestions.Thanks.

Sreenivas.



-Ursprüngliche Nachricht-
Von: Dário Luís Coneglian Oliveros [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 4. Juli 2005 14:31

An: Maven Users List
Betreff: RE: hello. (Maven generate reports )

Hi Sreenivas,

You will be able to find these reports in XML format in the
'generated-xdocs' directory.
Maven actually creates the xml documents first and then convert them to
html.
Hope it helps.

Dário

-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED]
Sent: segunda-feira, 4 de julho de 2005 07:18
To: users@maven.apache.org
Subject: hello. (Maven generate reports )


Hello !!!



The reports such as CheckStyle, Javadocs etc generated by the Maven is in
the html format. 


Does any body know if we can we generate reports using maven into xml
format,

So that I can store them onto a database and later use them for some
processing. 


Thanks.



With Best regards / Mit freundlichen Grüßen 


Sreenivas Mangasandra (mksreenivas),

Intland Software GmbH, Wankel Str. 3,

D-70563 Stuttgart, Germany.

Tel.: +49 711 722 1834




-
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: Project Plugin regarding CPD.

2005-07-04 Thread Jeff Jensen

The directions here:
http://maven.apache.org/reference/plugins/pmd/properties.html

Say to do this:
maven.pmd.cpd.enable=true

Is that set?

 

-Original Message-
From: Sreenivas Mangasandra [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 04, 2005 12:31 PM
To: 'Maven Users List'
Subject: Project Plugin regarding CPD.

Hello,

 

I am using Maven to generate several different kinds of project reports. 

I could generate a few of them, but the CPD (Detection of copy-paste code)
report does not

Get generated. Any idea?

 

Maven version : 1.0.2

Java : 1.4.2

 

Part of the project.xml file:

 

reports

   reportmaven-checkstyle-plugin/report

   reportmaven-javadoc-plugin/report

   reportmaven-jdepend-plugin/report

   reportmaven-junit-report-plugin/report

   reportmaven-jxr-plugin/report

   reportmaven-license-plugin/report

reportmaven-linkcheck-plugin/report

   reportmaven-pmd-plugin/report

   reportmaven-simian-plugin/report

   reportmaven-tasklist-plugin/report

/reports

 

What is the tag for the CPD plugin, I checked out with
reportmaven-CPD-plugin/report, but it failed.

 

On maven site : http://maven.apache.org/cpd-report.html

 

With Best regards / Mit freundlichen Grüßen 

Sreenivas Mangasandra,

Intland Software GmbH, Wankel Str. 3,

D-70563 Stuttgart, Germany.

Tel.: +49 711 722 1834

 



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



maven multi project

2005-07-04 Thread Maven User
Does anyone know to suppress the Unit Test to a specific project if no
changes made.

Example: 

Project A
Project B depends on Project  A

if i want create a jar for Project B and there's no changes in Project
Core A.  It should test on project B not on project A since there's no
change to it.

Alvin

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



Re: maven multi project

2005-07-04 Thread Arik Kfir
only way I can think of is create a 'build.properties' file inside 
project A, with the line 'maven.test.skip=true' (without the quotes).



Maven User wrote:


Does anyone know to suppress the Unit Test to a specific project if no
changes made.

Example: 


Project A
Project B depends on Project  A

if i want create a jar for Project B and there's no changes in Project
Core A.  It should test on project B not on project A since there's no
change to it.

Alvin

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


 



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



[M2] Exceptions during static initialization of a TestCase are eaten

2005-07-04 Thread Crampton, Eric
I have a class which is loaded by my TestCase. That class does some static 
initialization. In the process of moving my Ant-based project to Maven, some 
resources weren't set properly which caused that static initialization to 
fail. Unfortunately, m2 eats that exception and just shows zero tests as having 
run:

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

Enabling -X and -e doesn't help and nothing is written in 
target/surefire-reports. This problem is easy to reproduce: just throw an 
unchecked exception from within the static block of a class which extends 
TestCase.

Am I correct in hoping that m2 will give me the offending stack trace?

Thanks!
--Eric

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