including project local jars as a dependency

2005-10-28 Thread Brill Pappin
In Maven 1 I used to be able to include project local jars and include them
in the dependency list with an override property.

This is important to be able to do it so that a build can include "private"
jars where a repository is *not* an option (I have several such cases).

How do I do that in m2?

- Brill Pappin


RE: [M2] Too heavy load for ibiblio?

2005-10-28 Thread Allison, Bob
One problem I have been having with maven-proxy is that I find that once a 
jar's metadata is downloaded, it never seems to be updated.  I noticed this 
when Maven 2.0 was released.  Soon after that, a few plugins had new versions 
released but my Maven 2.0 never updated, even using -U and blasting the 
repository.  Only by stopping the proxy, blasting it's cache, and restarting it 
was I able to get the updated plugins.  I think there may need to be a serious 
code review of this to make sure that it is working correctly with m2 before it 
is heavily advertised.

-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Jörg Schaible
Sent: Friday, October 28, 2005 15:24
To: users@maven.apache.org
Subject: Re: [M2] Too heavy load for ibiblio?


Hi Jason,

Jason van Zyl wrote:

> On Fri, 2005-10-28 at 08:46 +0200, Dietrich Schulten wrote:
>> Hi,
>> 
>> Mvn is having trouble to download commons-codec from ibiblio. Browsing
>> showed that yesterday something was updated there, but I cannot download
>> manually.
>> 
>> Is there something broken or are there just too many connections?
> 
> During peak hours (the afternoon in US TZs) Ibiblio can get rather
> bogged down. Now that the main push for Maven and Continuum releases
> have been done we can now focus on some infrastructure issues like
> repository maintenance and repository distribution. We definitely need
> to move toward a CPAN like distribution of artifacts.

It would be good to advertise maven-proxy much more. It works really fine
even for M2. Especially for companies or other big organizations it can
decrease the traffic significantly.

What's missing:
A proper guide how to make use of it in M2 (it took me some time to get the
/.m2/settings.xml right, so that artifacts and plugins will use the
proxy) and special hints in the M2 docs for its existence.

- Jörg


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


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



Re: doing something after all modules are built

2005-10-28 Thread Xavier Toth
[m2]

On 10/28/05, Xavier Toth <[EMAIL PROTECTED]> wrote:
>
> I'm building multiple modules now I want do something after they are built
> how can I do this?


doing something after all modules are built

2005-10-28 Thread Xavier Toth
I'm building multiple modules now I want do something after they are built
how can I do this?


Re: [m2] Eclipse webapp lib

2005-10-28 Thread Srepfler Srgjan

Hi Brian,
I'm writing in relation to the j2ee artifact that was released and the 
maven-eclipse-plugin patch that you wrote. If I didn't understand 
wrongly it might be possible to put all projects on one level and then 
reference the modules in the main pom in a relative way like:


 
   ../child-project1
 
 
   ../child-project2
 

So perhaps the eclipse plugin should also have the role of flattening 
hierarchical projects?
That way it would be unnecessary to fork the j2ee archetype and 
maven-eclipse-plugin  would know what would it need to be done.



Brian Bonner wrote:


Hi guys,

I was able to get the project to install with the required
dependencies of servlet on primary-sources and logging.

I'm not sure about the EAR because I haven't created an EAR project in
the WTP.  I've mostly done dynamic web projects.  I use
spring/hibernate and have stayed clear of the packaging.  I haven't
used j2ee clients per se.

To get the web side working, I needed to add a build section to the
j2ee web's POM and the patch to EclipsePlugin *was* required.

It also needed a base web.xml included in the tree to get the project
to load in tomcat.   I think this should be added anyway as part of
the archetype.

Brian

-
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: Question about Jabber Configuration

2005-10-28 Thread Emmanuel Venisse

I sent it to you. Let me know the result of your tests.

Emmanuel

Frank Zhao a écrit :

Sure, I will be glad to do the test.
Regards,
Frank

-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Fri 10/28/2005 4:33 PM
To: continuum-users@maven.apache.org
Subject: Re: Question about Jabber Configuration
 
I filed an issue (CONTINUUM-386) and add support of ssl in jabber notifier.

If you want to test it, I can send you the jar

Emmanuel

Frank Zhao a écrit :


Hi Emmanuel,

It seems quite easy to enable the SSL connection in Jabber client. The DefaultJabberClent class has 
a function "public void setSslConnection( boolean isSslConnection )" which will enable 
the SSL when pass a "true" into it.

Therefore the solution could be adding a property in the application.xml file 
and call jabberClient.setSslConnection(true); before you make the Jabber 
connection if the user enable SSL in the xml file.

I hope you can help me add the SSL Jabber support in Continuum, I can help for 
the testing.

I wish I could do it meself. However, it has been two days but I still couldn't figure 
out how to make the Continuum build on my machine. It seems it build OK although get a 
few errors in testing. But when I tried to start Continuum from the 
"continuum-plexus-application/target/plexus-test-runtime/bin/plexus.sh" I got 
errors as the following. I am going to keep trying it since we are going to move to the 
Continuum very soon. But I do hope you can add this in the next release.

Thanks,

Frank

The error I got when ran plexus.sh:
...
constituent[15]: 
file:/nfs/fzhao/work/continuum/develop/continuum-trunk/continuum-plexus-application/target/plexus-test-runtime/services/plexus-service-jetty-1.0-alpha-3/classes/
---
Exception in thread "main" java.lang.NoSuchMethodError: 
java.lang.IllegalArgumentException: method 
(Ljava/lang/String;Ljava/lang/Throwable;)V not found
   at 
org.codehaus.plexus.logging.log4j.Log4JLoggerManager.initialize(Log4JLoggerManager.java:202)
   at 
org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializePhase.execute(InitializePhase.java:16)
   at 
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101)
   at 
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105)
   at 
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95)
   at 
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92)
   at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:327)
   at 
org.codehaus.plexus.DefaultPlexusContainer.initializeLoggerManager(DefaultPlexusContainer.java:1194)
   at 
org.codehaus.plexus.DefaultPlexusContainer.initialize(DefaultPlexusContainer.java:633)
   at 
org.codehaus.plexus.application.deploy.DefaultApplicationDeployer.deployApplicationDirectory(DefaultApplicationDeployer.java:364)
   at 
org.codehaus.plexus.application.deploy.DefaultApplicationDeployer.deployJar(DefaultApplicationDeployer.java:212)
   at 
org.codehaus.plexus.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:136)
   at 
org.codehaus.plexus.application.deploy.DefaultApplicationDeployer.deploy(DefaultApplicationDeployer.java:116)
   at 
org.codehaus.plexus.application.DefaultApplicationServer$2.onJarDiscovered(DefaultApplicationServer.java:117)
   at 
org.codehaus.plexus.application.supervisor.DefaultSupervisor.scanDirectory(DefaultSupervisor.java:89)
   at 
org.codehaus.plexus.application.supervisor.DefaultSupervisor.scan(DefaultSupervisor.java:68)
   at 
org.codehaus.plexus.application.DefaultApplicationServer.start(DefaultApplicationServer.java:146)
   at 
org.codehaus.plexus.personality.plexus.lifecycle.phase.StartPhase.execute(StartPhase.java:16)
   at 
org.codehaus.plexus.lifecycle.AbstractLifecycleHandler.start(AbstractLifecycleHandler.java:101)
   at 
org.codehaus.plexus.component.manager.AbstractComponentManager.startComponentLifecycle(AbstractComponentManager.java:105)
   at 
org.codehaus.plexus.component.manager.AbstractComponentManager.createComponentInstance(AbstractComponentManager.java:95)
   at 
org.codehaus.plexus.component.manager.ClassicSingletonComponentManager.getComponent(ClassicSingletonComponentManager.java:92)
   at 
org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:327)
   at 
org.codehaus.plexus.application.PlexusApplicationHost.start(PlexusApplicationHost.java:109)
   at 
org.codehaus.plexus.application.PlexusApplicationHost.main(PlexusApplicationHost.java:236)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodA

RES: RES: M2 from behind a proxy

2005-10-28 Thread Roberto Castro
Hi, Luca, John Casey and Peter Pilgrim.
I created file settings.xml like this in ~/.m2 directory:



true
http
copacabana.cetipnet
3128


true
http
bpeixoto.cetipnet
3128




And executed Maven like this: >mvn -X archetype:create 
-DgroupId=com.mycompany.app -DartifactId=my-app
Everything is working fine now.
Thanks a lot for your help.
Best regards,

 Roberto de Castro 
 Analista de Suporte 
 Cetip - Desus Rio de Janeiro 
 +55 21 2276-7439 
 mailto:[EMAIL PROTECTED] 




-Mensagem original-
De: John Casey [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 28 de outubro de 2005 13:47
Para: Maven Users List
Assunto: Re: RES: M2 from behind a proxy


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You might want to see the FAQ entry on proxy setup on the Maven website.
You need an entry in ~/.m2/settings.xml to tell what the proxy settings
are...

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

HTH,

john

Roberto Castro wrote:
| Hi, Luca!
| I've entered this line but it didn't work yet:
| mvn -X archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
| -Dproxies.proxy.host=copacabana.cetipnet -Dproxies.proxy.port=3128
|
| Here is the error message I've been facing:
|
| + Error stacktraces are turned on.
| [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
and Settin
| gs\roberto\.m2\plugin-registry.xml'
| [DEBUG] Building Maven global-level plugin registry from:
'G:\Maven\Apache Softw
| are Foundation\maven-2.0\conf\plugin-registry.xml'
| [INFO] Scanning for projects...
| [INFO] Searching repository for plugin with prefix: 'archetype'.
| [DEBUG] maven-archetype-plugin: using locally installed snapshot
| [DEBUG] Artifact not found - using stub model: Unable to determine the
latest ve
| rsion
|   org.apache.maven.plugins:maven-archetype-plugin:LATEST:pom
|
|
| [DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-archetype-
| plugin:pom:LATEST
| [DEBUG] maven-archetype-plugin: using locally installed snapshot
| [DEBUG] Artifact not found - using stub model: Unable to determine the
release v
| ersion
|   org.apache.maven.plugins:maven-archetype-plugin:RELEASE:pom
|
|
| [DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-archetype-
| plugin:pom:RELEASE
| [INFO]
- -
| ---
| [ERROR] BUILD ERROR
| [INFO]
- -
| ---
| [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin'
does not exi
| st or no valid version could be found
| [INFO]
- -
| ---
| [DEBUG] Trace
| org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.m
| aven.plugins:maven-archetype-plugin' does not exist or no valid
version could be
|  found
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
| ultLifecycleExecutor.java:1124)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
| (DefaultLifecycleExecutor.java:1356)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
| AggregationNeeds(DefaultLifecycleExecutor.java:376)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
| fecycleExecutor.java:132)
| at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
| at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
| at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
| at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
| at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
|
| at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
| Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The p
| lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist
or no val
| id version could be found
| at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
| uginVersion(DefaultPluginVersionManager.java:225)
| at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
| uginVersion(DefaultPluginVersionManager.java:87)
| at
org.ap

Re: [M2] Too heavy load for ibiblio?

2005-10-28 Thread Jörg Schaible
Hi Jason,

Jason van Zyl wrote:

> On Fri, 2005-10-28 at 08:46 +0200, Dietrich Schulten wrote:
>> Hi,
>> 
>> Mvn is having trouble to download commons-codec from ibiblio. Browsing
>> showed that yesterday something was updated there, but I cannot download
>> manually.
>> 
>> Is there something broken or are there just too many connections?
> 
> During peak hours (the afternoon in US TZs) Ibiblio can get rather
> bogged down. Now that the main push for Maven and Continuum releases
> have been done we can now focus on some infrastructure issues like
> repository maintenance and repository distribution. We definitely need
> to move toward a CPAN like distribution of artifacts.

It would be good to advertise maven-proxy much more. It works really fine
even for M2. Especially for companies or other big organizations it can
decrease the traffic significantly.

What's missing:
A proper guide how to make use of it in M2 (it took me some time to get the
/.m2/settings.xml right, so that artifacts and plugins will use the
proxy) and special hints in the M2 docs for its existence.

- Jörg


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



RES: RES: M2 from behind a proxy

2005-10-28 Thread Roberto Castro
Luca, I deleted .m2/repository and executed Maven agind, but, It didn't work.
I think Maven is not able to find ibiblio. Actually, the problem must be with 
proxy configuration. I'll try to configure settings.xml and I'll inform you 
later.
Let's see.
Best regards,


 Roberto de Castro 
 Analista de Suporte 
 Cetip - Desus Rio de Janeiro 
 +55 21 2276-7439 
 mailto:[EMAIL PROTECTED] 




-Mensagem original-
De: Luca Gmail [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 28 de outubro de 2005 13:54
Para: 'Maven Users List'
Assunto: RE: RES: M2 from behind a proxy


The problem is not the proxy conf. maven, i don't know why, is unable to
resolve the right version. I suggest to delete the .m2/repository dir and
retry.

Bye,
Luca

-Original Message-
From: John Casey [mailto:[EMAIL PROTECTED] 
Sent: venerdì 28 ottobre 2005 17.47
To: Maven Users List
Subject: Re: RES: M2 from behind a proxy

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You might want to see the FAQ entry on proxy setup on the Maven website.
You need an entry in ~/.m2/settings.xml to tell what the proxy settings
are...

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

HTH,

john

Roberto Castro wrote:
| Hi, Luca!
| I've entered this line but it didn't work yet:
| mvn -X archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
| -Dproxies.proxy.host=copacabana.cetipnet -Dproxies.proxy.port=3128
|
| Here is the error message I've been facing:
|
| + Error stacktraces are turned on.
| [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
and Settin
| gs\roberto\.m2\plugin-registry.xml'
| [DEBUG] Building Maven global-level plugin registry from:
'G:\Maven\Apache Softw
| are Foundation\maven-2.0\conf\plugin-registry.xml'
| [INFO] Scanning for projects...
| [INFO] Searching repository for plugin with prefix: 'archetype'.
| [DEBUG] maven-archetype-plugin: using locally installed snapshot
| [DEBUG] Artifact not found - using stub model: Unable to determine the
latest ve
| rsion
|   org.apache.maven.plugins:maven-archetype-plugin:LATEST:pom
|
|
| [DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-archetype-
| plugin:pom:LATEST
| [DEBUG] maven-archetype-plugin: using locally installed snapshot
| [DEBUG] Artifact not found - using stub model: Unable to determine the
release v
| ersion
|   org.apache.maven.plugins:maven-archetype-plugin:RELEASE:pom
|
|
| [DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-archetype-
| plugin:pom:RELEASE
| [INFO]
- -
| ---
| [ERROR] BUILD ERROR
| [INFO]
- -
| ---
| [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin'
does not exi
| st or no valid version could be found
| [INFO]
- -
| ---
| [DEBUG] Trace
| org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.m
| aven.plugins:maven-archetype-plugin' does not exist or no valid
version could be
|  found
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
| ultLifecycleExecutor.java:1124)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
| (DefaultLifecycleExecutor.java:1356)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
| AggregationNeeds(DefaultLifecycleExecutor.java:376)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
| fecycleExecutor.java:132)
| at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
| at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
| at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
| at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
| at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
|
| at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
| Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The p
| lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist
or no val
| id version could be found
| at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
| uginVersion(DefaultPluginVersionManager.java:225)
| at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
| uginVersion(DefaultPluginVersionManager.java:87)
| at
org.apache.maven.p

[m2] DIR structure and archetype questions...

2005-10-28 Thread Mick Knutson
I need help to get my existing directory structure into an m2 statndard 
structure.
I also want to know if the m2 structure I create can be made into an 
archetype so that all groups in our organization can use the same structure 
easily?


Here is my m1 structure (layout #1):

* fastforward Application
|
+->commonJar-subproject
|+-> src
||   +-> java
||   +-> test
||   +-> java
|+-> xdocs
|
+->ff-web-subproject
 +-> src
 |   +-> conf
 |   |   +-> web
 |   |   +-> properties
 |   |   +-> tld
 |   |   +-> xmi
 |   |   +-> xml
 |   +-> java
 |   +-> test
 |   |   +-> java
 |   +-> web
 |   +-> layouts (under WEB-INF)
 |   +-> resources (NOT under WEB-INF. images etc...)
 +-> xdocs


I am guessing at the new web structure as this but not sure (Layout #2):

* fastforward Application
|
+->ff-web-subproject
|+-> servlet
||   +-> src
||   +-> main
||   |   +-> java
||   |   +-> webapp
||   |   +-> WEB-INF
||   |   +-> (*.jsp, *.xml, *.properties, *.xmi, *.tld)
||   |   +-> (*.jsp, *.htm*, *.gif, *.jpg, *.css, *.js)
||   +-> test
||   +-> java
|+-> site
|+-> src
|+-> site
|+-> apt (name?)
|
+->commonJar-subproject
|+-> src
|+-> main
|+-> java
|+-> test
|+-> java
+-> site
 +-> src
 +-> site
 +-> apt (name?)

I guess my confusion here comes with the directories in the maven archetype 
called ear, ejbs, projects and there only being 1 site DIR now.


So let me try to outline my questions:
--
1. Why is the archetype-resources DIR structure under src/main/resources?

2. Is there now only 1 site dir for the entire project?

3. did I rearrange my subprojectscorrectly as depicted in layout #2?

4. Why is there a src/main/java in the ear subproject of this archetype?

5. What is the difference between the primary-source and the projects DIR's?

6. Why did you call the DIR with the web files servlets? Why not something 
like ff-web-subproject or ff-webapp-subproject? Is there a reason NOT to 
name it like I had already done in my m1?


Then from the Vincent Massol PPT, I am not sure what to do with the 
following DIR's:


+-> distibution
+-> extensions
|+-> maven
|+-> ant
+-> samples





Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)



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



[m2] DIR structure and archetype questions...

2005-10-28 Thread Mick Knutson
I need help to get my existing directory structure into an m2 statndard 
structure.
I also want to know if the m2 structure I create can be made into an 
archetype so that all groups in our organization can use the same structure 
easily?


Here is my m1 structure (layout #1):

* fastforward Application
|
+->commonJar-subproject
|+-> src
||   +-> java
||   +-> test
||   +-> java
|+-> xdocs
|
+->ff-web-subproject
 +-> src
 |   +-> conf
 |   |   +-> web
 |   |   +-> properties
 |   |   +-> tld
 |   |   +-> xmi
 |   |   +-> xml
 |   +-> java
 |   +-> test
 |   |   +-> java
 |   +-> web
 |   +-> layouts (under WEB-INF)
 |   +-> resources (NOT under WEB-INF. images etc...)
 +-> xdocs


I am guessing at the new web structure as this but not sure (Layout #2):

* fastforward Application
|
+->ff-web-subproject
|+-> servlet
||   +-> src
||   +-> main
||   |   +-> java
||   |   +-> webapp
||   |   +-> WEB-INF
||   |   +-> (*.jsp, *.xml, *.properties, *.xmi, *.tld)
||   |   +-> (*.jsp, *.htm*, *.gif, *.jpg, *.css, *.js)
||   +-> test
||   +-> java
|+-> site
|+-> src
|+-> site
|+-> apt (name?)
|
+->commonJar-subproject
|+-> src
|+-> main
|+-> java
|+-> test
|+-> java
+-> site
 +-> src
 +-> site
 +-> apt (name?)

I guess my confusion here comes with the directories in the maven archetype 
called ear, ejbs, projects and there only being 1 site DIR now.


So let me try to outline my questions:
--
1. Why is the archetype-resources DIR structure under src/main/resources?

2. Is there now only 1 site dir for the entire project?

3. did I rearrange my subprojectscorrectly as depicted in layout #2?

4. Why is there a src/main/java in the ear subproject of this archetype?

5. What is the difference between the primary-source and the projects DIR's?

6. Why did you call the DIR with the web files servlets? Why not something 
like ff-web-subproject or ff-webapp-subproject? Is there a reason NOT to 
name it like I had already done in my m1?


Then from the Vincent Massol PPT, I am not sure what to do with the 
following DIR's:


+-> distibution
+-> extensions
|+-> maven
|+-> ant
+-> samples





Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)



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



Re: Using Profiles in dependent projects

2005-10-28 Thread Damian_Bradicich




using maven2 fyi




I have a pom file that defines our persistant layer jar project, it has 2
dependencies, each is wrapped in a profile as follows

  

  oracle-supplementaldata
  

  oracle
  classes12
  1.0
  compile

  


  mssql-supplementaldata
  

  microsoft
  mssqlserver
  UNKNOWN
  compile

  

  

Now when I try to then include this jar project as a compile dependency for
a war project, the profile dependencies aren't getting carried over.  My
current workaround is to redefine the profiles in the pom of the war
project, but that just seems like it isn't necessary

Any ideas??
___
Damian Bradicich
Software Developer
Scientific Technologies Corporation
Tel: (603) 471-4712
Email: [EMAIL PROTECTED]
Web Site: www.stchome.com
"Advancing Public Health Outcomes Through Information Technology"
___


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



Ant classpath variables

2005-10-28 Thread Damian_Bradicich




I'm using the antrun plugin to enhance my kodo jdo class files, and run
testng from ant build files.  In these build files I know I have access to
maven.dependency.classpath, however this doesn't include any of the jars
that are in the test scope.  Is there any other class path reference I can
use?  I have tried maven.test.classpath, however that doesn't seem to work
any better than maven.dependency.classpath

Any ideas??

POM:
  
maven-antrun-plugin
1.0

  
run-testng
test

  

  


  run

  

  

Ant Build file

  
  
  

  




  
  


  

  

___
Damian Bradicich
Software Developer
Scientific Technologies Corporation
Tel: (603) 471-4712
Email: [EMAIL PROTECTED]
Web Site: www.stchome.com
"Advancing Public Health Outcomes Through Information Technology"
___


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



Using Profiles in dependent projects

2005-10-28 Thread Damian_Bradicich




I have a pom file that defines our persistant layer jar project, it has 2
dependencies, each is wrapped in a profile as follows

  

  oracle-supplementaldata
  

  oracle
  classes12
  1.0
  compile

  


  mssql-supplementaldata
  

  microsoft
  mssqlserver
  UNKNOWN
  compile

  

  

Now when I try to then include this jar project as a compile dependency for
a war project, the profile dependencies aren't getting carried over.  My
current workaround is to redefine the profiles in the pom of the war
project, but that just seems like it isn't necessary

Any ideas??
___
Damian Bradicich
Software Developer
Scientific Technologies Corporation
Tel: (603) 471-4712
Email: [EMAIL PROTECTED]
Web Site: www.stchome.com
"Advancing Public Health Outcomes Through Information Technology"
___


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



Re: can't download poi-2.0-final-20040126

2005-10-28 Thread Carlos Sanchez
Please file issues at http://jira.codehaus.org/browse/MEV (with
details) and we'll fix it.

On 10/28/05, Geoffrey <[EMAIL PROTECTED]> wrote:
> Mysql 3.0.10 also doesn't work if you depend on it in maven 2.
>
> Marcus Eberts wrote:
> > Hi,
> >
> > the directory to download poi-2.0-final is the right one, the pom file
> > can be downloaded but the data in the pom file (groupId, artifactId,
> > version) seems to be wrong...
> >
> > 
> >
> > [INFO] Using default encoding to copy filtered resources.
> > Downloading:
> > http://www.ibiblio.org/maven2//poi/poi-2.0-final/20040126/poi-2.0-final-20040126.pom
> >
> > [INFO]
> > 
> >
> > [ERROR] BUILD ERROR
> > [INFO]
> > 
> >
> > [INFO] Error building POM (may not be this project's POM).
> >
> >
> > Project ID: poi:poi-2.0-final
> >
> > Reason: Error getting POM for 'poi:poi-2.0-final' from the repository:
> > Error transferring file
> >  poi:poi-2.0-final:20040126:pom
> >
> > 
> > poi-2.0-final-20040126.pom:
> >
> > 
> >poi
> >   poi-2.0-final
> >20040126
> > 
>
> --
> With kind regards,
> Geoffrey De Smet
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



RE: [m2] multiple goal executions

2005-10-28 Thread Jason van Zyl
On Fri, 2005-10-28 at 09:41 -0600, David Jackman wrote:
> Is there an answer for this question anywhere?  This is something I'll
> be facing in the not-too-distant future as well.

It would be a matter of placing something in the session to indicate the
task had been done already or the surefire plugin could drop a token
somewhere when the tests were done and we could compare the timestamp of
that token with the test sources. The latter is probably easier but the
former might be a more general solution for plugin developers.

>  
> 
> -Original Message-
> From: Van Steenberghe Mario (GFDI) [mailto:[EMAIL PROTECTED]
> 
> Sent: Thursday, October 27, 2005 3:30 AM
> To: users@maven.apache.org
> Subject: [m2] multiple goal executions
> 
> Hello,
> 
> We've set up a build that generates some jar files for our projects.
> During this build, I also generate some reports, such as surefire-report
> and clover.
> 
> Now, when I look in the log files, I see that certain goals are executed
> multiple times. The one that bothers us the most is 'surefire:test'.
> 
> After some research I found that the concerned report mojos have an
> '@execute phase="test"' annotation, which means that this phase will be
> executed before the mojo is executed, no matter if this phase was
> already executed somewhere before.
> 
> Since our junit tests take about 20 minutes to run completely, it is
> very important that they are not run multiple times.
> 
> Is there any way I could easily overcome this problem ?
> 
> Many thanks in advance,
> Mario Van Steenberghe
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

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

First, the taking in of scattered particulars under one Idea,
so that everyone understands what is being talked about ... Second,
the separation of the Idea into parts, by dividing it at the joints,
as nature directs, not breaking any limb in half as a bad carver might.

  -- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander)


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



Re: maven 2 specify properties file

2005-10-28 Thread John Stein

dave,

that shows how to do token filtering, but not how to specify that maven 
read in properties from a properties file.i can specify a property on 
command line like:


mvn integration-test -Dwebapps.dir=/zeus/webapps

but don't know how to get maven to read in a bunch of properties from a file

regards,

John Stein

[EMAIL PROTECTED]
717.439.0787 mobile
jdsetown AIM, Yahoo IM



Dave EDMONDS PSE 54839 wrote:


John,


Take a quick peek at this page - think this does what you want...


http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files?


Regards,


Dave Edmonds
ISD Software Solutions
Kent Police, UK

 


[EMAIL PROTECTED] 10/28/05 3:42 pm >>>
   



i have an antrun plugin that runs in integration test phase to copy war

file to a local webapps folder.  i want each developer to be able to

specify the webapps folder.  how can i get maven to read the property

${webapps.folder} out of a properties file?

i saw a post on m2 beta that suggests


  env-test
  
<*property*>
  env
  test

  
  
test.properties
  


but appProperties doesn't seem to work on maven 2.0

--

John Stein

[EMAIL PROTECTED]
717.439.0787 mobile
jdsetown AIM, Yahoo IM



Perfect Order has changed its name to Versatile, which more

correctly represents the combined capabilities of Versatile

Mobile Systems and Perfect Order.  From the data center to

users on the move, Versatile turns data into knowledge. 



Please visit our new web site at http://www.versatile.com




This Email and any accompanying document(s) contain information from Kent 
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or 
bodies to whom it is addressed.
If you are not the intended recipient be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.
If you have received this Email in error please notify us by telephone 
immediately.
The copyright in the contents of this email and any enclosures is the property 
of Kent Police and any unauthorised reproduction or disclosure is contrary to 
the provisions of the Copyright Designs and Patents Act 1988.
 




Perfect Order has changed its name to Versatile, which more 
correctly represents the combined capabilities of Versatile 
Mobile Systems and Perfect Order.  From the data center to 
users on the move, Versatile turns data into knowledge.  


Please visit our new web site at http://www.versatile.com


Re: [M2] Too heavy load for ibiblio?

2005-10-28 Thread Eric Pugh
There are a couple of mirrors that you can use.. I find that solves a  
lot of these types of issues!   There is a doc about how to use  
mirrored repositories.


Eric

On Oct 28, 2005, at 2:46 AM, Dietrich Schulten wrote:



Hi,

Mvn is having trouble to download commons-codec from ibiblio. Browsing
showed that yesterday something was updated there, but I cannot  
download

manually.

Is there something broken or are there just too many connections?

Regards,
Dietrich

-
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: keyword "SNAPSHOT" in depedency version is ignored

2005-10-28 Thread Lukas Theussl

Hey,

I realized when writing the reply that the documentation is somehow 
misleading (at least if you don't read it carefully), we will rewrite 
the corresponding section to make it clearer.


If you think that the functionality that you expected should be 
implemented, you could file a feature request on JIRA [1]. However, 
personally, I am not sure if I would want such a functionality. Having 
the latest releases downloaded automatically is not always what you want 
and could even be dangerous (what if the dependency project publishes a 
backwards-incompatible release?).


Cheers,
Lukas


[1] http://jira.codehaus.org/browse/MAVEN (you have to open an account 
if you want to file issues)




Gianfranco Oldani wrote:

Hi Lukas,
I had the same problem as Stefan ( I am a maven beginner also) and get 
the same explanation as you give. The fact is that I was expecting the 
same behavior as Stefan and maybe that can be a possible enhancement to 
put on the strack? Maybe I miss something but I don't see why it will 
not be possible.

Regards.
Gianfranco Oldani

Original Message Follows
From: Lukas Theussl <[EMAIL PROTECTED]>
Reply-To: "Maven Users List" 
To: Maven Users List 
Subject: Re: keyword "SNAPSHOT" in depedency version is ignored
Date: Thu, 27 Oct 2005 21:11:08 +

This is a misunderstanding of the SNAPSHOT functionality, maven does 
_not_ replace SNAPSHOT with the latest available version of a project.


Using a SNAPSHOT dependency still assumes that the project that you 
depend upon has actually published a SNAPSHOT. This is not the case for 
commons-logging.


See
http://maven.apache.org/maven-1.x/using/managing-dependencies.html#Using_SNAPSHOT_Dependencies 



Regards,
Lukas



Dr. Stefan Reisner wrote:


I have created the following dependency in my maven project:


  commons-logging
  commons-logging
  SNAPSHOT


This results in the following behaviour being logged on the console when
invoking maven:

D:\workspace\de.syngenio.kompass.kik>maven
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

Attempting to download commons-logging-SNAPSHOT.jar.
WARNING: Failed to download commons-logging-SNAPSHOT.jar.

My expectation was that maven would replace SNAPSHOT (or for that any
version value in which "SNAPSHOT" occurs as a substring) by the most 
current

version available in the repository. What is going wrong here?

I should add that I'm new to maven, so it's probably something stupid
simple.

Best regards,
Dr. Stefan Reisner




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

_
Éradiquez enfin les fenêtres intempestives et surfez en toute 
tranquilité!!! http://toolbar.fr.msn.ch?DI=1057&XAPID=2083



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



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



Re: AW: [m2] Tomcat plugin

2005-10-28 Thread Richard Wallace

Lars Francke wrote:

Hello,

  
With m1 I was using the codeczar tomcat plugin at 
http://www.codeczar.com/products/maven-tomcat-plugin/.  But 
this project doesn't look like it's too actively maintained 
and I can't find a version for m2.  Does anyone know the 
status or an alternative plugin to deploy/undeploy/redeploy 
webapps to tomcat with maven?



there is one available at:
https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/maven-tomcat-plugin/
but you have to check it out and compile by yourself (which, of course, is
easy thans to Maven). Working like a charme here.
  

Awesome, thanks.  I'll give it a try.

Rich

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



RE: RES: M2 from behind a proxy

2005-10-28 Thread Luca Gmail
The problem is not the proxy conf. maven, i don't know why, is unable to
resolve the right version. I suggest to delete the .m2/repository dir and
retry.

Bye,
Luca

-Original Message-
From: John Casey [mailto:[EMAIL PROTECTED] 
Sent: venerdì 28 ottobre 2005 17.47
To: Maven Users List
Subject: Re: RES: M2 from behind a proxy

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You might want to see the FAQ entry on proxy setup on the Maven website.
You need an entry in ~/.m2/settings.xml to tell what the proxy settings
are...

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

HTH,

john

Roberto Castro wrote:
| Hi, Luca!
| I've entered this line but it didn't work yet:
| mvn -X archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
| -Dproxies.proxy.host=copacabana.cetipnet -Dproxies.proxy.port=3128
|
| Here is the error message I've been facing:
|
| + Error stacktraces are turned on.
| [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
and Settin
| gs\roberto\.m2\plugin-registry.xml'
| [DEBUG] Building Maven global-level plugin registry from:
'G:\Maven\Apache Softw
| are Foundation\maven-2.0\conf\plugin-registry.xml'
| [INFO] Scanning for projects...
| [INFO] Searching repository for plugin with prefix: 'archetype'.
| [DEBUG] maven-archetype-plugin: using locally installed snapshot
| [DEBUG] Artifact not found - using stub model: Unable to determine the
latest ve
| rsion
|   org.apache.maven.plugins:maven-archetype-plugin:LATEST:pom
|
|
| [DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-archetype-
| plugin:pom:LATEST
| [DEBUG] maven-archetype-plugin: using locally installed snapshot
| [DEBUG] Artifact not found - using stub model: Unable to determine the
release v
| ersion
|   org.apache.maven.plugins:maven-archetype-plugin:RELEASE:pom
|
|
| [DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-archetype-
| plugin:pom:RELEASE
| [INFO]
- -
| ---
| [ERROR] BUILD ERROR
| [INFO]
- -
| ---
| [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin'
does not exi
| st or no valid version could be found
| [INFO]
- -
| ---
| [DEBUG] Trace
| org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.m
| aven.plugins:maven-archetype-plugin' does not exist or no valid
version could be
|  found
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
| ultLifecycleExecutor.java:1124)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
| (DefaultLifecycleExecutor.java:1356)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
| AggregationNeeds(DefaultLifecycleExecutor.java:376)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
| fecycleExecutor.java:132)
| at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
| at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
| at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
| at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
| at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
|
| at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
| Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The p
| lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist
or no val
| id version could be found
| at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
| uginVersion(DefaultPluginVersionManager.java:225)
| at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
| uginVersion(DefaultPluginVersionManager.java:87)
| at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
| inManager.java:158)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
| ultLifecycleExecutor.java:1095)
| ... 14 more
| [INFO]
- -
| ---
| [INFO] Total time: 1 second
| [INFO] Finished at: Fri Oct 28 13:22:39 BRST 2005
| [INFO] Final Memory: 1M/2M
| [INFO]
- -
| ---
|
|   Regards,
|
|  Roberto de Castro
|  Analista de Suporte
|  Cetip - Desus Rio de Janeiro
| 

AW: [m2] Tomcat plugin

2005-10-28 Thread Lars Francke
Hello,

> With m1 I was using the codeczar tomcat plugin at 
> http://www.codeczar.com/products/maven-tomcat-plugin/.  But 
> this project doesn't look like it's too actively maintained 
> and I can't find a version for m2.  Does anyone know the 
> status or an alternative plugin to deploy/undeploy/redeploy 
> webapps to tomcat with maven?

there is one available at:
https://svn.codehaus.org/mojo/trunk/mojo/mojo-sandbox/maven-tomcat-plugin/
but you have to check it out and compile by yourself (which, of course, is
easy thans to Maven). Working like a charme here.

Lars


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



Re: RES: M2 from behind a proxy

2005-10-28 Thread John Casey

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You might want to see the FAQ entry on proxy setup on the Maven website.
You need an entry in ~/.m2/settings.xml to tell what the proxy settings
are...

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

HTH,

john

Roberto Castro wrote:
| Hi, Luca!
| I've entered this line but it didn't work yet:
| mvn -X archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
| -Dproxies.proxy.host=copacabana.cetipnet -Dproxies.proxy.port=3128
|
| Here is the error message I've been facing:
|
| + Error stacktraces are turned on.
| [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
and Settin
| gs\roberto\.m2\plugin-registry.xml'
| [DEBUG] Building Maven global-level plugin registry from:
'G:\Maven\Apache Softw
| are Foundation\maven-2.0\conf\plugin-registry.xml'
| [INFO] Scanning for projects...
| [INFO] Searching repository for plugin with prefix: 'archetype'.
| [DEBUG] maven-archetype-plugin: using locally installed snapshot
| [DEBUG] Artifact not found - using stub model: Unable to determine the
latest ve
| rsion
|   org.apache.maven.plugins:maven-archetype-plugin:LATEST:pom
|
|
| [DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-archetype-
| plugin:pom:LATEST
| [DEBUG] maven-archetype-plugin: using locally installed snapshot
| [DEBUG] Artifact not found - using stub model: Unable to determine the
release v
| ersion
|   org.apache.maven.plugins:maven-archetype-plugin:RELEASE:pom
|
|
| [DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-archetype-
| plugin:pom:RELEASE
| [INFO]
- -
| ---
| [ERROR] BUILD ERROR
| [INFO]
- -
| ---
| [INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin'
does not exi
| st or no valid version could be found
| [INFO]
- -
| ---
| [DEBUG] Trace
| org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.m
| aven.plugins:maven-archetype-plugin' does not exist or no valid
version could be
|  found
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
| ultLifecycleExecutor.java:1124)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
| (DefaultLifecycleExecutor.java:1356)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
| AggregationNeeds(DefaultLifecycleExecutor.java:376)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
| fecycleExecutor.java:132)
| at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
| at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
| at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
| at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
| java:39)
| at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
| sorImpl.java:25)
| at java.lang.reflect.Method.invoke(Method.java:585)
| at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
| at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
| at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
|
| at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
| Caused by:
org.apache.maven.plugin.version.PluginVersionNotFoundException: The p
| lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist
or no val
| id version could be found
| at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
| uginVersion(DefaultPluginVersionManager.java:225)
| at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
| uginVersion(DefaultPluginVersionManager.java:87)
| at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
| inManager.java:158)
| at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
| ultLifecycleExecutor.java:1095)
| ... 14 more
| [INFO]
- -
| ---
| [INFO] Total time: 1 second
| [INFO] Finished at: Fri Oct 28 13:22:39 BRST 2005
| [INFO] Final Memory: 1M/2M
| [INFO]
- -
| ---
|
|   Regards,
|
|  Roberto de Castro
|  Analista de Suporte
|  Cetip - Desus Rio de Janeiro
|  +55 21 2276-7439
|  mailto:[EMAIL PROTECTED]
|
|
|
|
| -Mensagem original-
| De: luca rasconi [mailto:[EMAIL PROTECTED]
| Enviada em: sexta-feira, 28 de outubro de 2005 12:07
| Para: Maven Users List
| Assunto: Re: M2 from behind a proxy
|
|
| http://maven.apache.org/guides/mini/guide-proxies.html
|
| Luca
|
| On 10/

RE: M2 from behind a proxy

2005-10-28 Thread Pilgrim, Peter
Double checking filenames settings.xml etc. Proxy firewall settings.
Blow away the folder `~/.m2/repository' as well, and try again.


> -Original Message-
> From: Luca Gmail [mailto:[EMAIL PROTECTED]
====

> I executed the same command on my pc, and works fine.
> 
> See attach for details.
> 
> Luca
--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


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



RE: M2 from behind a proxy

2005-10-28 Thread Luca Gmail
I executed the same command on my pc, and works fine.

See attach for details.

Luca

-Original Message-
From: Roberto Castro [mailto:[EMAIL PROTECTED] 
Sent: venerdì 28 ottobre 2005 17.25
To: Maven Users List
Subject: RES: M2 from behind a proxy

Hi, Luca!
I've entered this line but it didn't work yet:
mvn -X archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app 
-Dproxies.proxy.host=copacabana.cetipnet -Dproxies.proxy.port=3128

Here is the error message I've been facing:

+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and
Settin
gs\roberto\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'G:\Maven\Apache
Softw
are Foundation\maven-2.0\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[DEBUG] maven-archetype-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
latest ve
rsion
  org.apache.maven.plugins:maven-archetype-plugin:LATEST:pom


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-archetype-
plugin:pom:LATEST
[DEBUG] maven-archetype-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the
release v
ersion
  org.apache.maven.plugins:maven-archetype-plugin:RELEASE:pom


[DEBUG] Using defaults for missing POM
org.apache.maven.plugins:maven-archetype-
plugin:pom:RELEASE
[INFO]
-
---
[ERROR] BUILD ERROR
[INFO]
-
---
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not
exi
st or no valid version could be found
[INFO]
-
---
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin
'org.apache.m
aven.plugins:maven-archetype-plugin' does not exist or no valid version
could be
 found
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1124)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1356)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:376)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:132)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException:
The p
lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no
val
id version could be found
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:225)
at
org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:87)
at
org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
inManager.java:158)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1095)
... 14 more
[INFO]
-
---
[INFO] Total time: 1 second
[INFO] Finished at: Fri Oct 28 13:22:39 BRST 2005
[INFO] Final Memory: 1M/2M
[INFO]
-
---

Regards,

 Roberto de Castro 
 Analista de Suporte 
 Cetip - Desus Rio de Janeiro 
 +55 21 2276-7439 
 mailto:[EMAIL PROTECTED] 




-Mensagem original-
De: luca rasconi [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 28 de outubro de 2005 12:07
Para: Maven Users List
Assunto: Re: M2 from behind a proxy


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

Luca

On 10/28/05, Roberto Castro <[EMAIL PROTECTED]> wrote:
>
> Hi all, how I can configure M2 to access ibiblio from behind a proxy?
> I'd like to create my first M2 project using a command line like this:
> mvn archetype:create -DgroupId=com.myc

RE: [m2] multiple goal executions

2005-10-28 Thread David Jackman
Is there an answer for this question anywhere?  This is something I'll
be facing in the not-too-distant future as well.

 

-Original Message-
From: Van Steenberghe Mario (GFDI) [mailto:[EMAIL PROTECTED]

Sent: Thursday, October 27, 2005 3:30 AM
To: users@maven.apache.org
Subject: [m2] multiple goal executions

Hello,

We've set up a build that generates some jar files for our projects.
During this build, I also generate some reports, such as surefire-report
and clover.

Now, when I look in the log files, I see that certain goals are executed
multiple times. The one that bothers us the most is 'surefire:test'.

After some research I found that the concerned report mojos have an
'@execute phase="test"' annotation, which means that this phase will be
executed before the mojo is executed, no matter if this phase was
already executed somewhere before.

Since our junit tests take about 20 minutes to run completely, it is
very important that they are not run multiple times.

Is there any way I could easily overcome this problem ?

Many thanks in advance,
Mario Van Steenberghe

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



[m2] Tomcat plugin

2005-10-28 Thread Richard Wallace

Hello,

With m1 I was using the codeczar tomcat plugin at 
http://www.codeczar.com/products/maven-tomcat-plugin/.  But this project 
doesn't look like it's too actively maintained and I can't find a 
version for m2.  Does anyone know the status or an alternative plugin to 
deploy/undeploy/redeploy webapps to tomcat with maven?


Thanks,
Rich

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



RES: M2 from behind a proxy

2005-10-28 Thread Roberto Castro
Hi, Luca!
I've entered this line but it didn't work yet:
mvn -X archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app 
-Dproxies.proxy.host=copacabana.cetipnet -Dproxies.proxy.port=3128

Here is the error message I've been facing:

+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and Settin
gs\roberto\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'G:\Maven\Apache Softw
are Foundation\maven-2.0\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[DEBUG] maven-archetype-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the latest ve
rsion
  org.apache.maven.plugins:maven-archetype-plugin:LATEST:pom


[DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-archetype-
plugin:pom:LATEST
[DEBUG] maven-archetype-plugin: using locally installed snapshot
[DEBUG] Artifact not found - using stub model: Unable to determine the release v
ersion
  org.apache.maven.plugins:maven-archetype-plugin:RELEASE:pom


[DEBUG] Using defaults for missing POM org.apache.maven.plugins:maven-archetype-
plugin:pom:RELEASE
[INFO] -
---
[ERROR] BUILD ERROR
[INFO] -
---
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exi
st or no valid version could be found
[INFO] -
---
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 'org.apache.m
aven.plugins:maven-archetype-plugin' does not exist or no valid version could be
 found
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1124)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor
(DefaultLifecycleExecutor.java:1356)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.segmentTaskListBy
AggregationNeeds(DefaultLifecycleExecutor.java:376)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:132)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.version.PluginVersionNotFoundException: The p
lugin 'org.apache.maven.plugins:maven-archetype-plugin' does not exist or no val
id version could be found
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:225)
at org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePl
uginVersion(DefaultPluginVersionManager.java:87)
at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlug
inManager.java:158)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defa
ultLifecycleExecutor.java:1095)
... 14 more
[INFO] -
---
[INFO] Total time: 1 second
[INFO] Finished at: Fri Oct 28 13:22:39 BRST 2005
[INFO] Final Memory: 1M/2M
[INFO] -
---

Regards,

 Roberto de Castro 
 Analista de Suporte 
 Cetip - Desus Rio de Janeiro 
 +55 21 2276-7439 
 mailto:[EMAIL PROTECTED] 




-Mensagem original-
De: luca rasconi [mailto:[EMAIL PROTECTED]
Enviada em: sexta-feira, 28 de outubro de 2005 12:07
Para: Maven Users List
Assunto: Re: M2 from behind a proxy


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

Luca

On 10/28/05, Roberto Castro <[EMAIL PROTECTED]> wrote:
>
> Hi all, how I can configure M2 to access ibiblio from behind a proxy?
> I'd like to create my first M2 project using a command line like this:
> mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
> Thanks in advance,
>
> Roberto de Castro
> Analista de Suporte
> Cetip - Desus Rio de Janeiro
> +55 21 2276-7439
> mailto:[EMAIL PROTECTED]
>
>
>
> Atenção: Esta mensagem foi enviada para uso exclusivo do(s)
> destinatários

[m2] Custom package dependencies (dotnet dll's) not being found f or compile step in CSharpCompiler

2005-10-28 Thread Stevenson, Chris
Dear All,
 
I've been writing a dotnet plugin for Maven to compile/NDoc/Nunit a dotnet
project within Maven 2. Things have been progressing well but I've got to
real sticking point with handling custom dependent types. 
 
What I've done is:
 
1. Use a custom compiler (written by Trygve and overs) to compile the C#
libraries.
2. Written a dotnet plugin which defines its own build process for dotnet
projects (using as much as possible of the existing build process)
 
My problem is the custom compiler is not being passed the dependencies that
I have defined in the pom (they are of a custom package dotnet-libray that I
have defined). The only entry in the "${project.compileClasspathElements}"
that is being passed to the CSharpCompiler is the path to the output
directory as a string.
 
So my questions are:
 
1. Should I/one of the existing build components set this variable by
manually adding my dlls as dependants? If I should should it be in a custom
implementation of the resources:resources goal?
2. If not is there some way I can pass this info to the custom compiler
through the POM?
 
I know that the dependency is definately being found (see output from
compile goal)
 
Any help much appreciated.

Regards, Chris.

 
Here is the POM in my CSharp project, my custom build cycle and the output
from the compile step:
 
--
POM
--


4.0.0
csharp-sample
engn
Engine CSharp Test
SNAPSHOT
dotnet-exe

target
target/dotnet-assembly

target/test-dotnet-assembly
src/main/csharp
src/test/csharp



maven-compiler-plugin
2.0

csharp
true
csc

**/*.cs

true



ConsoleApplication1.ConsoleApp
true
exe




true




org.codehaus.plexus

plexus-compiler-csharp

1.6-SNAPSHOT






engn

engn-maven-plugin-dotnet
true
   







nunit
nunit.framework
2.2
dotnet-library






--
Custom LifeCycle
--

 
 
  
  
  
  
org.apache.maven.lifecycle.mapping.LifecycleMapping
dotnet-library
 
org.apache.maven.lifecycle.mapping.DefaultLifecycleMapping

  
 
org.apache.maven.plugins:maven-resources-plugin:resources

 
org.apache.maven.plugins:maven-compiler-plugin:compile
 
org.apache.maven.plugins:maven-resources-plugin:test
Resources
 
org.apache.maven.plugins:maven-compiler-plugin:testCompile
engn:engn-maven-plugin-dotnet:test
engn:engn-maven-plugin-dotnet:package
 
org.apache.maven.plugins:maven-install-plugin:install
 
org.apache.maven.plugins:maven-deploy-plugin:deploy
  

  
 
  (plus more)
 

--
Compile goal output on Csharp project (sorry is a bit verbose) See
comments***
--

C:\Work\Eclipse\Workspace\trunk\sample-csharp>mvn
-Duser.home=C:\Work\SCM\CVS\CPDS\trunk\m2.user.home compile
-e -X -o
+ Error stacktraces are turned on.
[DEBUG] Building Maven user-level plugin registry from:
'C:\Work\SCM\CVS\CPDS\trunk\m2.user.home\.m2\plugin-re
gistry.xml'
[DEBUG] Building Maven global-level plugin registry from: 'C:\Program
Files\Apache Software Foundation\Maven 2
\maven-2.0\conf\plugin-registry.xml'
[INFO]
NOTE: Maven is executing in offline mode. Any artifacts not already in your
local
repository will be inaccessible.

[INFO] Scanning for projects...
[DEBUG] Retrieving parent-POM from the repository for project:
null:maven-compiler-plugin:maven-plugin:2.0
[DEBUG] engn-maven-plugin-dotnet: resolved to version 0.1 from local
repository
[INFO]

[INFO] Building Engine CSharp Test
[INFO]task-segment: [compile]
[INFO]
-

Re: Continuum and ClearCase

2005-10-28 Thread Emmanuel Venisse

do you want to create a little patch ;-)


Wim Deblauwe a écrit :

Thanks a lot, that makes it a whole lot clearer! Maybe you can add this info
in the documentation. I think it would be a good addition.

regards,

Wim

2005/10/28, Emmanuel Venisse <[EMAIL PROTECTED]>:


path_to_repository is the path to the parent directory of the directory
that contains pom
and module is the name of the directory that contains the pom

so if your pom is in your_path/rep1/rep2/pom.xml
path_to_repository is your_path/rep1 and module is rep2

Emmanuel

Wim Deblauwe a écrit :


What is meant by path_to_repository ? Is this the path from my pom.xmlto my
local repository, or to my remote repository? And what is the


module_name?


2005/10/28, Emmanuel Venisse <[EMAIL PROTECTED]>:



not with continuum provider, but you can certainly use the local


provider


in your scm
connection string.

format is described there:


http://maven.apache.org/scm/scm-url-format.html


Wim Deblauwe a écrit :



ok, thanks for the info (I'm not registered on the continuum list,that


is



why I posted here)

Is there a workaround? Can I just point to a file location somewhere


and


tell continuum to build that?

regards,

Wim

2005/10/28, Emmanuel Venisse <[EMAIL PROTECTED]>:




Continuum doesn't support clearcase for the moment. Some users will


try


to



do it in
Maven-SCM. If you want to join to the effort, you're welcome.

The next time, it would be better if you send message on the continuum
user list.

Emmanuel

Wim Deblauwe a écrit :




I'm trying to get my maven 2 project running with continuum but I


don't


succeed. We are using ClearCase, you I've set:


scm:clearcase:


In my pom.xml, but the build fails.

This is the debug window:
jvm 1 | 2005-10-28 13:46:33,171 [SocketListener0-1] INFO Continuum -
Enqueuing 'Utils Logging Module' (Build definition id=6.
jvm 1 | 2005-10-28 13:46:33,593 [Thread-1] INFO ContinuumScm -


Checking


out




project: 'Utils Logging Module', id: '6' to 'C:\Program Files\Apache
Software Foundation\continuum-1.0
\bin\win32\..\..\apps\continuum\working-directory\6'.
jvm 1 | 2005-10-28 13:46:33,750 [Thread-1] WARN ConfigurationService


-


Error




reading build output for build '12'.
jvm 1 | java.io.FileNotFoundException: C:\Program Files\Apache


Software


Foundation\continuum-



1.0\bin\win32\..\..\apps\continuum\build-output-directory\6\12.log.txt


(The



system cannot find the file
specified)
jvm 1 | at java.io.FileInputStream.open(Native Method)
jvm 1 | at java.io.FileInputStream.(FileInputStream.java:106)
jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java


:269)




jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java


:261)




jvm 1 | at





org.apache.maven.continuum.configuration.DefaultConfigurationService.getBuildOutput


(DefaultConfigurationService.java:167)
jvm 1 | at





org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification


(DefaultContinuumNotificationDispatcher.java:129)
jvm 1 | at





org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete


(DefaultContinuumNotificationDispatcher.java:96)
jvm 1 | at



org.apache.maven.continuum.buildcontroller.DefaultBuildController.build


(



DefaultBuildController.java:261)
jvm 1 | at





org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask


(BuildProjectTaskExecutor.java:53)
jvm 1 | at





org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run


(ThreadedTaskQueueExecutor.java:103)
jvm 1 | at java.lang.Thread.run(Thread.java:595)

It states "checking out project" , but that directory


"working-directory\6"




is never created.

regards,

Wim




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






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







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








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



Re: Continuum and ClearCase

2005-10-28 Thread Wim Deblauwe
Thanks a lot, that makes it a whole lot clearer! Maybe you can add this info
in the documentation. I think it would be a good addition.

regards,

Wim

2005/10/28, Emmanuel Venisse <[EMAIL PROTECTED]>:
>
> path_to_repository is the path to the parent directory of the directory
> that contains pom
> and module is the name of the directory that contains the pom
>
> so if your pom is in your_path/rep1/rep2/pom.xml
> path_to_repository is your_path/rep1 and module is rep2
>
> Emmanuel
>
> Wim Deblauwe a écrit :
> > What is meant by path_to_repository ? Is this the path from my pom.xmlto my
> > local repository, or to my remote repository? And what is the
> module_name?
> >
> > 2005/10/28, Emmanuel Venisse <[EMAIL PROTECTED]>:
> >
> >>not with continuum provider, but you can certainly use the local
> provider
> >>in your scm
> >>connection string.
> >>
> >>format is described there:
> http://maven.apache.org/scm/scm-url-format.html
> >>
> >>Wim Deblauwe a écrit :
> >>
> >>>ok, thanks for the info (I'm not registered on the continuum list,that
> >>
> >>is
> >>
> >>>why I posted here)
> >>>
> >>>Is there a workaround? Can I just point to a file location somewhere
> and
> >>>tell continuum to build that?
> >>>
> >>>regards,
> >>>
> >>>Wim
> >>>
> >>>2005/10/28, Emmanuel Venisse <[EMAIL PROTECTED]>:
> >>>
> >>>
> Continuum doesn't support clearcase for the moment. Some users will
> try
> >>
> >>to
> >>
> do it in
> Maven-SCM. If you want to join to the effort, you're welcome.
> 
> The next time, it would be better if you send message on the continuum
> user list.
> 
> Emmanuel
> 
> Wim Deblauwe a écrit :
> 
> 
> >I'm trying to get my maven 2 project running with continuum but I
> don't
> >succeed. We are using ClearCase, you I've set:
> >
> >
> >scm:clearcase:
> >
> >
> >In my pom.xml, but the build fails.
> >
> >This is the debug window:
> >jvm 1 | 2005-10-28 13:46:33,171 [SocketListener0-1] INFO Continuum -
> >Enqueuing 'Utils Logging Module' (Build definition id=6.
> >jvm 1 | 2005-10-28 13:46:33,593 [Thread-1] INFO ContinuumScm -
> Checking
> 
> out
> 
> 
> >project: 'Utils Logging Module', id: '6' to 'C:\Program Files\Apache
> >Software Foundation\continuum-1.0
> >\bin\win32\..\..\apps\continuum\working-directory\6'.
> >jvm 1 | 2005-10-28 13:46:33,750 [Thread-1] WARN ConfigurationService
> -
> 
> Error
> 
> 
> >reading build output for build '12'.
> >jvm 1 | java.io.FileNotFoundException: C:\Program Files\Apache
> Software
> >Foundation\continuum-
> >
> 1.0\bin\win32\..\..\apps\continuum\build-output-directory\6\12.log.txt
> >>
> >>(The
> >>
> >system cannot find the file
> >specified)
> >jvm 1 | at java.io.FileInputStream.open(Native Method)
> >jvm 1 | at java.io.FileInputStream.(FileInputStream.java:106)
> >jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java
> 
> :269)
> 
> 
> >jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java
> 
> :261)
> 
> 
> >jvm 1 | at
> >
> 
> 
> >>
> org.apache.maven.continuum.configuration.DefaultConfigurationService.getBuildOutput
> >>
> >(DefaultConfigurationService.java:167)
> >jvm 1 | at
> >
> 
> 
> >>
> org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification
> >>
> >(DefaultContinuumNotificationDispatcher.java:129)
> >jvm 1 | at
> >
> 
> 
> >>
> org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete
> >>
> >(DefaultContinuumNotificationDispatcher.java:96)
> >jvm 1 | at
> >
> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build
> >>
> >>(
> >>
> >DefaultBuildController.java:261)
> >jvm 1 | at
> >
> 
> 
> >>
> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask
> >>
> >(BuildProjectTaskExecutor.java:53)
> >jvm 1 | at
> >
> 
> 
> >>
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run
> >>
> >(ThreadedTaskQueueExecutor.java:103)
> >jvm 1 | at java.lang.Thread.run(Thread.java:595)
> >
> >It states "checking out project" , but that directory
> 
> "working-directory\6"
> 
> 
> >is never created.
> >
> >regards,
> >
> >Wim
> >
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> >>>
> >>>
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
>
> -
> 

RE: [m2] Unit test report in website

2005-10-28 Thread Pilgrim, Peter

> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
====
> 
> Wim,
> 
> Maven plugins have their own release cycle. This means that 
> even if Maven
> 2.0 (Core) has been released, some plugins have not been 
> finalised yet.
> This is the case of the maven-surefire-plugin
> (http://maven.apache.org/maven2/plugins/maven-surefire-plugin/
> ), which is
> currently released in 2.0-beta-1 version
> (http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-
> surefire-plugin/).
>  This plugin executes the tests and can generate XML reports.
> This is also the case of the surefire-report-maven-plugin
> (http://mojo.codehaus.org/surefire-report-maven-plugin/), 
> which is also
> released in 2.0-beta-1 version
> (http://www.ibiblio.org/maven2/org/codehaus/mojo/surefire-repo
> rt-maven-plugin/).
>  This plugin takes the result of the maven-surefire-plugin's 
> execution and
> generates the web page report.
> 
> As for the release dates, please read this thread:
> http://www.nabble.com/Plugin-release-dates-t444838.html#a1215236==
> Wow,
> 

Well thanks anyway. I will wait until the plug-in is released.

(I am stuck behind a firewall, so I am unable to use SVN
to download the source code, and build the plug-in myself. )

> so you're saying that the released version of Maven 2, can't 
> generate a
> report of the unit tests???
> 
> any idea when a next version will be released. This seems 
> like very basic
> functionality.
> 
> regards,
> 
> Wim
> 
====
====


--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


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



RE: How to add jtidy as a depency?

2005-10-28 Thread Jason van Zyl
On Fri, 2005-10-28 at 08:52 -0600, Siegfried Heintze wrote:
> Did I miss the reply to this? I've been looking for it. If I did not miss
> it, can anyone advise me on how to add JTidy?

Try again now, all the -dev JARs were put back into the repository. If
that doesn't work now then we have a bigger problem.

> Thanks,
> Siegfried
> 
> -Original Message-
> From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, October 20, 2005 9:26 AM
> To: Maven Users List
> Subject: Re: How to add jtidy as a depency?
> 
> On Wed, 2005-10-19 at 22:42 -0600, Siegfried Heintze wrote:
> > Thanks for that last response on license.txt.
> > 
> > I'm looking at http://www.ibiblio.org/maven/jtidy/jars/. How would I add
> > this as a dependency?
> > 
> > This does not work:
> > 
> > 
> >   jtidy
> >   jtidy
> >   4aug2000r7-dev
> > 
> 
> I had that problem yesterday when I used a clean repo. I thought it was
> a timeout but that -dev might be causing problems. I'll take a peek.
> 
> > Thanks,
> > Siegfried
> > 
> > 
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
-- 
jvz.

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



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



RE: How to add jtidy as a depency?

2005-10-28 Thread Siegfried Heintze
Did I miss the reply to this? I've been looking for it. If I did not miss
it, can anyone advise me on how to add JTidy?
Thanks,
Siegfried

-Original Message-
From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 20, 2005 9:26 AM
To: Maven Users List
Subject: Re: How to add jtidy as a depency?

On Wed, 2005-10-19 at 22:42 -0600, Siegfried Heintze wrote:
> Thanks for that last response on license.txt.
> 
> I'm looking at http://www.ibiblio.org/maven/jtidy/jars/. How would I add
> this as a dependency?
> 
> This does not work:
> 
> 
>   jtidy
>   jtidy
>   4aug2000r7-dev
> 

I had that problem yesterday when I used a clean repo. I thought it was
a timeout but that -dev might be causing problems. I'll take a peek.

> Thanks,
> Siegfried
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

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

We all have problems. How we deal with them is a measure of our worth.

 -- Unknown


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



[102] subproject Downloads page Release Notes

2005-10-28 Thread Thomas_Perry





hello to all,

We're using v1.0.2.

I have a multiproject, with several subprojects
(each subproject has it's own project.xml, some not all have their own
xdocs).

When I tag and release the parent project, the Downloads page of a
subproject
contains a generated line for the new release tag,  with a link for the jar
but also a link for the Release Notes.

The problem is, I may not have updated changes.xml in the subproject for
the new release
(there may have been no need to) but the subproject has a Release Notes to
a nonexistent link.

Do I have to add a release comment to changes.xml for subprojects, even if
the subproject had no changes to report?

Or should changes.xml for a multiproject be coded *only* at the parent
level, not subproject level?

Or is there a way to suppress the generation of a release note in a
subproject,
unless it is truly coded in the subproject's changes.xml?

Thanks in advance for your help.
Tom



 
This message is intended for the recipient only and is not meant to be 
forwarded or distributed in any other format. This communication is for 
informational purposes only.  It is not intended as an offer or solicitation 
for the purchase or sale of any financial instrument, or security, or as an 
official confirmation of any transaction.  Putnam does not accept purchase or 
redemptions of securities, instructions, or authorizations that are sent via 
e-mail.   All market prices, data and other information are not warranted as to 
completeness or accuracy and are subject to change without notice.  Any 
comments or statements made herein do not necessarily reflect those of Putnam, 
LLC (DBA Putnam Investments) and its subsidiaries and affiliates.  If you are 
not the intended recipient of this e-mail, please delete the e-mail.

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



Re: Continuum and ClearCase

2005-10-28 Thread Emmanuel Venisse
path_to_repository is the path to the parent directory of the directory that contains pom 
and module is the name of the directory that contains the pom


so if your pom is in your_path/rep1/rep2/pom.xml
path_to_repository is your_path/rep1 and module is rep2

Emmanuel

Wim Deblauwe a écrit :

What is meant by path_to_repository ? Is this the path from my pom.xml to my
local repository, or to my remote repository? And what is the module_name?

2005/10/28, Emmanuel Venisse <[EMAIL PROTECTED]>:


not with continuum provider, but you can certainly use the local provider
in your scm
connection string.

format is described there: http://maven.apache.org/scm/scm-url-format.html

Wim Deblauwe a écrit :


ok, thanks for the info (I'm not registered on the continuum list,that


is


why I posted here)

Is there a workaround? Can I just point to a file location somewhere and
tell continuum to build that?

regards,

Wim

2005/10/28, Emmanuel Venisse <[EMAIL PROTECTED]>:



Continuum doesn't support clearcase for the moment. Some users will try


to


do it in
Maven-SCM. If you want to join to the effort, you're welcome.

The next time, it would be better if you send message on the continuum
user list.

Emmanuel

Wim Deblauwe a écrit :



I'm trying to get my maven 2 project running with continuum but I don't
succeed. We are using ClearCase, you I've set:


scm:clearcase:


In my pom.xml, but the build fails.

This is the debug window:
jvm 1 | 2005-10-28 13:46:33,171 [SocketListener0-1] INFO Continuum -
Enqueuing 'Utils Logging Module' (Build definition id=6.
jvm 1 | 2005-10-28 13:46:33,593 [Thread-1] INFO ContinuumScm - Checking


out



project: 'Utils Logging Module', id: '6' to 'C:\Program Files\Apache
Software Foundation\continuum-1.0
\bin\win32\..\..\apps\continuum\working-directory\6'.
jvm 1 | 2005-10-28 13:46:33,750 [Thread-1] WARN ConfigurationService -


Error



reading build output for build '12'.
jvm 1 | java.io.FileNotFoundException: C:\Program Files\Apache Software
Foundation\continuum-
1.0\bin\win32\..\..\apps\continuum\build-output-directory\6\12.log.txt


(The


system cannot find the file
specified)
jvm 1 | at java.io.FileInputStream.open(Native Method)
jvm 1 | at java.io.FileInputStream.(FileInputStream.java:106)
jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java


:269)



jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java


:261)



jvm 1 | at





org.apache.maven.continuum.configuration.DefaultConfigurationService.getBuildOutput


(DefaultConfigurationService.java:167)
jvm 1 | at





org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification


(DefaultContinuumNotificationDispatcher.java:129)
jvm 1 | at





org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete


(DefaultContinuumNotificationDispatcher.java:96)
jvm 1 | at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build


(


DefaultBuildController.java:261)
jvm 1 | at





org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask


(BuildProjectTaskExecutor.java:53)
jvm 1 | at





org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run


(ThreadedTaskQueueExecutor.java:103)
jvm 1 | at java.lang.Thread.run(Thread.java:595)

It states "checking out project" , but that directory


"working-directory\6"



is never created.

regards,

Wim




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







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








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



Re: maven 2 specify properties file

2005-10-28 Thread Dave EDMONDS PSE 54839

John,

Take a quick peek at this page - think this does what you want...

http://maven.apache.org/guides/getting-started/index.html#How%20do%20I%20filter%20resource%20files?

Regards,

Dave Edmonds
ISD Software Solutions
Kent Police, UK

>>> [EMAIL PROTECTED] 10/28/05 3:42 pm >>>

i have an antrun plugin that runs in integration test phase to copy war
file to a local webapps folder.  i want each developer to be able to
specify the webapps folder.  how can i get maven to read the property
${webapps.folder} out of a properties file?

i saw a post on m2 beta that suggests


   env-test
   
 <*property*>
   env
   test
 
   
   
 test.properties
   
 

but appProperties doesn't seem to work on maven 2.0

--
John Stein

[EMAIL PROTECTED]
717.439.0787 mobile
jdsetown AIM, Yahoo IM



Perfect Order has changed its name to Versatile, which more
correctly represents the combined capabilities of Versatile
Mobile Systems and Perfect Order.  From the data center to
users on the move, Versatile turns data into knowledge. 

Please visit our new web site at http://www.versatile.com




This Email and any accompanying document(s) contain information from Kent 
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or 
bodies to whom it is addressed.
If you are not the intended recipient be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.
If you have received this Email in error please notify us by telephone 
immediately.
The copyright in the contents of this email and any enclosures is the property 
of Kent Police and any unauthorised reproduction or disclosure is contrary to 
the provisions of the Copyright Designs and Patents Act 1988.

maven 2 specify properties file

2005-10-28 Thread John Stein
i have an antrun plugin that runs in integration test phase to copy war 
file to a local webapps folder.  i want each developer to be able to 
specify the webapps folder.  how can i get maven to read the property 
${webapps.folder} out of a properties file?


i saw a post on m2 beta that suggests


  env-test
  
<*property*>
  env
  test

  
  
test.properties
  


but appProperties doesn't seem to work on maven 2.0

--
John Stein

[EMAIL PROTECTED]
717.439.0787 mobile
jdsetown AIM, Yahoo IM



Perfect Order has changed its name to Versatile, which more 
correctly represents the combined capabilities of Versatile 
Mobile Systems and Perfect Order.  From the data center to 
users on the move, Versatile turns data into knowledge.  


Please visit our new web site at http://www.versatile.com


Re: POM properties

2005-10-28 Thread Jason van Zyl
On Fri, 2005-10-28 at 09:23 -0400, Tomislav Stojcevich wrote:
> How do you reference something that is a collection in the POM?
> 
> Let's say there are 2 developers and I want to get their email
> addresses to put in the notifier.address section of the ciManagement
> section (I know a mailing list is preferred but we don't have one set
> up right now and I know there are JIRA's in Continuum to propogate the
> developers into continuum as users and the users as the notifiers but
> until then...)
> 
> ${project.developers.developer.xxx.email}  (where xxx is ther id)
> or
> ${project.developers.developer[0].email)

Currently the interpolation won't allow that but there is a JIRA issue
for moving toward using Velocity like interpolation which would make
this easier.

> On 10/27/05, Jason van Zyl <[EMAIL PROTECTED]> wrote:
> > On Thu, 2005-10-27 at 15:25 +1000, Michael McCrann wrote:
> > > Hi,
> > >
> > > Is there any documentation that describes what things from the POM are 
> > > available as variables?
> >
> > Anything in the POM itself:
> >
> > http://maven.apache.org/maven-model/maven.html
> >
> > > How do I specify 'target' as a property? The things I have tried haven't 
> > > worked:
> >
> > You can take a look at this:
> >
> > http://maven.apache.org/guides/introduction/introduction-to-the-pom.html
> >
> > Which shows the Super POM which has most of the build elements that you
> > might want to use.
> >
> > > $(pom.build.outputDirectory}
> > > ${pom.build.dir}
> > > ${build.dir}
> >
> > Close but no cigar :-)
> >
> > ${pom.build.directory}
> >
> > >
> > > NOTICE
> > > This e-mail and any attachments are confidential and may contain 
> > > copyright material of Macquarie Bank or third parties. If you are not the 
> > > intended recipient of this email you should not read, print, re-transmit, 
> > > store or act in reliance on this e-mail or any attachments, and should 
> > > destroy all copies of them. Macquarie Bank does not guarantee the 
> > > integrity of any emails or any attached files. The views or opinions 
> > > expressed are the author's own and may not reflect the views or opinions 
> > > of Macquarie Bank.
> > >
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > --
> > jvz.
> >
> > Jason van Zyl
> > jason at maven.org
> > http://maven.apache.org
> >
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> tom
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

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

We all have problems. How we deal with them is a measure of our worth.

 -- Unknown


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



Re: [m2] CVSNT problem

2005-10-28 Thread Michael Böckling

Hi Nitko,

I had a similar problem using CVSNT client and a Linux CVS server. Try 
these steps:


1. Update client and server CVS binaries to the latest version (there 
used to be some incompatibilities between Win / Linux versions)
2. Look if the .cvspass repository entries really match the repository 
specified in the SCM Url
3. Search the registry for your path (/cvs/common or whatever), in my 
case the entries that CVSNT put there contained a trailing slash, which 
caused the problem for me.
4. Check your CVSROOT environment variable, try to set it explicitly on 
the command prompt for testing.


As a general advice: the problem that you encounter is probably not the 
fault of the Maven PlugIn, but rather a configuration error on your side.
CVSNT does not use the .cvspass, but instead the entries in the 
registry, so the first thing to do would be to execute the CVS commands 
on the dosprompt and see if it works there, if not check your settings 
in the .cvspass, the registry and also the server side if the repository 
strings match exactly. It took me quite some time until I got that fixed 
on my side, but don't despair, it will eventually work. :-)


Hope this helps,
Michael Böckling



Do you have an error or message with this command?

Nitko2 a écrit :


No, this doesn't work. Do I have any other possiblities?

Server is CVSNT on Windows 2003 server.



Emmanuel Venisse wrote:


I'm not sure if maven-scm works with cvsnt, but you can try this:

mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:\cvs\common|MODULE 



and

mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:/cvs/common|MODULE 



Emmanuel


Nitko2 a écrit :


Hi,

i'm in the process of learning about maven 2.0. So I created a 
project and decided to fetch source code from cvs repository.
After I read that connection string from pom.xml won't help me with 
checkout, I tried with


mvn -e scm:checkout 
-DconnectionUrl=scm:cvs:pserver:[EMAIL PROTECTED]:E:\cvs\common:MODULE


mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE


mvn -e scm:checkout 
-D"connectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE"



With last command I got:

[INFO] [scm:checkout]
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] Empty password used - try 'cvs login' with a real password
cvs [checkout aborted]: \cvs\common: no such repository


I'm using CVSNT on WinXP and .cvspass is created in user home. It 
seems that the problem is colon in repository path, but I don't 
know how to fix it.

My Maven 1.x CVS history is repeating.

Can someone help me with this.

Thanks,
Filip





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



Re: [m2] CVSNT problem

2005-10-28 Thread Emmanuel Venisse

can you send us the logs?

Nitko2 a écrit :

Yes,
'pserver' is not recognized as an internal or external command,operable 
program or batch file.





Emmanuel Venisse wrote:


Do you have an error or message with this command?

Nitko2 a écrit :


No, this doesn't work. Do I have any other possiblities?

Server is CVSNT on Windows 2003 server.



Emmanuel Venisse wrote:


I'm not sure if maven-scm works with cvsnt, but you can try this:

mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:\cvs\common|MODULE 



and

mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:/cvs/common|MODULE 



Emmanuel


Nitko2 a écrit :


Hi,

i'm in the process of learning about maven 2.0. So I created a 
project and decided to fetch source code from cvs repository.
After I read that connection string from pom.xml won't help me with 
checkout, I tried with


mvn -e scm:checkout 
-DconnectionUrl=scm:cvs:pserver:[EMAIL PROTECTED]:E:\cvs\common:MODULE


mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE


mvn -e scm:checkout 
-D"connectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE"



With last command I got:

[INFO] [scm:checkout]
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] Empty password used - try 'cvs login' with a real password
cvs [checkout aborted]: \cvs\common: no such repository


I'm using CVSNT on WinXP and .cvspass is created in user home. It 
seems that the problem is colon in repository path, but I don't 
know how to fix it.

My Maven 1.x CVS history is repeating.

Can someone help me with this.

Thanks,
Filip

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







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




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







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




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







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



[M2] APT and Umlaut

2005-10-28 Thread Daniel Frey
For full internationalization I think APT should be able to handle umlauts. How 
do I code umlaut in APT? xdoc does accept umlauts, APT does translate them into 
something non-readable. Example
 
Einführung --APT-->  Einführung
Einfürung --APT-->  Einfürung
 
I tried to save the APT document as UNICODE, UTF8, but with the same result. 
Any ideas are welcome.
 
Thanks in advance
Daniel Frey


Re: [m2] CVSNT problem

2005-10-28 Thread Nitko2

Yes,
'pserver' is not recognized as an internal or external command,operable program 
or batch file.




Emmanuel Venisse wrote:

Do you have an error or message with this command?

Nitko2 a écrit :


No, this doesn't work. Do I have any other possiblities?

Server is CVSNT on Windows 2003 server.



Emmanuel Venisse wrote:


I'm not sure if maven-scm works with cvsnt, but you can try this:

mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:\cvs\common|MODULE 



and

mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:/cvs/common|MODULE 



Emmanuel


Nitko2 a écrit :


Hi,

i'm in the process of learning about maven 2.0. So I created a 
project and decided to fetch source code from cvs repository.
After I read that connection string from pom.xml won't help me with 
checkout, I tried with


mvn -e scm:checkout 
-DconnectionUrl=scm:cvs:pserver:[EMAIL PROTECTED]:E:\cvs\common:MODULE


mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE


mvn -e scm:checkout 
-D"connectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE"



With last command I got:

[INFO] [scm:checkout]
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] Empty password used - try 'cvs login' with a real password
cvs [checkout aborted]: \cvs\common: no such repository


I'm using CVSNT on WinXP and .cvspass is created in user home. It 
seems that the problem is colon in repository path, but I don't know 
how to fix it.

My Maven 1.x CVS history is repeating.

Can someone help me with this.

Thanks,
Filip

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







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




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







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




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



Re: newby questions

2005-10-28 Thread Jason van Zyl
On Fri, 2005-10-28 at 11:00 +0200, Andreas Zeiner wrote:
> hello
> 
> i'm new to maven 2 and i reading around maven for a couple of days but 
> i'm stuck in a problem were i don't know how to get out - maybe
> somebody can help me:
> 
> 1. i have an existing project an i want to maven-enable it -

I would strongly suggest working from the getting started guide to get
your first project working. I'm not sure where you got the POM from that
you started with but it looks like a copy of the Super POM. If you start
with the getting started guide you should be able to get something up
and running quickly:

http://maven.apache.org/guides/getting-started/index.html

-- 
jvz.

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

you are never dedicated to something you have complete confidence in.
No one is fanatically shouting that the sun is going to rise tomorrow.
They know it is going to rise tomorrow. When people are fanatically
dedicated to political or religious faiths or any other kind of 
dogmas or goals, it's always because these dogmas or
goals are in doubt.

  -- Robert Pirzig, Zen and the Art of Motorcycle Maintenance


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



Re: Continuum and ClearCase

2005-10-28 Thread Wim Deblauwe
What is meant by path_to_repository ? Is this the path from my pom.xml to my
local repository, or to my remote repository? And what is the module_name?

2005/10/28, Emmanuel Venisse <[EMAIL PROTECTED]>:
>
> not with continuum provider, but you can certainly use the local provider
> in your scm
> connection string.
>
> format is described there: http://maven.apache.org/scm/scm-url-format.html
>
> Wim Deblauwe a écrit :
> > ok, thanks for the info (I'm not registered on the continuum list,that
> is
> > why I posted here)
> >
> > Is there a workaround? Can I just point to a file location somewhere and
> > tell continuum to build that?
> >
> > regards,
> >
> > Wim
> >
> > 2005/10/28, Emmanuel Venisse <[EMAIL PROTECTED]>:
> >
> >>Continuum doesn't support clearcase for the moment. Some users will try
> to
> >>do it in
> >>Maven-SCM. If you want to join to the effort, you're welcome.
> >>
> >>The next time, it would be better if you send message on the continuum
> >>user list.
> >>
> >>Emmanuel
> >>
> >>Wim Deblauwe a écrit :
> >>
> >>>I'm trying to get my maven 2 project running with continuum but I don't
> >>>succeed. We are using ClearCase, you I've set:
> >>>
> >>>
> >>>scm:clearcase:
> >>>
> >>>
> >>>In my pom.xml, but the build fails.
> >>>
> >>>This is the debug window:
> >>>jvm 1 | 2005-10-28 13:46:33,171 [SocketListener0-1] INFO Continuum -
> >>>Enqueuing 'Utils Logging Module' (Build definition id=6.
> >>>jvm 1 | 2005-10-28 13:46:33,593 [Thread-1] INFO ContinuumScm - Checking
> >>
> >>out
> >>
> >>>project: 'Utils Logging Module', id: '6' to 'C:\Program Files\Apache
> >>>Software Foundation\continuum-1.0
> >>>\bin\win32\..\..\apps\continuum\working-directory\6'.
> >>>jvm 1 | 2005-10-28 13:46:33,750 [Thread-1] WARN ConfigurationService -
> >>
> >>Error
> >>
> >>>reading build output for build '12'.
> >>>jvm 1 | java.io.FileNotFoundException: C:\Program Files\Apache Software
> >>>Foundation\continuum-
> >>>1.0\bin\win32\..\..\apps\continuum\build-output-directory\6\12.log.txt
> (The
> >>>system cannot find the file
> >>>specified)
> >>>jvm 1 | at java.io.FileInputStream.open(Native Method)
> >>>jvm 1 | at java.io.FileInputStream.(FileInputStream.java:106)
> >>>jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java
> >>
> >>:269)
> >>
> >>>jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java
> >>
> >>:261)
> >>
> >>>jvm 1 | at
> >>>
> >>
> >>
> org.apache.maven.continuum.configuration.DefaultConfigurationService.getBuildOutput
> >>
> >>>(DefaultConfigurationService.java:167)
> >>>jvm 1 | at
> >>>
> >>
> >>
> org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification
> >>
> >>>(DefaultContinuumNotificationDispatcher.java:129)
> >>>jvm 1 | at
> >>>
> >>
> >>
> org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete
> >>
> >>>(DefaultContinuumNotificationDispatcher.java:96)
> >>>jvm 1 | at
> >>>org.apache.maven.continuum.buildcontroller.DefaultBuildController.build
> (
> >>>DefaultBuildController.java:261)
> >>>jvm 1 | at
> >>>
> >>
> >>
> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask
> >>
> >>>(BuildProjectTaskExecutor.java:53)
> >>>jvm 1 | at
> >>>
> >>
> >>
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run
> >>
> >>>(ThreadedTaskQueueExecutor.java:103)
> >>>jvm 1 | at java.lang.Thread.run(Thread.java:595)
> >>>
> >>>It states "checking out project" , but that directory
> >>
> >>"working-directory\6"
> >>
> >>>is never created.
> >>>
> >>>regards,
> >>>
> >>>Wim
> >>>
> >>
> >>
> >>-
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [M2] Too heavy load for ibiblio?

2005-10-28 Thread Jason van Zyl
On Fri, 2005-10-28 at 08:46 +0200, Dietrich Schulten wrote:
> Hi,
> 
> Mvn is having trouble to download commons-codec from ibiblio. Browsing
> showed that yesterday something was updated there, but I cannot download
> manually.
> 
> Is there something broken or are there just too many connections?

During peak hours (the afternoon in US TZs) Ibiblio can get rather
bogged down. Now that the main push for Maven and Continuum releases
have been done we can now focus on some infrastructure issues like
repository maintenance and repository distribution. We definitely need
to move toward a CPAN like distribution of artifacts.

> Regards,
> Dietrich
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
-- 
jvz.

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

First, the taking in of scattered particulars under one Idea,
so that everyone understands what is being talked about ... Second,
the separation of the Idea into parts, by dividing it at the joints,
as nature directs, not breaking any limb in half as a bad carver might.

  -- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander)


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



Re: build fails not noticed for maven1/win32?

2005-10-28 Thread Emmanuel Venisse

Do you use maven 1.0.2?

It's a problem in maven.bat. I've add the workaround in continuum faq 
http://maven.apache.org/continuum/faqs.html


Emmanuel

Baz a écrit :

When I build a maven-1.0 project, its being marked as successful even
if the build fails, building on win32.

Is this (still) a known issue? I've seen something similar before - as
far back as 2002, forehead was swallowing maven's status code. I had
to patch that to get it working with anthill.
(http://lists.urbancode.com/pipermail/anthill/2002-December/000543.html
- I mention it there, but it seems that jira is now defunct and
forehead never made the move to codehaus).







Re: [m2] deployment of Jetty 6

2005-10-28 Thread Jason van Zyl
On Thu, 2005-10-27 at 21:35 -0700, David Jencks wrote:
> On Oct 26, 2005, at 3:30 AM, Greg Wilkins wrote:
> 
> > Ideally, I think apache should branch all the standard javax
> > stuff into a project of it's own.   That way tomcat, jetty and
> > geronimo would all be siblings and there would be no cross
> > dependancies and versioning could be correctly done.
> 
> +1
> 
> Several geronimo developers have discussed this as well but we haven't 
> had time to gather support from the other apache projects bundling 
> specs such as tomcat, axis, pluto, etc etc etc.

Where do you think the best place might be to organize something like
this? A separate TLP where all the projects could get involved?

> I think that we will still need to include more versioning information 
> than the spec version, such as
> org.apache.specs
> servlet-2.4
> 1.0
> 
> Just as you have needed to modify spec code when problems appear, at 
> geronimo we've recently found some problems in e.g. jacc, which has 
> been passing the tck for months and months.  So, I think we need the 
> ability to fix bugs within a spec version.

So if some project were formed that housed all the specs the same
project would house (privately) the TCKs? I assume fixes to the specs
would be infrequent but would require the running of the TCK for each
change.

> thanks
> david jencks
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

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

believe nothing, no matter where you read it,
or who has said it,
not even if i have said it,
unless it agrees with your own reason
and your own common sense.

 -- Buddha


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



Re: [m2] CVSNT problem

2005-10-28 Thread Emmanuel Venisse

Do you have an error or message with this command?

Nitko2 a écrit :

No, this doesn't work. Do I have any other possiblities?

Server is CVSNT on Windows 2003 server.



Emmanuel Venisse wrote:


I'm not sure if maven-scm works with cvsnt, but you can try this:

mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:\cvs\common|MODULE 



and

mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:/cvs/common|MODULE 



Emmanuel


Nitko2 a écrit :


Hi,

i'm in the process of learning about maven 2.0. So I created a 
project and decided to fetch source code from cvs repository.
After I read that connection string from pom.xml won't help me with 
checkout, I tried with


mvn -e scm:checkout 
-DconnectionUrl=scm:cvs:pserver:[EMAIL PROTECTED]:E:\cvs\common:MODULE


mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE


mvn -e scm:checkout 
-D"connectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE"



With last command I got:

[INFO] [scm:checkout]
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] Empty password used - try 'cvs login' with a real password
cvs [checkout aborted]: \cvs\common: no such repository


I'm using CVSNT on WinXP and .cvspass is created in user home. It 
seems that the problem is colon in repository path, but I don't know 
how to fix it.

My Maven 1.x CVS history is repeating.

Can someone help me with this.

Thanks,
Filip

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







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




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







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



JDeveloper Plugin

2005-10-28 Thread Dave EDMONDS PSE 54839

Hi,

Recently downloaded Maven 2.0, as part of an evaluation within our development 
team as to whether it would benefit our development efforts.

Currently, we use JDeveloper 10g as our development tool, and so the JDeveloper 
plugin looked great for our needs.  However, on trying to use with Maven, the 
log tells us...

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

... whenever we attempt to call the JDeveloper functions.  Just to confirm a 
few things:
Proxy server settings are made in settings.xml - I have been able to use 
compile, test and site goals with no problems.I've attempted to download the 
plugin(s) from 
http://maven.apache.org/reference/plugins/jdeveloper/downloads.html which 
worked, but won't integrate with Maven.Editing the maven-metadata-central.xml 
file still refuses to locate the plugin.Any suggestions?

On a related note, does anyone know whether there is the ability to generate 
.JWS (JDeveloper Workspace) files from this plugin?

Many thanks,

Dave Edmonds
ISD Software Solutions
Kent Police, UK



This Email and any accompanying document(s) contain information from Kent 
Police, which is confidential or privileged.
The information is intended to be for the exclusive use of the individual(s) or 
bodies to whom it is addressed.
If you are not the intended recipient be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited.
If you have received this Email in error please notify us by telephone 
immediately.
The copyright in the contents of this email and any enclosures is the property 
of Kent Police and any unauthorised reproduction or disclosure is contrary to 
the provisions of the Copyright Designs and Patents Act 1988.

Re: M2 from behind a proxy

2005-10-28 Thread luca rasconi
http://maven.apache.org/guides/mini/guide-proxies.html

Luca

On 10/28/05, Roberto Castro <[EMAIL PROTECTED]> wrote:
>
> Hi all, how I can configure M2 to access ibiblio from behind a proxy?
> I'd like to create my first M2 project using a command line like this:
> mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
> Thanks in advance,
>
> Roberto de Castro
> Analista de Suporte
> Cetip - Desus Rio de Janeiro
> +55 21 2276-7439
> mailto:[EMAIL PROTECTED]
>
>
>
> Atenção: Esta mensagem foi enviada para uso exclusivo do(s)
> destinatários(s) acima
> identificado(s), podendo conter informações e/ou documentos
> confidencias/privilegiados e seu sigilo é protegido por lei.
> Caso você tenha recebido por engano, por favor, informe o remetente e
> apague-a de
> seu sistema.
> Notificamos que é proibido por lei a sua retenção, disseminação,
> distribuição, cópia ou
> uso sem expressa autorização do remetente.
> Opiniões pessoais do remetente não refletem, necessariamente, o ponto de
> vista da
> CETIP, o qual é divulgado somente por pessoas autorizadas.
>
>
> Attention: This message was sent for exclusive use of the addressees above
> identified, being able to contain information and or
> privileged/confidential documents
> and law protects its secrecies.
> In case that you it has received for deceit, please, it informs the
> shipper and erases it
> of your system.
> We notify that law forbids its retention, dissemination, distribution,
> copy or use without
> express authorization.
> Personal opinions of the shipper do not reflect, necessarily, the point of
> view of the
> CETIP, which is only divulged by authorized people.
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: can't download poi-2.0-final-20040126

2005-10-28 Thread Geoffrey

Mysql 3.0.10 also doesn't work if you depend on it in maven 2.

Marcus Eberts wrote:

Hi,

the directory to download poi-2.0-final is the right one, the pom file 
can be downloaded but the data in the pom file (groupId, artifactId, 
version) seems to be wrong...




[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://www.ibiblio.org/maven2//poi/poi-2.0-final/20040126/poi-2.0-final-20040126.pom 

[INFO] 
 


[ERROR] BUILD ERROR
[INFO] 
 


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


Project ID: poi:poi-2.0-final

Reason: Error getting POM for 'poi:poi-2.0-final' from the repository: 
Error transferring file

 poi:poi-2.0-final:20040126:pom


poi-2.0-final-20040126.pom:


   poi
  poi-2.0-final
   20040126



--
With kind regards,
Geoffrey De Smet


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



Re: [m2] Unit test report in website

2005-10-28 Thread fabrice . belingard




Wim,

Maven plugins have their own release cycle. This means that even if Maven
2.0 (Core) has been released, some plugins have not been finalised yet.
This is the case of the maven-surefire-plugin
(http://maven.apache.org/maven2/plugins/maven-surefire-plugin/), which is
currently released in 2.0-beta-1 version
(http://www.ibiblio.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/).
 This plugin executes the tests and can generate XML reports.
This is also the case of the surefire-report-maven-plugin
(http://mojo.codehaus.org/surefire-report-maven-plugin/), which is also
released in 2.0-beta-1 version
(http://www.ibiblio.org/maven2/org/codehaus/mojo/surefire-report-maven-plugin/).
 This plugin takes the result of the maven-surefire-plugin's execution and
generates the web page report.

As for the release dates, please read this thread:
http://www.nabble.com/Plugin-release-dates-t444838.html#a1215236

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


   
 Wim Deblauwe  
 <[EMAIL PROTECTED]  
 ail.com> Pour
   Maven Users List
 28/10/2005 15:01  
cc
   
 VeuillezObjet
répondre à Re: [m2] Unit test report in
 Maven Users List  website 
 <[EMAIL PROTECTED]  
 che.org>  
   
   
   
   




Wow,

so you're saying that the released version of Maven 2, can't generate a
report of the unit tests???

any idea when a next version will be released. This seems like very basic
functionality.

regards,

Wim

2005/10/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
>
>
>
> Wim,
>
> AFAIK, the current release of the surefire plugin can't generate XML
> reports, which is required for the surefire report plugin to work
> correctly.
> Try to build the surefire plugin from SVN, and you would probably get
> correct reports.
>
> Best Regards / Cordialement,
> Fabrice BELLINGARD
> DINQ/DSIN/INSI/EATE/IDVS/AIDV
> (+33) (01 61) 45 15 91 - [EMAIL PROTECTED]
>
>
>
> Wim Deblauwe
> <[EMAIL PROTECTED]
> ail.com > Pour
> Maven Users List
> 28/10/2005 13:12 
> cc
>
> Veuillez Objet
> répondre à [m2] Unit test report in website
> Maven Users List
> <[EMAIL PROTECTED]
> che.org >
>
>
>
>
>
>
>
> Hi,
>
> I'm trying to add the results of my unit tests on the generated webpage.
I
> added the surefire-plugin to the reports section, and I get a link the
> menu.
> However the webpage shows that no tests have run, but they do run:
>
> Results :
> [surefire] Tests run: 46, Failures: 0, Errors: 0
>
>
> any ideas?
>
> Wim
>
>
>
> -
> 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: compile error

2005-10-28 Thread luca rasconi
 

alice-commons

> alice-commons
> 1.2
> compile <- cause: no source but
> compile!!!
> 
> 



On 10/28/05, Luca Gmail <[EMAIL PROTECTED]> wrote:
>
> C:\Documents and
> Settings\lucarasconi\workspace\archetype\archetype\my-webapp>mvn
> compiler:compile
> ...
> [INFO] [compiler:compile]
> Compiling 2 source files to C:\Documents and
> Settings\lucarasconi\workspace\arch
> etype\archetype\my-webapp\target\classes
> [INFO]
> -
> ---
> [ERROR] BUILD FAILURE
> [INFO]
> -
> ---
> [INFO] Compilation failure
>
> C:\Documents and
>
> Settings\lucarasconi\workspace\archetype\archetype\my-webapp\src\main\java\i
> t\telecomitalia\rossoalice\SimpleServlet.java:[6,51] package
> it.telecomitalia.rossoalice.commons.servlet does not exist
> ...
> Other error
>
> This is my pom.xml file:
>
> 
> 4.0.0
> it.telecomitalia.rossoalice.template
> simple-servlet
> war
> 1.0-SNAPSHOT
> Rossoalice Webapp Template
> http://www.rossoalice.it
> 
> 
> .
> 
> 
> 
> 
> alice-commons <
> alice-commons
> 1.2
> source
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>
> And inside alice-commons-1.2.jar there is the package
> it.telecomitalia.rossoalice.commons.servlet. why the compiler said the
> package doen't exist? Or what could be the problem?
>
> Tnx,
> Luca
>
>


build fails not noticed for maven1/win32?

2005-10-28 Thread Baz
When I build a maven-1.0 project, its being marked as successful even
if the build fails, building on win32.

Is this (still) a known issue? I've seen something similar before - as
far back as 2002, forehead was swallowing maven's status code. I had
to patch that to get it working with anthill.
(http://lists.urbancode.com/pipermail/anthill/2002-December/000543.html
- I mention it there, but it seems that jira is now defunct and
forehead never made the move to codehaus).


Re: [m2] CVSNT problem

2005-10-28 Thread Nitko2

No, this doesn't work. Do I have any other possiblities?

Server is CVSNT on Windows 2003 server.



Emmanuel Venisse wrote:

I'm not sure if maven-scm works with cvsnt, but you can try this:

mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:\cvs\common|MODULE 



and

mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:/cvs/common|MODULE 



Emmanuel


Nitko2 a écrit :


Hi,

i'm in the process of learning about maven 2.0. So I created a project 
and decided to fetch source code from cvs repository.
After I read that connection string from pom.xml won't help me with 
checkout, I tried with


mvn -e scm:checkout 
-DconnectionUrl=scm:cvs:pserver:[EMAIL PROTECTED]:E:\cvs\common:MODULE


mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE


mvn -e scm:checkout 
-D"connectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE"



With last command I got:

[INFO] [scm:checkout]
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] Empty password used - try 'cvs login' with a real password
cvs [checkout aborted]: \cvs\common: no such repository


I'm using CVSNT on WinXP and .cvspass is created in user home. It 
seems that the problem is colon in repository path, but I don't know 
how to fix it.

My Maven 1.x CVS history is repeating.

Can someone help me with this.

Thanks,
Filip

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







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




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



RE: [m2] Unit test report in website

2005-10-28 Thread Pilgrim, Peter


   ...
  
 ...
 

   org.codehaus.mojo
   surefire-report-maven-plugin
   2.0-beta-1-SNAPSHOT

 
 ...
  
   ...


Ok I just add this to my pom.xml 

I am get an error

[INFO] -
---
[ERROR] BUILD ERROR
[INFO] -
---
[INFO] Failed to resolve artifact.

GroupId: org.codehaus.mojo
ArtifactId: surefire-report-maven-plugin
Version: 2.0-beta-1-SNAPSHOT

Reason: Unable to download the artifact from any repository
  org.codehaus.mojo:surefire-report-maven-plugin:2.0-beta-1-SNAPSHOT:pom

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

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


> -Original Message-
> From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
> Sent: 28 October 2005 14:25
> To: Maven Users List
> Subject: Re: [m2] Unit test report in website
> 
> 
> You can generate test report with surefire-report plugin 
> available in Mojo project : 
> http://mojo.codehaus.org/surefire-report-maven-plugin/
> 
> Emmanuel
> 
> Wim Deblauwe a écrit :
> > Wow,
> > 
> > so you're saying that the released version of Maven 2, 
> can't generate a
> > report of the unit tests???
> > 
> > any idea when a next version will be released. This seems 
> like very basic
> > functionality.
> > 
> > regards,
> > 
> > Wim
> > 
> > 2005/10/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
> > 
> >>
> >>
> >>
> >>
> >>Wim,
> >>
> >>AFAIK, the current release of the surefire plugin can't generate XML
> >>reports, which is required for the surefire report plugin to work
> >>correctly.
> >>Try to build the surefire plugin from SVN, and you would 
> probably get
> >>correct reports.
> >>
> >>Best Regards / Cordialement,
> >>Fabrice BELLINGARD
> >>DINQ/DSIN/INSI/EATE/IDVS/AIDV
> >>(+33) (01 61) 45 15 91 - [EMAIL PROTECTED]
> >>
> >>
> >>
> >>Wim Deblauwe
> >><[EMAIL PROTECTED]
> >>ail.com > Pour
> >>Maven Users List
> >>28/10/2005 13:12 
> >>cc
> >>
> >>Veuillez Objet
> >>répondre à [m2] Unit test report in website
> >>Maven Users List
> >><[EMAIL PROTECTED]
> >>che.org >
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>Hi,
> >>
> >>I'm trying to add the results of my unit tests on the 
> generated webpage. I
> >>added the surefire-plugin to the reports section, and I get 
> a link the
> >>menu.
> >>However the webpage shows that no tests have run, but they do run:
> >>
> >>Results :
> >>[surefire] Tests run: 46, Failures: 0, Errors: 0
> >>
> >>
> >>any ideas?
> >>
> >>Wim
> >>
> >>
> >>
> >>
> -
> >>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]
> 
> 

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


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



can't download poi-2.0-final-20040126

2005-10-28 Thread Marcus Eberts

Hi,

the directory to download poi-2.0-final is the right one, the pom file 
can be downloaded but the data in the pom file (groupId, artifactId, 
version) seems to be wrong...




[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://www.ibiblio.org/maven2//poi/poi-2.0-final/20040126/poi-2.0-final-20040126.pom
[INFO] 


[ERROR] BUILD ERROR
[INFO] 


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


Project ID: poi:poi-2.0-final

Reason: Error getting POM for 'poi:poi-2.0-final' from the repository: 
Error transferring file

 poi:poi-2.0-final:20040126:pom


poi-2.0-final-20040126.pom:


   poi
  poi-2.0-final
   20040126


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



Re: Continuum and ClearCase

2005-10-28 Thread Emmanuel Venisse
not with continuum provider, but you can certainly use the local provider in your scm 
connection string.


format is described there: http://maven.apache.org/scm/scm-url-format.html

Wim Deblauwe a écrit :

ok, thanks for the info (I'm not registered on the continuum list,that is
why I posted here)

Is there a workaround? Can I just point to a file location somewhere and
tell continuum to build that?

regards,

Wim

2005/10/28, Emmanuel Venisse <[EMAIL PROTECTED]>:


Continuum doesn't support clearcase for the moment. Some users will try to
do it in
Maven-SCM. If you want to join to the effort, you're welcome.

The next time, it would be better if you send message on the continuum
user list.

Emmanuel

Wim Deblauwe a écrit :


I'm trying to get my maven 2 project running with continuum but I don't
succeed. We are using ClearCase, you I've set:


scm:clearcase:


In my pom.xml, but the build fails.

This is the debug window:
jvm 1 | 2005-10-28 13:46:33,171 [SocketListener0-1] INFO Continuum -
Enqueuing 'Utils Logging Module' (Build definition id=6.
jvm 1 | 2005-10-28 13:46:33,593 [Thread-1] INFO ContinuumScm - Checking


out


project: 'Utils Logging Module', id: '6' to 'C:\Program Files\Apache
Software Foundation\continuum-1.0
\bin\win32\..\..\apps\continuum\working-directory\6'.
jvm 1 | 2005-10-28 13:46:33,750 [Thread-1] WARN ConfigurationService -


Error


reading build output for build '12'.
jvm 1 | java.io.FileNotFoundException: C:\Program Files\Apache Software
Foundation\continuum-
1.0\bin\win32\..\..\apps\continuum\build-output-directory\6\12.log.txt(The
system cannot find the file
specified)
jvm 1 | at java.io.FileInputStream.open(Native Method)
jvm 1 | at java.io.FileInputStream.(FileInputStream.java:106)
jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java


:269)


jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java


:261)


jvm 1 | at



org.apache.maven.continuum.configuration.DefaultConfigurationService.getBuildOutput


(DefaultConfigurationService.java:167)
jvm 1 | at



org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification


(DefaultContinuumNotificationDispatcher.java:129)
jvm 1 | at



org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete


(DefaultContinuumNotificationDispatcher.java:96)
jvm 1 | at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
DefaultBuildController.java:261)
jvm 1 | at



org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask


(BuildProjectTaskExecutor.java:53)
jvm 1 | at



org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run


(ThreadedTaskQueueExecutor.java:103)
jvm 1 | at java.lang.Thread.run(Thread.java:595)

It states "checking out project" , but that directory


"working-directory\6"


is never created.

regards,

Wim




-
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: Continuum and ClearCase

2005-10-28 Thread Wim Deblauwe
ok, thanks for the info (I'm not registered on the continuum list,that is
why I posted here)

Is there a workaround? Can I just point to a file location somewhere and
tell continuum to build that?

regards,

Wim

2005/10/28, Emmanuel Venisse <[EMAIL PROTECTED]>:
>
> Continuum doesn't support clearcase for the moment. Some users will try to
> do it in
> Maven-SCM. If you want to join to the effort, you're welcome.
>
> The next time, it would be better if you send message on the continuum
> user list.
>
> Emmanuel
>
> Wim Deblauwe a écrit :
> > I'm trying to get my maven 2 project running with continuum but I don't
> > succeed. We are using ClearCase, you I've set:
> >
> > 
> > scm:clearcase:
> > 
> >
> > In my pom.xml, but the build fails.
> >
> > This is the debug window:
> > jvm 1 | 2005-10-28 13:46:33,171 [SocketListener0-1] INFO Continuum -
> > Enqueuing 'Utils Logging Module' (Build definition id=6.
> > jvm 1 | 2005-10-28 13:46:33,593 [Thread-1] INFO ContinuumScm - Checking
> out
> > project: 'Utils Logging Module', id: '6' to 'C:\Program Files\Apache
> > Software Foundation\continuum-1.0
> > \bin\win32\..\..\apps\continuum\working-directory\6'.
> > jvm 1 | 2005-10-28 13:46:33,750 [Thread-1] WARN ConfigurationService -
> Error
> > reading build output for build '12'.
> > jvm 1 | java.io.FileNotFoundException: C:\Program Files\Apache Software
> > Foundation\continuum-
> > 1.0\bin\win32\..\..\apps\continuum\build-output-directory\6\12.log.txt(The
> > system cannot find the file
> > specified)
> > jvm 1 | at java.io.FileInputStream.open(Native Method)
> > jvm 1 | at java.io.FileInputStream.(FileInputStream.java:106)
> > jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java
> :269)
> > jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java
> :261)
> > jvm 1 | at
> >
> org.apache.maven.continuum.configuration.DefaultConfigurationService.getBuildOutput
> > (DefaultConfigurationService.java:167)
> > jvm 1 | at
> >
> org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification
> > (DefaultContinuumNotificationDispatcher.java:129)
> > jvm 1 | at
> >
> org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete
> > (DefaultContinuumNotificationDispatcher.java:96)
> > jvm 1 | at
> > org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
> > DefaultBuildController.java:261)
> > jvm 1 | at
> >
> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask
> > (BuildProjectTaskExecutor.java:53)
> > jvm 1 | at
> >
> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run
> > (ThreadedTaskQueueExecutor.java:103)
> > jvm 1 | at java.lang.Thread.run(Thread.java:595)
> >
> > It states "checking out project" , but that directory
> "working-directory\6"
> > is never created.
> >
> > regards,
> >
> > Wim
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: [m2] Unit test report in website

2005-10-28 Thread Emmanuel Venisse
You can generate test report with surefire-report plugin available in Mojo project : 
http://mojo.codehaus.org/surefire-report-maven-plugin/


Emmanuel

Wim Deblauwe a écrit :

Wow,

so you're saying that the released version of Maven 2, can't generate a
report of the unit tests???

any idea when a next version will be released. This seems like very basic
functionality.

regards,

Wim

2005/10/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:






Wim,

AFAIK, the current release of the surefire plugin can't generate XML
reports, which is required for the surefire report plugin to work
correctly.
Try to build the surefire plugin from SVN, and you would probably get
correct reports.

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



Wim Deblauwe
<[EMAIL PROTECTED]
ail.com > Pour
Maven Users List
28/10/2005 13:12 
cc

Veuillez Objet
répondre à [m2] Unit test report in website
Maven Users List
<[EMAIL PROTECTED]
che.org >







Hi,

I'm trying to add the results of my unit tests on the generated webpage. I
added the surefire-plugin to the reports section, and I get a link the
menu.
However the webpage shows that no tests have run, but they do run:

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


any ideas?

Wim



-
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: POM properties

2005-10-28 Thread Tomislav Stojcevich
How do you reference something that is a collection in the POM?

Let's say there are 2 developers and I want to get their email
addresses to put in the notifier.address section of the ciManagement
section (I know a mailing list is preferred but we don't have one set
up right now and I know there are JIRA's in Continuum to propogate the
developers into continuum as users and the users as the notifiers but
until then...)

${project.developers.developer.xxx.email}  (where xxx is ther id)
or
${project.developers.developer[0].email)

On 10/27/05, Jason van Zyl <[EMAIL PROTECTED]> wrote:
> On Thu, 2005-10-27 at 15:25 +1000, Michael McCrann wrote:
> > Hi,
> >
> > Is there any documentation that describes what things from the POM are 
> > available as variables?
>
> Anything in the POM itself:
>
> http://maven.apache.org/maven-model/maven.html
>
> > How do I specify 'target' as a property? The things I have tried haven't 
> > worked:
>
> You can take a look at this:
>
> http://maven.apache.org/guides/introduction/introduction-to-the-pom.html
>
> Which shows the Super POM which has most of the build elements that you
> might want to use.
>
> > $(pom.build.outputDirectory}
> > ${pom.build.dir}
> > ${build.dir}
>
> Close but no cigar :-)
>
> ${pom.build.directory}
>
> >
> > NOTICE
> > This e-mail and any attachments are confidential and may contain copyright 
> > material of Macquarie Bank or third parties. If you are not the intended 
> > recipient of this email you should not read, print, re-transmit, store or 
> > act in reliance on this e-mail or any attachments, and should destroy all 
> > copies of them. Macquarie Bank does not guarantee the integrity of any 
> > emails or any attached files. The views or opinions expressed are the 
> > author's own and may not reflect the views or opinions of Macquarie Bank.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> --
> jvz.
>
> Jason van Zyl
> jason at maven.org
> http://maven.apache.org
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
tom

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



Re: [m2] CVSNT problem

2005-10-28 Thread Emmanuel Venisse

I'm not sure if maven-scm works with cvsnt, but you can try this:

mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:\cvs\common|MODULE


and

mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|USERNAME:[EMAIL PROTECTED]|E:/cvs/common|MODULE


Emmanuel


Nitko2 a écrit :

Hi,

i'm in the process of learning about maven 2.0. So I created a project 
and decided to fetch source code from cvs repository.
After I read that connection string from pom.xml won't help me with 
checkout, I tried with


mvn -e scm:checkout 
-DconnectionUrl=scm:cvs:pserver:[EMAIL PROTECTED]:E:\cvs\common:MODULE


mvn -e scm:checkout 
-DconnectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE


mvn -e scm:checkout 
-D"connectionUrl=scm|cvs|pserver|[EMAIL PROTECTED]|E:\cvs\common|MODULE"



With last command I got:

[INFO] [scm:checkout]
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] Empty password used - try 'cvs login' with a real password
cvs [checkout aborted]: \cvs\common: no such repository


I'm using CVSNT on WinXP and .cvspass is created in user home. It seems 
that the problem is colon in repository path, but I don't know how to 
fix it.

My Maven 1.x CVS history is repeating.

Can someone help me with this.

Thanks,
Filip

-
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: Continuum and ClearCase

2005-10-28 Thread Emmanuel Venisse
Continuum doesn't support clearcase for the moment. Some users will try to do it in 
Maven-SCM. If you want to join to the effort, you're welcome.


The next time, it would be better if you send message on the continuum user 
list.

Emmanuel

Wim Deblauwe a écrit :

I'm trying to get my maven 2 project running with continuum but I don't
succeed. We are using ClearCase, you I've set:


scm:clearcase:


In my pom.xml, but the build fails.

This is the debug window:
jvm 1 | 2005-10-28 13:46:33,171 [SocketListener0-1] INFO Continuum -
Enqueuing 'Utils Logging Module' (Build definition id=6.
jvm 1 | 2005-10-28 13:46:33,593 [Thread-1] INFO ContinuumScm - Checking out
project: 'Utils Logging Module', id: '6' to 'C:\Program Files\Apache
Software Foundation\continuum-1.0
\bin\win32\..\..\apps\continuum\working-directory\6'.
jvm 1 | 2005-10-28 13:46:33,750 [Thread-1] WARN ConfigurationService - Error
reading build output for build '12'.
jvm 1 | java.io.FileNotFoundException: C:\Program Files\Apache Software
Foundation\continuum-
1.0\bin\win32\..\..\apps\continuum\build-output-directory\6\12.log.txt (The
system cannot find the file
specified)
jvm 1 | at java.io.FileInputStream.open(Native Method)
jvm 1 | at java.io.FileInputStream.(FileInputStream.java:106)
jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:269)
jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:261)
jvm 1 | at
org.apache.maven.continuum.configuration.DefaultConfigurationService.getBuildOutput
(DefaultConfigurationService.java:167)
jvm 1 | at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification
(DefaultContinuumNotificationDispatcher.java:129)
jvm 1 | at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete
(DefaultContinuumNotificationDispatcher.java:96)
jvm 1 | at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
DefaultBuildController.java:261)
jvm 1 | at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask
(BuildProjectTaskExecutor.java:53)
jvm 1 | at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run
(ThreadedTaskQueueExecutor.java:103)
jvm 1 | at java.lang.Thread.run(Thread.java:595)

It states "checking out project" , but that directory "working-directory\6"
is never created.

regards,

Wim




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



Re: checkout and build (with ant)

2005-10-28 Thread Emmanuel Venisse

Can you send the continuum logs?


Keith Fitzgerald a écrit :

No stack trace. I believe it is a problem with the cvs path because
the build immediately goes from "in progress" to failed. I think there
would be a delay if it was an ant problem (because it checks out the
code first) ala cruise control. it doesn't seem to be checking out the
code into the working-directory. no stack trace in the build results
window either :-(

On 10/27/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:


if your project is a maven project, you need to install maven.
if your project is a ant project, you need to install ant.

Do you have an error or stacktrace in console that can help to find what is the 
problem?
What is your cvs? the standard cvs or cvsnt?

Emmanuel

Keith Fitzgerald a écrit :


hi,

i'm trying to do a checkout and build of my project using pserver.
here's my url:

scm:cvs:pserver:user:[EMAIL PROTECTED]:/opt/cvs/comcast:myproject

it immediately fails and then the error in the build history is blank.
why doesn't this work? do i need to install maven or anything else on
my box? i've also tried:

scm:cvs:pserver:[EMAIL PROTECTED]:/opt/cvs/comcast:myproject

and it fails the same.

I know cvs is setup correctly b/c i use the pserver in eclipse to
checkout my code. any help is appreciated. i really want to cutover
from cruisecontrol to continuum.

thanks,
keith














Re: checkout and build (with ant)

2005-10-28 Thread Emmanuel Venisse

Can you try to edit the project and define the tag to HEAD?

Emmanuel

Keith Fitzgerald a écrit :

No stack trace. I believe it is a problem with the cvs path because
the build immediately goes from "in progress" to failed. I think there
would be a delay if it was an ant problem (because it checks out the
code first) ala cruise control. it doesn't seem to be checking out the
code into the working-directory. no stack trace in the build results
window either :-(

On 10/27/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:


if your project is a maven project, you need to install maven.
if your project is a ant project, you need to install ant.

Do you have an error or stacktrace in console that can help to find what is the 
problem?
What is your cvs? the standard cvs or cvsnt?

Emmanuel

Keith Fitzgerald a écrit :


hi,

i'm trying to do a checkout and build of my project using pserver.
here's my url:

scm:cvs:pserver:user:[EMAIL PROTECTED]:/opt/cvs/comcast:myproject

it immediately fails and then the error in the build history is blank.
why doesn't this work? do i need to install maven or anything else on
my box? i've also tried:

scm:cvs:pserver:[EMAIL PROTECTED]:/opt/cvs/comcast:myproject

and it fails the same.

I know cvs is setup correctly b/c i use the pserver in eclipse to
checkout my code. any help is appreciated. i really want to cutover
from cruisecontrol to continuum.

thanks,
keith














RE: compile error

2005-10-28 Thread Luca Gmail
C:\Documents and
Settings\lucarasconi\workspace\archetype\archetype\my-webapp>mvn
compiler:compile
...
[INFO] [compiler:compile]
Compiling 2 source files to C:\Documents and
Settings\lucarasconi\workspace\arch
etype\archetype\my-webapp\target\classes
[INFO]
-
---
[ERROR] BUILD FAILURE
[INFO]
-
---
[INFO] Compilation failure

C:\Documents and
Settings\lucarasconi\workspace\archetype\archetype\my-webapp\src\main\java\i
t\telecomitalia\rossoalice\SimpleServlet.java:[6,51] package
it.telecomitalia.rossoalice.commons.servlet does not exist
...
Other error

This is my pom.xml file: 


  4.0.0
  it.telecomitalia.rossoalice.template
  simple-servlet
  war
  1.0-SNAPSHOT
  Rossoalice Webapp Template
  http://www.rossoalice.it
  

.

  
  

  alice-commons <
  alice-commons
  1.2
  source

  
  

  
  
  

  


And inside alice-commons-1.2.jar there is the package
it.telecomitalia.rossoalice.commons.servlet. why the compiler said the
package doen't exist? Or what could be the problem?

Tnx,
Luca


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



M2 from behind a proxy

2005-10-28 Thread Roberto Castro
Hi all, how I can configure M2 to access ibiblio from behind a proxy?
I'd like to create my first M2 project using a command line like this:
mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app
Thanks in advance,

 Roberto de Castro 
 Analista de Suporte 
 Cetip - Desus Rio de Janeiro 
 +55 21 2276-7439 
 mailto:[EMAIL PROTECTED] 



Atenção: Esta mensagem foi enviada para uso exclusivo do(s) destinatários(s) 
acima 
identificado(s), podendo conter informações e/ou documentos 
confidencias/privilegiados e seu sigilo é protegido por lei.
Caso você tenha recebido por engano, por favor, informe o remetente e apague-a 
de 
seu sistema.
Notificamos que é proibido por lei a sua retenção, disseminação, distribuição, 
cópia ou 
uso sem expressa autorização do remetente.
Opiniões pessoais do remetente não refletem, necessariamente, o ponto de vista 
da 
CETIP, o qual é divulgado somente por pessoas autorizadas.


Attention:  This message was sent for exclusive use of the addressees above 
identified, being able to contain information and or privileged/confidential 
documents 
and law protects its secrecies.
In case that you it has received for deceit, please, it informs the shipper and 
erases it 
of your system.  
We notify that law forbids its retention, dissemination, distribution, copy or 
use without 
express authorization.  
Personal opinions of the shipper do not reflect, necessarily, the point of view 
of the 
CETIP, which is only divulged by authorized people.


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



Re: checkout and build (with ant)

2005-10-28 Thread Keith Fitzgerald
No stack trace. I believe it is a problem with the cvs path because
the build immediately goes from "in progress" to failed. I think there
would be a delay if it was an ant problem (because it checks out the
code first) ala cruise control. it doesn't seem to be checking out the
code into the working-directory. no stack trace in the build results
window either :-(

On 10/27/05, Emmanuel Venisse <[EMAIL PROTECTED]> wrote:
> if your project is a maven project, you need to install maven.
> if your project is a ant project, you need to install ant.
>
> Do you have an error or stacktrace in console that can help to find what is 
> the problem?
> What is your cvs? the standard cvs or cvsnt?
>
> Emmanuel
>
> Keith Fitzgerald a écrit :
> > hi,
> >
> > i'm trying to do a checkout and build of my project using pserver.
> > here's my url:
> >
> > scm:cvs:pserver:user:[EMAIL PROTECTED]:/opt/cvs/comcast:myproject
> >
> > it immediately fails and then the error in the build history is blank.
> > why doesn't this work? do i need to install maven or anything else on
> > my box? i've also tried:
> >
> > scm:cvs:pserver:[EMAIL PROTECTED]:/opt/cvs/comcast:myproject
> >
> > and it fails the same.
> >
> > I know cvs is setup correctly b/c i use the pserver in eclipse to
> > checkout my code. any help is appreciated. i really want to cutover
> > from cruisecontrol to continuum.
> >
> > thanks,
> > keith
> >
> >
> >
>
>


Re: [m2] Unit test report in website

2005-10-28 Thread Wim Deblauwe
Wow,

so you're saying that the released version of Maven 2, can't generate a
report of the unit tests???

any idea when a next version will be released. This seems like very basic
functionality.

regards,

Wim

2005/10/28, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
>
>
>
>
> Wim,
>
> AFAIK, the current release of the surefire plugin can't generate XML
> reports, which is required for the surefire report plugin to work
> correctly.
> Try to build the surefire plugin from SVN, and you would probably get
> correct reports.
>
> Best Regards / Cordialement,
> Fabrice BELLINGARD
> DINQ/DSIN/INSI/EATE/IDVS/AIDV
> (+33) (01 61) 45 15 91 - [EMAIL PROTECTED]
>
>
>
> Wim Deblauwe
> <[EMAIL PROTECTED]
> ail.com > Pour
> Maven Users List
> 28/10/2005 13:12 
> cc
>
> Veuillez Objet
> répondre à [m2] Unit test report in website
> Maven Users List
> <[EMAIL PROTECTED]
> che.org >
>
>
>
>
>
>
>
> Hi,
>
> I'm trying to add the results of my unit tests on the generated webpage. I
> added the surefire-plugin to the reports section, and I get a link the
> menu.
> However the webpage shows that no tests have run, but they do run:
>
> Results :
> [surefire] Tests run: 46, Failures: 0, Errors: 0
>
>
> any ideas?
>
> Wim
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: [m2]create an entry into internal repository

2005-10-28 Thread Luca Gmail
How to deploy local jar to internal repository:

1) Install local:
mvn install:install-file -Dfile=alice-commons-1.2.jar ^
 -DgroupId=alice-commons ^
 -DartifactId=alice-commons ^
 -Dversion=1.2 ^
   -Dpackaging=jar

This create the structure .m2/repository/alice-commons/alice-commons/1.2

2) ftp all the structure to the docroot of the inernal repository


But just now I tried to compile my project and I had this warning:
Downloading: http://
localhost:8089/pub/maven/alice-commons/alice-commons/1.2/alice-commons-1.2.p
om
[WARNING] Unable to get resource from repository RossoAlice Repo
(http://localhost:8089/pub/maven)   < my repo :-)
Downloading:
http://repo1.maven.org/maven2/alice-commons/alice-commons/1.2/alice-commons-
1.2.pom
[WARNING] Unable to get resource from repository central
(http://repo1.maven.org/maven2)  < ok


... but without the .pom the compilation failed because the compiler is not
able to found the jar (is it right?).

... in the step 1 above the installtion in the local repository create a
maven-metadata-local.xml. who use it? 

Is there a way to create the .pom file like the maven-metadata-local.xml
file?

Tnx,
Luca


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



[m2] CVSNT problem

2005-10-28 Thread Nitko2

Hi,

i'm in the process of learning about maven 2.0. So I created a project and decided to fetch source 
code from cvs repository.

After I read that connection string from pom.xml won't help me with checkout, I 
tried with

mvn -e scm:checkout -DconnectionUrl=scm:cvs:pserver:[EMAIL 
PROTECTED]:E:\cvs\common:MODULE

mvn -e scm:checkout -DconnectionUrl=scm|cvs|pserver|[EMAIL 
PROTECTED]|E:\cvs\common|MODULE

mvn -e scm:checkout -D"connectionUrl=scm|cvs|pserver|[EMAIL 
PROTECTED]|E:\cvs\common|MODULE"


With last command I got:

[INFO] [scm:checkout]
[ERROR] Provider message:
[ERROR] The cvs command failed.
[ERROR] Command output:
[ERROR] Empty password used - try 'cvs login' with a real password
cvs [checkout aborted]: \cvs\common: no such repository


I'm using CVSNT on WinXP and .cvspass is created in user home. It seems that the problem is colon in 
repository path, but I don't know how to fix it.

My Maven 1.x CVS history is repeating.

Can someone help me with this.

Thanks,
Filip

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



How to add to tag?

2005-10-28 Thread Marcus Eberts

Hi,

is there a way to add a new line tag (, \n, ...) to the 
 tag in the pom.xml?

I tried CDATA, but that doesn't work.

Marcus

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



RE: compile error

2005-10-28 Thread Sasa.Djuric
put:





org.apache.maven.plugins
maven-compiler-plugin
true

1.5
1.5






into your pom. if you have only one pom (ie. no parent project) you
could also use




org.apache.maven.plugins
maven-compiler-plugin

1.5
1.5





-Original Message-
From: Rasconi Luca (u.e.) [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 28, 2005 10:25 AM
To: Maven Users List
Subject: compile error

myfile.java:[11,1] annotations are not supported in -source 1.3

(try -source 1.5 to enable annotations) 

@SuppressWarnings("serial")

 

Executing mvn install i had that error. Where I have to set -source
options? 

I try mvn -source 1.5 compile and mvn compile -source 1.5 and mvn
compiler:compile -Dsource=1.5 and also mvn compiler:compile
-DcompilerVersion=1.5

 

Why annotations doesn't work? 

 

Tnx,

Luca


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



Seems like the CVS checkout command is not compatible with CVSNT

2005-10-28 Thread Baz
Miks Rozenbergs a �crit :
> Hello!
>
> Continuum can't checkout sources from CVS using following SCM URL
> scm:cvs:pserver:[EMAIL PROTECTED]
> :/cvs/src:BPM/source/com.exigen.bpm.util.
> It results in errors shown down bellow. As you can see the error happens
> while invoking command "cvs -f -d :pserver:[EMAIL PROTECTED]
> :2401/cvs/src -q checkout -r -d 1
> BPM/source/com.exigen.bpm.util".

I just had the exact same problem this morning, it isn't cvsnt's
fault. If you look closely at that command line: "...checkout -r -d
1..." actually means 'check out module "1" with a /tag/ of '-d'' . BTW
I tried this command line on cygwin too and it fails too. It wasnt
until I removed the '-d 1' from the command line that the error became
obvious, as it says you havent specified a module - the -r swallows
the module name and uses it as a tag.

Once I twigged this is what I'd done wrong, I went into the continuum
config and set the tag to 'HEAD'. This resulted in a command line like
"...checkout -r HEAD -d 1..." and everything works.

This looks like a bug in SCM to me, it shouldn't emit that '-r' unless
there's a tag specified?


RE: [m2] Unit test report in website

2005-10-28 Thread fabrice . belingard




Wim,

AFAIK, the current release of the surefire plugin can't generate XML
reports, which is required for the surefire report plugin to work
correctly.
Try to build the surefire plugin from SVN, and you would probably get
correct reports.

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


   
 Wim Deblauwe  
 <[EMAIL PROTECTED]  
 ail.com> Pour
   Maven Users List
 28/10/2005 13:12  
cc
   
 VeuillezObjet
répondre à [m2] Unit test report in website
 Maven Users List  
 <[EMAIL PROTECTED]  
 che.org>  
   
   
   




Hi,

I'm trying to add the results of my unit tests on the generated webpage. I
added the surefire-plugin to the reports section, and I get a link the
menu.
However the webpage shows that no tests have run, but they do run:

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


any ideas?

Wim



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



Re: [m2] New plugin for Jetty6

2005-10-28 Thread Jan Bartel

Mark,

Thanks for the quick response.


That's great news!  I loved using jetty under m1 for speed for
development and always meant to look into writing a scanner for hot
deployment.

One thing - I noticed that the plugin misses a few project
dependencies at runtime.  You'll need to add the following to
JettyMojo:

@requiresDependencyResolution runtime


Thanks for that. I've put it in. Must have been working for me because
I have the Jetty jars and dependencies in my local repo.



Also, will the plugin really appear on ibiblio.org/maven2 - it depends
on jetty 6-SNAPSHOT and I thought the central repo was only for
released artifacts?


I'll take your advice on that as I'm not sure what the policy is. We
maintain a maven1 repository for Jetty releases which gets mirrored to
ibiblio.org/maven so I just assumed the maven2 repo would also be mirrored.

cheers
Jan



Cheers,

Mark

On 28/10/05, Jan Bartel <[EMAIL PROTECTED]> wrote:


FYI,

I've created a new plugin that runs Jetty6 on a Maven war project
without first requiring that the project is built into a war or
exploded war. This allows you to develop in an IDE and to avoid
having to run the mvn packaging step to test.

But the really useful feature of this plugin is that you leave
it running, and it will periodically scan the project for changes and
automatically redeploy the webapp if needed. This is particularly
convenient if you're using an IDE that does automatic compilation - you
can edit your changes and they will be reflected in the running
web container without you needing to do a thing.

At the moment, the plugin is on the MortBay Maven2 repository at
scpexe://jetty.mortbay.org/home/ftp/pub/maven2. Hopefully, this
will be mirrored to the main Maven2 repository soon. The plugin is:

  org.mortbay.jetty
  maven-jetty6-plugin
  1.0

You run it like so:

   mvn jetty6:run

The plugin has documentation with it, but isn't linked in to a
website (yet). In the meanwhile, you can check the JettyExperimental
project out on SourceForge and build it to get the plugin doco.

cheers
Jan


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





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



[m2] Complicated Assembly Guidance

2005-10-28 Thread Stephen Duncan
I'm trying to automate my normal file release process.  Right now it
takes two assembly descriptors and three commands to accomplish.  Not
too bad, but I'm wondering if there's a better way.  If not, maybe
this use-case can be looked at for ways to improve the assembly
plugin.

The project is a mutli-project with two modules: a jar project and a
war project that is a sample web-app using the jar.

The goal is to produce a directory with the following files:

RELEASE NOTES.txt
OVERVIEW.txt
myapp-version.jar
myapp-version-javadoc.jar
myapp-version-sources.jar
mysampleapp-version.war
MultiProjectSource-version.zip

So, I know have a src/main/assembly in the parent project with two
descriptors.  The first is a source descriptor, src.xml:


src

zip




*


.*
target



src


framework/src


framework

*


.*
target



sample/src


sample

*


.*
target





The second is release.xml:


release

zip




RELEASE*
OVERVIEW*



target


*.zip



framework/target


*.jar



sample/target


*.war





And, finally, I have a shell script that runs the following three commands:

mvn clean package javadoc:jar source:jar
mvn -Ddescriptor=src/main/assembly/src.xml assembly:assembly
mvn -Ddescriptor=src/main/assembly/release.xml assembly:directory

Any ideas on improvement, either in what I've done, or
planned/un-planned improvements in plugins?

--
Stephen Duncan Jr
www.stephenduncanjr.com

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



SSH proxy for deployments

2005-10-28 Thread Jose Gonzalez Gomez
Does Maven use the proxy defined in settings.xml for SSH connections?
I've successfully deployed sites and artifacts inside my LAN, but as
soon as I try to do the same for a computer outsite the LAN, I get a
connection time out. Of course I've tried to connect to those hosts
using an SSH client with no problem.

TIA, best regards
Jose

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



Continuum and ClearCase

2005-10-28 Thread Wim Deblauwe
I'm trying to get my maven 2 project running with continuum but I don't
succeed. We are using ClearCase, you I've set:


scm:clearcase:


In my pom.xml, but the build fails.

This is the debug window:
jvm 1 | 2005-10-28 13:46:33,171 [SocketListener0-1] INFO Continuum -
Enqueuing 'Utils Logging Module' (Build definition id=6.
jvm 1 | 2005-10-28 13:46:33,593 [Thread-1] INFO ContinuumScm - Checking out
project: 'Utils Logging Module', id: '6' to 'C:\Program Files\Apache
Software Foundation\continuum-1.0
\bin\win32\..\..\apps\continuum\working-directory\6'.
jvm 1 | 2005-10-28 13:46:33,750 [Thread-1] WARN ConfigurationService - Error
reading build output for build '12'.
jvm 1 | java.io.FileNotFoundException: C:\Program Files\Apache Software
Foundation\continuum-
1.0\bin\win32\..\..\apps\continuum\build-output-directory\6\12.log.txt (The
system cannot find the file
specified)
jvm 1 | at java.io.FileInputStream.open(Native Method)
jvm 1 | at java.io.FileInputStream.(FileInputStream.java:106)
jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:269)
jvm 1 | at org.codehaus.plexus.util.FileUtils.fileRead(FileUtils.java:261)
jvm 1 | at
org.apache.maven.continuum.configuration.DefaultConfigurationService.getBuildOutput
(DefaultConfigurationService.java:167)
jvm 1 | at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification
(DefaultContinuumNotificationDispatcher.java:129)
jvm 1 | at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete
(DefaultContinuumNotificationDispatcher.java:96)
jvm 1 | at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
DefaultBuildController.java:261)
jvm 1 | at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask
(BuildProjectTaskExecutor.java:53)
jvm 1 | at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run
(ThreadedTaskQueueExecutor.java:103)
jvm 1 | at java.lang.Thread.run(Thread.java:595)

It states "checking out project" , but that directory "working-directory\6"
is never created.

regards,

Wim


Re: [m2] Image link when creating a site?

2005-10-28 Thread Rohnny Moland

On 10/28/2005 01:16 PM, Roland Bali wrote:

Hi,

I'm trying to add a image link to my site descriptor but the image is
 not added. I've tried the following:

 href="http://maven.apache.org"; 
img="http://maven.apache.org/images/logos/maven-feather.png"/> name="image2" href="http://maven.apache.org"; 
src="http://maven.apache.org/images/logos/maven-feather.png"/> 



I also would like to have a image at the same level as the default 
"created by Maven"-image is it possible to add such a image in the 
site descriptor so I won't have to modify the  generated .html files?




Kind regards,

Roland



You can by creating a custom velocity template, and include it in your
src/site/resources directory. In your pom you also have to add something
like this:

[..]

  org.apache.maven.plugins
  maven-site-plugin
  

  file://${basedir}/src/site/resources/

your-site.vm
  

[..]

Look into the maven-site-plugin.jar for a default maven-site.vm
template, you can use as a start point.


Hope this helps,

--
Rohnny

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



Re: Why continuum always auto stopped?

2005-10-28 Thread Emmanuel Venisse
Is it a clean continuum installation?

Hong Xing a écrit :
> [EMAIL PROTECTED] bin]# ./plexus.sh
> Using PLEXUS_HOME:   /usr/local/continuum-1.0
> Using PLEXUS_CONF:   /usr/local/continuum-1.0/conf
> Using PLEXUS_TMPDIR: /usr/local/continuum-1.0/temp
> Using JAVA_HOME: /usr/local/j2sdk1.5.0/
> [INFO] Services will be deployed in: '/usr/local/continuum-1.0/services'.
> [INFO] Applications will be deployed in: '/usr/local/continuum-1.0/apps'.
> [INFO] The application server has been initialized.
> [INFO] Removing old service.
> [INFO] Extracting service jar
> '/usr/local/continuum-1.0/services/plexus-service-jetty-1.0-alpha-3.jar'
> to '/usr/local/continuum-1.0/services/plexus-service-jetty-1.0-alpha-3'.
> [DEBUG] Found 1 components to load on start
> [INFO] Loading on start [role,roleHint]:
> [org.codehaus.plexus.application.service.PlexusService,jetty]
> 19:38:26.972 EVENT  Starting Jetty/4.2.24
> 19:38:27.006 EVENT  Started [EMAIL PROTECTED]
> [INFO] Initializing servlet container service.
> [INFO] Starting servlet container service.
> [INFO] Removing old service.
> [INFO] Extracting service jar
> '/usr/local/continuum-1.0/services/plexus-service-xmlrpc-1.0-alpha-3.jar'
> to '/usr/local/continuum-1.0/services/plexus-service-xmlrpc-1.0-alpha-3'.
> [DEBUG] Found 1 components to load on start
> [INFO] Loading on start [role,roleHint]:
> [org.codehaus.plexus.application.service.PlexusService,xml-rpc]
> [INFO] Starting XML-RPC service.
> [INFO] Application 'continuum' already extracted.
> [INFO] Deploying application 'continuum' at
> '/usr/local/continuum-1.0/apps/continuum'.
> [INFO] Starting XML-RPC listener on port '9997'.
> 2005-10-28 19:38:27,918 [main] DEBUG PlexusContainer-
> Found 3 components to load on start
> 2005-10-28 19:38:27,920 [main] INFO  PlexusContainer-
> Loading on start [role]: [org.apache.maven.continuum.Continuum]
> 2005-10-28 19:38:27,989 [main] INFO  JdoFactory -
> Initializing JDO.
> 2005-10-28 19:38:28,523 [main] INFO  JDO-
> PersistenceManagerFactory - Vendor: JPOX  Version: 1.1.0-beta-4
> 2005-10-28 19:38:28,523 [main] INFO  JDO-
> PersistenceManagerFactory initialised for datastore
> URL=jdbc:derby:/usr/local/continuum-1.0/apps/continuum/database;create=true
> driver=org.apache.derby.jdbc.EmbeddedDriver userName=sa
> Oct 28, 2005 7:38:28 PM org.quartz.simpl.RAMJobStore initialize
> INFO: RAMJobStore initialized.
> Oct 28, 2005 7:38:28 PM org.quartz.impl.StdSchedulerFactory instantiate
> INFO: Quartz scheduler 'scheduler1' initialized from an externally
> provided properties instance.
> Oct 28, 2005 7:38:28 PM org.quartz.impl.StdSchedulerFactory instantiate
> INFO: Quartz scheduler version: 1.4.5
> Oct 28, 2005 7:38:28 PM org.quartz.core.QuartzScheduler start
> INFO: Scheduler scheduler1_$_NON_CLUSTERED started.
> 2005-10-28 19:38:28,723 [main] INFO  Continuum  -
> Initializing Continuum.
> 2005-10-28 19:38:28,723 [main] INFO  Continuum  -
> Showing all projects:
> 2005-10-28 19:38:30,416 [main] INFO  RDBMS  -
> RDBMS Adapter initialised : CloudscapeAdapter : Apache Derby
> version=10.1.1.0, major=10, minor=1, revision=1
> Identifier Names : UPPERCASE
> Driver name=Apache Derby Embedded JDBC Driver, version=10.1.1.0,
> major=10, minor=1
> Identifier Max Lengths : Table=128  Column=30  Constraint=18  Index=18
>  Delimeters="
> Identifier Support in DDL : catalog=false  schema=true
> 2005-10-28 19:38:30,417 [main] INFO  SCHEMA -
> Initialising Catalog "", Schema "SA" using "SchemaTable" auto-start
> option
> 2005-10-28 19:38:31,697 [main] INFO  JDO-
> Managing Persistence of org.apache.maven.continuum.model.scm.ScmResult
> since it was managed previously
> 2005-10-28 19:38:31,697 [main] INFO  JDO-
> Managing Persistence of
> org.apache.maven.continuum.model.project.ProjectGroup since it was
> managed previously
> 2005-10-28 19:38:31,700 [main] INFO  JDO-
> Managing Persistence of
> org.apache.maven.continuum.model.project.Profile since it was managed
> previously
> 2005-10-28 19:38:31,702 [main] INFO  JDO-
> Managing Persistence of
> org.apache.maven.continuum.model.system.Installation since it was
> managed previously
> 2005-10-28 19:38:31,702 [main] INFO  JDO-
> Managing Persistence of
> org.apache.maven.continuum.model.project.BuildResult since it was
> managed previously
> 2005-10-28 19:38:31,702 [main] INFO  JDO-
> Managing Persistence of
> org.apache.maven.continuum.model.system.UserGroup since it was managed
> previously
> 2005-10-28 19:38:31,703 [main] INFO  JDO-
> Managing Persistence of
> org.apache.maven.continuum.model.project.Project since it was managed
> previously
> 2005-10-28 1

[m2] Image link when creating a site?

2005-10-28 Thread Roland Bali
Hi,

I'm trying to add a image link to my site descriptor but the image is
not added. I've tried the following:


  http://maven.apache.org";
img="http://maven.apache.org/images/logos/maven-feather.png"/>
   http://maven.apache.org";
src="http://maven.apache.org/images/logos/maven-feather.png"/>


I also would like to have a image at the same level as the default
"created by Maven"-image is it possible to add such a image in the
site descriptor so I won't have to modify the  generated .html files?

Kind regards,

Roland

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



[m2] Unit test report in website

2005-10-28 Thread Wim Deblauwe
Hi,

I'm trying to add the results of my unit tests on the generated webpage. I
added the surefire-plugin to the reports section, and I get a link the menu.
However the webpage shows that no tests have run, but they do run:

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


any ideas?

Wim


Re: [m2] New plugin for Jetty6

2005-10-28 Thread Mark Hobson
That's great news!  I loved using jetty under m1 for speed for
development and always meant to look into writing a scanner for hot
deployment.

One thing - I noticed that the plugin misses a few project
dependencies at runtime.  You'll need to add the following to
JettyMojo:

@requiresDependencyResolution runtime

Also, will the plugin really appear on ibiblio.org/maven2 - it depends
on jetty 6-SNAPSHOT and I thought the central repo was only for
released artifacts?

Cheers,

Mark

On 28/10/05, Jan Bartel <[EMAIL PROTECTED]> wrote:
> FYI,
>
> I've created a new plugin that runs Jetty6 on a Maven war project
> without first requiring that the project is built into a war or
> exploded war. This allows you to develop in an IDE and to avoid
> having to run the mvn packaging step to test.
>
> But the really useful feature of this plugin is that you leave
> it running, and it will periodically scan the project for changes and
> automatically redeploy the webapp if needed. This is particularly
> convenient if you're using an IDE that does automatic compilation - you
> can edit your changes and they will be reflected in the running
> web container without you needing to do a thing.
>
> At the moment, the plugin is on the MortBay Maven2 repository at
> scpexe://jetty.mortbay.org/home/ftp/pub/maven2. Hopefully, this
> will be mirrored to the main Maven2 repository soon. The plugin is:
>
>org.mortbay.jetty
>maven-jetty6-plugin
>1.0
>
> You run it like so:
>
> mvn jetty6:run
>
> The plugin has documentation with it, but isn't linked in to a
> website (yet). In the meanwhile, you can check the JettyExperimental
> project out on SourceForge and build it to get the plugin doco.
>
> cheers
> Jan
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



[m2] Re: xdoclet and ant and xjc

2005-10-28 Thread Ashley Williams
Actually a change of plan. I'm going to implement the functionality  
in the xjc plugin so that
there will be a second goal which goes straight through to the nested  
ant tag. Don't want

to tinker with the wildly popular xdoclet plugin at this stage.

Last chance to stop me if somebody is already doing something similar!

- AW

On 28 Oct 2005, at 00:10, Ashley Williams wrote:


(posted to dev by muscle memory, please ignore that one)

Hi

Just wondering if anything is ongoing to automatically provide a  
mapping from maven injected properties to ant attributes.
I've done a little work on the xdoclet plugin on my machine that  
means instead of providing the following:


   
  

  includes="**/*Bean.java"/>
  
  

  
  

  


we can write:

   
  

  
  
  
  
  

  


The code I have would easily refactor into the ant run plugin, but  
obviously I don't want to double up if stuff

is already happening - seem to remember John was looking at this area.

- Ashley


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





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



[M2] How to include download url in site

2005-10-28 Thread Christian Schlaefcke
Hi folks,

I try to get an download link of my jars and wars on the project page
genarated with "mvn site". I tried with:

myDownloadUrl


But this isn´t working.

Thanks & Regards,

Christian


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



Re: -source 1.5

2005-10-28 Thread Wim Deblauwe
Thank you for that info, but why is 1.5 not the default if your JAVA_HOME is
a 1.5 jdk?

regards,

Wim

2005/10/27, Emmanuel Venisse <[EMAIL PROTECTED]>:
>
> http://maven.apache.org/maven2/general.html#Compiling-J2SE-5
>
> Guido Zockoll a écrit :
> > I am trying to "mavenize" my current project. It is a Java 5 project and
> > i get to following error from mvn:
> >
> > java:[24,9] annotations are not supported in -source 1.3
> > (try -source 1.5 to enable annotations)
> > @Override
> >
> > But where should i define "-source 1.5"? I could not find any hint in
> > the documentation?
> >
> > Thanks for help in advance
> >
> > Guido
> >
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Re: postgoal function in M2 Need Help?

2005-10-28 Thread Edwin Punzalan


Try removing the  element in your pom.xml... The plugin authors 
should have setup their plugins to be bound to a lifecycle phase so you 
need not put the  element in the configuration part of the plugin.


For example, if a plugin is bound to the generate-sources phase, then 
using "mvn compile" while having the plugin in your pom.xml will run the 
plugin before the generate-sources phase ends without having to put 
 in the configuration.


Regarding the plugins docs, this is a goog place to start: 
http://maven.apache.org/maven2/guides/introduction/introduction-to-plugins.html




[EMAIL PROTECTED] wrote:


Hi

I understand there is no pre/post goal things in M2, instead we have to do 
that in pom.xml plugin itself.


But how do i do more than one

for eg.

My needs is

1. Before compile i have generate a ejb home/remoteinterface .java files.
2. Then do regular javac compile
3. Then do ejbc compile which create some classes needed for weblogic.


so i used generate-source to create a .java files,
then i tried adding process-classes like these which comes 
after compilation in lifecycle, to do ejbc compile but what hppends is at 
my second phase again its trying to goback and do full lifecycle stating 
from validate... again i do understand this is coz of lifecycle


But my question is how do i do this thing without going thru the full 
lifecycle again, i mean i'm looking for a way to have (m1)postgoal like 
function in M2


Can any one please give me some example how to acheive this






Thanks,
Raghurajan Gurunathan

 



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



Re: Children cannot find master pom in local repo

2005-10-28 Thread Wim Deblauwe
Hi,

I had the same problem and your solution works. Thank you!

regards,

Wim

2005/10/28, Johnny R. Ruiz <[EMAIL PROTECTED]>:
>
> Hi,
>
> In your master pom. Shouldn't the "jar" be
> "pom" ? Please try it out and do "mvn
> install" in the master project. After trying it out, then do the "mvn
> install" in the child project. Let me know if this works. :D
>
>
> Cheers,
> Johnny
>
> Dietrich Schulten wrote:
>
> >Below you find the output, the master pom and the child pom.
> >
> >
> >Johnny R. Ruiz schrieb:
> >
> >
> >
> >>Hi,
> >>
> >>Please post the build results, it will be easier to see what's causing
> >>the error.
> >>
> >>
> >
> >
> >The build output within a sub-project:
> >
> >$ mvn compile
> >[INFO] Scanning for projects...
> >[INFO]
> >-
> >---
> >[INFO] Building Implementation of enter*easy Core Interfaces
> >[INFO] task-segment: [compile]
> >[INFO]
> >-
> >---
> >[INFO] [resources:resources]
> >[INFO] Using default encoding to copy filtered resources.
> >[WARNING] POM for: 'commons-dbcp:commons-dbcp:pom:1.2.1' does not appear
> >to be v
> >alid. Its will be ignored for artifact resolution.
> >
> >Reason: Failed to validate POM
> >
> >
> >[INFO]
> >-
> >---
> >[ERROR] BUILD ERROR
> >[INFO]
> >-
> >---
> >[INFO] Failed to resolve artifact.
> >
> >GroupId: de.yellow.eeasy
> >ArtifactId: eeasy-master
> >Version: 1.0-SNAPSHOT
> >
> >Reason: Unable to download the artifact from any repository
> > de.yellow.eeasy:eeasy-master:1.0-SNAPSHOT:pom
> >
> >from the specified remote repositories:
> > central (http://repo1.maven.org/maven2)
> >
> >-
> >
> >The problem is the line "Unable to download..."
> >
> >
> >
> >The master 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
> > de.yellow.eeasy
> > eeasy-master
> > jar
> > 1.0-SNAPSHOT
> > The Server
> > http://www.unknown.de
> >
> > 
> > 
> > 
> > de.yellow.eeasy
> > eeasy-core
> > 1.0-SNAPSHOT
> > 
> > 
> > de.yellow.eeasy
> > eeasy-ifc-impl
> > 1.0-SNAPSHOT
> > 
> > 
> > junit
> > junit
> > 3.8.1
> > test
> > 
> > 
> > junit-doclet
> > junit-doclet
> > 1.0.2
> > 
> > 
> > springframework
> > spring
> > 1.2.5
> > 
> > 
> > acegisecurity
> > acegi-security
> > 0.8.3
> > 
> > 
> > ehcache
> > ehcache
> > 1.1
> > 
> > 
> > commons-logging
> > commons-logging
> > 1.0.4
> > 
> > 
> > commons-logging
> > commons-logging-api
> > 1.0.4
> > 
> > 
> > commons-discovery
> > commons-discovery
> > 0.2
> > 
> > 
> > commons-codec
> > commons-codec
> > 1.3
> > 
> > 
> > commons-collections
> > commons-collections
> > 3.1
> > 
> > 
> > commons-dbcp
> > commons-dbcp
> > 1.2.1
> > 
> > 
> > commons-digester
> > commons-digester
> > 1.7
> > 
> > 
> > commons-beanutils
> > commons-beanutils
> > 1.7.0
> > 
> > 
> > commons-lang
> > commons-lang
> > 2.1
> > 
> > 
> > commons-pool
> > commons-pool
> > 1.2
> > 
> > 
> > hsqldb
> > hsqldb
> > 1.8.0.1 
> > 
> > 
> > oro
> > oro
> > 2.0.8
> > 
> > 
> > axis
> > axis
> > 1.2.1
> > 
> > 
> > axis
> > axis-wsdl4j
> > 1.5.1
> > 
> > 
> > axis
> > axis-jaxrpc
> > 1.2.1
> > 
> > 
> > axis
> > axis-ant
> > 1.2.1
> > 
> > 
> > axis
> > axis-saaj
> > 1.2.1
> > 
> > 
> > javax.activation
> > activation
> > 1.0.2
> > 
> > 
> > javax.mail
> > mail
> > 1.3.2
> > 
> > 
> > javax.xml
> > jaxrpc
> > 1.1
> > 
> > 
> > myfaces
> > myfaces-impl
> > 1.1.0
> > 
> > 
> > myfaces
> > myfaces-jsf-api
> > 1.0.9
> > 
> > 
> > 
> > 
> > 
> > 
> > org.apache.maven.plugins
> > maven-site-plugin
> > 
> > en,de
> > 
> > 
> > 
> > 
> > 
> > eeasy-core
> > eeasy-ifc-impl
> > eeasy-admin-webapp
> > eeasy-webservice
> > 
> >
> >
> >The child 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
> > de.yellow.eeasy
> > eeasy-ifc-impl
> > jar
> > 1.0-SNAPSHOT
> > Implementation of Core Interfaces
> > http://www.unknown.de
> > 
> > de.yellow.eeasy
> > eeasy-master
> > 1.0-SNAPSHOT
> > 
> > 
> > 
> > de.yellow.eeasy
> > eeasy-core
> > 1.0-SNAPSHOT
> > 
> > 
> > junit
> > junit
> > 3.8.1
> > test
> > 
> > 
> > springframework
> > spring
> > 1.2.5
> > 
> > 
> > commons-logging
> > commons-logging
> > 1.0.4
> > 
> > 
> > commons-logging
> > commons-logging-api
> > 1.0.4
> > 
> > 
> > javax.xml
> > jaxrpc
> > 1.1
> > 
> > 
> > commons-dbcp
> > commons-dbcp
> > 1.2.1
> > 
> > 
> > hsqldb
> > hsqldb
> > 1.8.0.1 
> > 
> > 
> > junit-doclet
> > junit-doclet
> > 1.0.2
> > 
> > 
> > 
> > 
> >

Re: How to force rebuild of projects depending on changed Project

2005-10-28 Thread Christian Schlaefcke
Cool! When is it planned? Is there a roadmap available? I´m also really
looking forward for the clearcase support of continuum.

Thanks & Regards,

Christian

> It's planned for 1.1
>
> Emmanuel
>
> Christian Schlaefcke a écrit :
>> Hi folks,
>>
>> I have a java module that is shared by two webapps (all as m2 projects).
>> At the moment I have to build the webapps war files manually when I
>> change
>> the java module. Can I tell continuum to force a rebuild/war of the
>> webapps when the java module changes?
>>
>> Thanks & Regards,
>>
>> Christian
>>
>>
>>
>>
>




newby questions

2005-10-28 Thread Andreas Zeiner

hello

i'm new to maven 2 and i reading around maven for a couple of days but 
i'm stuck in a problem were i don't know how to get out - maybe

somebody can help me:

1. i have an existing project an i want to maven-enable it -

i have tried out to change an existing pom.xml but when i call "mvn 
compile" i get the errors listed below - really strange


C:\data\projects\MetaGruppenWizzy\src\at\ac\univie\metagruppenwizzy\dao\ListReso
lverJdbc.java:[13,37] package org.springframework.jdbc.core does not exist

C:\data\projects\MetaGruppenWizzy\src\at\ac\univie\metagruppenwizzy\dao\ListReso
lverJdbc.java:[14,45] package org.springframework.jdbc.core.support does 
not exi

st

 (and more)



here ist my pom.xml


 4.0.0
 at.ac.univie.metagruppenwizzy
 metagruppenwizzy
 jar
 1.0-SNAPSHOT
 Metagruppenwizzy
 
   
 central
 Maven Repository Switchboard
 default
 
   http://repo1.maven.org/maven2
 
   false
 
   
 

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

 
   target
   target/classes
   ${artifactId}-${version}
   target/test-classes
   src/
   src
   /test
   
 
   /lib
 
   
   
 
   /lib
 
   
 

 
   target/site
 





2. what i want to do with maven is to download a set of defined jars and 
at deployment time put them into a /lib directory


our structure is the following:

project
src/at/ac
test/at/ac ..
/lib

3. how can i check out files from cvs automatically ? ist there an 
example somewhere ? i haven't found anything ...


4. is there a way to integrate maven2 into ecplise?

currently i'm completly overloaded  therefore i hope the someone can 
help me in this issue


thanx

greetinx

andy


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



Re: Does CruiseControl support M2?

2005-10-28 Thread Emmanuel Venisse
I don't think but continuum does.

Emmanuel

Hong Xing a écrit :
> Does CruiseControl support M2?


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



crazy in hardhead maven2 ( or me)

2005-10-28 Thread steve neo
I try to build a SWT repository in my FTP server. SWT includes many
dll or so file and their name are hard-code in SWT java code.

I take days to try to find a way to deploy jar, src zip and dll.
Failed. Folllowing is my assumed solution:

1) For maven2 repository file name rule!?  it is obviously not meet my
requirement.
2) does maven2 provide a customized artifact name rule?
3) Zip all dlls and unzip it after download, it seems need ant to do this.

Are there any solution for this case?

Steve

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



Re: OutOfMemoryErrors in Reports

2005-10-28 Thread Christian Goos

Hello again,

I just got another proof that I should avoid doing 2 things at the same time.
The configuration in MAVEN_OPTS works of course, I just put the parameter in 
the wrong mvn.bat-file.

Sorry for not paying attention and thanks for trying to help me!

Christian

I am using maven 2 and the tests I run are StrutsTestcase and JUnit.
I can run them in eclipse (and I see that they are consuming lot of memory)
but the mvn test -goal fails with the OutOfMemoryError.
In the mvn.bat file I added -Xmx512m to the MAVEN_OPT variable
but that did not help.

Christian

Mailing list archives
Site index � List index
Message view� Date � � � Thread �
Top � Date � � � Thread �
>From   "Arnaud HERITIER" <[EMAIL PROTECTED]>
Subject RE: OutOfMemoryErrors in Reports
DateThu, 27 Oct 2005 20:03:16 GMT

Is it with m1 or m2 ?
I suppose it's for m2 because there's no official surfire plugin for m1 ?

Arnaud
 

> -Message d'origine-
> De : Jamie Bisotti [mailto:[EMAIL PROTECTED] 
> Envoy� : jeudi 27 octobre 2005 19:19
> � : Maven Users List
> Objet : Re: OutOfMemoryErrors in Reports
> 
> On 10/25/05, Christian Goos <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi
> >
> > I get OutOfMemoryErrors with javadoc, checkstyle and 
> surefire reports.
> > Configure Maven_opts did not help.
> > What can I do?
> >
> > Thanks for help
> >
> > Christian
> > __
> > Verschicken Sie romantische, coole und witzige Bilder per SMS!
> > Jetzt bei WEB.DE  FreeMail: 
> http://f.web.de/?mc=021193
> >
> >
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> It should be MAVEN_OPTS. However that only works if you are 
> not forking VMs, I think.
> 
> --
> Jamie Bisotti
> 
__
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


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



compile error

2005-10-28 Thread Rasconi Luca \(u.e.\)
myfile.java:[11,1] annotations are not supported in -source 1.3

(try -source 1.5 to enable annotations) 

@SuppressWarnings("serial")

 

Executing mvn install i had that error. Where I have to set -source
options? 

I try mvn -source 1.5 compile and mvn compile -source 1.5 and mvn
compiler:compile -Dsource=1.5 and also mvn compiler:compile
-DcompilerVersion=1.5

 

Why annotations doesn't work? 

 

Tnx,

Luca



Does CruiseControl support M2?

2005-10-28 Thread Hong Xing
Does CruiseControl support M2?


Re: SPAM: Seems like the CVS checkout command is not compatible with CVSNT

2005-10-28 Thread Emmanuel Venisse
Yes, your are several people that have this pb. cvsnt doesn't seems to respect arguments 
of cvs command line.


You can install cygwin and cvs, and put cvs in your path.

Emmanuel

Miks Rozenbergs a écrit :

Hello!

Continuum can't checkout sources from CVS using following SCM URL 
scm:cvs:pserver:[EMAIL PROTECTED] 
:/cvs/src:BPM/source/com.exigen.bpm.util. 
It results in errors shown down bellow. As you can see the error happens 
while invoking command "cvs -f -d :pserver:[EMAIL PROTECTED] 
:2401/cvs/src -q checkout -r -d 1 
BPM/source/com.exigen.bpm.util". And indeed, even manually run this 
command produce an error. However if I adjust the command to "cvs -f -d 
:pserver:[EMAIL PROTECTED] 
:2401/cvs/src -q checkout 
BPM/source/com.exigen.bpm.util" (remove "-r -d 1) then the checkout 
happens without any errors.


=== console screen with error messages 
==
jvm 1 | 2005-10-27 14:21:52,071 [SocketListener0-5] INFO Continuum - 
Enqueuing 'com.exigen.bpm:util:jar:1.0-SNAPSHOT' (Build definition id=1.
jvm 1 | 2005-10-27 14:21:52,492 [Thread-1] INFO ContinuumScm - Checking 
out project: 'com.exigen.bpm:util:jar:1.0-SNAPSHOT', id: '1' to 
'C:\WIN32APP\continuum-1.0\bin\win32\..\..\apps\continuum\working-directory\1' 
with branch/tag .
jvm 1 | 2005-10-27 14:21:52,492 [Thread-1] DEBUG ScmManager - cvsRoot: 
:pserver:[EMAIL PROTECTED] 
:2401/cvs/src
jvm 1 | 2005-10-27 14:21:52,492 [Thread-1] DEBUG ScmManager - passFile: 
C:\Documents and Settings\miks\.cvspass
jvm 1 | 2005-10-27 14:21:52,492 [Thread-1] DEBUG ScmManager - cvsroot 
:pserver:[EMAIL PROTECTED] 
:2401/cvs/src already exist in 
C:\Documents and Settings\miks\.cvspass. SKIPPED.
jvm 1 | 2005-10-27 14:21:52,492 [Thread-1] DEBUG ScmManager - Working 
directory: 
C:\WIN32APP\continuum-1.0\bin\win32\..\..\apps\continuum\working-directory\1 

jvm 1 | 2005-10-27 14:21:52,492 [Thread-1] DEBUG ScmManager - Command 
line: cvs -f -d :pserver:[EMAIL PROTECTED] 
:2401/cvs/src -q checkout -r -d 1 
BPM/source/com.exigen.bpm.util
jvm 1 | 2005-10-27 14:21:53,864 [Thread-1] WARN ContinuumScm - Error 
while checking out the code for project: 
'com.exigen.bpm:util:jar:1.0-SNAPSHOT', id: '1' to 
'C:\WIN32APP\continuum-1.0\bin\win32\..\..\apps\continuum\working-directory\1' 
with branch/tag .
jvm 1 | 2005-10-27 14:21:53,864 [Thread-1] WARN ContinuumScm - Command 
output: cvs server: cannot find module `1' - ignored

jvm 1 |
jvm 1 | 2005-10-27 14:21:53,864 [Thread-1] WARN ContinuumScm - Provider 
message: The cvs command failed.
jvm 1 | 2005-10-27 14:21:54,104 [Thread-1] WARN ConfigurationService - 
Error reading build output for build '18'.


P.S. I've also submitted this issue to JIRA -- 
http://jira.codehaus.org/browse/CONTINUUM-373


Best Regards,
Miks Rozenbergs





Re: How to force rebuild of projects depending on changed Project

2005-10-28 Thread Emmanuel Venisse

It's planned for 1.1

Emmanuel

Christian Schlaefcke a écrit :

Hi folks,

I have a java module that is shared by two webapps (all as m2 projects).
At the moment I have to build the webapps war files manually when I change
the java module. Can I tell continuum to force a rebuild/war of the
webapps when the java module changes?

Thanks & Regards,

Christian








Re: Why continuum always auto stopped?

2005-10-28 Thread Emmanuel Venisse
your shell console or shell session is always open?

Emmanuel

Hong Xing a écrit :
> I starup continuum using command "./run.sh start". Continuum can run for a 
> while(3 or 4 mins), then it stopped, but nobody stop it!
> 
> wrapper.log:
> 
> INFO   | jvm 1| 2005/10/28 12:41:54 | [INFO] The application server has 
> started. 
> INFO   | jvm 1| 2005/10/28 12:42:44 | 12:42:43.984 EVENT  Started 
> HttpContext[/] 
> INFO   | jvm 1| 2005/10/28 12:43:04 | 2005-10-28 12:43:04,142 
> [SocketListener0-1] INFO  Action:login   - Trying  
> to log in admin 
> INFO   | jvm 1| 2005/10/28 12:45:02 | [INFO] Shutting down the 
> application container. 
> INFO   | jvm 1| 2005/10/28 12:45:02 | 12:45:02.072 EVENT  Stopping 
> Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=9 
> 999]
> INFO   | jvm 1| 2005/10/28 12:45:02 | 12:45:02.074 EVENT  Stopped 
> SocketListener on 0.0.0.0: 
> INFO   | jvm 1| 2005/10/28 12:45:02 | 12:45:02.077 EVENT  Stopped 
> WebApplicationContext[/continuum,/usr/local/continuum-1.0/bin/ 
> linux/../../apps/continuum/webapp] 
> INFO   | jvm 1| 2005/10/28 12:45:02 | 12:45:02.077 EVENT  Stopped 
> HttpContext[/] 
> INFO   | jvm 1| 2005/10/28 12:45:02 | 12:45:02.078 EVENT  Stopped [EMAIL 
> PROTECTED] 
> INFO   | jvm 1| 2005/10/28 12:45:02 | [INFO] Stopping servlet container 
> service. 
> INFO   | jvm 1| 2005/10/28 12:45:02 | [INFO] Undeploying 'continuum'. 
> INFO   | jvm 1| 2005/10/28 12:45:02 | 2005-10-28 12:45:02,084 [Thread-7] 
> INFO  TaskQueueExecutor:check-out-project - Executor th 
> read got shutdown signal. 
> INFO   | jvm 1| 2005/10/28 12:45:02 | 2005-10-28 12:45:02,084 [Thread-7] 
> INFO  TaskQueueExecutor:check-out-project - Waiting unt 
> il task executor 'check-out-project' is idling... 
> INFO   | jvm 1| 2005/10/28 12:45:02 | 2005-10-28 12:45:02,084 [Thread-2] 
> INFO  TaskQueueExecutor:check-out-project - Executor th 
> read 'check-out-project' exited. 
> INFO   | jvm 1| 2005/10/28 12:45:02 | java.util.NoSuchElementException 
> INFO   | jvm 1| 2005/10/28 12:45:02 | 2005-10-28 12:45:02,102 [Thread-7] 
> INFO  Continuum  - Stopping Continu 
> um. 
> INFO   | jvm 1| 2005/10/28 12:45:02 | 2005-10-28 12:45:02,102 [Thread-7] 
> INFO  Continuum  - Continuum stoppe 
> d.



  1   2   >