Re: How to customize the compiler plugin

2006-06-23 Thread Toto Laricot

Have a look at
http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html
The executable should be what you need.
T.

On 6/23/06, Clifton Craig <[EMAIL PROTECTED]> wrote:


Hello all,

I have a question. How do I plug a different compiler into the compiler
plugin? Is there a guide or a howto that I can referr to? I need to know
what's involved. Do I have to write some Java code (a compiler class or
something) or can I get away with using the plugin attributes, forking,
and
setting a custom command line? I went down this road with Groovy with no
success and now I need to compile XSLTs. Can somebody guide me?

-
Clifton C. Craig, Software Engineer
Tell me what's up...
visit: http://codeforfun.wordpress.com
[EMAIL PROTECTED]

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




Re: [m204] Error with compiler plugin with new project...

2006-06-23 Thread Mick Knutson

This is my 1st project at this new company and never had an issue.


Thanks
Mick Knutson

http://www.BASELogic.com
http://www.MickKnutson.com

MSN Messenger: [EMAIL PROTECTED]



- Original Message - 
From: "Brett Porter" <[EMAIL PROTECTED]>

To: "Maven Users List" 
Sent: Friday, June 23, 2006 5:13 PM
Subject: Re: [m204] Error with compiler plugin with new project...



Something strange going on, for sure. Do other projects build ok for you?

The only thing out of place I see:
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-p
lugin-2.0.1.pom

I'd suggest removing any reference to that repository.

- Brett

On 24/06/06, Mick Knutson <[EMAIL PROTECTED]> wrote:

Sorry, I did not see your email yesterday.
But, I removed my entire repository, and started again, and here is my 
pom,

then my FULL exception with -e



-
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: [m204] Error with compiler plugin with new project...

2006-06-23 Thread Brett Porter

Something strange going on, for sure. Do other projects build ok for you?

The only thing out of place I see:
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-p
lugin-2.0.1.pom

I'd suggest removing any reference to that repository.

- Brett

On 24/06/06, Mick Knutson <[EMAIL PROTECTED]> wrote:

Sorry, I did not see your email yesterday.
But, I removed my entire repository, and started again, and here is my pom,
then my FULL exception with -e



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



Re: How do I use the output of a maven build as a resources of another.

2006-06-23 Thread Wendy Smoak

On 6/23/06, Steve Menke <[EMAIL PROTECTED]> wrote:


I am using maven 2.0 to build a jar file of applet classes. I need to
include this output as resource / file in a web application which is
also built with maven 2.0. Does anyone know the best and hopefully
easiest way of doing this?


In the webapp module, declare a dependency on your applet jar, and
Maven will include it in WEB-INF/lib.

Make sure you build the applet jar with 'mvn install' (not just 'mvn
package') so it will be present in your local repository.

--
Wendy

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



Re: [m204] Error with compiler plugin with new project...

2006-06-23 Thread Mick Knutson

Sorry, I did not see your email yesterday.
But, I removed my entire repository, and started again, and here is my pom, 
then my FULL exception with -e




C:\Documents and Settings\mknutson\My Documents\wand\pw-90>mvn -e package
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   PrO Unlimited PW-90 Project
[INFO]   PrO Unlimited Common Sub-Projects
[INFO]   common-jar
[INFO] 


[INFO] Building PrO Unlimited PW-90 Project
[INFO]task-segment: [package]
[INFO] 


[INFO] [site:attach-descriptor]
[INFO] 


[INFO] Building PrO Unlimited Common Sub-Projects
[INFO]task-segment: [package]
[INFO] 


[INFO] [site:attach-descriptor]
[INFO] 


[INFO] Building common-jar
[INFO]task-segment: [package]
[INFO] 

Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-compiler-p

lugin-2.0.1.pom
Downloading: 
http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.2/maven-surefire-plu

gin-2.2.pom
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
-
this realm = 
app0.child-container[org.apache.maven.plugins:maven-compiler-plugin]
urls[0] = file:/C:/Documents and 
Settings/mknutson/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-

compiler-plugin-2.0.1.jar
Number of imports: 0


this realm = plexus.core.maven
urls[0] = file:/C:/maven-2.0.4/bin/../lib/commons-cli-1.0.jar
urls[1] = file:/C:/maven-2.0.4/bin/../lib/doxia-sink-api-1.0-alpha-7.jar
urls[2] = file:/C:/maven-2.0.4/bin/../lib/jsch-0.1.24.jar
urls[3] = file:/C:/maven-2.0.4/bin/../lib/maven-artifact-2.0.4.jar
urls[4] = file:/C:/maven-2.0.4/bin/../lib/maven-artifact-manager-2.0.4.jar
urls[5] = file:/C:/maven-2.0.4/bin/../lib/maven-core-2.0.4.jar
urls[6] = file:/C:/maven-2.0.4/bin/../lib/maven-error-diagnostics-2.0.4.jar
urls[7] = file:/C:/maven-2.0.4/bin/../lib/maven-model-2.0.4.jar
urls[8] = file:/C:/maven-2.0.4/bin/../lib/maven-monitor-2.0.4.jar
urls[9] = file:/C:/maven-2.0.4/bin/../lib/maven-plugin-api-2.0.4.jar
urls[10] = file:/C:/maven-2.0.4/bin/../lib/maven-plugin-descriptor-2.0.4.jar
urls[11] = 
file:/C:/maven-2.0.4/bin/../lib/maven-plugin-parameter-documenter-2.0.4.jar

urls[12] = file:/C:/maven-2.0.4/bin/../lib/maven-plugin-registry-2.0.4.jar
urls[13] = file:/C:/maven-2.0.4/bin/../lib/maven-profile-2.0.4.jar
urls[14] = file:/C:/maven-2.0.4/bin/../lib/maven-project-2.0.4.jar
urls[15] = file:/C:/maven-2.0.4/bin/../lib/maven-reporting-api-2.0.4.jar
urls[16] = 
file:/C:/maven-2.0.4/bin/../lib/maven-repository-metadata-2.0.4.jar

urls[17] = file:/C:/maven-2.0.4/bin/../lib/maven-settings-2.0.4.jar
urls[18] = 
file:/C:/maven-2.0.4/bin/../lib/plexus-interactivity-api-1.0-alpha-4.jar

urls[19] = file:/C:/maven-2.0.4/bin/../lib/wagon-file-1.0-alpha-7.jar
urls[20] = 
file:/C:/maven-2.0.4/bin/../lib/wagon-http-lightweight-1.0-alpha-6.jar
urls[21] = 
file:/C:/maven-2.0.4/bin/../lib/wagon-provider-api-1.0-alpha-6.jar

urls[22] = file:/C:/maven-2.0.4/bin/../lib/wagon-ssh-1.0-alpha-7.jar
urls[23] = 
file:/C:/maven-2.0.4/bin/../lib/wagon-ssh-external-1.0-alpha-6.jar

Number of imports: 0


this realm = plexus.core
urls[0] = 
file:/C:/maven-2.0.4/bin/../core/plexus-container-default-1.0-alpha-9.jar

urls[1] = file:/C:/maven-2.0.4/bin/../core/plexus-utils-1.1.jar
Number of imports: 0
-
[INFO] 


[ERROR] BUILD ERROR
[INFO] 

[INFO] Internal error in the plugin manager executing goal 
'org.apache.maven.plugins:maven-compiler-plugin:2.0.1:compile': Un
able to find the mojo 
'org.apache.maven.plugins:maven-compiler-plugin:2.0.1:compile' in the plugin 
'org.apache.maven.plugins:

maven-compiler-plugin'
org/codehaus/plexus/compiler/CompilerException
[INFO] 


[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in 
the plugin manager executing goal 'org.apache.maven
.plugins:maven-compiler-plugin:2.0.1:compile': Unable to find the mojo 
'org.apache.maven.plugins:maven-compiler-plugin:2.0.1:

compile' in the plugin 'org.apache.maven.plugins:maven-compiler-plugin

cobertura override

2006-06-23 Thread Chris DeJong
Anyone have an example of a maven2 pom.xml that overrides Cobertura
excludes from a parent pom.xml?  I can't seem to change the Cobertura
excludes set by the parent, or add any excludes to those of the parent. 
I just keep getting the parent's exclude settings.

Thanks,
Chris
-- 
  Chris DeJong
  [EMAIL PROTECTED]

-- 
http://www.fastmail.fm - IMAP accessible web-mail


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



How do I use the output of a maven build as a resources of another.

2006-06-23 Thread Steve Menke
I am using maven 2.0 to build a jar file of applet classes. I need to
include this output as resource / file in a web application which is
also built with maven 2.0. Does anyone know the best and hopefully
easiest way of doing this?

 

-Steve

 

 


How to customize the compiler plugin

2006-06-23 Thread Clifton Craig
Hello all,

I have a question. How do I plug a different compiler into the compiler 
plugin? Is there a guide or a howto that I can referr to? I need to know 
what's involved. Do I have to write some Java code (a compiler class or 
something) or can I get away with using the plugin attributes, forking, and 
setting a custom command line? I went down this road with Groovy with no 
success and now I need to compile XSLTs. Can somebody guide me?

- 
Clifton C. Craig, Software Engineer
Tell me what's up...
visit: http://codeforfun.wordpress.com
[EMAIL PROTECTED]

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



Re: [m204] Error with compiler plugin with new project...

2006-06-23 Thread Brett Porter

The POM looks fine.

I can help more if you give the specific exception from -e (which I
asked yesterday).

I'd also try removing at least org/codehaus/plexus/compiler and
org/apache/maven/plugins/maven-compiler-plugin from your local
repository if you want to try and brute force it.

- Brett

On 24/06/06, Mick Knutson <[EMAIL PROTECTED]> wrote:

I have tried everything. Can anyone look at my pom and tell me what the
issue is here please


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



RE: Precompiling JSPs with Maven 2

2006-06-23 Thread Ian Springer
Yes, there's a jspc plugin -
http://mojo.codehaus.org/jspc-maven-plugin/usage.html 

| -Original Message-
| From: Justin Akehurst [mailto:[EMAIL PROTECTED] 
| Sent: Friday, June 23, 2006 6:30 PM
| To: users@maven.apache.org
| Subject: Precompiling JSPs with Maven 2
| 
| Hello, I'm trying to implement Maven 2 here in place of Ant, and
| wanted to know if there was a way to precompile JSP files using a
| plugin that may already be written.
| 
| -Justin
| 
| -
| 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]



Precompiling JSPs with Maven 2

2006-06-23 Thread Justin Akehurst

Hello, I'm trying to implement Maven 2 here in place of Ant, and
wanted to know if there was a way to precompile JSP files using a
plugin that may already be written.

-Justin

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



Re: hibernate3 extension - No Suitable Driver

2006-06-23 Thread bkbonner

Max, I did do this, which is why I posted my original msg.  Thanks for
replying, just the same.

I realized what was happening.  The driver URL syntax had changed in the new
driver version.

I wanted to rule out that there wasn't anything special about the artifact. 
Lo and behold, it's just a regular JDBC driver library as you correctly
stated.

Brian
--
View this message in context: 
http://www.nabble.com/hibernate3-extension---No-Suitable-Driver-t1838389.html#a5019392
Sent from the Maven - Users forum at Nabble.com.


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



Re: hibernate3 extension - No Suitable Driver

2006-06-23 Thread Max Cooper
Look at the page you posted a link to. It clearly shows how to specify 
your JDBC driver library as an "extension". Do that, and your error will 
go away.


-Max

bkbonner wrote:
I meant to include this link to the Maven-hibernate3 mojo: 


http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/howto.html

Thanks.
--
View this message in context: 
http://www.nabble.com/hibernate3-extension---No-Suitable-Driver-t1838389.html#a5018707
Sent from the Maven - Users forum 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]



RAR plugin problem

2006-06-23 Thread Nidhi Tuli
RAR plug in I downloaded doesn't seem to generate jar file. It is simply
compiling the code and generating a rar file with just the dependencies
in it. The generated rar file does not contain the jar of the compiled
source. 
 
Is there a way to get this plugin to generate jar files of the compiled
code before bundling it up in rar file?
 
Thanks
Nidhi


RE: M2: Using version ranges in dependencies

2006-06-23 Thread Mike Perham
Yep, I just ran into this also.  I have a module which has [1.1.0,) and
1.1.0 and 1.1.1-SNAPSHOT in my local repo.  I can't release the module.
It basically makes dependency ranges unusable for us.  I'm unclear who's
at fault here (the release plugin, maven's dependency resolution
alogrithm, etc) but it seems like release plugin should ignore resolved
SNAPSHOTs where that dependency was specified with a range.  Anyone else
have any comments? 

> -Original Message-
> From: Akbarr [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 22, 2006 12:22 PM
> To: Maven Users List
> Subject: M2: Using version ranges in dependencies
> 
> Hi all,
> 
> I have a doubt with dependencies using version ranges. Here:
> 
> http://docs.codehaus.org/display/MAVEN/Dependency+Mediation+an
> d+Conflict+Resolution#DependencyMediationandConflictResolution
> -DependencyVersionRanges
> 
> It says:
>  "Incorporating SNAPSHOT versions into the specification
> 
> Resolution of dependency ranges should not resolve to a snapshot
> (development version) unless it is included as an explicit 
> boundary. There
> is no need to compile against development code unless you are 
> explicitly
> using a new feature, under which the snapshot will become the 
> lower bound of
> your version specification. As releases are considered newer than the
> snapshot they belong to, they will be chosen over an old 
> snapshot if found.
> 
> It is possible that applications such as Continuum may have a 
> mode that
> enables always resolving to the snapshot version, but this is 
> external to
> the POM itself."
> 
> 
> 
> But I'm not sure whether it's an implemented feature or not. 
> I have a POM
> with a dependency:
> 
>   
>com.digibis
>digisqlhib
>[1.3, ]
>
>   
> 
> 
> 
> But when I try to run a relese:prepare, I get this output:
> 
> [INFO] Can't release project due to non released dependencies :
> 
> com.digibis:digisqlhib:jar:1.4-SNAPSHOT:compile
> 
> 
> 
> Is there a way to avoid snapshots in version ranges? Am I 
> doing something
> wrong?. I'm using Maven 2.0.4 and I have separate 
> repositories for releases
> and snapshots.
> 
> Thanks in advance,
> 
> [Akbarr]
> 

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



hibernate3 extension - No Suitable Driver

2006-06-23 Thread bkbonner

Out at the maven-hibernate3 plugin (for maven2), it indicates that an
extension needs to be defined.  I believe Extension is generated by Modello
from the maven.mdo file, but I can't say for certain.

What should this extension contain.  I tried included the groupId,
artifactId and version of a jar file that contains the JDBC Driver I'm
interested in which is installed in my local repository.  Is this all I
need?

I'm still getting this error msg:

[INFO]

[INFO] Building Data Extract
[INFO]task-segment: [hibernate3:schema-export]
[INFO]

[INFO] Searching repository for plugin with prefix: 'hibernate3'.
[INFO] Preparing hibernate3:schema-export
[INFO] xmlbeans:xmlbeans {execution: default}
[INFO] Either nothing to generate or all schema objects are up to date.
[INFO] resources:resources
[INFO] Using default encoding to copy filtered resources.
[INFO] compiler:compile
[INFO] Nothing to compile - all classes are up to date
[INFO] hibernate3:schema-export
log4j:WARN No appenders could be found for logger
(org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.
[INFO] Configuration XML file loaded:
C:\callisto_workspace\DataExtract\src\main\resources\hibernate.cfg.xml
[INFO] No hibernate properties file loaded: None specified.
[WARN] 1 error(s) occurred while performing .
[WARN] Error #1: java.sql.SQLException: No suitable driver
[ERROR] mojo-execute : hibernate3:schema-export
Diagnosis: Errors while performing 
FATAL ERROR: Error executing Maven for a project
[ERROR] project-execute : paraware:DataExtract:jar:0.0.1 (  task-segment:
[hibernate3:schema-export] )
Diagnosis: Errors while performing 
FATAL ERROR: Error executing Maven for a project
org.apache.maven.lifecycle.LifecycleExecutionException: Errors while
performing 
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
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.embedder.MavenEmbedder.execute(MavenEmbedder.java:441)
at 
org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:382)
at org.maven.ide.eclipse.Maven2Executor.main(Maven2Executor.java:68)
Caused by: org.apache.maven.plugin.MojoExecutionException: Errors while
performing 
at
org.codehaus.mojo.hibernate3.exporter.SchemaExportMojo.doSchemaExport(SchemaExportMojo.java:89)
at
org.codehaus.mojo.hibernate3.exporter.SchemaExportMojo.doExecute(SchemaExportMojo.java:51)
at
org.codehaus.mojo.hibernate3.HibernateExporterMojo.execute(HibernateExporterMojo.java:60)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
... 8 more


Thanks.
--
View this message in context: 
http://www.nabble.com/hibernate3-extension---No-Suitable-Driver-t1838389.html#a5018690
Sent from the Maven - Users forum at Nabble.com.


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



Re: hibernate3 extension - No Suitable Driver

2006-06-23 Thread bkbonner

I meant to include this link to the Maven-hibernate3 mojo: 

http://mojo.codehaus.org/maven-hibernate3/hibernate3-maven-plugin/howto.html

Thanks.
--
View this message in context: 
http://www.nabble.com/hibernate3-extension---No-Suitable-Driver-t1838389.html#a5018707
Sent from the Maven - Users forum at Nabble.com.


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



Re: Deleting additional directories during clean

2006-06-23 Thread John Casey

wow, thanks!

-j

On 6/23/06, Mike Perham <[EMAIL PROTECTED]> wrote:


Thanks John.  I just added site documentation based on this example.

> -Original Message-
> From: John Casey [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 23, 2006 11:51 AM
> To: Maven Users List
> Subject: Re: Deleting additional directories during clean
>
> This is not to short circuit the documentation effort, but
> the usage is:
>
[snip]

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




RE: conditionally loading property files

2006-06-23 Thread ertnutler

has anybody worked out a solution to this?  i'd like to do something very
similar, but at the very least i'd like to avoid redefining properties when
the values won't differ
--
View this message in context: 
http://www.nabble.com/conditionally-loading-property-files-t1412492.html#a5017698
Sent from the Maven - Users forum at Nabble.com.


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



RE: Deleting additional directories during clean

2006-06-23 Thread Mike Perham
Thanks John.  I just added site documentation based on this example. 

> -Original Message-
> From: John Casey [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 23, 2006 11:51 AM
> To: Maven Users List
> Subject: Re: Deleting additional directories during clean
> 
> This is not to short circuit the documentation effort, but 
> the usage is:
> 
[snip]

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



RE: clover:save-history goal for 2.x?

2006-06-23 Thread Vincent Massol


> -Original Message-
> From: Michael Waluk [mailto:[EMAIL PROTECTED]
> Sent: vendredi 23 juin 2006 20:41
> To: Maven Users List
> Subject: clover:save-history goal for 2.x?
> 
> Hi,
> 
> I was just wondering if anyone (VM?) knows if/when the historical data
> report will be available in this plugin for Maven 2.x.  

Historical reports are already available in the clover plugin version 2.2
but this version has not been released yet so you'll need to build it from
sources or use a snapshot version.

I'm planning to release it soon. Actually I think I have even sent the vote
email so it's only a matter of releasing it. I'll try to do it over the
weekend and ping me if I forget... ;-)

Thanks
-Vincent






___ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire.
http://fr.mail.yahoo.com

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



Build stuck - need help

2006-06-23 Thread Adam

Greetings:

I have a build stuck in the build phase.  I have restarted Continuum
and forced a build all projects and all have built fine, including the
stuck one.  When I look at the builds for the project, it still shows
the one that stuck as stuck, even though the next builds have built.
Is this just a GUI error?

I should also add that the build got stuck because it was deploying a
WAR to Tomcat and a Perm Gen Space error was thrown which did not
allow the build to finish.


--
Adam Altemus
[EMAIL PROTECTED]


RE: Clover and Maven 2

2006-06-23 Thread Vincent Massol
Ah cool. I couldn't guess this. :-)

 

If you want to check for a TPC threshold you'll need to use the clover:check
goal. See the online doc for the clover plugin for more details.

 

-Vincent

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: vendredi 23 juin 2006 17:20
To: [EMAIL PROTECTED]; users@maven.apache.org
Subject: Clover and Maven 2

 

 

Hi 

Think I may have tracked it down ... 

My Junit test was a blank one, so didn't instantiate the class under test. 
This it would seem does not then recognise that the class has had no tests
(and hence has no coverage). What I was expecting was to say that the class
had no coverage.

Is this a configuration option I am missing ? 

Rgds 
Andy 



clover:save-history goal for 2.x?

2006-06-23 Thread Michael Waluk

Hi,

I was just wondering if anyone (VM?) knows if/when the historical data
report will be available in this plugin for Maven 2.x.  I don't mean to be
pushy, but I was just curious.  Or alternatively is anyone creating it by
binding an equivalent ant call(s)?

Thanks,
Michael


Re: maven 2.0.4 & Checkstyle 4.1: Unable to process header location

2006-06-23 Thread Dongsheng Song

Thanks

2006/6/24, shen kai <[EMAIL PROTECTED]>:


if license.txt is empty, the checkstyle will be occur error.




Re: Any news about the update of Maven2 book with corrected errata ?

2006-06-23 Thread Carlos Sanchez

It'll be soon, stay tuned ;)

On 6/23/06, Sebastien Arbogast <[EMAIL PROTECTED]> wrote:

Any news about the updated version of Maven2 book ?
If you need help, I'm volunteer :oP

--
Sébastien Arbogast

The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org

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





--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride

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



Re: Can't get jni working based on example configuration

2006-06-23 Thread dan tran

Ok, I added  javah -o support.

You will need to get the latest source and build it your self since I am not
able to deploy a snapshot to codehaus

native-maven-plugin/src/it/jni/native/win32/pom.xml has the example
configuration

-Dan


On 6/22/06, dan tran <[EMAIL PROTECTED]> wrote:


see comments inline

 On 6/22/06, TimHedger <[EMAIL PROTECTED]> wrote:
>
>
> Thank you for the feedback so far.  I've adopted the pom.xml changes you
> suggested.  I'd love to look at the Solaris jni example - how do I get
> it?
> (i.e. how do I check out the jni example on solaris under
> native-maven-plugin/src/it/jni?)


 https://svn.codehaus.org/mojo/trunk/mojo/maven-native/

that will get you all the source code + examples

The jni step runs, but I'm having problems with compilation because the
> jni
> output file has a different name to that in my existing build system
> (and I
> don't want to change the code, as then the old build system won't
> work).  My
> existing javah command line has a -o  parameter that specifies
> the
> output filename (so I'm able to specify BcpBase.h instead of getting the
>
> fully qualified package based name under the native plugin
> rbos.fm.mktrisk.sql.BcpBase.h).  The web site configuration pages don't
> show
> any way of passing in the -o parameter to javah - can this be done?



 suggest to do an experimental port by creating a branch for it.  It is
quite tough
to keep the legacy file system intact.



This is my current pom.xml:
>
> http://maven.apache.org/POM/4.0.0 "
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
> 4.0.0
> rbos.fm.mktrisk
> javabcp
> so
> 1.0-SNAPSHOT
> Maven Quick Start Archetype
> http://maven.apache.org
>
>  
> rbos.fm.mktrisk
> javabcpbase
> 1.0-SNAPSHOT
> compile
>  
>  
>   
>   
> 
>   
> org.codehaus.mojo
> native-maven-plugin
> true
> 
>
>
> /opt/workshop5/SUNWspro/SC5.0/bin/cc
>   
>  -c -g -Dsun_svr4=1



 remove -c,   the plugin will insert it

-DSOLARIS
>   
>   
> 
>   src/main/c
>   
> exutils.c
>  Blk.c
>   
> 
> 
>/opt/sybaseSW/sybase12.5/OCS-12_0/include
> 
> 
> 
>/usr/java1.4.1_02_32/include 
> 


>/usr/java1.4.1_02_32/include/solaris
> 
> 
>   




 suggest to set /usr/java1.4.1_02_32
>

so you dont have to set previous 2 include paths

  
>  -G -lblk -lct -lcs -ltcl -lcomn -lintl
> -Bdynamic -lnsl -ldl -lm 
>   
> 
>
> 
> 
> 
>
> 
>   
> javah
> generate-sources
> 
>   
> 
>   
>   
> 
> 
>   javah
> 
>   
>
>  
>
> 
> 
>
> And this is the javah command line from my existing build system:
> /usr/java1.4.1_02_32/bin/javah -jni -classpath (classpath list)  -o
> /home/hedgert/work/javautil/gen/rbos/fm/mktrisk/sql/BcpBase.h
> rbos.fm.mktrisk.sql.BcpBase




 you will need to file a JIRA for this request.  better yet help to patch
it

And this is what I'm getting under Maven:
> /usr/java1.4.1_02_32/jre/../bin/javah -d
> /home/hedgert/maven/javabcp/target/native/javah -classpath
>
> 
/home/hedgert/.m2/repository/rbos/fm/mktrisk/javabcpbase/1.0-SNAPSHOT/javabcpbase-
> 1.0-SNAPSHOT.jar
> rbos.fm.mktrisk.sql.BcpBase




--
> View this message in context:
> 
http://www.nabble.com/Can%27t-get-jni-working-based-on-example-configuration-t1825144.html#a5006238
> Sent from the Maven - Users forum at Nabble.com .
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




RE: [m204] Error with compiler plugin with new project...

2006-06-23 Thread Mick Knutson
I have tried everything. Can anyone look at my pom and tell me what the 
issue is here please

===
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation=" http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>

   4.0.0

   com.prounlimited
   ${pw90.version}

   prounlimited
   pom
   PrO Unlimited PW-90 Project
   PrO Unlimited PW-90 Project
   2003
   
   Looksmart, Inc.
   http://www.prounlimited.net
   
   
   
   
   Copyright PrO Unlimited
   LICENSE.txt
   Comments about this license...
   repo
   
   
   http://www.prounlimited.com


   
   
scm:svn:http://prodeng/svn/prounlimited/prounlimitedm2

   http://prodeng/svn/prounlimited/prounlimitedm2
   

   
   
   
   backup
   Maven Repository Switchboard
   default
   http://repo1.maven.org/maven2

   
   true
   
   
   

   
   
   central
   Maven Plugin Repository
   default
   http://repo1.maven.org/maven2

   
   true
   
   
   never
   
   
   
   mojo_snapshot
   Maven Plugin Repository
   default

   http://snapshots.maven.codehaus.org/maven2

   
   true
   
   
   never
   
   
   

   
   
   common
   
   
   

   


   

   package

   
   


   

   

   


   

   
   
   src/main/filters
   true
   
   

   

   


   
   ${basedir}/target/site
   

   


   
   

   



   
   
   


   
   com.prounlimited.common
   common-jar
   ${common.version}
   jar
   
   

   

   

   
   

   



   
   
   mknutson
   Mick Knutson
   http://www.baselogic.com/resume/index.html
   BASE logic, Inc.
   http://www.prounlimited.net
   
   Analyst
   Java Architect
   Java Designer
   Java Developer
   
   -8
   
   


   
   
   

















---
Thank You
Mick Knutson

BASE logic, inc.
(415) 648-1804 (San Francisco, CA)
http://www.BASELogic.com

http://www.djmick.com
---





From: "Mick Knutson" <[EMAIL PROTECTED]>
Reply-To: "Maven Users List" 
To: users@maven.apache.org
Subject: [m204] Error with compiler plugin with new project...
Date: Thu, 22 Jun 2006 14:18:56 -0700

Can someone help figure out why I am getting the following error with a new 
project of mine???





[INFO] [xdoclet:xdoclet {execution: default}]
[INFO] Initializing DocletTasks!!!
[INFO] Executing tasks
Jun 22, 2006 1:22:23 PM xdoclet.XDocletMain start
INFO: Running 
[INFO] Executed tasks
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
-
this realm = 
app0.child-container[org.apache.maven.plugins:maven-compiler-plugin]
urls[0] = file:/C:/Documents and 
Settings/mknutson/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/2.0.1/maven-

compiler-plugin-2.0.1.jar
Number of imports: 0


this realm = plexus.core.maven
urls[0] = file:/C:/maven-2.0.4/bin/../lib/commons-cli-1.0.jar
urls[1] = file:/C:/maven-2.0.4/bin/../lib/doxia-sink-api-1.0-alpha-7.jar
urls[2] = file:/C:/maven-2.0.4/bin/../lib/jsch-0.1.24.jar
urls[3] = file:/C:/maven-2.0.4/bin/../lib/maven-artifact-2.0.4.jar
urls[4] = file:/C:/maven-2.0.4/bin/../lib/maven-artifact-manager-2.0.4.jar
urls[5] = file:/C:/maven-2.0.4/bin/../lib/maven-core-2.0.4.jar
urls[6] = file:/C:/maven-2.0.4/bin/../lib/maven-error-diagnostics-2.0.4.jar
urls[7] = file:/C:/maven-2.0.4/bin/../lib/maven-model-2.0.4.jar
urls[8] = file:/C:/maven-2.0.4/bin/../lib/maven-monitor-2.0.4.jar
urls[9] = file:/C:/maven-2.0.4/bin/../lib/maven-plugin-api-2.0.4.jar
urls[10] = 
file:/C:/maven-2.0.4/bin/../lib/maven-plugin-descriptor-2.0.4.jar
urls[11] = 
file:/C:/maven-2.0.4/bin/../lib/maven-plugin-parameter-documenter-2.0.4.jar

urls[12] = file:/C:/maven-2.0.4/bin/../lib/maven-plugin-registry-2.0.4.jar
urls[13] = file:/C:/maven-2.0.4/bin/../lib/maven-profile-2.0.4.jar
urls[14] = file:/C:/maven-2.0.4/bin/../lib/maven-project-2.0.4.jar
urls[15] = file:/C:/maven-2.0.4/bin/../lib/maven-reporting-api-2.0.4.jar
urls[16] = 
file:/C:/maven-2.0.4/bin/../lib/maven-repository-metadata-2.0.4.jar

urls[17] = file:/C:/maven-2.0.4/bin/../lib/maven-settings-2.0.4.jar
urls[18] = 
file:/C:/maven-2.0.4/bin/../lib/plexus-interactivity-api-1.0-alpha-4.jar

urls[19] = file:/C:/maven-2.0.4/bin/../lib/wagon-file-1.0-alpha-7.jar
urls[20] = 
file:/C:/maven-2.0.4/bin/../lib/

Re: Using Apache as a proxy for Continuum

2006-06-23 Thread Trygve Laugstøl

Sebastien Arbogast wrote:

I've just got Continuum up and running for one of my projects and the
last build ran successfully. Now I want to improve the visibility of
continuum: so far, it's accessible on http://myhost.com:8080/continuum
and I'd like it to be visible at http://continuum.myhost.com, without
the port number.

I guess I have to create a VirtualHost in my Apache2 configuration and
I guess that has something to do with mod_proxy. But I'm still far
from an Apache wizard and this page
((http://maven.apache.org/continuum/guides/mini/guide-configuration.html)
doesn't help me much because I don't even know where to put things.

Does anyone have an example of a working configuration ? A tutorial or
something ?


The page that you linked to contains working examples for Continuum and 
Apache Httpd. The Continuum part goes into application.xml and the two 
httpd lines goes into the apache configuration. For debian the default 
is /etc/apache2/httpd.conf, for OpenSolaris it is /etc/apache/httpd.conf.


--
Trygve


Re: APT Format - Complex?

2006-06-23 Thread John Casey

The site plugin and other documentation and reporting features of Maven use
Doxia (https://svn.apache.org/repos/asf/maven/doxia/trunk), which is a
framework for rendering and formatting from one markup to another. I think
there is some support for Confluence style in there already, and also Twiki.
If you like, you're welcome to send us whatever parsers/sinks you like!
Actually, I'm fairly certain that the site plugin et al will support
additional Doxia modules using plugin-level dependencies in the build
configuration of your POM.

HTH,

john

On 6/23/06, shen kai <[EMAIL PROTECTED]> wrote:


you can use xdoc instead of it , if you want to write context in html.

On 6/23/06, Subhash Chandran <[EMAIL PROTECTED]> wrote:
> I don't know if this is my biased opinion - but I find the APT format
pretty
> clumsy. Especially when putting source code, XMLs and tables  - I find
it
> discouraging to proceed. After using XWiki, I find its Wiki format
easier to
> develop and post. Support for something similar would be great. Also a
GUI
> tool to edit APT format would be great.
>
> Of course, these are my personal opinions.
>
> --
> Regards,
> Subhash Chandran S
>
> Cross platform OpenSource Java based file encryption software:
> http://www.WizTools.org/project/WizCrypt/
>
>

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




Re: C++

2006-06-23 Thread TheJoshua


dan tran wrote:
> 
> 1. Manage C++ builds - YES but You need to experiment see if it works out
> for you.
> how many platforms do you support?
> 

We used to develop in linux, using cross-compiling MinGW compilers to build
for Windows. 90% of our development is Win32. Yet, most of ours source-code
builds on Linux.

We are now completely reforming our building environment, de-centralizing
the build, and using Eclipse as an IDE, with CDT. We are looking for an
automated mode of building releases and organizing complex project
dependencies.


dan tran wrote:
> 
> 2. CVS/Sub   - YES  thru maven-scm
> 
> 

I believe I can have a lot of support here. Subversion is blooming.


dan tran wrote:
> 
> 3. Execution custom tools, YES thru maven-antrun-plugin or
> exec-maven-plugin
> 
> 

Can it be used to run C++ compilers?


dan tran wrote:
> 
> 4 Eclispe/Integration   NO
> 
> 

Damn... Is there a form of easily integrating Maven with easy-to-use tools,
so I can create project templates, build-it-all buttons,
update-the-version-of-this-library-and-build-the-whole-thing buttons, etc?


dan tran wrote:
> 
> 5. dream? almost there
> 
> 

Well, I think most of those things could be done by a reasonably viable,
home-made, scripting language automation tool.. But I would really like to
get mainstream about my tools. So, Maven is my greatest hope.
--
View this message in context: 
http://www.nabble.com/C%2B%2B-t1818748.html#a5015386
Sent from the Maven - Users forum at Nabble.com.


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



Re: Deleting additional directories during clean

2006-06-23 Thread John Casey

This is not to short circuit the documentation effort, but the usage is:


 [...]
   
 maven-clean-plugin
 
   
 
   some/relative/path
   
 **/*.tmp
 **/*.log
   
   
 **/important.log
 **/another-important.log
   
   false
 
   
 
[...]


HTH,

john

On 6/23/06, Mike Perham <[EMAIL PROTECTED]> wrote:


The current clean plugin in SVN has a filesets configuration element -
"The list of filesets to delete, in addition to the default directories"
but there's no documentation on how to use it.

http://jira.codehaus.org/browse/MCLEAN-12

> -Original Message-
> From: dan tran [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 23, 2006 10:14 AM
> To: Maven Users List
> Subject: Re: Deleting additional directories during clean
>
> bind maven-antrun-plugin to execute your clean task at "clean" phase
>
> On 6/23/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote:
> >
> > Hi.
> >
> > How could I instruct Maven to deleta additional directories
> during the
> > clean phase?
> >
> > Thanks for your time...
> >
> > Bye.
> > /lexi
> >
> >
> -
> > 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]




Any news about the update of Maven2 book with corrected errata ?

2006-06-23 Thread Sebastien Arbogast

Any news about the updated version of Maven2 book ?
If you need help, I'm volunteer :oP

--
Sébastien Arbogast

The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org

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



Re: APT Format - Complex?

2006-06-23 Thread shen kai

you can use xdoc instead of it , if you want to write context in html.

On 6/23/06, Subhash Chandran <[EMAIL PROTECTED]> wrote:

I don't know if this is my biased opinion - but I find the APT format pretty
clumsy. Especially when putting source code, XMLs and tables  - I find it
discouraging to proceed. After using XWiki, I find its Wiki format easier to
develop and post. Support for something similar would be great. Also a GUI
tool to edit APT format would be great.

Of course, these are my personal opinions.

--
Regards,
Subhash Chandran S

Cross platform OpenSource Java based file encryption software:
http://www.WizTools.org/project/WizCrypt/




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



Re: maven 2.0.4 & Checkstyle 4.1: Unable to process header location

2006-06-23 Thread shen kai

if license.txt is empty, the checkstyle will be occur error.

On 6/23/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:

those are the defaults

On 6/23/06, Dongsheng Song <[EMAIL PROTECTED]> wrote:
> When I use mvn -X checkstyle:checkstyle, found config suspicious:
> ...
> [DEBUG] Configuring mojo '
> org.apache.maven.plugins:maven-checkstyle-plugin:2.1:checkstyle' -->
> [DEBUG]   (f) cacheFile =
> C:\scm_work\nova\trunk\maven\target/checkstyle-cachefile
> [DEBUG]   (f) configLocation = config/sun_checks.xml
> [DEBUG]   (f) consoleOutput = false
> [DEBUG]   (f) enableFilesSummary = true
> [DEBUG]   (f) enableRSS = true
> [DEBUG]   (f) enableRulesSummary = true
> [DEBUG]   (f) enableSeveritySummary = true
> [DEBUG]   (f) failsOnError = false
> [DEBUG]   (f) format = sun
> [DEBUG]   (f) headerFile = C:\scm_work\nova\trunk\maven\LICENSE.txt
> [DEBUG]   (f) headerLocation = LICENSE.txt
> [DEBUG]   (f) includes = **/*.java
> [DEBUG]   (f) linkXRef = true
> [DEBUG]   (f) outputDirectory = C:\scm_work\nova\trunk\maven\target\site
> [DEBUG]   (f) outputFile = C:\scm_work\nova\trunk\maven\target\checkstyle-
> result.xml
> [DEBUG]   (f) outputFileFormat = xml
> [DEBUG]   (f) project = [EMAIL PROTECTED]
> [DEBUG]   (f) sourceDirectory = C:\scm_work\nova\trunk\maven\src\main\java
> [DEBUG]   (f) xrefLocation = C:\scm_work\nova\trunk\maven\target\site\xref
> [DEBUG] -- end configuration --
> ...
>
> Why:
> headerFile = C:\scm_work\nova\trunk\maven\LICENSE.txt
> headerLocation = LICENSE.txt
>
> I DO NOT set headerFile & headerLocation ! when I delete
> C:\scm_work\nova\trunk\maven\LICENSE.txt, all is ok.
>
> 2006/6/23, Carlos Sanchez <[EMAIL PROTECTED]>:
> >
> > You can check the output of -X, but i think it's just that file
> > doesn't exist. IIRC is config/sun_checks.xml
> >
>
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
 -- The Princess Bride

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



Using Apache as a proxy for Continuum

2006-06-23 Thread Sebastien Arbogast

I've just got Continuum up and running for one of my projects and the
last build ran successfully. Now I want to improve the visibility of
continuum: so far, it's accessible on http://myhost.com:8080/continuum
and I'd like it to be visible at http://continuum.myhost.com, without
the port number.

I guess I have to create a VirtualHost in my Apache2 configuration and
I guess that has something to do with mod_proxy. But I'm still far
from an Apache wizard and this page
((http://maven.apache.org/continuum/guides/mini/guide-configuration.html)
doesn't help me much because I don't even know where to put things.

Does anyone have an example of a working configuration ? A tutorial or
something ?

--
Sébastien Arbogast

The Epseelon Project : http://www.epseelon.net
Blog : http://sebastien-arbogast.epseelon.net
TagSpot : http://www.tagspot.org


Re: How to use findbugs in maven2?

2006-06-23 Thread Dongsheng Song

Thanks, I do as you say, but no errors detected, just silent success.
After I build
https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/findbugs-maven-plugin,
all is ok.

Another question, Can I discard some erros like this ?
VR: Unresolvable reference
EI/EI2: may expose internal representation

2006/6/23, Janhavi Phirke <[EMAIL PROTECTED]>:


Pls add following as stated:

  

   jaxen
   jaxen
   1.1-beta-8
   compile

  
  
  
   Maven Snapshots
   http://snapshots.maven.codehaus.org/maven2
  
  

  
  
  
  maven-plugins
  maven-findbugs-plugin
  1.0-SNAPSHOT
 
  
  

Also comment the  tag for jaxen in the pom of dom4j i.e.
dom4j-1.6.1.pom

Dependency for jaxen is added since I was getting the error for dom4j for
jaxen while adding findbugs plugin.

After adding above code in your pom.xml, run the command "mvn install"
which
will install/download findbugs plugin in your local repository and then
run
the command "mvn findbugs:findbugs".




Re: site-deploy problem with Windows shared directory

2006-06-23 Thread dan tran

try to set your url to

file:///\\hostname/


On 6/23/06, Gray, Jonathan <[EMAIL PROTECTED]> wrote:



Hi All,

I'm currently having a problem deploying the site for a multi-module
project
to a windows shared directory.

The share is specified in the parent POM as follows:


   
   project
   file:/hostname-on-network/shared-directory/
   


The generated site for the parent project deploys fine.  However, when it
comes to the child modules, the site logs that it is trying to deploy to,
for example:

[site:deploy]
file:///hostname-on-network/shared-directory/module-name/


However, 'module-name' directory is never created and the contents never
copied.

I have tried creating the 'module-name' directory manually but no contents
are copied.

The unusual thing is that multi-module project sites work perfectly if the
file URL is local.

Can anyone help with this problem?

Regards,
Jon

---
Jon

This message contains information that may be privileged or confidential
and is the property of the Capgemini Group. It is intended only for the
person to whom it is addressed. If you are not the intended recipient,  you
are not authorized to read, print, retain, copy, disseminate,  distribute,
or use this message or any part thereof. If you receive this  message in
error, please notify the sender immediately and delete all  copies of this
message.


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




Setting POM via ViewVC

2006-06-23 Thread Derek Mackie
I've installed ViewVC (use to be ViewCVS) and can't use any of the links
it provides to POM files when adding a new maven 2 project to continuum.
Continuum keeps telling me that the file the ViewVC URL points to is not
a valid 4.0.0 POM. If I use the link to the text version of the file
Continuum will accept the URL as a valid pom it but it won't build all
the child modules the pom references. The logs say the CVS command
failed, could not find .

 

Does anyone know how to use ViewVC with Continumm 1.0.3?

 



Re: C++

2006-06-23 Thread dan tran

1. Manage C++ builds - YES but You need to experiment see if it works out
for you.
   how many platforms do you support?

2. CVS/Sub   - YES  thru maven-scm

3. Execution custom tools, YES thru maven-antrun-plugin or exec-maven-plugin

4 Eclispe/Integration   NO

5. dream? almost there


On 6/23/06, TheJoshua <[EMAIL PROTECTED]> wrote:



I have been planning to adopt maven in my C++ development environment to
provide build automation.

We are planning to work building a set of interdepentent projects
organized
with Maven, and maybe abandoning make. I would like to know if there is a
way of managing C++ builds (done with GNU g++), CVS/Subversion
repositories,
execution of custom tools (file encription, statistics, etc.) and IDE
Integration (Eclipse), maybe removing the need of GNU make entirely.

It´s a dream, isn´t it? Well, can I keep dreaming?


John Casey-3 wrote:
>
> Currently, I'm involved with a project that is building C/C++ code using
> Maven and Make. Basically, because of time pressures and the complexity
of
> autotools, we're orchestrating Make builds by resolving/installing
> dependency packages, and using the POMs of dependencies for formulating
> configuration options. I don't believe the maven compiler plugin
natively
> supports C++ yet - there is no cpp adapter implementation for the
compiler
> framework we're using - but it's not beyond reason that we could add
this.
>
> Another thing I do hear about on a regular basis is the
> native-maven-plugin
> in the mojo project (http://mojo.codehaus.org,
> http://svn.codehaus.org/mojo),
> which should be approaching an alpha release soon. I'm not overly
familiar
> with how it works, but that's probably your best bet for getting started
> with C++ development in Maven today.
>
> In fact, multi-language support is something the Maven development team
is
> going to be working on in the near future, in terms of broadening
concepts
> like artifact identity and so forth. You're not alone in requesting
things
> like this, FWIW.
>
> Can you elaborate on how you would imagine using Maven with your C++
> projects?
>
> HTH,
>
> John
>
> On 6/20/06, Mccabe, Julie Francesca [IT] <
> [EMAIL PROTECTED]> wrote:
>>
>> Hello,
>>
>> I have done a few searches but could not find a conclusive claim that
>> Maven supports C++ development?  I did come across a design document
that
>> mentioned support for C++, however I would like to know if Maven is
used
>> for
>> C++ and how if there is any documentation ?
>>
>> Regards,
>> Julie.
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/C%2B%2B-t1818748.html#a5014608
Sent from the Maven - Users forum at Nabble.com.


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




Continuum not building after a CVSNT check in

2006-06-23 Thread Derek Mackie
Despite numerous attempts at resetting up continuum, maven and cvsnt
I've been unable to get continuum to build after a cvs commit. It builds
perfectly if I force a build but it won't respond to any cvs commits.

 

I have a parent pom that builds three modules like such

 

Main Project has pom.xml

Module 1 (ear) has pom.xml

Module 2 (lib) has pom.xml

Module 3 (war) has pom.xml

 

My environment is windows XP SP2, CVSNT (2.5.03), Continuum 1.0.3, Maven
2. Does anyone have any idea what might be wrong with my setup?

 



Re: JSP compiler plugin

2006-06-23 Thread Wayne Fay

Another advantage of pre-compiling JSPs during Maven compile/package
phase is that you get a nice compile-time check on the JSP file before
wasting time deploying your EAR/WAR only to find out a JSP is missing
a semi-colon or something equally dumb when the app server gets around
to compiling it for the first time...

Wayne

On 6/23/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:

Just to complete my answer, usually you would pack your precompiled
jsp pages in a jar respecting a naming convention according to your
application server so it can link them as servlets. I prefer to link
my pages as servlet at compile time to be sure my package will work on
any app server.

Anyway, I hate JSP. I much prefer Veloticy or Facelets in the JSF world :)

On 6/23/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> > Sorry if this is a banal question (I haven't done jsp precompiling yet),
> > so the jsp's get precompiled and exposed as servlets in the web.xml?
>
> Why?? In production it is usally the recommended approach.
>

-
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: C++

2006-06-23 Thread TheJoshua

I have been planning to adopt maven in my C++ development environment to
provide build automation.

We are planning to work building a set of interdepentent projects organized
with Maven, and maybe abandoning make. I would like to know if there is a
way of managing C++ builds (done with GNU g++), CVS/Subversion repositories,
execution of custom tools (file encription, statistics, etc.) and IDE
Integration (Eclipse), maybe removing the need of GNU make entirely.

It´s a dream, isn´t it? Well, can I keep dreaming?


John Casey-3 wrote:
> 
> Currently, I'm involved with a project that is building C/C++ code using
> Maven and Make. Basically, because of time pressures and the complexity of
> autotools, we're orchestrating Make builds by resolving/installing
> dependency packages, and using the POMs of dependencies for formulating
> configuration options. I don't believe the maven compiler plugin natively
> supports C++ yet - there is no cpp adapter implementation for the compiler
> framework we're using - but it's not beyond reason that we could add this.
> 
> Another thing I do hear about on a regular basis is the
> native-maven-plugin
> in the mojo project (http://mojo.codehaus.org,
> http://svn.codehaus.org/mojo),
> which should be approaching an alpha release soon. I'm not overly familiar
> with how it works, but that's probably your best bet for getting started
> with C++ development in Maven today.
> 
> In fact, multi-language support is something the Maven development team is
> going to be working on in the near future, in terms of broadening concepts
> like artifact identity and so forth. You're not alone in requesting things
> like this, FWIW.
> 
> Can you elaborate on how you would imagine using Maven with your C++
> projects?
> 
> HTH,
> 
> John
> 
> On 6/20/06, Mccabe, Julie Francesca [IT] <
> [EMAIL PROTECTED]> wrote:
>>
>> Hello,
>>
>> I have done a few searches but could not find a conclusive claim that
>> Maven supports C++ development?  I did come across a design document that
>> mentioned support for C++, however I would like to know if Maven is used
>> for
>> C++ and how if there is any documentation ?
>>
>> Regards,
>> Julie.
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
--
View this message in context: 
http://www.nabble.com/C%2B%2B-t1818748.html#a5014608
Sent from the Maven - Users forum at Nabble.com.


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



Re: JSP compiler plugin

2006-06-23 Thread Alexandre Poitras

Just to complete my answer, usually you would pack your precompiled
jsp pages in a jar respecting a naming convention according to your
application server so it can link them as servlets. I prefer to link
my pages as servlet at compile time to be sure my package will work on
any app server.

Anyway, I hate JSP. I much prefer Veloticy or Facelets in the JSF world :)

On 6/23/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:

> Sorry if this is a banal question (I haven't done jsp precompiling yet),
> so the jsp's get precompiled and exposed as servlets in the web.xml?

Why?? In production it is usally the recommended approach.



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



Re: JSP compiler plugin

2006-06-23 Thread Alexandre Poitras

Sorry if this is a banal question (I haven't done jsp precompiling yet),
so the jsp's get precompiled and exposed as servlets in the web.xml?


Why?? In production it is usally the recommended approach.

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



Re: + JBoss Embedded EJB3 and Surefire Plugin Maven 2 PROBLEM+

2006-06-23 Thread Marco Mistroni

Hello,
not yet... i havent had the time to 'publish' it

beside, i didnt find any link on where i can 'phisically' place it... and
even if i do, i m not sure i will
have permissions to commit anything.,...

can any maven guy give me some help?

thanx and regards
marco

On 6/23/06, Darren Hartford <[EMAIL PROTECTED]> wrote:


I would also like to see this example, help greatly in bootstarting EJB3
projects.

I checked the Wiki, and did not see an entry yet.  Is this published
somewhere?
-D

> -Original Message-
> From: Tim Kettler [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 09, 2006 5:00 AM
> To: Maven Users List
> Subject: Re: + JBoss Embedded EJB3 and Surefire Plugin Maven
> 2 PROBLEM+
>
> Marco Mistroni schrieb:
> > Hello,
> > i have done a sample project that uses EJB3 and maven..
> > i have sent it to many people... what id' like woul dbe to find a
> > public place where i can put it so i don't need to send it
> privately
> > to anyone
>
> I think the Maven-User wiki over at codehaus.org would be an
> appropriate place:
>
> http://docs.codehaus.org/display/MAVENUSER/Home
>
> > i will mail the code to you privately it uses
> embeddable-alpha--5...
> > i have anohter app (that uses seam) that has been tested using
> > embeddable-alpha6..
> >
> > i didnt arrive at alpha-7 / 8 (i didnt even know that they were
> > around), pls let me know which version you would like..
> > app is a small multi-project that uses ejbs & web to build an .ear
> >
> > hth
> > marco
> >
>
> -Tim
>
> [...]
>

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




RE: Deleting additional directories during clean

2006-06-23 Thread Mike Perham
The current clean plugin in SVN has a filesets configuration element -
"The list of filesets to delete, in addition to the default directories"
but there's no documentation on how to use it.

http://jira.codehaus.org/browse/MCLEAN-12

> -Original Message-
> From: dan tran [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 23, 2006 10:14 AM
> To: Maven Users List
> Subject: Re: Deleting additional directories during clean
> 
> bind maven-antrun-plugin to execute your clean task at "clean" phase
> 
> On 6/23/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote:
> >
> > Hi.
> >
> > How could I instruct Maven to deleta additional directories 
> during the
> > clean phase?
> >
> > Thanks for your time...
> >
> > Bye.
> > /lexi
> >
> > 
> -
> > 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]



Clover and Maven 2

2006-06-23 Thread Andrew-A . Davies
Title: Clover and Maven 2







Hi


Think I may have tracked it down ...


My Junit test was a blank one, so didn't instantiate the class under test.

This it would seem does not then recognise that the class has had no tests (and hence has no coverage). What I was expecting was to say that the class had no coverage.

Is this a configuration option I am missing ?


Rgds

Andy




Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

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

Re: Deleting additional directories during clean

2006-06-23 Thread dan tran

bind maven-antrun-plugin to execute your clean task at "clean" phase

On 6/23/06, Aleksei Valikov <[EMAIL PROTECTED]> wrote:


Hi.

How could I instruct Maven to deleta additional directories during the
clean phase?

Thanks for your time...

Bye.
/lexi

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




Re: [ANN] Maven2 javancss plugin 2.0-beta-1

2006-06-23 Thread Geoffrey De Smet

Thanks, I was reading an outdated cached version of that url...

Mike Perham wrote:

Geoffrey, read this:

http://mojo.codehaus.org/javancss-maven-plugin/howto.html


-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet
Sent: Friday, June 23, 2006 8:32 AM
To: users@maven.apache.org
Subject: Re: [ANN] Maven2 javancss plugin 2.0-beta-1

Nice report :)

On thing though: it aggregates the reports of the modules only if the 
module sites are already build before.


Basically:
mvn clean
mvn site
Would generate no aggregate

While,
mvn clean
mvn site
// add one line
mvn site
Would generate an aggregate with one line not counted.

This is probably related to how maven 2 handles modules,
but is there any ideas on how to fix it?



--
With kind regards,
Geoffrey De Smet


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



RE: Clover and Maven 2

2006-06-23 Thread Mike Perham
Andrew, FWIW, we've given up using Clover in an automated fashion for
now.  It conflicts with too many other plugins in unexpected ways.  We
just run 'mvn clover:instrument clover:clover' during development to
determine coverage needs.


> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 23, 2006 8:41 AM
> To: users@maven.apache.org
> Cc: [EMAIL PROTECTED]
> Subject: RE: Clover and Maven 2
> 
> Hi
> 
> The database got created automatically. I cleaned everything, 
> tried what
> you instructed & captured output (attached)
> Still no clover report.
> 
> 
>   
>   
>   
>   
> org.apache.maven.plugins
>   
> maven-clover-plugin
>   
>   
>   
>   
>   
>   
> org.apache.maven.plugins
>   
> maven-clover-plugin
>   
>   
>   
> C:\\clover\\clover.license
>   
>   
>   
>   
>   pre-site
>   
>   
> instrument
>   
>   
>   
>   
>   
> Rgds
> Andy
> 
> 
> 
> -Original Message-
> From: Janhavi Phirke [mailto:[EMAIL PROTECTED] 
> Sent: 23 June 2006 14:26
> To: Maven Users List
> Subject: Re: Clover and Maven 2
> 
> Is that database related to your work or you are using it just to
> generate the report? If the database it just to generate the report,
> then delete that database and try to do the steps mentioned in my
> previous mail.
> 
> 
> On 6/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> > There is a database there though debug output for same classes below
> >
> >
> 

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



RE: Re: [ANN] Maven2 javancss plugin 2.0-beta-1

2006-06-23 Thread Mike Perham
Geoffrey, read this:

http://mojo.codehaus.org/javancss-maven-plugin/howto.html

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey De Smet
> Sent: Friday, June 23, 2006 8:32 AM
> To: users@maven.apache.org
> Subject: Re: [ANN] Maven2 javancss plugin 2.0-beta-1
> 
> Nice report :)
> 
> On thing though: it aggregates the reports of the modules only if the 
> module sites are already build before.
> 
> Basically:
> mvn clean
> mvn site
> Would generate no aggregate
> 
> While,
> mvn clean
> mvn site
> // add one line
> mvn site
> Would generate an aggregate with one line not counted.
> 
> This is probably related to how maven 2 handles modules,
> but is there any ideas on how to fix it?
> 

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



RE: Clover and Maven 2

2006-06-23 Thread Andrew-A . Davies
Hi Vincent,

As requested.

Full Debug Attached.

Rgds
Andy



-Original Message-
From: Vincent Massol [mailto:[EMAIL PROTECTED] 
Sent: 23 June 2006 15:12
To: 'Maven Users List'
Subject: RE: Clover and Maven 2

 

 

  _  

From: Vincent Massol [mailto:[EMAIL PROTECTED]
Sent: vendredi 23 juin 2006 14:24
To: 'Maven Users List'
Subject: RE: Clover and Maven 2

 

Hi Andrew,

 

 

[snip]

Well I could try to help you if you could run maven in debug mode (-X)
and attach the console output.

Please do not copy paste in the email as it'll be unreadable but please
attach the *full* console log to your reply email in a file or give a
link to a rafb pointer.

Thanks
-Vincent


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

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

Deleting additional directories during clean

2006-06-23 Thread Aleksei Valikov

Hi.

How could I instruct Maven to deleta additional directories during the clean 
phase?

Thanks for your time...

Bye.
/lexi

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



RE: Clover and Maven 2

2006-06-23 Thread Vincent Massol
 

 

  _  

From: Vincent Massol [mailto:[EMAIL PROTECTED] 
Sent: vendredi 23 juin 2006 14:24
To: 'Maven Users List'
Subject: RE: Clover and Maven 2

 

Hi Andrew,

 

 

[snip]

Well I could try to help you if you could run maven in debug mode (-X) and
attach the console output.

Please do not copy paste in the email as it'll be unreadable but please
attach the *full* console log to your reply email in a file or give a link
to a rafb pointer.

Thanks
-Vincent



site-deploy problem with Windows shared directory

2006-06-23 Thread Gray, Jonathan

Hi All,
 
I'm currently having a problem deploying the site for a multi-module project
to a windows shared directory.
 
The share is specified in the parent POM as follows:
 


project
file:/hostname-on-network/shared-directory/


 
The generated site for the parent project deploys fine.  However, when it
comes to the child modules, the site logs that it is trying to deploy to,
for example:
 
[site:deploy]
file:///hostname-on-network/shared-directory/module-name/

 
However, 'module-name' directory is never created and the contents never
copied.
 
I have tried creating the 'module-name' directory manually but no contents
are copied.
 
The unusual thing is that multi-module project sites work perfectly if the
file URL is local.
 
Can anyone help with this problem?
 
Regards,
Jon
 
---
Jon

This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is intended only for the person to whom 
it is addressed. If you are not the intended recipient,  you are not authorized 
to read, print, retain, copy, disseminate,  distribute, or use this message or 
any part thereof. If you receive this  message in error, please notify the 
sender immediately and delete all  copies of this message.


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



Re: JUG in Europe

2006-06-23 Thread Peter Pilgrim

Peter Pilgrim wrote:

Jason van Zyl wrote:

Hi,

If anyone belongs to a JUG in Europe I will be in the area from June 
19th to July 14th. So far it looks like there will be presentations in 
London, Dublin, Torino, Oslo and Paris. If you belong to a JUG and 
would like a presentation on Maven I'd be happy to oblige :-) Just 
contact me privately to set something up.


Jason van Zyl
[EMAIL PROTECTED]




Hi All

I am trying to contact Jason van Zyl.

Does Jason van Zyl have another email address that he uses or when he is 
out-of-office?




Hi Jason

As the founder and organiser of the Java Web User Group UK I wish to
formally and publicly invite you to speak to our group in London.

Would you be available for Thursday, July 6th 2006 for 7pm - 9pm?

Please let me know here or send an email directly 
peterp(at)xenonique.co.uk.


Thanks very much in advance




http://jroller.com/page/javawug

http://jroller.com/page/peter_pilgrim





--
Peter Pilgrim  ( Windows XP / Thunderbird 1.5 )

_ ___  + Expert Java
__  /_ ___   ___ ____  /__  /  + Enterprise
___ _  /_  __ `/_ | / /  __ `/__  __/  __  __/ + Design
/ /_/ / / /_/ /__ |/ // /_/ / _  /___  _  /___ + Architecture
\/  \__,_/ _/ \__,_/  /_/  /_/ + Web New Age

On Line Resume
   ||
   \\===>  `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''

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



simple but complicated case - need advice

2006-06-23 Thread Wojciech Biela

Hi!

My case was supposed to be simple but it turned out to be quite
complicated, at least for my limited maven abilities, I've used Ant
for the last few years, so I'm new to maven, I've spent a few days
with it, I like it very much, I'm very much convinced that it will
help  my project, but I really am starting to loose ground.

I came to this project in it's late stage, so the directory structure
and stuff is not as you would suggest, I am responsible for having a
CI environment, so I'm using luntbuild and would like to use maven to
do the rest...

there are 3 base subprojects and a number of modules:

base1
base2
base3
module1
module2
...
moduleN

each of there subprojects has it's own src,lib,test,resources
structure, and each of them produces one final file. The base modules
produce JAR files, the modules are also compiled (with dep to the
base1-3) and tested and all that's fine and that's fine.

So far I did this by adding another folder let's call it MasterProject
and putting there a pom.xml with packaging type pom, listing all
subprojects as modules, and putting there the common dependencies as
well as configuring the src,test,resources paths as all the
subprojects have it the same way (though not according to your
convention). And all that's fine with a single command from the master
project all the subprojects are compiled, the base projects jars are
installed into the
local repo, modules are unit tested and compiled ..

but the project as a whole is not yet assembled into the structure it
need to have, and I lost the clue of how to do it using maven with the
least effort ... what I have to accomplish is to:
1. take all the jars (external deps, and base subprojects) and put
them into lib folder in the master project - ok I can so that with
assemble plugin AFAIC
2. out of each module make a zip file named XX-moduleN.mod, where XX
is an arbitrary number assigned to the module (eg. in the pom property
element) - that will allow us to sort them in some way - the
application needs that
3. put all the *.mod files into a folder in the master project
4. move the whole thing somewhere (maybe zip and unzip to the dest
location) and lift the whole system (execute some main() from a class
and fork to leave the

I assume that maven wont help me in (4) so I plan to use a custom Ant
script and invoke it after everything is done (bind it to some phase).
But my main question is how to accomplish steps (1)-(3)? I would like
not to build the damn thing all the time and use the Maven repository
as a placeholder for the *.mod files.

But AFAIC I can't force maven to give the jars that he builds a
different extension (.mod) and use the files with that extension as
dependencies for the main project, if I could do that I would simply
use the assembly plugin and tell him to place all the dependencies in
the lib folder, then I would move from the lib folder all the .mod
files to the custom one, I know it isn't flawless but I can't think of
anything else

please enlighten me if I'm wrong or help me if you see any way to do this

Best regards
Wojtek Biela

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



APT Format - Complex?

2006-06-23 Thread Subhash Chandran

I don't know if this is my biased opinion - but I find the APT format pretty
clumsy. Especially when putting source code, XMLs and tables  - I find it
discouraging to proceed. After using XWiki, I find its Wiki format easier to
develop and post. Support for something similar would be great. Also a GUI
tool to edit APT format would be great.

Of course, these are my personal opinions.

--
Regards,
Subhash Chandran S

Cross platform OpenSource Java based file encryption software:
http://www.WizTools.org/project/WizCrypt/


RE: + JBoss Embedded EJB3 and Surefire Plugin Maven 2 PROBLEM+

2006-06-23 Thread Darren Hartford
I would also like to see this example, help greatly in bootstarting EJB3
projects.

I checked the Wiki, and did not see an entry yet.  Is this published
somewhere? 
-D

> -Original Message-
> From: Tim Kettler [mailto:[EMAIL PROTECTED] 
> Sent: Friday, June 09, 2006 5:00 AM
> To: Maven Users List
> Subject: Re: + JBoss Embedded EJB3 and Surefire Plugin Maven 
> 2 PROBLEM+
> 
> Marco Mistroni schrieb:
> > Hello,
> > i have done a sample project that uses EJB3 and maven..
> > i have sent it to many people... what id' like woul dbe to find a 
> > public place where i can put it so i don't need to send it 
> privately 
> > to anyone
> 
> I think the Maven-User wiki over at codehaus.org would be an 
> appropriate place:
> 
> http://docs.codehaus.org/display/MAVENUSER/Home
> 
> > i will mail the code to you privately it uses 
> embeddable-alpha--5...
> > i have anohter app (that uses seam) that has been tested using 
> > embeddable-alpha6..
> > 
> > i didnt arrive at alpha-7 / 8 (i didnt even know that they were 
> > around), pls let me know which version you would like..
> > app is a small multi-project that uses ejbs & web to build an .ear
> > 
> > hth
> > marco
> > 
> 
> -Tim
> 
> [...]
> 

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



Re: JSP compiler plugin

2006-06-23 Thread Srepfler Srgjan

Max Cooper wrote:

Did I read that correctly that . is your warSourceDirectory?

I would expect many issues with that directory structure, though I am 
not sure if your current issue is related.


-Max

Alexandre Poitras wrote:

Is c.tld located in src/main/resources/WEB-INF/tld?

On 6/7/06, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote:


org.codehaus.mojo


jspc-maven-plugin



jspc
compile

compile


./WEB-INF/web.xml
nonexistent
/dev/null
.
jsp-compile






for soem reason I'm getting this error:

[INFO] [jspc:compile {execution: jspc}]
[INFO] Built File: /MML/index.jsp
[WARN] Internal Error: File /WEB-INF/web.xml not found
[INFO] 
 


[ERROR] BUILD ERROR
[INFO] 
 


[INFO] Error

Embedded error: File "/WEB-INF/tld/c.tld" not found

But there is WEB-INF/tld directory inside module and it contains 
c.tld file.

Also WEB-INF/web.xml exists.

Any ideas what needs to be specified?

--
Eugene N Dzhurinsky

Sorry if this is a banal question (I haven't done jsp precompiling yet), 
so the jsp's get precompiled and exposed as servlets in the web.xml? 
Sounds a bit dirty, can't the container precompile the jsps on deploy?

Srgjan

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



RE: Clover and Maven 2

2006-06-23 Thread Andrew-A . Davies
Hi

The database got created automatically. I cleaned everything, tried what
you instructed & captured output (attached)
Still no clover report.






org.apache.maven.plugins

maven-clover-plugin






org.apache.maven.plugins

maven-clover-plugin



C:\\clover\\clover.license




pre-site


instrument





Rgds
Andy



-Original Message-
From: Janhavi Phirke [mailto:[EMAIL PROTECTED] 
Sent: 23 June 2006 14:26
To: Maven Users List
Subject: Re: Clover and Maven 2

Is that database related to your work or you are using it just to
generate the report? If the database it just to generate the report,
then delete that database and try to do the steps mentioned in my
previous mail.


On 6/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> There is a database there though debug output for same classes below
>
>

Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

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

Re: [ANN] Maven2 javancss plugin 2.0-beta-1

2006-06-23 Thread Geoffrey De Smet

Nice report :)

On thing though: it aggregates the reports of the modules only if the 
module sites are already build before.


Basically:
mvn clean
mvn site
Would generate no aggregate

While,
mvn clean
mvn site
// add one line
mvn site
Would generate an aggregate with one line not counted.

This is probably related to how maven 2 handles modules,
but is there any ideas on how to fix it?

jean-laurent de morlhon wrote:

It will be in the future.
don't ask me when I have no ETA.

In the meantime you can add to your pom :


 
   codehaus
   Codehaus maven repository
   http://repository.codehaus.org/
 


which will allow to retrieve all the latest mojo snaphsots.
Keep in mind this is temporary.

On 6/22/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote:

Any chance that it will be synced to the central repo too?

jean-laurent de morlhon wrote:
> As stated at the end of the announcement email the repository where
> this plugin is located is :
>
> repository.codehaus.org.
>
> You'll have to add this repository to your settings/project for now.
> (Parent pom is over there too)
>
> On 6/22/06, Roald Bankras <[EMAIL PROTECTED]> wrote:
>> Sounds very attractive, but through which repository is it available?
>> BTW the source complains that it cannot find the parent pom.
>>
>> Roald Bankras
>> Software Engineer
>> JTeam b.v.
>>
>> -Original Message-
>> From: jean-laurent de morlhon [mailto:[EMAIL PROTECTED]
>> Sent: Wednesday, June 21, 2006 5:08 PM
>> To: Maven Users List; user@mojo.codehaus.org
>> Subject: [ANN] Maven2 javancss plugin 2.0-beta-1
>>
>> The Mojo team is pleased to announce the javancss-maven-plugin
>> 2.0-beta-1 release!
>>
>> http://mojo.codehaus.org/javancss-maven-plugin/
>>
>> This plugin allows user to:
>>
>>   - Compute complexity (CCN) and quantity (NCSS) metrics on your code
>>   - Create a report displaying those numbers
>>
>> This plugin is currently available at repository.codehaus.org.
>>
>> Enjoy!
>>
>> -The Mojo  team
>>
>> --
>> Jean-Laurent
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.394 / Virus Database: 268.9.2/370 - Release Date: 
6/20/2006

>>
>>
>> --
>> No virus found in this outgoing message.
>> Checked by AVG Free Edition.
>> Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/2006

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

--
With kind regards,
Geoffrey De Smet


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







--
With kind regards,
Geoffrey De Smet


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



Re: Generating doc for many projects and aggregates them all into one

2006-06-23 Thread Leo L

Fala Fabiano... blz? Eh o Leo aki de Petropolis...

e ai!?

Seguinte estava trabalhando com o Mayworm na empresa Cetil e umas das
necessidades que tínhamos aki era o processo de build e documentação gerada
pelo maven, o que seria muito importante pra gente. Dai o mayworm me
encarregou dessa parte... e decidimos utilizar o maven 2.
Enfim... essa integração de documentação dos modulos que vc quer fazer, é a
realizada com o maven site, exibindo relatorios e tal de cada modulo ou a
documentação completa de classes, metodos, etc... utilizando javadoc???

Pois tenho uma estrutura aki que é a seguinte:

EAR
   | appWeb
   |
   | appEJB
   |
   | componentes

E gerava a documentação para os modulos independetes, assim como vc, e na
doc. do EAR,  tinha links para os projetos WEB e EJB, onde conseguia ir para
index, desses modulos...

Se for isso mesmo, de um retorno, pq acho que posso ajudar... ;-)

[]´s Léo


2006/6/8, Fabiano Cruz <[EMAIL PROTECTED]>:


Hello there,

I am able to play around with modules using maven 2 (compile, site etc),
but
the main problem that I am experiencing is that when u have a couple of
modules, how to generate documentation sites for many projects and
aggregate
them all into one. In fact, I can generate the documentation for each
module, but the aggregation is not working for me.

Does anyone has any clue about how I can get more information regarding M2
'multiproject' plug-in and more specifically about this aggregation stuff?

BR,
-- Fabiano




Re: Clover and Maven 2

2006-06-23 Thread Janhavi Phirke

Is that database related to your work or you are using it just to generate
the report? If the database it just to generate the report, then delete that
database and try to do the steps mentioned in my previous mail.


On 6/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


There is a database there though debug output for same classes below


---
T E S T S
---
Running com.ubs.datait.rkyc.framework.exception.ApplicationExceptionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047
sec
Running com.ubs.datait.rkyc.framework.exception.BusinessExceptionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031
sec

Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0



Clover Version 1.3.12, built on February 08 2006
loaded from: C:\Documents and
Settings\daviesad\.m2\repository\com\cenqua\clover\clover\1.3.12\clover-
1.
250 Seat Team License registered to [EMAIL PROTECTED], UBS AG
DEBUG: *** Creating current report
DEBUG: free heap: 3240040/14049280
DEBUG: Loading database at
C:\work\rkyc-framework\frmw-exception\target\clover\clover.db
DEBUG: db version = 1151067751290
DEBUG: Loaded 2 file records
DEBUG: free heap: 3193320/14049280
DEBUG: loading recordings for span = 0
WARN: No coverage data found for
'C:\work\rkyc-framework\frmw-exception\target/clover/clover.db'.
DEBUG: resolving source files on path
'C:/work/rkyc-framework/frmw-exception/src/main/java'
DEBUG: looking for
C:\work\rkyc-framework\frmw-exception\src\main\java\com\ubs\datait\rkyc\
framework\exc
DEBUG: looking for
C:\work\rkyc-framework\frmw-exception\src\main\java\com\ubs\datait\rkyc\
framework\exc
DEBUG: Processing file
0:FileInfo[name=C:\work\rkyc-framework\frmw-exception\src\main\java\com\
ubs\datai
on.java;loc=73;ncloc=23;classes=1]
DEBUG: Processing class
0:ClassInfo[name=ApplicationException;start=9;context=0;meths=6;stmts=7;
conds=0;
DEBUG: Processing file
1:FileInfo[name=C:\work\rkyc-framework\frmw-exception\src\main\java\com\
ubs\datai
java;loc=21;ncloc=6;classes=1]
DEBUG: Processing class
0:ClassInfo[name=BusinessException;start=14;context=0;meths=1;stmts=1;co
nds=0;]
DEBUG: Model stats -
DEBUG: packages: 1
DEBUG:files: 2
DEBUG:  classes: 2
DEBUG: *** Model built
WARN: No coverage recordings found. No report will be generated.
[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]

[INFO] Total time: 7 seconds
[INFO] Finished at: Fri Jun 23 14:02:35 BST 2006
[INFO] Final Memory: 9M/17M



-Original Message-
From: Janhavi Phirke [mailto:[EMAIL PROTECTED]
Sent: 23 June 2006 13:55
To: Maven Users List
Subject: Re: Clover and Maven 2

The error is coming since the clover database is not generated.

When you want to generate the Clover report, you have to generate the
Clover database first. Otherwise no report will be generated.

To generate the report, add following code in your pom.xml:


   
 
   org.apache.maven.plugins
   maven-clover-plugin
   
 
   pre-site
   
 instrument
   
 
   
 
   


And to generate the report, add following code:


 

  org.apache.maven.plugins
  maven-clover-plugin
  



Also to run it, first run the command "mvn install", then "mvn
clover:instrument" and then run the command "mvn clover:clover".

Regards,
Janhavi


On 6/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
> Has anybody succesfully used clover to generate a report with Mave 2 ?
> I have followed docs on *
> http://maven.apache.org/plugins/maven-clover-plugin/howto.html* /maven.apache.org/plugins/maven-clover-plugin/howto.html>
> However, I continually get the error as below ...
>
> ---
>  T E S T S
> ---
> Running
> com.ubs.datait.rkyc.framework.exception.ApplicationExceptionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046
> sec Running
> com.ubs.datait.rkyc.framework.exception.BusinessExceptionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016
> sec
>
> Results :
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [clover:clover]
> Clover Version 1.3.12, built on February 08 2006 loaded from:
> C:\Documents and
> Settings\daviesad\.m2\repository\com\cenqua\clover\clover\1.3.12\clove
> r-
> 1.3.12.jar
> 250 Seat Team License registered to [EMAIL PROTECTED], UBS AG
> WARN: No coverage data found for
> 'C:\work\rkyc-framework\frmw-exception\target/clover/clover.db'.
> WARN: No coverage recordings found. No report will be generated.
> [INFO]
> --
> --
> [INFO] BUILD SUCCESSFUL
> [INFO]
> -

Re: [m2] problem w/ antcall in ANT-based mojo

2006-06-23 Thread cristal

That's great!. I applied the macrodef usage in my situation and it worked
very well. Finally we get rid of the  code that mojo plugin doesn't
work very well with.

Thanks Pete.

--
View this message in context: 
http://www.nabble.com/-m2--problem-w--antcall-in-ANT-based-mojo-t1307160.html#a5011671
Sent from the Maven - Users forum at Nabble.com.


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



RE: [m2] maven-jar-plugin-2.1 status?

2006-06-23 Thread Mike Perham
Mark, I can't confirm an exact date but I just went through JIRA last
night and closed/resolved 10-15 of the existing issues.  The one thing
that has not been done yet is an overhaul of the documentation to
conform with the new doc standards.  Once this has been done, the
release should be reasonably near.


> -Original Message-
> From: Mark Hewett [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, June 22, 2006 2:28 PM
> To: Maven Users
> Subject: [m2] maven-jar-plugin-2.1 status?
> 
> Is there any estimate on when there will be a release build of the
> maven-jar-plugin-2.1 - even if it is a beta release build?  We are
> using this to create signed JAR files, and so we are relying on the
> snapshot build on http://svn.apache.org/maven-snapshot-repository.
> However, this seems to stop us from using the release plugin for
> releasing our internal code.
> 
> Alternatively, we could build an internal release version and deploy
> to our internal repository.  Is there a versioning standard for
> internal release builds so that we would pick up any future release
> builds on the official repo?  I'm thinking something like
> 2.1-INTERNAL1, but I'm afraid this would be seen as a later version
> than say 2.1-BETA1.
> 
> Thanks,
> Mark
> 
> -
> 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: Clover and Maven 2

2006-06-23 Thread Andrew-A . Davies
There is a database there though debug output for same classes below 


---
 T E S T S
---
Running com.ubs.datait.rkyc.framework.exception.ApplicationExceptionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.047
sec
Running com.ubs.datait.rkyc.framework.exception.BusinessExceptionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031
sec

Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0



Clover Version 1.3.12, built on February 08 2006
loaded from: C:\Documents and
Settings\daviesad\.m2\repository\com\cenqua\clover\clover\1.3.12\clover-
1.
250 Seat Team License registered to [EMAIL PROTECTED], UBS AG
DEBUG: *** Creating current report
DEBUG: free heap: 3240040/14049280
DEBUG: Loading database at
C:\work\rkyc-framework\frmw-exception\target\clover\clover.db
DEBUG: db version = 1151067751290
DEBUG: Loaded 2 file records
DEBUG: free heap: 3193320/14049280
DEBUG: loading recordings for span = 0
WARN: No coverage data found for
'C:\work\rkyc-framework\frmw-exception\target/clover/clover.db'.
DEBUG: resolving source files on path
'C:/work/rkyc-framework/frmw-exception/src/main/java'
DEBUG: looking for
C:\work\rkyc-framework\frmw-exception\src\main\java\com\ubs\datait\rkyc\
framework\exc
DEBUG: looking for
C:\work\rkyc-framework\frmw-exception\src\main\java\com\ubs\datait\rkyc\
framework\exc
DEBUG: Processing file
0:FileInfo[name=C:\work\rkyc-framework\frmw-exception\src\main\java\com\
ubs\datai
on.java;loc=73;ncloc=23;classes=1]
DEBUG: Processing class
0:ClassInfo[name=ApplicationException;start=9;context=0;meths=6;stmts=7;
conds=0;
DEBUG: Processing file
1:FileInfo[name=C:\work\rkyc-framework\frmw-exception\src\main\java\com\
ubs\datai
java;loc=21;ncloc=6;classes=1]
DEBUG: Processing class
0:ClassInfo[name=BusinessException;start=14;context=0;meths=1;stmts=1;co
nds=0;]
DEBUG: Model stats -
DEBUG: packages: 1
DEBUG:files: 2
DEBUG:  classes: 2
DEBUG: *** Model built
WARN: No coverage recordings found. No report will be generated.
[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]

[INFO] Total time: 7 seconds
[INFO] Finished at: Fri Jun 23 14:02:35 BST 2006
[INFO] Final Memory: 9M/17M



-Original Message-
From: Janhavi Phirke [mailto:[EMAIL PROTECTED] 
Sent: 23 June 2006 13:55
To: Maven Users List
Subject: Re: Clover and Maven 2

The error is coming since the clover database is not generated.

When you want to generate the Clover report, you have to generate the
Clover database first. Otherwise no report will be generated.

To generate the report, add following code in your pom.xml:

  

  
org.apache.maven.plugins
maven-clover-plugin

  
pre-site

  instrument

  

  

  

And to generate the report, add following code:

  
  
 
   org.apache.maven.plugins
   maven-clover-plugin
   
  
  

Also to run it, first run the command "mvn install", then "mvn
clover:instrument" and then run the command "mvn clover:clover".

Regards,
Janhavi


On 6/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>  Hi,
>
> Has anybody succesfully used clover to generate a report with Mave 2 ?
> I have followed docs on *
> http://maven.apache.org/plugins/maven-clover-plugin/howto.html* /maven.apache.org/plugins/maven-clover-plugin/howto.html>
> However, I continually get the error as below ...
>
> ---
>  T E S T S
> ---
> Running 
> com.ubs.datait.rkyc.framework.exception.ApplicationExceptionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 
> sec Running 
> com.ubs.datait.rkyc.framework.exception.BusinessExceptionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 
> sec
>
> Results :
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0
>
> [INFO] [clover:clover]
> Clover Version 1.3.12, built on February 08 2006 loaded from: 
> C:\Documents and
> Settings\daviesad\.m2\repository\com\cenqua\clover\clover\1.3.12\clove
> r-
> 1.3.12.jar
> 250 Seat Team License registered to [EMAIL PROTECTED], UBS AG
> WARN: No coverage data found for
> 'C:\work\rkyc-framework\frmw-exception\target/clover/clover.db'.
> WARN: No coverage recordings found. No report will be generated.
> [INFO]
> --
> --
> [INFO] BUILD SUCCESSFUL
> [INFO]
> --
> --
>
> And no output. I have tried several ways of executing (in pom and 
> command line with mvn clover:instrument clover:clover
>
> Alas to no avail
>
> Any assistance appreciated
> Tx
> 

Re: Clover and Maven 2

2006-06-23 Thread Janhavi Phirke

In my previous mail, the following code is to generate the report:


   
 
   org.apache.maven.plugins
   maven-clover-plugin
   
 
   pre-site
   
 instrument
   
 
   
 
   
 



On 6/23/06, Janhavi Phirke <[EMAIL PROTECTED]> wrote:


 The error is coming since the clover database is not generated.

When you want to generate the Clover report, you have to generate the
Clover database first. Otherwise no report will be generated.

To generate the report, add following code in your pom.xml:

  

  
org.apache.maven.plugins
maven-clover-plugin

  
pre-site

  instrument

  

  

  

And to generate the report, add following code:

  
  
 
   org.apache.maven.plugins
   maven-clover-plugin
   
  
  

Also to run it, first run the command "mvn install", then "mvn
clover:instrument" and then run the command "mvn clover:clover".

Regards,
Janhavi


 On 6/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

>   Hi,

Has anybody succesfully used clover to generate a report with Mave 2 ?
I have followed docs on *
http://maven.apache.org/plugins/maven-clover-plugin/howto.html*
However, I continually get the error as below …

---
 T E S T S
---
Running com.ubs.datait.rkyc.framework.exception.ApplicationExceptionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
Running com.ubs.datait.rkyc.framework.exception.BusinessExceptionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec

Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

[INFO] [clover:clover]
Clover Version 1.3.12, built on February 08 2006
loaded from: C:\Documents and
Settings\daviesad\.m2\repository\com\cenqua\clover\clover\1.3.12\clover-
1.3.12.jar
250 Seat Team License registered to [EMAIL PROTECTED] , UBS AG
WARN: No coverage data found for
'C:\work\rkyc-framework\frmw-exception\target/clover/clover.db'.
WARN: No coverage recordings found. No report will be generated.
[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]


And no output. I have tried several ways of executing (in pom and command
line with
mvn clover:instrument clover:clover

Alas to no avail

Any assistance appreciated
Tx
Andy


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.



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






Re: Clover and Maven 2

2006-06-23 Thread Janhavi Phirke

The error is coming since the clover database is not generated.

When you want to generate the Clover report, you have to generate the Clover
database first. Otherwise no report will be generated.

To generate the report, add following code in your pom.xml:

 
   
 
   org.apache.maven.plugins
   maven-clover-plugin
   
 
   pre-site
   
 instrument
   
 
   
 
   
 

And to generate the report, add following code:

 
 

  org.apache.maven.plugins
  maven-clover-plugin
  
 
 

Also to run it, first run the command "mvn install", then "mvn
clover:instrument" and then run the command "mvn clover:clover".

Regards,
Janhavi


On 6/23/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


 Hi,

Has anybody succesfully used clover to generate a report with Mave 2 ?
I have followed docs on *
http://maven.apache.org/plugins/maven-clover-plugin/howto.html*
However, I continually get the error as below …

---
 T E S T S
---
Running com.ubs.datait.rkyc.framework.exception.ApplicationExceptionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec
Running com.ubs.datait.rkyc.framework.exception.BusinessExceptionTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec

Results :
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0

[INFO] [clover:clover]
Clover Version 1.3.12, built on February 08 2006
loaded from: C:\Documents and
Settings\daviesad\.m2\repository\com\cenqua\clover\clover\1.3.12\clover-
1.3.12.jar
250 Seat Team License registered to [EMAIL PROTECTED], UBS AG
WARN: No coverage data found for
'C:\work\rkyc-framework\frmw-exception\target/clover/clover.db'.
WARN: No coverage recordings found. No report will be generated.
[INFO]

[INFO] BUILD SUCCESSFUL
[INFO]


And no output. I have tried several ways of executing (in pom and command
line with
mvn clover:instrument clover:clover

Alas to no avail

Any assistance appreciated
Tx
Andy


Visit our website at http://www.ubs.com

This message contains confidential information and is intended only
for the individual named.  If you are not the named addressee you
should not disseminate, distribute or copy this e-mail.  Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses.  The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission.  If
verification is required please request a hard-copy version.  This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.



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




Re: [m2] problem w/ antcall in ANT-based mojo

2006-06-23 Thread Pete

Here's a macrodef






















Here's invoking it







On 20/06/06, cristal <[EMAIL PROTECTED]> wrote:


Thanks Pete, that sounds very promising. Could you also post a piece of
sample code? Thanks a lot.
--
View this message in context: 
http://www.nabble.com/-m2--problem-w--antcall-in-ANT-based-mojo-t1307160.html#a4956130
Sent from the Maven - Users forum at Nabble.com.


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




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



RE: Clover and Maven 2

2006-06-23 Thread Vincent Massol
Hi Andrew,

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: vendredi 23 juin 2006 14:19
To: users@maven.apache.org
Subject: Clover and Maven 2

 

Hi, 

Has anybody succesfully used clover to generate a report with Mave 2 ? 

Yes.

I have followed docs on

http://maven.apache.org/plugins/maven-clover-plugin/howto.html 
However, I continually get the error as below . 

--- 
 T E S T S 
--- 
Running com.ubs.datait.rkyc.framework.exception.ApplicationExceptionTest 
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec 
Running com.ubs.datait.rkyc.framework.exception.BusinessExceptionTest 
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec 

Results : 
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 

[INFO] [clover:clover] 
Clover Version 1.3.12, built on February 08 2006 
loaded from: C:\Documents and
Settings\daviesad\.m2\repository\com\cenqua\clover\clover\1.3.12\clover-1.3.
12.jar 
250 Seat Team License registered to [EMAIL PROTECTED], UBS AG 
WARN: No coverage data found for
'C:\work\rkyc-framework\frmw-exception\target/clover/clover.db'. 
WARN: No coverage recordings found. No report will be generated. 
[INFO]
 
[INFO] BUILD SUCCESSFUL 
[INFO]
 

Well I could try to help you if you could run maven in debug mode (-X) and
attach the console output.

[snip]

Thanks
-Vincent



RE: Failure with clover plugin

2006-06-23 Thread Vincent Massol
Hi Jason,

> -Original Message-
> From: Ximius [mailto:[EMAIL PROTECTED]
> Sent: mercredi 21 juin 2006 21:24
> To: users@maven.apache.org
> Subject: RE: Failure with clover plugin
> 
> 
> No, this is m2. This project doesnt have any M1 build at all actually. Why
> would you think I am using M1?

I have no idea why I said this! :-)

Which version of the clover plugin are you using? In any case I've just
committed a change to the plugin in order to log more information and be
able to debug your issue.

Do you think you could build the clover plugin from sources? (is that
something you've done in the past?)

It seems the problem is because some configuration parameters are not passed
correctly to Clover but I don't know which ones. This is why I asked you to
post your pom.xml file. Do you think you could attach it when you reply?

Thanks
-Vincent
 
> Vincent Massol-3 wrote:
> >
> > Jason,
> >
> > I gather from your off-list email that you're using maven 1. I thought
> you
> > were using m2 when I answered.
> >
> > I don't think that the clover jdk 1.5 annotation is currently supported
> in
> > the m1 clover plugin. Could you please create a jira issue for this?
> >
> > Thanks
> > -Vincent
> >
> >> -Original Message-
> >> From: Vincent Massol [mailto:[EMAIL PROTECTED]
> >> Sent: vendredi 16 juin 2006 18:52
> >> To: 'Maven Users List'
> >> Subject: RE: Failure with clover plugin
> >>
> >> Hi Jason,
> >>
> >> Does it work with Clover when you're not using the Clover plugin? Could
> >> you post your pom.xml?
> >>
> >> Thanks
> >> -Vincent
> >>
> >> > -Original Message-
> >> > From: Parrott, Jason [mailto:[EMAIL PROTECTED]
> >> > Sent: vendredi 16 juin 2006 18:18
> >> > To: users@maven.apache.org
> >> > Subject: Failure with clover plugin
> >> >
> >> > Hi,
> >> >
> >> > Im getting this error any time I attempt to use the clover plugin
> with
> >> > code that has java 5 annotations in it. As soon as I remove the jdk
> 1.5
> >> > source it runs fine. I know that I have set the JDK 1.5 option and
> >> there
> >> > is a log msg that notes it is being used. Any help is appreciated:
> >> >
> >> >
> >> >
> >> > Clover Version 1.3.12, built on February 08 2006
> >> >
> >> > loaded from: C:\Documents and
> >> >
> >>
> Settings\jparrott\.m2\repository\com\cenqua\clover\clover\1.3.12\clover-
> >> > 1.3.12.jar
> >> >
> >> > 5 Seat Team License registered to [EMAIL PROTECTED], Sony Online
> >> > Entertainment
> >> >
> >> > Updating database at 'C:\P4Sandbox\target\clover\clover.db'
> >> >
> >> > Processing files at 1.5 source level.
> >> >
> >> > [INFO]
> >> >
> >> ---
> -
> >> >
> >> > [ERROR] FATAL ERROR
> >> >
> >> > [INFO]
> >> >
> >> ---
> -
> >> >
> >> > [INFO] null
> >> >
> >> > [INFO]
> >> >
> >> ---
> -
> >> >
> >> > [INFO] Trace
> >> >
> >> > java.lang.NullPointerException
> >> >
> >> > at com.cenqua.clover.CloverInstr.a(1.3.12-build-649:100)
> >> >
> >> > at com.cenqua.clover.CloverInstr.mainImpl(1.3.12-build-
> 649:65)
> >> >
> >> > at
> >> >
> >>
> org.apache.maven.plugin.clover.CloverInstrumentInternalMojo.instrumentSo
> >> > urces(CloverInstrumentInternalMojo.java:155)
> >> >
> >> > at
> >> >
> >>
> org.apache.maven.plugin.clover.CloverInstrumentInternalMojo.execute(Clov
> >> > erInstrumentInternalMojo.java:121)
> >> >
> >> > at
> >> >
> >>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> >> > nager.java:412)
> >> >
> >> > at
> >> >
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> >> > LifecycleExecutor.java:534)
> >> >
> >> > at
> >> >
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> >> > ycle(DefaultLifecycleExecutor.java:475)
> >> >
> >> > at
> >> >
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle
> >> > (DefaultLifecycleExecutor.java:891)
> >> >
> >> > at
> >> >
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(Defaul
> >> > tLifecycleExecutor.java:734)
> >> >
> >> > at
> >> >
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> >> > LifecycleExecutor.java:505)
> >> >
> >> > at
> >> >
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoa
> >> > l(DefaultLifecycleExecutor.java:488)
> >> >
> >> > at
> >> >
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> >> > ifecycleExecutor.java:458)
> >> >
> >> > at
> >> >
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> >> > Failures(DefaultLifecycleExecutor.java:306)
> >> >
> >> > at
> >> >
> >>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> >> 

Re: maven 2.0.4 & Checkstyle 4.1: Unable to process header location

2006-06-23 Thread Carlos Sanchez

those are the defaults

On 6/23/06, Dongsheng Song <[EMAIL PROTECTED]> wrote:

When I use mvn -X checkstyle:checkstyle, found config suspicious:
...
[DEBUG] Configuring mojo '
org.apache.maven.plugins:maven-checkstyle-plugin:2.1:checkstyle' -->
[DEBUG]   (f) cacheFile =
C:\scm_work\nova\trunk\maven\target/checkstyle-cachefile
[DEBUG]   (f) configLocation = config/sun_checks.xml
[DEBUG]   (f) consoleOutput = false
[DEBUG]   (f) enableFilesSummary = true
[DEBUG]   (f) enableRSS = true
[DEBUG]   (f) enableRulesSummary = true
[DEBUG]   (f) enableSeveritySummary = true
[DEBUG]   (f) failsOnError = false
[DEBUG]   (f) format = sun
[DEBUG]   (f) headerFile = C:\scm_work\nova\trunk\maven\LICENSE.txt
[DEBUG]   (f) headerLocation = LICENSE.txt
[DEBUG]   (f) includes = **/*.java
[DEBUG]   (f) linkXRef = true
[DEBUG]   (f) outputDirectory = C:\scm_work\nova\trunk\maven\target\site
[DEBUG]   (f) outputFile = C:\scm_work\nova\trunk\maven\target\checkstyle-
result.xml
[DEBUG]   (f) outputFileFormat = xml
[DEBUG]   (f) project = [EMAIL PROTECTED]
[DEBUG]   (f) sourceDirectory = C:\scm_work\nova\trunk\maven\src\main\java
[DEBUG]   (f) xrefLocation = C:\scm_work\nova\trunk\maven\target\site\xref
[DEBUG] -- end configuration --
...

Why:
headerFile = C:\scm_work\nova\trunk\maven\LICENSE.txt
headerLocation = LICENSE.txt

I DO NOT set headerFile & headerLocation ! when I delete
C:\scm_work\nova\trunk\maven\LICENSE.txt, all is ok.

2006/6/23, Carlos Sanchez <[EMAIL PROTECTED]>:
>
> You can check the output of -X, but i think it's just that file
> doesn't exist. IIRC is config/sun_checks.xml
>





--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
-- The Princess Bride

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



Re: maven 2.0.4 & Checkstyle 4.1: Unable to process header location

2006-06-23 Thread Carlos Sanchez

On 6/23/06, Janhavi Phirke <[EMAIL PROTECTED]> wrote:

before running the checkstyle:checkstyle goal, first run the command "mvn
install" which will download the plugin in your local repisitory and then
run that command "mvn checkstyle:checkstyle".



that's not needed

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



Re: JUG in Europe

2006-06-23 Thread Federico Yankelevich

Hi Jason,
where will you be in Torino? do you have any link I can look to have
information like locations, dates, pricing?

thanks ... see you there,
Federico
--
View this message in context: 
http://www.nabble.com/JUG-in-Europe-t1699456.html#a5010597
Sent from the Maven - Users forum at Nabble.com.


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



Clover and Maven 2

2006-06-23 Thread Andrew-A . Davies
Title: Clover and Maven 2






Hi,


Has anybody succesfully used clover to generate a report with Mave 2 ?

I have followed docs on http://maven.apache.org/plugins/maven-clover-plugin/howto.html

However, I continually get the error as below …


---

 T E S T S

---

Running com.ubs.datait.rkyc.framework.exception.ApplicationExceptionTest

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.046 sec

Running com.ubs.datait.rkyc.framework.exception.BusinessExceptionTest

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec


Results :

Tests run: 2, Failures: 0, Errors: 0, Skipped: 0


[INFO] [clover:clover]

Clover Version 1.3.12, built on February 08 2006

loaded from: C:\Documents and Settings\daviesad\.m2\repository\com\cenqua\clover\clover\1.3.12\clover-1.3.12.jar

250 Seat Team License registered to [EMAIL PROTECTED], UBS AG

WARN: No coverage data found for 'C:\work\rkyc-framework\frmw-exception\target/clover/clover.db'.

WARN: No coverage recordings found. No report will be generated.

[INFO] 

[INFO] BUILD SUCCESSFUL

[INFO] 


And no output. I have tried several ways of executing (in pom and command line with 

mvn clover:instrument clover:clover


Alas to no avail


Any assistance appreciated

Tx

Andy




Visit our website at http://www.ubs.com

This message contains confidential information and is intended only 
for the individual named.  If you are not the named addressee you 
should not disseminate, distribute or copy this e-mail.  Please 
notify the sender immediately by e-mail if you have received this 
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free 
as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses.  The sender therefore 
does not accept liability for any errors or omissions in the contents 
of this message which arise as a result of e-mail transmission.  If 
verification is required please request a hard-copy version.  This 
message is provided for informational purposes and should not be 
construed as a solicitation or offer to buy or sell any securities or 
related financial instruments.

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

RE: building twice - version 1.0.3

2006-06-23 Thread Adam Leggett
Emmanuel

I also seem to be getting this problem. I have a single build definition.
Selecting 'build now' results in two builds of the same m2 project.

Env:
Cn 1.0.3
XP pro
Jdk 1.5

Thanks

Adam

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 31, 2006 9:33 AM
To: continuum-users@maven.apache.org
Subject: Re: building twice - version 1.0.3


Do you have 2 build definitions on your project?

Emmanuel

[EMAIL PROTECTED] a écrit :
> Hi all,
>Thanks for the responses.  I actually avoid using "refresh" to keep 
> this from happening - I instead, as you mentioned, click the Show Proejcts 
> link to get an update on the status.  However, this isn't my problem.
> 
>Even from a freshly setup continuum project, if I click on the "Build Now" 
> icon, continuum builds 2 builds, one after the other.   For this example, I'm 
> simply running "java:compile" (I'm using M1.1-beta2), and in the first build, 
> it prepares the filesystem, and compiles the files (takes in total 10 
> seconds).  The second build right after that only takes 2 seconds to 
> complete, since no changes have taken place, so it essentially does nothing.
> 
> 
>Looking at the console output for Continuum, there seems to be 2 
> "enqueings" of the project from the moment I hit the build now button.  I do 
> nothing from the time I press the button until the console stops generating 
> output.
> 
>Any thoughts for this?
> 
> Thanks,
> Josh
> 
> 
> 
> -Original Message---
> Yes, actually, if you refresh a page generated just after a form, the 
> form is resended when you refresh the page. You can click on Show 
> Project link in menu instead.
> 
> We'll fix this problem in 1.1
> 
> Emmanuel
> 
> Rick Riemer a �crit :
> 
>>Joshua,
>>
>>I've seen the same thing recently. In my case what happened is that I 
>>refreshed the status page to see if the build was actually started, 
>>but with doing that I was giving another command to start a build.
>>
>>Once I stopped refreshing no more builds happened.
>>
>>Rick
>>
>>-Original Message-
>>From: Joshua Steele [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, May 25, 2006 2:35
>>To: continuum-users@maven.apache.org
>>Subject: building twice - version 1.0.3
>>
>>All,
>>  I'm having an issue with Continuum 1.0.3 where it is building a
>>project twice, one immediately after the other.  I've scanned JIRA  
>>and can't find a report.  Is this something that is known?  Any  
>>details are appreciated.
>>
>>Thanks,
>>Josh
>>
>>
>>
>>
>>
>>
>>
>>
> 
> 
> 
> 


===
The contents of this email are intended for the named addresses and may 
contain confidential and/or privileged material. If received in error, 
please contact UPCO head office on +44(0)113 201 0600 and then delete 
the entire mail from your system. Unauthorised review, distribution, 
disclosure or other use of information could constitute a breach of 
confidence. Your co-operation in this matter is greatly appreciated.

Every effort has been taken to ensure that this email and any 
attachments are virus-free. However, UPCO does not make any warranty 
to this effect, and is not liable for any damage done by an infected 
email message or attachment. UPCO recommends that all emails and 
attachments are checked before opening.

All views or opinions expressed in this electronic message and its 
attachements are those of the sender and do not necessarily reflect 
the views and opinions of The Ultimate People Company Ltd.
===




Re: Loading a pom in Continuum

2006-06-23 Thread Hendrik Busch

Jeff Mutonho schrieb:

On 6/23/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote:

I had the same problem,
use the url option instead for multiprojects.


As in file:// ?


No, but as in

http://cvs/cvs/*checkout*/Toolbox/pom.xml?rev=1.17&content-type=text/plain

When integrating multi-module projects in Continuum, make sure you have 
a working  configuration part in your top-level pom, as all 
referenced modules will be imported from you version control system.


--
Mit freundlichen Grüßen / Kind regards

Hendrik Busch - Stellv. Leiter der Softwareentwicklung

LexisNexis Deutschland GmbH
http://www.lexisnexis.de
Feldstiege 100
D-48161 Münster
phone +49 (0) 2533-9300-455
fax +49 (0) 02533-9300-50
[EMAIL PROTECTED]

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



Re: maven 2.0.4 & Checkstyle 4.1: Unable to process header location

2006-06-23 Thread Dongsheng Song

When I use mvn -X checkstyle:checkstyle, found config suspicious:
...
[DEBUG] Configuring mojo '
org.apache.maven.plugins:maven-checkstyle-plugin:2.1:checkstyle' -->
[DEBUG]   (f) cacheFile =
C:\scm_work\nova\trunk\maven\target/checkstyle-cachefile
[DEBUG]   (f) configLocation = config/sun_checks.xml
[DEBUG]   (f) consoleOutput = false
[DEBUG]   (f) enableFilesSummary = true
[DEBUG]   (f) enableRSS = true
[DEBUG]   (f) enableRulesSummary = true
[DEBUG]   (f) enableSeveritySummary = true
[DEBUG]   (f) failsOnError = false
[DEBUG]   (f) format = sun
[DEBUG]   (f) headerFile = C:\scm_work\nova\trunk\maven\LICENSE.txt
[DEBUG]   (f) headerLocation = LICENSE.txt
[DEBUG]   (f) includes = **/*.java
[DEBUG]   (f) linkXRef = true
[DEBUG]   (f) outputDirectory = C:\scm_work\nova\trunk\maven\target\site
[DEBUG]   (f) outputFile = C:\scm_work\nova\trunk\maven\target\checkstyle-
result.xml
[DEBUG]   (f) outputFileFormat = xml
[DEBUG]   (f) project = [EMAIL PROTECTED]
[DEBUG]   (f) sourceDirectory = C:\scm_work\nova\trunk\maven\src\main\java
[DEBUG]   (f) xrefLocation = C:\scm_work\nova\trunk\maven\target\site\xref
[DEBUG] -- end configuration --
...

Why:
headerFile = C:\scm_work\nova\trunk\maven\LICENSE.txt
headerLocation = LICENSE.txt

I DO NOT set headerFile & headerLocation ! when I delete
C:\scm_work\nova\trunk\maven\LICENSE.txt, all is ok.

2006/6/23, Carlos Sanchez <[EMAIL PROTECTED]>:


You can check the output of -X, but i think it's just that file
doesn't exist. IIRC is config/sun_checks.xml



Re: maven 2.0.4 & Checkstyle 4.1: Unable to process header location

2006-06-23 Thread Janhavi Phirke

Why have you included the code in ? There is no need to do that.
Also if you want to specify your customized .xml file which contains some
specific rules, then you can add that in . Otherwise it is
optional. If you don't specify it, then it will take the default .xml file
and run it on your code.

before running the checkstyle:checkstyle goal, first run the command "mvn
install" which will download the plugin in your local repisitory and then
run that command "mvn checkstyle:checkstyle".



On 6/23/06, Carlos Sanchez <[EMAIL PROTECTED]> wrote:


You can check the output of -X, but i think it's just that file
doesn't exist. IIRC is config/sun_checks.xml

On 6/23/06, Dongsheng Song <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> mvn -e checkstyle:checkstyle
>
> + Error stacktraces are turned on.
> [INFO] Scanning for projects...
> [INFO] Searching repository for plugin with prefix: 'checkstyle'.
> [INFO]

> [INFO] Building nova
> [INFO]task-segment: [checkstyle:checkstyle]
> [INFO]

> [INFO] Setting property: classpath.resource.loader.class => '
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
> [INFO] Setting property: velocimacro.messages.on => 'false'.
> [INFO] Setting property: resource.loader => 'classpath'.
> [INFO] Setting property: resource.manager.logwhenfound => 'false'.
> [INFO] **
> [INFO] Starting Jakarta Velocity v1.4
> [INFO] RuntimeInstance initializing.
> [INFO] Default Properties File:
org\apache\velocity\runtime\defaults\velocity.properties
> [INFO] Default ResourceManager initializing. (class
org.apache.velocity.runtime.resource.ResourceManagerImpl)
> [INFO] Resource Loader Instantiated:
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
> [INFO] ClasspathResourceLoader : initialization starting.
> [INFO] ClasspathResourceLoader : initialization complete.
> [INFO] ResourceCache : initialized. (class
org.apache.velocity.runtime.resource.ResourceCacheImpl)
> [INFO] Default ResourceManager initialization complete.
> [INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Literal
> [INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Macro
> [INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Parse
> [INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Include
> [INFO] Loaded System Directive:
org.apache.velocity.runtime.directive.Foreach
> [INFO] Created: 20 parsers.
> [INFO] Velocimacro : initialization starting.
> [INFO] Velocimacro : adding VMs from VM library template :
VM_global_library.vm
> [ERROR] ResourceManager : unable to find resource 'VM_global_library.vm'
in any resource loader.
> [INFO] Velocimacro : error using  VM library template
VM_global_library.vm :
> org.apache.velocity.exception.ResourceNotFoundException: Unable to find
resource 'VM_global_library.vm'
> [INFO] Velocimacro :  VM library template macro registration complete.
> [INFO] Velocimacro : allowInline = true : VMs can be defined inline in
templates
> [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline
may NOT replace previous VM definitions
> [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will
be  global in scope if allowed.
> [INFO] Velocimacro : initialization complete.
> [INFO] Velocity successfully started.
> [INFO] [checkstyle:checkstyle]
> [INFO]

> [ERROR] BUILD ERROR
> [INFO]

> [INFO] An error has occurred in Checkstyle report generation.
>
> Embedded error: Unable to process header location.
> Destination file has no content.
> [INFO]

> [INFO] Trace
> org.apache.maven.lifecycle.LifecycleExecutionException: An error has
occurred in Checkstyle report generation.
> at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
DefaultLifecycleExecutor.java:559)
> at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(
DefaultLifecycleExecutor.java:488)
> at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
DefaultLifecycleExecutor.java:458)
> 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

Re: maven 2.0.4 & Checkstyle 4.1: Unable to process header location

2006-06-23 Thread Carlos Sanchez

You can check the output of -X, but i think it's just that file
doesn't exist. IIRC is config/sun_checks.xml

On 6/23/06, Dongsheng Song <[EMAIL PROTECTED]> wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

mvn -e checkstyle:checkstyle

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

[INFO] Building nova
[INFO]task-segment: [checkstyle:checkstyle]
[INFO] 

[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: 
org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class 
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: 
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class 
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any 
resource loader.
[INFO] Velocimacro : error using  VM library template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find 
resource 'VM_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT 
replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be  
global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [checkstyle:checkstyle]
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] An error has occurred in Checkstyle report generation.

Embedded error: Unable to process header location.
Destination file has no content.
[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An error has occurred 
in Checkstyle report generation.
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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.plugi

Re: Loading a pom in Continuum

2006-06-23 Thread Jeff Mutonho

On 6/23/06, Geoffrey De Smet <[EMAIL PROTECTED]> wrote:

I had the same problem,
use the url option instead for multiprojects.


As in file:// ?

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



Re: RSS feeds?

2006-06-23 Thread Emmanuel Venisse

It's in the queue. With have an issue for this feature : 
http://jira.codehaus.org/browse/CONTINUUM-418

Emmanuel

Stefan Rotman a écrit :

Hi,

I was wondering if Continuum is also offering - or planning to offer - RSS
feeds to monitor the automated builds?

Stefan Rotman.





RSS feeds?

2006-06-23 Thread Stefan Rotman

Hi,

I was wondering if Continuum is also offering - or planning to offer - RSS
feeds to monitor the automated builds?

Stefan Rotman.


Re: How to use findbugs in maven2?

2006-06-23 Thread Janhavi Phirke

Pls add following as stated:

 
   
  jaxen
  jaxen
  1.1-beta-8
  compile
   
 
 
 
  Maven Snapshots
  http://snapshots.maven.codehaus.org/maven2
 
 

 
 
 
 maven-plugins
 maven-findbugs-plugin
 1.0-SNAPSHOT

 
 

Also comment the  tag for jaxen in the pom of dom4j i.e.
dom4j-1.6.1.pom

Dependency for jaxen is added since I was getting the error for dom4j for
jaxen while adding findbugs plugin.

After adding above code in your pom.xml, run the command "mvn install" which
will install/download findbugs plugin in your local repository and then run
the command "mvn findbugs:findbugs".



On 6/23/06, Dongsheng Song <[EMAIL PROTECTED]> wrote:


I using findbugs plugin at http://www.ibiblio.org/maven2/findbugs/,
maven2 give me such error messages:

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

here is my pom.xml snippet:

...

...
   
 findbugs
 findbugs
 0.9.6
   

...


   
...
 
org.apache.maven.plugins
maven-findbugs-plugin
 
   

...

When I set /reporting/plugins/plugin/groupId &
/reporting/plugins/plugin/artifactId
to 'findbugs', it give me same error.

Thanks for some help


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




Re: Loading a pom in Continuum

2006-06-23 Thread Geoffrey De Smet

I had the same problem,
use the url option instead for multiprojects.

Jeff Mutonho wrote:

I'm trying to add my pom.xml to Continuum , but when I select the pom
from the file systems and click submit , I get the error message
   *  Could not download
file:/C:/DOCUME~1/mutonhj/LOCALS~1/Temp/summit-2/eportal-services/pom.xml:
C:\DOCUME~1\mutonhj\LOCALS~1\Temp\summit-2\eportal-services\pom.xml
(The system cannot find the path specified)

Check the logs for more details.

And the logs say :

623258 [SocketListener0-0] INFO  org.apache.maven.continuum.Continuum
- Could not download
file:/C:/DOCUME~1/mutonhj/LOCALS~1/Temp/summit-/eportal-services/pom.xml:
C:\DOCUME~1\mutonhj\LOCALS~1\Temp\summit-\eportal-services\pom.xml
(The system cannot find the path specified)
623258 [SocketListener0-0] INFO  org.apache.maven.continuum.Continuum
- Could not download
file:/C:/DOCUME~1/mutonhj/LOCALS~1/Temp/summit-/eportal-services-junit/pom.xml: 


C:\DOCUME~1\mutonhj\LOCALS~1\Temp\summit-\eportal-services-junit\pom.xml
(The system cannot find the path specified)

What am I missing?


Jeff
GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042


--
With kind regards,
Geoffrey De Smet


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



Re: Loading a pom in Continuum

2006-06-23 Thread Emmanuel Venisse

you can't use the upload field for multi-modules project.

You need to use the url field with an http or ftp url. If you want to use the file protocol, you 
need to allow it in configuration file : 
http://maven.apache.org/continuum/faqs.html#can-i-use-file-protocol-in-add-project-view


Emmanuel

Jeff Mutonho a écrit :

I'm trying to add my pom.xml to Continuum , but when I select the pom
from the file systems and click submit , I get the error message
   *  Could not download
file:/C:/DOCUME~1/mutonhj/LOCALS~1/Temp/summit-2/eportal-services/pom.xml:
C:\DOCUME~1\mutonhj\LOCALS~1\Temp\summit-2\eportal-services\pom.xml
(The system cannot find the path specified)

Check the logs for more details.

And the logs say :

623258 [SocketListener0-0] INFO  org.apache.maven.continuum.Continuum
- Could not download
file:/C:/DOCUME~1/mutonhj/LOCALS~1/Temp/summit-/eportal-services/pom.xml:
C:\DOCUME~1\mutonhj\LOCALS~1\Temp\summit-\eportal-services\pom.xml
(The system cannot find the path specified)
623258 [SocketListener0-0] INFO  org.apache.maven.continuum.Continuum
- Could not download
file:/C:/DOCUME~1/mutonhj/LOCALS~1/Temp/summit-/eportal-services-junit/pom.xml: 


C:\DOCUME~1\mutonhj\LOCALS~1\Temp\summit-\eportal-services-junit\pom.xml
(The system cannot find the path specified)

What am I missing?


Jeff
GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

-
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: JUG in Europe

2006-06-23 Thread Peter Pilgrim

Jason van Zyl wrote:

Hi,

If anyone belongs to a JUG in Europe I will be in the area from June 
19th to July 14th. So far it looks like there will be presentations in 
London, Dublin, Torino, Oslo and Paris. If you belong to a JUG and would 
like a presentation on Maven I'd be happy to oblige :-) Just contact me 
privately to set something up.


Jason van Zyl
[EMAIL PROTECTED]



Hi Jason

As the founder and organiser of the Java Web User Group UK I wish to
formally and publicly invite you to speak to our group in London.

Would you be available for Thursday, July 6th 2006 for 7pm - 9pm?

Please let me know here or send an email directly peterp(at)xenonique.co.uk.

Thanks very much in advance

http://jroller.com/page/javawug

http://jroller.com/page/peter_pilgrim


--
Peter Pilgrim  ( Windows XP / Thunderbird 1.5 )

_ ___  + Expert Java
__  /_ ___   ___ ____  /__  /  + Enterprise
___ _  /_  __ `/_ | / /  __ `/__  __/  __  __/ + Design
/ /_/ / / /_/ /__ |/ // /_/ / _  /___  _  /___ + Architecture
\/  \__,_/ _/ \__,_/  /_/  /_/ + Web New Age

On Line Resume
   ||
   \\===>  `` http://www.xenonsoft.demon.co.uk/no-it-striker.html ''

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



Loading a pom in Continuum

2006-06-23 Thread Jeff Mutonho

I'm trying to add my pom.xml to Continuum , but when I select the pom
from the file systems and click submit , I get the error message
   *  Could not download
file:/C:/DOCUME~1/mutonhj/LOCALS~1/Temp/summit-2/eportal-services/pom.xml:
C:\DOCUME~1\mutonhj\LOCALS~1\Temp\summit-2\eportal-services\pom.xml
(The system cannot find the path specified)

Check the logs for more details.

And the logs say :

623258 [SocketListener0-0] INFO  org.apache.maven.continuum.Continuum
- Could not download
file:/C:/DOCUME~1/mutonhj/LOCALS~1/Temp/summit-/eportal-services/pom.xml:
C:\DOCUME~1\mutonhj\LOCALS~1\Temp\summit-\eportal-services\pom.xml
(The system cannot find the path specified)
623258 [SocketListener0-0] INFO  org.apache.maven.continuum.Continuum
- Could not download
file:/C:/DOCUME~1/mutonhj/LOCALS~1/Temp/summit-/eportal-services-junit/pom.xml:
C:\DOCUME~1\mutonhj\LOCALS~1\Temp\summit-\eportal-services-junit\pom.xml
(The system cannot find the path specified)

What am I missing?


Jeff
GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



maven 2.0.4 & Checkstyle 4.1: Unable to process header location

2006-06-23 Thread Dongsheng Song
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

mvn -e checkstyle:checkstyle

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

[INFO] Building nova
[INFO]task-segment: [checkstyle:checkstyle]
[INFO] 

[INFO] Setting property: classpath.resource.loader.class => 
'org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader'.
[INFO] Setting property: velocimacro.messages.on => 'false'.
[INFO] Setting property: resource.loader => 'classpath'.
[INFO] Setting property: resource.manager.logwhenfound => 'false'.
[INFO] **
[INFO] Starting Jakarta Velocity v1.4
[INFO] RuntimeInstance initializing.
[INFO] Default Properties File: 
org\apache\velocity\runtime\defaults\velocity.properties
[INFO] Default ResourceManager initializing. (class 
org.apache.velocity.runtime.resource.ResourceManagerImpl)
[INFO] Resource Loader Instantiated: 
org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader
[INFO] ClasspathResourceLoader : initialization starting.
[INFO] ClasspathResourceLoader : initialization complete.
[INFO] ResourceCache : initialized. (class 
org.apache.velocity.runtime.resource.ResourceCacheImpl)
[INFO] Default ResourceManager initialization complete.
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Literal
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Macro
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Parse
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Include
[INFO] Loaded System Directive: org.apache.velocity.runtime.directive.Foreach
[INFO] Created: 20 parsers.
[INFO] Velocimacro : initialization starting.
[INFO] Velocimacro : adding VMs from VM library template : VM_global_library.vm
[ERROR] ResourceManager : unable to find resource 'VM_global_library.vm' in any 
resource loader.
[INFO] Velocimacro : error using  VM library template VM_global_library.vm :
org.apache.velocity.exception.ResourceNotFoundException: Unable to find 
resource 'VM_global_library.vm'
[INFO] Velocimacro :  VM library template macro registration complete.
[INFO] Velocimacro : allowInline = true : VMs can be defined inline in templates
[INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline may NOT 
replace previous VM definitions
[INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be  
global in scope if allowed.
[INFO] Velocimacro : initialization complete.
[INFO] Velocity successfully started.
[INFO] [checkstyle:checkstyle]
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] An error has occurred in Checkstyle report generation.

Embedded error: Unable to process header location.
Destination file has no content.
[INFO] 
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: An error has occurred 
in Checkstyle report generation.
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:559)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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: An error has 
occurred in Checkstyle report generation.
at 
org.apache.maven.reporting.AbstractMavenReport.execute(AbstractMavenRepo

Re: How to use findbugs in maven2?

2006-06-23 Thread Emmanuel Venisse

http://mojo.codehaus.org/findbugs-maven-plugin/howto.html

Emmanuel

Dongsheng Song a ??crit :

I using findbugs plugin at http://www.ibiblio.org/maven2/findbugs/,
maven2 give me such error messages:

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

here is my pom.xml snippet:

...
  
...

  findbugs
  findbugs
  0.9.6

  
...



...
  
 org.apache.maven.plugins
 maven-findbugs-plugin
  


...

When I set /reporting/plugins/plugin/groupId & 
/reporting/plugins/plugin/artifactId
to 'findbugs', it give me same error.

Thanks for some help


-
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 findbugs in maven2?

2006-06-23 Thread Dongsheng Song
I using findbugs plugin at http://www.ibiblio.org/maven2/findbugs/,
maven2 give me such error messages:

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

here is my pom.xml snippet:

...
  
...

  findbugs
  findbugs
  0.9.6

  
...



...
  
 org.apache.maven.plugins
 maven-findbugs-plugin
  


...

When I set /reporting/plugins/plugin/groupId & 
/reporting/plugins/plugin/artifactId
to 'findbugs', it give me same error.

Thanks for some help


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



Re: How to implement an organisational super pom ?

2006-06-23 Thread ben short

Here is a god example of a organisational super pom

http://maven.sateh.com/repository/org/apache/apache/2/

I have created one for my compnay that contains the following...



  internal-released
  scp://192.168.6.194/var/mvn/internal-released


  internal-snapshot
  scp://192.168.6.194/var/mvn/internal-snapshot



Although each developer has to have the login details, for the repos,
in thier settings.xml.

But so far its working fine.

Ben



On 6/22/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote:

You confuse multi-modules project and super pom. A super pom doesn't
need to declare any modules. It is an independant project which has
its own version and distributed in your internal repository so that
any project can download whenever it needs it.

It should fix your problems.

On 6/20/06, Dhananjay Nene <[EMAIL PROTECTED]> wrote:
> Although the question wasn't addressed to me, I have run into some
> problems (hence the question in the first place) so just adding my 2c.
>
> If the super pom modeled as a top level module (ie. each project
> declares it as a parent), I get into a lot of issues when using the
> release plugin for the individuaal projects (You can just try it out to
> see what I mean).  One of the  issues  I also get into is that  the cvs
> repository needs to be structured  with the superpom module at the top
> and each of the projects as a sub directory in the cvs module
> representing the super pom which is not exactly the most convenient
> mechanism for conducting version control across multiple independent
> projects.
>
> Having said that since maven itself does use a super pom which does not
> suffer from these limitations hopefully there's some way to implement -
> but I couldn't figure it out so far.
>
> Dhananjay
>
> Roald Bankras wrote:
> > Nathan
> >
> > What kind of problems did you ran into? I'm currently working on a super 
pom for my company, but haven't seen any problems yet.
> >
> > Roald Bankras
> > Software Engineer
> > JTeam b.v.
> >
> > -Original Message-
> > From: Beyer,Nathan [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, June 20, 2006 12:29 AM
> > To: Maven Users List
> > Subject: RE: How to implement an organisational super pom ?
> >
> > >From my adventures in trying to do this, I've found that it's just not a
> > good idea in the current state of things. There are some things that can
> > be done with dependencyManagement and pluginManagement, but that only
> > goes so far.
> >
> > My suggestion is to standardize things via archetypes to generate POMs
> > in a certain fashion. For common "automated build" stuff use profile
> > settings for the build user.
> >
> > -Nathan
> >
> > -Original Message-
> > From: Dhananjay Nene [mailto:[EMAIL PROTECTED]
> > Sent: Monday, June 19, 2006 1:34 PM
> > To: Maven Users List
> > Subject: How to implement an organisational super pom ?
> >
> > I need to implement a common pom which can be inherited by a large
> > number of projects. However the common pom does not reflect a top level
> > module and does not have any sources or artifacts (since it is used only
> > for inheritance). My attempts so far lead me to believe that maven
> > requires me to assign a version to the common pom, and the release
> > management workflow tries to checkout a project corresponding to top
> > level pom which obviously fails in my case. How can I implement a common
> > pom (like the maven super pom) so that the common pom is used only for
> > inheritance, and each pom which refers to it (as a parent ??) is in fact
> > a top level application (and not a module/sub module) ?
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> > -
> > CONFIDENTIALITY NOTICE This message and any included attachments
> > are from Cerner Corporation and are intended only for the
> > addressee. The information contained in this message is
> > confidential and may constitute inside or non-public information
> > under international, federal, or state securities laws.
> > Unauthorized forwarding, printing, copying, distribution, or use of
> > such information is strictly prohibited and may be unlawful. If you
> > are not the addressee, please promptly delete this message and
> > notify the sender of the delivery error by e-mail or you may call
> > Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1)
> > (816)221-1024. ---
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> Fo

Site schema and inheritence

2006-06-23 Thread Geoffrey De Smet

Is there an updated version of the site.xml schema available?
  http://maven.apache.org/maven-navigation-1.0.xsd
is outdated as it doesn't support  etc
I couldn't find one in
  http://maven.apache.org/xsd/
either



Neither the site guide nor the site plugin documentation
demonstrates how to inherit the site in the child site.xml.
How do I do that?


--
With kind regards,
Geoffrey De Smet


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



Re: jarring non class files

2006-06-23 Thread Jeff Mutonho

On 6/22/06, Bram de Kruijff <[EMAIL PROTECTED]> wrote:

> In some organizations its not as simple as that :).

rebel! :P ... but seriously how about this


  src/java
  

  src
  
  java/**/*.java
  

  


Note that you can always check what your 'effective pom' will look like by
running 'mvn help:effective-pom'

grz
Bram



Rebelling , I die for the day :) .Thanks , that seemed to sort it
out...I mean your configuration suggestion , not the the rebellion!


Jeff  Mutonho

GoogleTalk : ejbengine
Skype: ejbengine
Registered Linux user number 366042

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



RE: Problem with Cargo, Starting a Container

2006-06-23 Thread Vincent Massol
Hi Andreas,

> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Schildbach
> Sent: vendredi 23 juin 2006 07:43
> To: users@maven.apache.org
> Subject: Problem with Cargo, Starting a Container
> 
> Hi everyone,
> 
> Vincent asked me to ask this question on the list, so here I am:

Err... I meant the Cargo list as this is a cargo question ;-)

Thanks
-Vincent

> 
> I followed the "Starting and stopping a container" tutorial, but it does
> not work. "mvn cargo:deploy" deploys as expected (copies my EJB artifact
> to the deploy directory), but "mvn cargo:start" deletes the artifact
> again, then starts the container.
> 
> What is wrong with my POM?
> 
> http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>   4.0.0
> 
>   ejbGroupId
>   ejbArtifactId
>   ejb
> 
>   
>   
>   
>   org.apache.maven.plugins
>   maven-ejb-plugin
>   
>   
>   
> 
>   true
>   
>   
>   
>   
>   
>   org.codehaus.cargo
>   cargo-maven2-plugin
>   
>   
>
jboss3x
>   ${jboss3x.dir}
>   target/jboss-
> output.log
>   
>   
>
target/jboss-config
>   
> 
>   1100
> 
>   8081
> 
>   high
>   
>   
>   
> 
>   ejbGroupId
> 
>   ejbArtifactId
>
ejb
>   
>   
>   
>   
>   
>   
>   
> 
>   
>   [...]
>   
> 
> 
> 
> See also:
> 
> http://jira.codehaus.org/browse/CARGO-344?page=comments#action_67926
> 
> Regards,
> 
> Andreas
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]






___ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire.
http://fr.mail.yahoo.com

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



Re: Re: Unversioned jars revisted

2006-06-23 Thread Rémy Sanlaville


+1 on adding such a property. Maven should provide this flexibility, so
that doing an ugly un-Mavenesque antrun hack is not necessary. Also,
providing such a property would be consistent with the
project.build.finalName element in the POM, which allows giving an
unversioned name to the artifact itself.

Ian



Rather than using an antrun hack, a better way is to override the finalName

 
   ${artifactId}
   [...]

cf. http://maven.apache.org/guides/introduction/introduction-to-the-pom.html

Rémy