website typo

2007-09-26 Thread Julien Graglia
Hi,

I'am not sure it's the correct place but there are 2 little mistakes in
http://maven.apache.org/archiva/hacking/index.html

in section Building Archiva
1/the links to dl the connector and jta are broken : they include the
corrects url but with a download from... prefix
2/the install command of jta is broken : a '-' is missing before
Dversion=1.0.1B
mvn install:install-file -DgroupId=javax.transaction -DartifactId=jta
-Dversion=1.0.1B -Dpackaging=jar -Dfile=jta-1_0_1B-classes.zip

thats no real pbs, because if you start building archiva, you surely
found (and correct) easyly those problems!

-- 
Julien Graglia




Re: website typo

2007-09-26 Thread Alex Mayorga Adame

Julien,

Thanks on your report. I've opened/closed
http://jira.codehaus.org/browse/MRM-525 for this.

Alex
-- 
View this message in context: 
http://www.nabble.com/website-typo-tf4520972.html#a12910307
Sent from the archiva-users mailing list archive at Nabble.com.



Continuum under Tomcat CVS

2007-09-26 Thread Antonín Faltýnek
Hi all,

I have problem with Continuum 1.1 beta2, which I'm running on Linux box
under Tomcat 5.5. Continuum is not able to perform CVS update command, when
I use command from log file and run it as any other user it works fine for
me.

Tomcat is running under user tomcat, which has no home directory
(/dev/null).

Has anybody met (and happily solved :)) this issue?

Thanks

Tonda


Re: Continuum under Tomcat CVS

2007-09-26 Thread Emmanuel Venisse

For cvs (and continnum and maven) a user home is required because cvs store 
authentication in ${user.home}/.cvspass
maven required it too to store the local repository and settings.xml

Emmanuel

Antonín Faltýnek a écrit :

Hi all,

I have problem with Continuum 1.1 beta2, which I'm running on Linux box
under Tomcat 5.5. Continuum is not able to perform CVS update command, when
I use command from log file and run it as any other user it works fine for
me.

Tomcat is running under user tomcat, which has no home directory
(/dev/null).

Has anybody met (and happily solved :)) this issue?

Thanks

Tonda





Re: Continuum Emails

2007-09-26 Thread Robert O

Hi!

Right now I'm at my job and don't have the stacktrace, but from what I can
remember it's the same as posted in the first post of this thread (I will
anyway post it later today). 

I have not setup any smtp server, because I thought maybe it came along with
continuum (as a part/component of plexus or something)?

But if I understand you correctly what you are saying is that I need a local
smtp-server that I configure Continuum to use, a 3rd party service? (If that
is the case, do you know any good smtp server i should use?)

Robert





Emmanuel Venisse wrote:
 
 Do you have a stacktrace or something in logs?
 
 Do you use a local smtp server or a remote smtp server and is it required
 a known email address for the sender?
 
 Emmanuel
 
 Robert O a écrit :
 Hi
 
 I've tried to follow your explanation on how to configure the
 mailnotifier,
 but I can't get it to work. Just keeps getting the errormessage:  Error
 while trying to use the mailnotifier.
 
 I thought the mailnotifier would work more or less out of the box when
 installing Continuum? Do i need to install a 3rd party mail-server or
 something?
 
 I'm using the continuum-1.1-beta-2 locally on Windows XP. Continuum runs
 with the bundled jetty server, and I thought that or the plexus thing
 (which
 I don't know what is :) would provide me with some mail-functionality 
 
 I haven't found much helpful documentation on the topic, just some hints
 on
 the official Continuum website. Maybe someone knows some good resources?
 
 Thanks
 
 Robert
 
 
 
 amorgovsky wrote:
 Thank you for your help. 

 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
 Sent: Friday, August 10, 2007 2:50 AM
 To: continuum-users@maven.apache.org
 Subject: Re: Continuum Emails

 No.

 In conf/plexus.xml, you must have something like that:

  resources
!--
 Mail Session
--
resource
  namemail/Session/name
  typejavax.mail.Session/type
  properties
property
  namemail.smtp.host/name
  valuelocalhost/value
/property
property
  namemail.smtp.port/name
  value25/value
/property
  /properties
/resource

 and in application.xml, you must keep the component declaration like it
 iwas when you installed Continuum:

  component
roleorg.codehaus.plexus.mailsender.MailSender/role
   
 implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation
configuration
  jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
/configuration
  /component

 Emmanuel

 LAMY Olivier a écrit :
 Yep. 

 -Message d'origine-
 De : Morgovsky, Alexander (US - Glen Mills)
 [mailto:[EMAIL PROTECTED] 
 Envoyé : vendredi 10 août 2007 00:36
 À : continuum-users@maven.apache.org
 Objet : RE: Continuum Emails

 Does this mean that I should put the whole component node into
 plexus.xml?

 component
   roleorg.codehaus.plexus.mailsender.MailSender/role
  
 implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation
   configuration
 jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
smtp-host/smtp-host
 smtp-port/smtp-port
   /configuration
 /component 

 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 09, 2007 5:18 PM
 To: continuum-users@maven.apache.org
 Subject: Re: Continuum Emails

 the jndi conf must be done in conf/plexus.xml

 Morgovsky, Alexander (US - Glen Mills) a écrit :
 I am using Continuum 1.1-alpha-2.  I have noticed that my Continuum 
 instance is not sending out emails.  In the logs I found the error:

 [pool-1-thread-1] ERROR
 org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:
 default  - Error while trying to use the mailnotifier.
 org.codehaus.plexus.notification.NotificationException: Exception 
 while sending message.
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
 dM
 essage(MailContinuumNotifier.java:415)
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.bui
 ld
 Complete(MailContinuumNotifier.java:319)
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
 dN
 otification(MailContinuumNotifier.java:211)
   at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:198)
   at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:150)
   at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)
   at
 

[announce] Continuum 1.1-beta-3 is released

2007-09-26 Thread Emmanuel Venisse

The Continuum team is pleased to announce the Continuum 1.1-beta-3 release

Highlights are:

  * lot of bug fixes
  * xwork/webwork update to fix remote code exploit in forms
  * mail notification to latest committers
  * LDAP authentication
  * performance improvement

You can grab the latest release from:

http://maven.apache.org/continuum/download.html

To upgrade from 1.1-beta-2, you can look at this guide: 
http://maven.apache.org/continuum/guides/mini/guide-data-management.html

Below is the jira release notes for this release.

Release Notes - Continuum - Version 1.1-beta-3 :

Sub-task

* [CONTINUUM-1441] - Keep connection on irc server between each messages

Bug

* [CONTINUUM-697] - sizes incompatible with mssql (Patch Attached)
* [CONTINUUM-1037] - Ant projects inherit a default build definition for 
Maven 2.
* [CONTINUUM-1038] - Build definitions should list what type they are (ant, 
maven, maven2, shell)
* [CONTINUUM-1041] - two defaults on the build definition page
* [CONTINUUM-1181] - Continuum aborts when running Postgres under JBoss
* [CONTINUUM-1296] - Continuum 1.1-alpha-1 does not copy Maven2 project 
pom.xml's /project/build/defaultGoal/text() value to Build Definition Goals 
field.
* [CONTINUUM-1306] - templated roles are not added automatically if missing 
after upgrade
* [CONTINUUM-1325] - Surefire Report history is not kept for prior builds
* [CONTINUUM-1348] - jut of memory in build result
* [CONTINUUM-1367] - granting group admin rights for a single project 
doesn't seem to work
* [CONTINUUM-1384] - Build error when enqueing happens during SCM update
* [CONTINUUM-1391] - Missing Download as text  link
* [CONTINUUM-1393] - change sets are duplicated on multiple failed builds
* [CONTINUUM-1395] - check the permissions on the add project action for 
ant projects
* [CONTINUUM-1404] - M2 Multi module projects still build non-recursively
* [CONTINUUM-1411] - Link to display build surefire report doesn't work (in 
fact displaying surefire report per build is false)
* [CONTINUUM-1412] - File Inclusion Vulnerability
* [CONTINUUM-1415] - Javascript errors with IE
* [CONTINUUM-1417] - continuum group administrator role should imply user + 
developer too
* [CONTINUUM-1418] - Groups Roles aren't added automatically at startup in 
the available roles list if the users list was deleted
* [CONTINUUM-1420] - Build Fresh and Profile columns are missed in group 
build definitions page for specific project build definitions
* [CONTINUUM-1423] - Default project group is missing from the list
* [CONTINUUM-1428] - Continuum must rebuild automatically a project that 
was in error in the previous build even if it haven't changesin the current 
update
* [CONTINUUM-1429] - Initial checkout does not respect 'Use cached scm 
credentials' setting
* [CONTINUUM-1435] - Release prepare not working
* [CONTINUUM-1439] - Group Summary page display error
* [CONTINUUM-1445] - Impossible to add two projects with the same name even 
if they have differents version and/or scmUrl
* [CONTINUUM-1448] - upgrade to last webwork/xwork

Improvement

* [CONTINUUM-406] - irc notifications: support for registered nicks
* [CONTINUUM-522] - IRC support needed for IRC servers not supporting 
/privmsg
* [CONTINUUM-1093] - After validation, logged in user is shown the login 
page
* [CONTINUUM-1218] - Automatically determine correct POM file location in 
Build Definition when checking out from SCMs like ClearCase
* [CONTINUUM-1278] - Need to add description and/or name to build defintion
* [CONTINUUM-1279] - Need to add Build Information to the build result 
reports and notification.
* [CONTINUUM-1333] - show in project group summary per project also the 
status counters (as they are shown on the project groups pages)
* [CONTINUUM-1366] - surefire report shown is always latest, even with a 
different build number
* [CONTINUUM-1394] - continuum should not record change sets when it is a 
new checkout
* [CONTINUUM-1396] - Continuum should have a separate permission to 
administer schedules
* [CONTINUUM-1409] - A build does not say which build definition it came 
from
* [CONTINUUM-1422] - The icon for 'Cancel Build' is missing from the legend
* [CONTINUUM-1424] - Ability to Cancel Build for a subset of a project group
* [CONTINUUM-1425] - URL in Company Pom should open in a new Window
* [CONTINUUM-1427] - Ability to choose the build definition for 'Build all 
projects' and 'Build Project(s)'
* [CONTINUUM-1430] - Split forms for environment variables and 
Ant/Maven/JDK installations
* [CONTINUUM-1440] - write documentation how to use 
continuum-data-management
* [CONTINUUM-1443] - Add an 'Always build' checkbox in 'build definition'
* [CONTINUUM-1444] - IRC and Jabber notifiers accept invalid ports.
* [CONTINUUM-1446] - Webwork Performance Tuning
 

Re: Continuum Emails

2007-09-26 Thread Emmanuel Venisse

You can use your ISP smtp server ;) like for all your mails

Emmanuel

Robert O a écrit :

Hi!

Right now I'm at my job and don't have the stacktrace, but from what I can
remember it's the same as posted in the first post of this thread (I will
anyway post it later today). 


I have not setup any smtp server, because I thought maybe it came along with
continuum (as a part/component of plexus or something)?

But if I understand you correctly what you are saying is that I need a local
smtp-server that I configure Continuum to use, a 3rd party service? (If that
is the case, do you know any good smtp server i should use?)

Robert





Emmanuel Venisse wrote:

Do you have a stacktrace or something in logs?

Do you use a local smtp server or a remote smtp server and is it required
a known email address for the sender?

Emmanuel

Robert O a écrit :

Hi

I've tried to follow your explanation on how to configure the
mailnotifier,
but I can't get it to work. Just keeps getting the errormessage:  Error
while trying to use the mailnotifier.

I thought the mailnotifier would work more or less out of the box when
installing Continuum? Do i need to install a 3rd party mail-server or
something?

I'm using the continuum-1.1-beta-2 locally on Windows XP. Continuum runs
with the bundled jetty server, and I thought that or the plexus thing
(which
I don't know what is :) would provide me with some mail-functionality 


I haven't found much helpful documentation on the topic, just some hints
on
the official Continuum website. Maybe someone knows some good resources?

Thanks

Robert



amorgovsky wrote:
Thank you for your help. 


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 10, 2007 2:50 AM

To: continuum-users@maven.apache.org
Subject: Re: Continuum Emails

No.

In conf/plexus.xml, you must have something like that:

 resources
   !--
Mail Session
   --
   resource
 namemail/Session/name
 typejavax.mail.Session/type
 properties
   property
 namemail.smtp.host/name
 valuelocalhost/value
   /property
   property
 namemail.smtp.port/name
 value25/value
   /property
 /properties
   /resource

and in application.xml, you must keep the component declaration like it
iwas when you installed Continuum:

 component
   roleorg.codehaus.plexus.mailsender.MailSender/role
  
implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation

   configuration
 jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
   /configuration
 /component

Emmanuel

LAMY Olivier a écrit :
Yep. 


-Message d'origine-
De : Morgovsky, Alexander (US - Glen Mills)
[mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 10 août 2007 00:36

À : continuum-users@maven.apache.org
Objet : RE: Continuum Emails

Does this mean that I should put the whole component node into
plexus.xml?

component
  roleorg.codehaus.plexus.mailsender.MailSender/role
 
implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation

  configuration
jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
smtp-host/smtp-host
smtp-port/smtp-port
  /configuration
/component 


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 09, 2007 5:18 PM
To: continuum-users@maven.apache.org
Subject: Re: Continuum Emails

the jndi conf must be done in conf/plexus.xml

Morgovsky, Alexander (US - Glen Mills) a écrit :
I am using Continuum 1.1-alpha-2.  I have noticed that my Continuum 
instance is not sending out emails.  In the logs I found the error:


[pool-1-thread-1] ERROR
org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:
default  - Error while trying to use the mailnotifier.
org.codehaus.plexus.notification.NotificationException: Exception 
while sending message.

at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
dM
essage(MailContinuumNotifier.java:415)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.bui
ld
Complete(MailContinuumNotifier.java:319)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
dN
otification(MailContinuumNotifier.java:211)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
sp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:198)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
sp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:150)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
sp
atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)
at

Re: When builds are done in multi-module projects ?

2007-09-26 Thread Damien Lecan
 You probably have some generated files that aren't in .cvsignore (maybe 
 target)

Confirmed : nothing at all
shell
[EMAIL PROTECTED] 1] cvs status 21 | grep Status: | awk '{print $4}' | uniq
Up-to-date
/shell

 If you turn on the log level of org.apache.maven.scm to DEBUG
 (maybe org.apache.maven), you'll can see files in logs

There is nothing special to see with SCM in DEBUG logs.

I have just found this bug :
http://jira.codehaus.org/browse/CONTINUUM-1226

I have exactly the same use case, except that continuum builds almost
all the time my project, ie even if there is no modification at all.

My use case :

I have two build definitions in a group:

   1. run clean deploy every 4 hours (default)
   2. run clean deploy site-deploy every day at 2AM

The first one detects real updates from CVS, no problem with it.
But the second one sometimes detects unreal modifications.

More, I made a test with my build definitions :

  1. run clean deploy at 13:00:00
  2. run clean deploy site-deploy at 13:15:00

build #1 wrote for each sub-project :
...
Merging SCM results
The project was not built because no changes were detected in sources
since the last build.
No changes, not building
...

10 minutes later, no change in CVS, but build #2 wrote :
...
Merging SCM results
Changes found, building
Performing action update-project-from-working-directory
Updating project 'My Sub-Project3' from checkout.
...

I confirm : nothing was commited between the 2 executions

How is this possible ?
Something may be wrong when 2 build definitions for the same group are used ?

Damien


Re: [announce] Continuum 1.1-beta-3 is released

2007-09-26 Thread Cla Emanuel Monsch

hi there,

is it possible to use ldap without bindDN/password? (anonyous bind)

with the config bellow i got the following error:

configuration
   hostname/hostname
   port389/port
   baseDndc=netcetera,dc=ch/baseDn
   contextFactorycom.sun.jndi.ldap.LdapCtxFactory/contextFactory
   password/password
   bindDn/bindDn
/configuration

configuration
   email-attributedescription/email-attribute
   full-name-attributegecos/full-name-attribute
   password-attributeuserPassword/password-attribute
   user-id-attributeuid/user-id-attribute
   user-base-dndc=netcetera,dc=ch/user-base-dn
   user-object-classinetOrgPerson/user-object-class
/configuration


INFO   | jvm 1| 2007/09/26 14:23:26 | 2007-09-26 14:23:26,127 
[SocketListener0-1] WARN  ConfigurationFactory   - No 
configuration found. Configuring ehcache fr
om ehcache-failsafe.xml  found in the classpath: 
jar:file:/share/nca05/build/servers/arcturus/continuum-1.1-beta-3/apps/continuum/webapp/WEB-INF/lib/ehcache-1.2.4.jar!/ehc

ache-failsafe.xml
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,244 
[SocketListener0-1] INFO  LdapController:default - Searching for 
user: guest
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,245 
[SocketListener0-1] INFO  LdapController:default - Searching for 
users with filter: '((objectCla

ss=inetOrgPerson)(uid=guest))' from base dn: dc=netcetera,dc=ch
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,265 
[SocketListener0-1] ERROR DispatcherUtils- Could not 
find action
INFO   | jvm 1| 2007/09/26 14:23:30 | Caught Exception while 
registering Interceptor class redbackEnvironmentCheckInterceptor - 
Class: org.codehaus.plexus.redback.xwor

k.checks.security.GuestUserEnvironmentCheck
INFO   | jvm 1| 2007/09/26 14:23:30 | File: 
GuestUserEnvironmentCheck.java

INFO   | jvm 1| 2007/09/26 14:23:30 | Method: validateEnvironment
INFO   | jvm 1| 2007/09/26 14:23:30 | Line: 100 - 
org/codehaus/plexus/redback/xwork/checks/security/GuestUserEnvironmentCheck.java:100:-1
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(PlexusObjectFactory.java:152)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference(InterceptorBuilder.java:56)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference(XmlConfigurationProvider.jav

a:701)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack(XmlConfigurationProvider.java:568)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStacks(XmlConfigurationProvider.java:581

)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptors(XmlConfigurationProvider.java:602)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage(XmlConfigurationProvider.java:204)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:675

)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:678

)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:91)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:86)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:55)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.xwork.DefaultActionProxy.init(DefaultActionProxy.java:60)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.xwork.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:46)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.webwork.dispatcher.DispatcherUtils.serviceAction(DispatcherUtils.java:264)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.webwork.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:202)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:821)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 
com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at 

Re: When builds are done in multi-module projects ?

2007-09-26 Thread Emmanuel Venisse

What is the status of the previous build result for your build definition #2 ?

In application.xml, change the log level of org.apache.maven hierarchy to 
DEBUG

Emmanuel

Damien Lecan a écrit :

You probably have some generated files that aren't in .cvsignore (maybe target)


Confirmed : nothing at all
shell
[EMAIL PROTECTED] 1] cvs status 21 | grep Status: | awk '{print $4}' | uniq
Up-to-date
/shell


If you turn on the log level of org.apache.maven.scm to DEBUG
(maybe org.apache.maven), you'll can see files in logs


There is nothing special to see with SCM in DEBUG logs.

I have just found this bug :
http://jira.codehaus.org/browse/CONTINUUM-1226

I have exactly the same use case, except that continuum builds almost
all the time my project, ie even if there is no modification at all.

My use case :

I have two build definitions in a group:

   1. run clean deploy every 4 hours (default)
   2. run clean deploy site-deploy every day at 2AM

The first one detects real updates from CVS, no problem with it.
But the second one sometimes detects unreal modifications.

More, I made a test with my build definitions :

  1. run clean deploy at 13:00:00
  2. run clean deploy site-deploy at 13:15:00

build #1 wrote for each sub-project :
...
Merging SCM results
The project was not built because no changes were detected in sources
since the last build.
No changes, not building
...

10 minutes later, no change in CVS, but build #2 wrote :
...
Merging SCM results
Changes found, building
Performing action update-project-from-working-directory
Updating project 'My Sub-Project3' from checkout.
...

I confirm : nothing was commited between the 2 executions

How is this possible ?
Something may be wrong when 2 build definitions for the same group are used ?

Damien






Re: When builds are done in multi-module projects ?

2007-09-26 Thread Damien Lecan
 What is the status of the previous build result for your build definition #2 ?

Sucess

 In application.xml, change the log level of org.apache.maven hierarchy to 
 DEBUG

What do you want to see ?

I did not noticed that before, but SCM outputs that :

1038118 [pool-1-thread-1] DEBUG
org.apache.maven.scm.manager.ScmManager:default  - Executing CVS
command: update -d
1038530 [pool-1-thread-1] DEBUG
org.apache.maven.scm.manager.ScmManager:default  -
1038715 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:default  -
Merging SCM results
1038715 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:default  -
Changes found, building

Strange empty line after update

Damien


Re: When builds are done in multi-module projects ?

2007-09-26 Thread Emmanuel Venisse



Damien Lecan a écrit :

What is the status of the previous build result for your build definition #2 ?


Sucess


hmm.




In application.xml, change the log level of org.apache.maven hierarchy to 
DEBUG


What do you want to see ?


line you pasted below :) some debug lines.


I did not noticed that before, but SCM outputs that :

1038118 [pool-1-thread-1] DEBUG
org.apache.maven.scm.manager.ScmManager:default  - Executing CVS
command: update -d
1038530 [pool-1-thread-1] DEBUG
org.apache.maven.scm.manager.ScmManager:default  -
1038715 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:default  -
Merging SCM results
1038715 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:default  -
Changes found, building

Strange empty line after update


the cvs provider doesn't analyze lines with less than 3 characters.

when you run cvs with the continuum user, what is the output language? english, 
french...

Emmanuel




Some basic questions about the Starteam provider

2007-09-26 Thread robert . egan
I've been looking at the maven documentation and the source code for the 
starteam provider and have some quick questions.

1) StarteamAddCommand, StarteamRemoveCommand do not have a corresponding 
scm goal. I assume that they provide a kind of internal support for the 
SCM framework?

2) StarteamEditCommand, StarteamUneditCommand are implemented although the 
Matrix says they are not. Is the Matrix out of date, or is there some 
other reason for listing them as not implemented?

3) Does a provider ihave/i to use a command line framework, or was 
that just done for ease of implementation?


Thanks
Robert Egan


This email message and any attachments may contain confidential, 
proprietary or non-public information.  The information is intended solely 
for the designated recipient(s).  If an addressing or transmission error 
has misdirected this email, please notify the sender immediately and 
destroy this email.  Any review, dissemination, use or reliance upon this 
information by unintended recipients is prohibited.  Any opinions 
expressed in this email are those of the author personally.

Re: how to inherit scopeprovided/scope to transitive dependencies

2007-09-26 Thread Tim Kettler

Hi,

can it be, that the unwanted dependencies get pulled in as transitive 
depenendencies of some other depenendency than 'neethi', that has not 
scope 'provided'?


-Tim

aldana schrieb:

hi,

i am deploying an axis2 app to tomcat. i need some libraries for compile
time but do not need to package them because they are provided by
webapp-container. that's why i use scopeprovided/scope. in my case this
is for instance:

dependency
  groupIdorg.apache.ws.commons.neethi/groupId
  artifactIdneethi/artifactId
  version2.0/version
  optionaltrue/optional
  scopeprovided/scope
/dependency


neethi gets excluded in package-phase but very unfortunately the transitive
dependencies from neethi get included :( this is not what i want: when
marking a dependency as provided of course transitive dependencies should
not be included either for they are provided from container already...

what am i doing wrong? is there another way to achieve this or do i
misunderstand the use of scope-provided?

thanks.



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



Re: Retro-fitting existing project to use Maven

2007-09-26 Thread Tim Kettler

Hi,

James Depaul schrieb:


We have an existing project that we're trying to configure to use Maven
2.x.   The goal is to simply be able to compile and Test the project using
existing test cases.

I've configured the pom.xml for basic project configuration, but have run
into an issue already:  it turns out that our project is really composed of
several projects:

CodsCommon - contains common classes and artifacts
CodsWeb - contains web assets including MVC components
CodsWebTesting - contains all the test cases

The problem I'm facing is that in order to compile and run the test cases,
I need to first compile CodsCommon and CodsWeb and then CodsWebTesting - in
that order, into the common target/classes dir.   So, how do I setup those
dependencies in my pom.xml - a hint or a link would be appreciated.
Basically, I think I need to define each project independently and declare
them as dependencies to CodsWebTesting - is that how I need to do it?!


Yes, that's the maven way. You probably want to set up a multi-module 
build with your three pojects and declare dependencies between them.



Also, each project  above has a custom directory path (not like standard
Maven), though I'm hoping that I can use the sourceDirectory tag to point
it in each project.


That should work. However, if you really want to migrate to maven I 
strongly advise you to refactor the projects to follow the maven standards.



Your help and examples will be appreciated.


Additionally, the two free books on maven2 listed here [1] are a good 
starting point to get familiar with maven.



Thanks,
James


-Tim

[1] http://maven.apache.org/articles.html

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



Re: mojo inheritance

2007-09-26 Thread Rune Flobakk
I also find this quite interesting. I did some plugin development this 
spring, and I several times thought to myself this is already done in 
plugin-name. If I am doing this I am duplicating code. In particular 
I was making a plugin which should compile some intermediary AspectJ 
sources without the user needing to worry about it, so it would be nice 
to call the compile mojo of the aspectj-maven-plugin and inject 
necessary configuration to adapt it to my use instead of coding my own 
compile mojo which used the AspectJ API (and looked very much alike the 
source of aspectj-maven-plugin).


I think I remember I've read somewhere that plugins should not depend on 
other plugins though. I will remember your inherit-plugin the next time 
I do plugin development :)


-Rune


Brian E. Fox wrote:

This is interesting functionality that the dev team should be aware of.
I know it's frequently asked how to extend a plugin.

--Brian

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stuart
McCulloch
Sent: Tuesday, September 25, 2007 11:21 AM
To: Maven Users List
Subject: mojo inheritance

Hi,

I've developed a small plugin that lets you extend mojos from other
maven
plugins by merging the plugin metadata:


http://www.ops4j.org/projects/pax/construct/maven-inherit-plugin/index.h
tml

I've successfully used this to extend various core plugins - is anyone
interested in this approach (or is it a bad idea?)

  



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



Maven Resources Query

2007-09-26 Thread Kram

Hi guys, a simple on here. I do have another thread that was similar to this,
but it was getting off topic and cluttered.

Does anyone know how to copy many similar resources using the war plug-in,
like so:

if my dir structure is like this:

/webApp/admin/tiles/some JSP files
/webApp/other/tiles/some JSP files
/webApp/more/tiles/some JSP files
...
...
and so on for quite a lot of directories.

What I would like to do is to do something like this:

resource
directorywebApp/*/tiles/directory
targetPath*/tiles/targetPath
/resource

(i know that doesnt work)

but you get what im saying?? Im trying to put all the JSP's into the root
deployment directory, but still under their respective parent folders

so I would end up with this:

/admin/tiles/some JSP files
/other/tiles/some JSP files
/more/tiles/some JSP files

in the target directory

Can it be done? Or do I have to specify each, one by one?

Thanks heaps!!
-- 
View this message in context: 
http://www.nabble.com/Maven-Resources-Query-tf4520344s177.html#a12894891
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: Maven not compiling source under generated-sources

2007-09-26 Thread Andrew Strickland
Nick,
 
   Thanks for the response!
 
   I have looked at the axis2 maven plugin.  Unfortunately it would appear that 
either support stopped for the stand-alone plugin back in version 1.1.1 or I 
just don't know what repository it's being maintained in now because I can't 
find one for versions 1.2 or 1.3.  The only plugin I could find with later 
versions is the eclipse wizard plugin which is up to 1.3.
 
   I could not get the 1.1.1 version of the plugin working, it has 
non-transitive dependencies that aren't even mentioned in the documentation and 
it fails to parse the wsdl whereas the axis2 codegen ant task parses it just 
fine.
 
  The way I've resolved this for now is to continue to use my ant build with 
codegen ant task and to use the build-helper-maven-plugin to add my 
subdirectory of generated-sources to the maven build path. Like so:
 
   
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdbuild-helper-maven-plugin/artifactId
version1.0/version
executions
execution
idadd-source/id
phasegenerate-sources/phase
goals
goaladd-source/goal
/goals
configuration
sources
source
target/generated-sources/wsdl2code
/source
/sources
/configuration
/execution
/executions
/plugin
 

And this works just fine I guess...though it *would* be nice if I could just 
use the axis2  maven plugin.  Do you know of a version beyond 1.1.1 and if so, 
what maven repository it's in?

Thanks,

Andy



RE: Maven not compiling source under generated-sources

2007-09-26 Thread Andrew Strickland
Nick,
 
   Thanks for the response!
 
   I have looked at the axis2 maven plugin.  Unfortunately it would appear that 
either support stopped for the stand-alone plugin back in version 1.1.1 or I 
just don't know what repository it's being maintained in now because I can't 
find one for versions 1.2 or 1.3.  The only plugin I could find with later 
versions is the eclipse wizard plugin which is up to 1.3.
 
   I could not get the 1.1.1 version of the plugin working, it has 
non-transitive dependencies that aren't even mentioned in the documentation and 
it fails to parse the wsdl whereas the axis2 codegen ant task parses it just 
fine.
 
  The way I've resolved this for now is to continue to use my ant build with 
codegen ant task and to use the build-helper-maven-plugin to add my 
subdirectory of generated-sources to the maven build path. Like so:
 
   
plugin
groupIdorg.codehaus.mojo/groupId
artifactIdbuild-helper-maven-plugin/artifactId
version1.0/version
executions
execution
idadd-source/id
phasegenerate-sources/phase
goals
goaladd-source/goal
/goals
configuration
sources
source
target/generated-sources/wsdl2code
/source
/sources
/configuration
/execution
/executions
/plugin
 

And this works just fine I guess...though it *would* be nice if I could just 
use the axis2  maven plugin.  Do you know of a version beyond 1.1.1 and if so, 
what maven repository it's in?

Thanks,

Andy



Re: Maven not compiling source under generated-sources

2007-09-26 Thread Nick Stolwijk

Axis2 sometimes changes its groupid. The latest is found here:

http://repo1.maven.org/maven2/org/apache/axis2/axis2-wsdl2code-maven-plugin/1.3/

Give it a try.

Hth,

Nick Stolwijk

Andrew Strickland wrote:

Nick,
 
   Thanks for the response!
 
   I have looked at the axis2 maven plugin.  Unfortunately it would appear that either support stopped for the stand-alone plugin back in version 1.1.1 or I just don't know what repository it's being maintained in now because I can't find one for versions 1.2 or 1.3.  The only plugin I could find with later versions is the eclipse wizard plugin which is up to 1.3.
 
   I could not get the 1.1.1 version of the plugin working, it has non-transitive dependencies that aren't even mentioned in the documentation and it fails to parse the wsdl whereas the axis2 codegen ant task parses it just fine.
 
  The way I've resolved this for now is to continue to use my ant build with codegen ant task and to use the build-helper-maven-plugin to add my subdirectory of generated-sources to the maven build path. Like so:
 
   
plugin

groupIdorg.codehaus.mojo/groupId
artifactIdbuild-helper-maven-plugin/artifactId
version1.0/version
executions
execution
idadd-source/id
phasegenerate-sources/phase
goals
goaladd-source/goal
/goals
configuration
sources
source
target/generated-sources/wsdl2code
/source
/sources
/configuration
/execution
/executions
/plugin
 


And this works just fine I guess...though it *would* be nice if I could just 
use the axis2  maven plugin.  Do you know of a version beyond 1.1.1 and if so, 
what maven repository it's in?

Thanks,

Andy


  



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



Re: Continuum Emails

2007-09-26 Thread Emmanuel Venisse

Do you have a stacktrace or something in logs?

Do you use a local smtp server or a remote smtp server and is it required a 
known email address for the sender?

Emmanuel

Robert O a écrit :

Hi

I've tried to follow your explanation on how to configure the mailnotifier,
but I can't get it to work. Just keeps getting the errormessage:  Error
while trying to use the mailnotifier.

I thought the mailnotifier would work more or less out of the box when
installing Continuum? Do i need to install a 3rd party mail-server or
something?

I'm using the continuum-1.1-beta-2 locally on Windows XP. Continuum runs
with the bundled jetty server, and I thought that or the plexus thing (which
I don't know what is :) would provide me with some mail-functionality 


I haven't found much helpful documentation on the topic, just some hints on
the official Continuum website. Maybe someone knows some good resources?

Thanks

Robert



amorgovsky wrote:
Thank you for your help. 


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 10, 2007 2:50 AM

To: [EMAIL PROTECTED]
Subject: Re: Continuum Emails

No.

In conf/plexus.xml, you must have something like that:

 resources
   !--
Mail Session
   --
   resource
 namemail/Session/name
 typejavax.mail.Session/type
 properties
   property
 namemail.smtp.host/name
 valuelocalhost/value
   /property
   property
 namemail.smtp.port/name
 value25/value
   /property
 /properties
   /resource

and in application.xml, you must keep the component declaration like it
iwas when you installed Continuum:

 component
   roleorg.codehaus.plexus.mailsender.MailSender/role
  
implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation

   configuration
 jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
   /configuration
 /component

Emmanuel

LAMY Olivier a écrit :
Yep. 


-Message d'origine-
De : Morgovsky, Alexander (US - Glen Mills)
[mailto:[EMAIL PROTECTED] 
Envoyé : vendredi 10 août 2007 00:36

À : [EMAIL PROTECTED]
Objet : RE: Continuum Emails

Does this mean that I should put the whole component node into
plexus.xml?

component
  roleorg.codehaus.plexus.mailsender.MailSender/role
 
implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation

  configuration
jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
smtp-host/smtp-host
smtp-port/smtp-port
  /configuration
/component 


-Original Message-
From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 09, 2007 5:18 PM
To: [EMAIL PROTECTED]
Subject: Re: Continuum Emails

the jndi conf must be done in conf/plexus.xml

Morgovsky, Alexander (US - Glen Mills) a écrit :
I am using Continuum 1.1-alpha-2.  I have noticed that my Continuum 
instance is not sending out emails.  In the logs I found the error:


[pool-1-thread-1] ERROR
org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:
default  - Error while trying to use the mailnotifier.
org.codehaus.plexus.notification.NotificationException: Exception 
while sending message.

at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
dM
essage(MailContinuumNotifier.java:415)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.bui
ld
Complete(MailContinuumNotifier.java:319)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
dN
otification(MailContinuumNotifier.java:211)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
sp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:198)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
sp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:150)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
sp
atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.endB
ui
ld(DefaultBuildController.java:219)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.buil
d(
DefaultBuildController.java:173)
at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.ex
ec
uteTask(BuildProjectTaskExecutor.java:50)
at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Exec
ut
orRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapt
er
.call(Executors.java:442)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTa
sk
.java:176)
at

Re: 1.0 Beta2

2007-09-26 Thread Julien Graglia
Joakim Erdfelt a écrit :
 Julien Graglia wrote:
 Hi,

 I'm quite sure my poms are ok but here is was I got when i use Show
 Reports from archiva web app, for  my managed repo :

  [top] / com / netceler / iv /  com.netceler.iv.core / 0.2
  
 Project Model groupId = 'com.netceler.iv' artifactId =
 'com.netceler.iv.spring' version = '0.2' artifactId:
 com.netceler.iv.spring does not match the pom file's artifactId:
 com.netceler.iv.core
  
 [top] / com / netceler / iv / com.netceler.iv.log / 0.2
  
 Project Model groupId = 'com.netceler.iv' artifactId =
 'com.netceler.iv.spring' version = '0.2' artifactId:
 com.netceler.iv.spring does not match the pom file's artifactId:
 com.netceler.iv.log
  
 [top] / com / netceler / iv / com.netceler.iv.log.log4j / 0.2
  
 Project Model groupId = 'com.netceler.iv' artifactId =
 'com.netceler.iv.spring' version = '0.2' artifactId:
 com.netceler.iv.spring does not match the pom file's artifactId:
 com.netceler.iv.log.log4j
  
 [top] / com / netceler / iv / com.netceler.iv.boot / 0.2
  
 Project Model groupId = 'com.netceler.iv' artifactId =
 'com.netceler.iv.spring' version = '0.2' artifactId:
 com.netceler.iv.spring does not match the pom file's artifactId:
 com.netceler.iv.boot
  
 [top] / com / netceler / iv / com.netceler.iv.jetty / 0.2
  
 Project Model groupId = 'com.netceler.iv' artifactId =
 'com.netceler.iv.spring' version = '0.2' artifactId:
 com.netceler.iv.spring does not match the pom file's artifactId:
 com.netceler.iv.jetty

 All my artifacts have pbs: execpt the com.netceler.iv.spring which seems
 to be the faulty one

 I have a pom name com.netceler.iv, it's the parent of 6 others
 artifacts, and it declares thems as modules :
 com.netceler.iv.core
 com.netceler.iv.log
 com.netceler.iv.log.log4j
 com.netceler.iv.spring
 com.netceler.iv.jetty
 com.netceler.iv.boot

 I have double check com.netceler.iv.spring's pom but did not find any
 errors..
 I already have cleared archiva (db and repo), re-deploy all my
 artifacts, but error remains..

 What is wrong?
   

 The use of dot notation artifactIds is unique.  But there is nothing
 wrong with that.
 I just added a few test cases and updated the error message to be more
 meaningful.

 See http://urltea.com/1kyi  and  http://urltea.com/1kyj

great thx!

Note: I think you invert the two methods names :
testGoodDotNotationArtifactId  testGoodDotNotationSameGroupIdAndArtifactId

-- 
Julien Graglia




[announce] Continuum 1.1-beta-3 is released

2007-09-26 Thread Emmanuel Venisse

The Continuum team is pleased to announce the Continuum 1.1-beta-3 release

Highlights are:

  * lot of bug fixes
  * xwork/webwork update to fix remote code exploit in forms
  * mail notification to latest committers
  * LDAP authentication
  * performance improvement

You can grab the latest release from:

http://maven.apache.org/continuum/download.html

To upgrade from 1.1-beta-2, you can look at this guide: 
http://maven.apache.org/continuum/guides/mini/guide-data-management.html

Below is the jira release notes for this release.

Release Notes - Continuum - Version 1.1-beta-3 :

Sub-task

* [CONTINUUM-1441] - Keep connection on irc server between each messages

Bug

* [CONTINUUM-697] - sizes incompatible with mssql (Patch Attached)
* [CONTINUUM-1037] - Ant projects inherit a default build definition for 
Maven 2.
* [CONTINUUM-1038] - Build definitions should list what type they are (ant, 
maven, maven2, shell)
* [CONTINUUM-1041] - two defaults on the build definition page
* [CONTINUUM-1181] - Continuum aborts when running Postgres under JBoss
* [CONTINUUM-1296] - Continuum 1.1-alpha-1 does not copy Maven2 project 
pom.xml's /project/build/defaultGoal/text() value to Build Definition Goals 
field.
* [CONTINUUM-1306] - templated roles are not added automatically if missing 
after upgrade
* [CONTINUUM-1325] - Surefire Report history is not kept for prior builds
* [CONTINUUM-1348] - jut of memory in build result
* [CONTINUUM-1367] - granting group admin rights for a single project 
doesn't seem to work
* [CONTINUUM-1384] - Build error when enqueing happens during SCM update
* [CONTINUUM-1391] - Missing Download as text  link
* [CONTINUUM-1393] - change sets are duplicated on multiple failed builds
* [CONTINUUM-1395] - check the permissions on the add project action for 
ant projects
* [CONTINUUM-1404] - M2 Multi module projects still build non-recursively
* [CONTINUUM-1411] - Link to display build surefire report doesn't work (in 
fact displaying surefire report per build is false)
* [CONTINUUM-1412] - File Inclusion Vulnerability
* [CONTINUUM-1415] - Javascript errors with IE
* [CONTINUUM-1417] - continuum group administrator role should imply user + 
developer too
* [CONTINUUM-1418] - Groups Roles aren't added automatically at startup in 
the available roles list if the users list was deleted
* [CONTINUUM-1420] - Build Fresh and Profile columns are missed in group 
build definitions page for specific project build definitions
* [CONTINUUM-1423] - Default project group is missing from the list
* [CONTINUUM-1428] - Continuum must rebuild automatically a project that 
was in error in the previous build even if it haven't changesin the current 
update
* [CONTINUUM-1429] - Initial checkout does not respect 'Use cached scm 
credentials' setting
* [CONTINUUM-1435] - Release prepare not working
* [CONTINUUM-1439] - Group Summary page display error
* [CONTINUUM-1445] - Impossible to add two projects with the same name even 
if they have differents version and/or scmUrl
* [CONTINUUM-1448] - upgrade to last webwork/xwork

Improvement

* [CONTINUUM-406] - irc notifications: support for registered nicks
* [CONTINUUM-522] - IRC support needed for IRC servers not supporting 
/privmsg
* [CONTINUUM-1093] - After validation, logged in user is shown the login 
page
* [CONTINUUM-1218] - Automatically determine correct POM file location in 
Build Definition when checking out from SCMs like ClearCase
* [CONTINUUM-1278] - Need to add description and/or name to build defintion
* [CONTINUUM-1279] - Need to add Build Information to the build result 
reports and notification.
* [CONTINUUM-1333] - show in project group summary per project also the 
status counters (as they are shown on the project groups pages)
* [CONTINUUM-1366] - surefire report shown is always latest, even with a 
different build number
* [CONTINUUM-1394] - continuum should not record change sets when it is a 
new checkout
* [CONTINUUM-1396] - Continuum should have a separate permission to 
administer schedules
* [CONTINUUM-1409] - A build does not say which build definition it came 
from
* [CONTINUUM-1422] - The icon for 'Cancel Build' is missing from the legend
* [CONTINUUM-1424] - Ability to Cancel Build for a subset of a project group
* [CONTINUUM-1425] - URL in Company Pom should open in a new Window
* [CONTINUUM-1427] - Ability to choose the build definition for 'Build all 
projects' and 'Build Project(s)'
* [CONTINUUM-1430] - Split forms for environment variables and 
Ant/Maven/JDK installations
* [CONTINUUM-1440] - write documentation how to use 
continuum-data-management
* [CONTINUUM-1443] - Add an 'Always build' checkbox in 'build definition'
* [CONTINUUM-1444] - IRC and Jabber notifiers accept invalid ports.
* [CONTINUUM-1446] - Webwork Performance Tuning
 

Re: maven-jar-plugin - manifest customization

2007-09-26 Thread Guillaume Boucherie
Thanks for you reply.


2007/9/25, Wayne Fay [EMAIL PROTECTED]:

 The other approach of course is to change your JAVA_HOME and use the
 jdk4 compiler to run your Java process. Then everything will match up
 and you won't need any extra configuration.

 Wayne

 On 9/25/07, Tim Kettler [EMAIL PROTECTED] wrote:
  Hi,
 
  this is because the compilation of the sources (compiler-plugin) and the
  packaging (jar-plugin) is done in two steps.  Even if you fork the
  compiler, the jar-plugin execution isn't forked and thus runs under the
  java version you invoked maven with.
 
  You can override the maven generated entry like this:
 
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-jar-plugin/artifactId
   configuration
 archive
   manifestEntries
 Build-Jdk1.4.2/Build-Jdk
   /manifestEntries
 /archive
   /configuration
 /plugin
 
  -Tim
 
  Guillaume Boucherie schrieb:
   My problem is not on jdk version.
   I just want to test maven.
   And when you use the fork mode in compiler the jdk's manifest entry is
 not
   correct.
   So I want to know how to get the correct value in manifest.
   Thanks
  
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 

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




-- 
CletteBou
clettebou.miniville.fr


maven-surefire-plugin

2007-09-26 Thread Guillaume Boucherie
Hi,

In the maven1 test plugin it's possible to add jar's in the classpath with
the properties maven.test.classpath
Does maven2 surefire plugin provide a way do to the same ?
Thanks

-- 
CletteBou
clettebou.miniville.fr


Re: Continuum under Tomcat CVS

2007-09-26 Thread Emmanuel Venisse

Do you have more informations about the SCM error in your build result?

Emmanuel

Antonín Faltýnek a écrit :

Dne středa 26. září 2007 Emmanuel Venisse napsal(a):

For cvs (and continnum and maven) a user home is required because cvs store
authentication in ${user.home}/.cvspass maven required it too to store the
local repository and settings.xml

Emmanuel

Antonín Faltýnek a écrit :

Hi all,

I have problem with Continuum 1.1 beta2, which I'm running on Linux box
under Tomcat 5.5. Continuum is not able to perform CVS update command,
when I use command from log file and run it as any other user it works
fine for me.

Tomcat is running under user tomcat, which has no home directory
(/dev/null).

Has anybody met (and happily solved :)) this issue?

Thanks

Tonda


So I've created user home for tomcat, I haven't mentioned that for connection 
I'm using ssh with rsa key, from command line it works fine, tomcat is really 
running under tomcat user, but continuum still fails.


(continuum is updating, because co was performed by hand)

 log snipped 

38787 [http-8080-Processor25] DEBUG 
org.apache.catalina.core.ApplicationDispatcher  -  Path Based Include
38727 [pool-1-thread-1] INFO  
org.apache.maven.continuum.scm.ContinuumScm:default  - Updating project: 
id: '1', name 'TIF Utils'.
38980 [pool-1-thread-1] INFO  
org.apache.maven.scm.manager.ScmManager:default  - 
Executing: /bin/bash -c cd /var/lib/tomcat-5.5/webapps/continuum

/WEB-INF/working-directory/1  cvs -z3 -f -q update -d
38980 [pool-1-thread-1] INFO  
org.apache.maven.scm.manager.ScmManager:default  - Working 
directory: /var/lib/tomcat-5.5/webapps/continuum/WEB-INF/

working-directory/1
39155 [http-8080-Processor25] DEBUG 
org.apache.catalina.core.ApplicationDispatcher  - 
servletPath=/WEB-INF/jsp/components/companyLogo.jsp, pathInf

o=null, queryString=null, name=null
39155 [http-8080-Processor25] DEBUG 
org.apache.catalina.core.ApplicationDispatcher  -  Path Based Include
40079 [pool-1-thread-1] WARN  
org.apache.maven.continuum.scm.ContinuumScm:default  - Error while updating 
the code for project: 'TIF Utils', id: '

1' to '/var/lib/tomcat-5.5/webapps/continuum/WEB-INF/working-directory/1'.
40080 [pool-1-thread-1] WARN  
org.apache.maven.continuum.scm.ContinuumScm:default  - Command output:
40080 [pool-1-thread-1] WARN  
org.apache.maven.continuum.scm.ContinuumScm:default  - Provider message: The 
cvs command failed.
40123 [pool-1-thread-1] INFO  
org.apache.maven.continuum.buildcontroller.BuildController:default  - Merging 
SCM results
40622 [pool-1-thread-1] INFO  
org.apache.maven.continuum.buildcontroller.BuildController:default  - Error 
updating from SCM, not building







Re: Continuum Emails

2007-09-26 Thread Robert O

Alright, I see!
Thanks for your help :)

Robert



Emmanuel Venisse wrote:
 
 You can use your ISP smtp server ;) like for all your mails
 
 Emmanuel
 
 Robert O a écrit :
 Hi!
 
 Right now I'm at my job and don't have the stacktrace, but from what I
 can
 remember it's the same as posted in the first post of this thread (I will
 anyway post it later today). 
 
 I have not setup any smtp server, because I thought maybe it came along
 with
 continuum (as a part/component of plexus or something)?
 
 But if I understand you correctly what you are saying is that I need a
 local
 smtp-server that I configure Continuum to use, a 3rd party service? (If
 that
 is the case, do you know any good smtp server i should use?)
 
 Robert
 
 
 
 
 
 Emmanuel Venisse wrote:
 Do you have a stacktrace or something in logs?

 Do you use a local smtp server or a remote smtp server and is it
 required
 a known email address for the sender?

 Emmanuel

 Robert O a écrit :
 Hi

 I've tried to follow your explanation on how to configure the
 mailnotifier,
 but I can't get it to work. Just keeps getting the errormessage:  Error
 while trying to use the mailnotifier.

 I thought the mailnotifier would work more or less out of the box when
 installing Continuum? Do i need to install a 3rd party mail-server or
 something?

 I'm using the continuum-1.1-beta-2 locally on Windows XP. Continuum
 runs
 with the bundled jetty server, and I thought that or the plexus thing
 (which
 I don't know what is :) would provide me with some mail-functionality 

 I haven't found much helpful documentation on the topic, just some
 hints
 on
 the official Continuum website. Maybe someone knows some good
 resources?

 Thanks

 Robert



 amorgovsky wrote:
 Thank you for your help. 

 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
 Sent: Friday, August 10, 2007 2:50 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Continuum Emails

 No.

 In conf/plexus.xml, you must have something like that:

  resources
!--
 Mail Session
--
resource
  namemail/Session/name
  typejavax.mail.Session/type
  properties
property
  namemail.smtp.host/name
  valuelocalhost/value
/property
property
  namemail.smtp.port/name
  value25/value
/property
  /properties
/resource

 and in application.xml, you must keep the component declaration like
 it
 iwas when you installed Continuum:

  component
roleorg.codehaus.plexus.mailsender.MailSender/role
   
 implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation
configuration
  jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
/configuration
  /component

 Emmanuel

 LAMY Olivier a écrit :
 Yep. 

 -Message d'origine-
 De : Morgovsky, Alexander (US - Glen Mills)
 [mailto:[EMAIL PROTECTED] 
 Envoyé : vendredi 10 août 2007 00:36
 À : [EMAIL PROTECTED]
 Objet : RE: Continuum Emails

 Does this mean that I should put the whole component node into
 plexus.xml?

 component
   roleorg.codehaus.plexus.mailsender.MailSender/role
  
 implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation
   configuration
 jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
  smtp-host/smtp-host
 smtp-port/smtp-port
   /configuration
 /component 

 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 09, 2007 5:18 PM
 To: [EMAIL PROTECTED]
 Subject: Re: Continuum Emails

 the jndi conf must be done in conf/plexus.xml

 Morgovsky, Alexander (US - Glen Mills) a écrit :
 I am using Continuum 1.1-alpha-2.  I have noticed that my Continuum 
 instance is not sending out emails.  In the logs I found the error:

 [pool-1-thread-1] ERROR
 org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:
 default  - Error while trying to use the mailnotifier.
 org.codehaus.plexus.notification.NotificationException: Exception 
 while sending message.
 at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
 dM
 essage(MailContinuumNotifier.java:415)
 at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.bui
 ld
 Complete(MailContinuumNotifier.java:319)
 at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
 dN
 otification(MailContinuumNotifier.java:211)
 at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:198)
 at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:150)
 at
 

Re: maven-surefire-plugin

2007-09-26 Thread Nick Stolwijk
Just add a dependency with scope test and it will be added to your 
test classpath.


Hth,

Nick Stolwijk

Guillaume Boucherie wrote:

Hi,

In the maven1 test plugin it's possible to add jar's in the classpath with
the properties maven.test.classpath
Does maven2 surefire plugin provide a way do to the same ?
Thanks

  



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



Re: maven-surefire-plugin

2007-09-26 Thread Tim Kettler

Hi,

you want scopetest/scope dependencies. From [1]:

test - this scope indicates that the dependency is not required for
normal use of the application, and is only available for the test
compilation and execution phases.

-Tim

[1] 
http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html


Guillaume Boucherie schrieb:

Hi,

In the maven1 test plugin it's possible to add jar's in the classpath with
the properties maven.test.classpath
Does maven2 surefire plugin provide a way do to the same ?
Thanks




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



RE: Maven Resources Query

2007-09-26 Thread Syed Shabir
I did get something like this working, so it copies stuff into the
appropriate directory in the war
...
configuration
webResources
 resource
directory${basedir}\web/directory
includes
include*.html/include
include**/*.html/include
include**/*.gif/include
include**/*.js/include
include**/*.css/include
include**/*.jsp/include
/includes 
targetPathsome dir/targetPath
 /resource
 resource
..
 /resource
/webResources
   /configuration

Hope that helps
. 
-Original Message-
From: Kram [mailto:[EMAIL PROTECTED] 
Sent: 26 September 2007 07:39
To: users@maven.apache.org
Subject: Maven Resources Query


Hi guys, a simple on here. I do have another thread that was similar to
this,
but it was getting off topic and cluttered.

Does anyone know how to copy many similar resources using the war
plug-in,
like so:

if my dir structure is like this:

/webApp/admin/tiles/some JSP files
/webApp/other/tiles/some JSP files
/webApp/more/tiles/some JSP files
...
...
and so on for quite a lot of directories.

What I would like to do is to do something like this:

resource
directorywebApp/*/tiles/directory
targetPath*/tiles/targetPath
/resource

(i know that doesnt work)

but you get what im saying?? Im trying to put all the JSP's into the
root
deployment directory, but still under their respective parent folders

so I would end up with this:

/admin/tiles/some JSP files
/other/tiles/some JSP files
/more/tiles/some JSP files

in the target directory

Can it be done? Or do I have to specify each, one by one?

Thanks heaps!!
-- 

Sent from the Maven - Users mailing list archive at Nabble.com.


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


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



Re: Maven Resources Query

2007-09-26 Thread Tim Kettler

This should work:

resource
  directorywebapp/directory
  excludes
exclude*/exclude
  /excludes
  includes
include*/tiles/**/include
  /includes
/resource

-Tim

Kram schrieb:

Hi guys, a simple on here. I do have another thread that was similar to this,
but it was getting off topic and cluttered.

Does anyone know how to copy many similar resources using the war plug-in,
like so:

if my dir structure is like this:

/webApp/admin/tiles/some JSP files
/webApp/other/tiles/some JSP files
/webApp/more/tiles/some JSP files
...
...
and so on for quite a lot of directories.

What I would like to do is to do something like this:

resource
directorywebApp/*/tiles/directory
targetPath*/tiles/targetPath
/resource

(i know that doesnt work)

but you get what im saying?? Im trying to put all the JSP's into the root
deployment directory, but still under their respective parent folders

so I would end up with this:

/admin/tiles/some JSP files
/other/tiles/some JSP files
/more/tiles/some JSP files

in the target directory

Can it be done? Or do I have to specify each, one by one?

Thanks heaps!!



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



Re: maven-surefire-plugin

2007-09-26 Thread Guillaume Boucherie
Oh I'm sorry I'm not clear.
In my project I have a functionality that search xml files with the same
name in the classpath and merge it before read it.
And to test it I must have jars that just contains xml file, I don't want to
create a maven project just for this type of jar.

-- 
CletteBou
clettebou.miniville.fr


2007/9/26, Tim Kettler [EMAIL PROTECTED]:

 Hi,

 you want scopetest/scope dependencies. From [1]:

 test - this scope indicates that the dependency is not required for
 normal use of the application, and is only available for the test
 compilation and execution phases.

 -Tim

 [1]

 http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html

 Guillaume Boucherie schrieb:
  Hi,
 
  In the maven1 test plugin it's possible to add jar's in the classpath
 with
  the properties maven.test.classpath
  Does maven2 surefire plugin provide a way do to the same ?
  Thanks
 


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




assembly doesn't honor dependencyManagement

2007-09-26 Thread nicolas de loof
Hello,

My pom has a dependencyManagement set to configurre
commons-collection dependency to version 3.2.

My eclipse classpath has the expected Jar, my build works fine.

When I use assembly to create a jar-with-dependencies I get
commons-collections-2.0 unpacked.

I have 2 dependencies that both dependend on commons-collections with
conflicting version. dependencyManagement is expected to solve this,
but doesn't look to be used by assembly plugin.

Is this a known bug ???

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



Re: [announce] Continuum 1.1-beta-3 is released

2007-09-26 Thread Cla Emanuel Monsch

hi there,

looks nice. especially the working copy browsing catched my eye at a 
first view. :-)


does anybody know, where this file 
(http://svn.codehaus.org/plexus/plexus-redback/trunk/redback-site/src/site/apt/integration/ldap.apt) 
has moved to?


cheers
cla



Emmanuel Venisse wrote:

The Continuum team is pleased to announce the Continuum 1.1-beta-3 release

Highlights are:

  * lot of bug fixes
  * xwork/webwork update to fix remote code exploit in forms
  * mail notification to latest committers
  * LDAP authentication
  * performance improvement

You can grab the latest release from:

http://maven.apache.org/continuum/download.html

To upgrade from 1.1-beta-2, you can look at this guide: 
http://maven.apache.org/continuum/guides/mini/guide-data-management.html


Below is the jira release notes for this release.

Release Notes - Continuum - Version 1.1-beta-3 :

Sub-task

* [CONTINUUM-1441] - Keep connection on irc server between each 
messages


Bug

* [CONTINUUM-697] - sizes incompatible with mssql (Patch Attached)
* [CONTINUUM-1037] - Ant projects inherit a default build definition 
for Maven 2.
* [CONTINUUM-1038] - Build definitions should list what type they 
are (ant, maven, maven2, shell)

* [CONTINUUM-1041] - two defaults on the build definition page
* [CONTINUUM-1181] - Continuum aborts when running Postgres under JBoss
* [CONTINUUM-1296] - Continuum 1.1-alpha-1 does not copy Maven2 
project pom.xml's /project/build/defaultGoal/text() value to Build 
Definition Goals field.
* [CONTINUUM-1306] - templated roles are not added automatically if 
missing after upgrade
* [CONTINUUM-1325] - Surefire Report history is not kept for prior 
builds

* [CONTINUUM-1348] - jut of memory in build result
* [CONTINUUM-1367] - granting group admin rights for a single 
project doesn't seem to work
* [CONTINUUM-1384] - Build error when enqueing happens during SCM 
update

* [CONTINUUM-1391] - Missing Download as text  link
* [CONTINUUM-1393] - change sets are duplicated on multiple failed 
builds
* [CONTINUUM-1395] - check the permissions on the add project action 
for ant projects
* [CONTINUUM-1404] - M2 Multi module projects still build 
non-recursively
* [CONTINUUM-1411] - Link to display build surefire report doesn't 
work (in fact displaying surefire report per build is false)

* [CONTINUUM-1412] - File Inclusion Vulnerability
* [CONTINUUM-1415] - Javascript errors with IE
* [CONTINUUM-1417] - continuum group administrator role should imply 
user + developer too
* [CONTINUUM-1418] - Groups Roles aren't added automatically at 
startup in the available roles list if the users list was deleted
* [CONTINUUM-1420] - Build Fresh and Profile columns are missed in 
group build definitions page for specific project build definitions

* [CONTINUUM-1423] - Default project group is missing from the list
* [CONTINUUM-1428] - Continuum must rebuild automatically a project 
that was in error in the previous build even if it haven't changesin the 
current update
* [CONTINUUM-1429] - Initial checkout does not respect 'Use cached 
scm credentials' setting

* [CONTINUUM-1435] - Release prepare not working
* [CONTINUUM-1439] - Group Summary page display error
* [CONTINUUM-1445] - Impossible to add two projects with the same 
name even if they have differents version and/or scmUrl

* [CONTINUUM-1448] - upgrade to last webwork/xwork

Improvement

* [CONTINUUM-406] - irc notifications: support for registered nicks
* [CONTINUUM-522] - IRC support needed for IRC servers not 
supporting /privmsg
* [CONTINUUM-1093] - After validation, logged in user is shown the 
login page
* [CONTINUUM-1218] - Automatically determine correct POM file 
location in Build Definition when checking out from SCMs like ClearCase
* [CONTINUUM-1278] - Need to add description and/or name to build 
defintion
* [CONTINUUM-1279] - Need to add Build Information to the build 
result reports and notification.
* [CONTINUUM-1333] - show in project group summary per project also 
the status counters (as they are shown on the project groups pages)
* [CONTINUUM-1366] - surefire report shown is always latest, even 
with a different build number
* [CONTINUUM-1394] - continuum should not record change sets when it 
is a new checkout
* [CONTINUUM-1396] - Continuum should have a separate permission to 
administer schedules
* [CONTINUUM-1409] - A build does not say which build definition it 
came from
* [CONTINUUM-1422] - The icon for 'Cancel Build' is missing from the 
legend
* [CONTINUUM-1424] - Ability to Cancel Build for a subset of a 
project group

* [CONTINUUM-1425] - URL in Company Pom should open in a new Window
* [CONTINUUM-1427] - Ability to choose the build definition for 
'Build all projects' and 'Build Project(s)'
* [CONTINUUM-1430] - Split forms for environment variables and 

Re: [announce] Continuum 1.1-beta-3 is released

2007-09-26 Thread olivier lamy
Hi,
http://svn.codehaus.org/redback/redback/trunk/redback-site/src/site/apt/integration/ldap.apt

--
Olivier

2007/9/26, Cla Emanuel Monsch [EMAIL PROTECTED]:

 hi there,

 looks nice. especially the working copy browsing catched my eye at a
 first view. :-)

 does anybody know, where this file
 (
 http://svn.codehaus.org/plexus/plexus-redback/trunk/redback-site/src/site/apt/integration/ldap.apt
 )
 has moved to?

 cheers
 cla



 Emmanuel Venisse wrote:
  The Continuum team is pleased to announce the Continuum 1.1-beta-3release
 
  Highlights are:
 
* lot of bug fixes
* xwork/webwork update to fix remote code exploit in forms
* mail notification to latest committers
* LDAP authentication
* performance improvement
 
  You can grab the latest release from:
 
  http://maven.apache.org/continuum/download.html
 
  To upgrade from 1.1-beta-2, you can look at this guide:
  http://maven.apache.org/continuum/guides/mini/guide-data-management.html
 
  Below is the jira release notes for this release.
 
  Release Notes - Continuum - Version 1.1-beta-3 :
 
  Sub-task
 
  * [CONTINUUM-1441] - Keep connection on irc server between each
  messages
 
  Bug
 
  * [CONTINUUM-697] - sizes incompatible with mssql (Patch Attached)
  * [CONTINUUM-1037] - Ant projects inherit a default build definition
  for Maven 2.
  * [CONTINUUM-1038] - Build definitions should list what type they
  are (ant, maven, maven2, shell)
  * [CONTINUUM-1041] - two defaults on the build definition page
  * [CONTINUUM-1181] - Continuum aborts when running Postgres under
 JBoss
  * [CONTINUUM-1296] - Continuum 1.1-alpha-1 does not copy Maven2
  project pom.xml's /project/build/defaultGoal/text() value to Build
  Definition Goals field.
  * [CONTINUUM-1306] - templated roles are not added automatically if
  missing after upgrade
  * [CONTINUUM-1325] - Surefire Report history is not kept for prior
  builds
  * [CONTINUUM-1348] - jut of memory in build result
  * [CONTINUUM-1367] - granting group admin rights for a single
  project doesn't seem to work
  * [CONTINUUM-1384] - Build error when enqueing happens during SCM
  update
  * [CONTINUUM-1391] - Missing Download as text  link
  * [CONTINUUM-1393] - change sets are duplicated on multiple failed
  builds
  * [CONTINUUM-1395] - check the permissions on the add project action
  for ant projects
  * [CONTINUUM-1404] - M2 Multi module projects still build
  non-recursively
  * [CONTINUUM-1411] - Link to display build surefire report doesn't
  work (in fact displaying surefire report per build is false)
  * [CONTINUUM-1412] - File Inclusion Vulnerability
  * [CONTINUUM-1415] - Javascript errors with IE
  * [CONTINUUM-1417] - continuum group administrator role should imply
  user + developer too
  * [CONTINUUM-1418] - Groups Roles aren't added automatically at
  startup in the available roles list if the users list was deleted
  * [CONTINUUM-1420] - Build Fresh and Profile columns are missed in
  group build definitions page for specific project build definitions
  * [CONTINUUM-1423] - Default project group is missing from the list
  * [CONTINUUM-1428] - Continuum must rebuild automatically a project
  that was in error in the previous build even if it haven't changesin the
  current update
  * [CONTINUUM-1429] - Initial checkout does not respect 'Use cached
  scm credentials' setting
  * [CONTINUUM-1435] - Release prepare not working
  * [CONTINUUM-1439] - Group Summary page display error
  * [CONTINUUM-1445] - Impossible to add two projects with the same
  name even if they have differents version and/or scmUrl
  * [CONTINUUM-1448] - upgrade to last webwork/xwork
 
  Improvement
 
  * [CONTINUUM-406] - irc notifications: support for registered nicks
  * [CONTINUUM-522] - IRC support needed for IRC servers not
  supporting /privmsg
  * [CONTINUUM-1093] - After validation, logged in user is shown the
  login page
  * [CONTINUUM-1218] - Automatically determine correct POM file
  location in Build Definition when checking out from SCMs like ClearCase
  * [CONTINUUM-1278] - Need to add description and/or name to build
  defintion
  * [CONTINUUM-1279] - Need to add Build Information to the build
  result reports and notification.
  * [CONTINUUM-1333] - show in project group summary per project also
  the status counters (as they are shown on the project groups pages)
  * [CONTINUUM-1366] - surefire report shown is always latest, even
  with a different build number
  * [CONTINUUM-1394] - continuum should not record change sets when it
  is a new checkout
  * [CONTINUUM-1396] - Continuum should have a separate permission to
  administer schedules
  * [CONTINUUM-1409] - A build does not say which build definition it
  came from
  * [CONTINUUM-1422] - The icon for 'Cancel Build' is missing from the
  legend
  * [CONTINUUM-1424] 

Re: [announce] Continuum 1.1-beta-3 is released

2007-09-26 Thread Emmanuel Venisse

Better with html: http://redback.codehaus.org/integration/ldap.html

Emmanuel

olivier lamy a écrit :

Hi,
http://svn.codehaus.org/redback/redback/trunk/redback-site/src/site/apt/integration/ldap.apt

--
Olivier

2007/9/26, Cla Emanuel Monsch [EMAIL PROTECTED]:

hi there,

looks nice. especially the working copy browsing catched my eye at a
first view. :-)

does anybody know, where this file
(
http://svn.codehaus.org/plexus/plexus-redback/trunk/redback-site/src/site/apt/integration/ldap.apt
)
has moved to?

cheers
cla



Emmanuel Venisse wrote:

The Continuum team is pleased to announce the Continuum 1.1-beta-3release

Highlights are:

  * lot of bug fixes
  * xwork/webwork update to fix remote code exploit in forms
  * mail notification to latest committers
  * LDAP authentication
  * performance improvement

You can grab the latest release from:

http://maven.apache.org/continuum/download.html

To upgrade from 1.1-beta-2, you can look at this guide:
http://maven.apache.org/continuum/guides/mini/guide-data-management.html

Below is the jira release notes for this release.

Release Notes - Continuum - Version 1.1-beta-3 :

Sub-task

* [CONTINUUM-1441] - Keep connection on irc server between each
messages

Bug

* [CONTINUUM-697] - sizes incompatible with mssql (Patch Attached)
* [CONTINUUM-1037] - Ant projects inherit a default build definition
for Maven 2.
* [CONTINUUM-1038] - Build definitions should list what type they
are (ant, maven, maven2, shell)
* [CONTINUUM-1041] - two defaults on the build definition page
* [CONTINUUM-1181] - Continuum aborts when running Postgres under

JBoss

* [CONTINUUM-1296] - Continuum 1.1-alpha-1 does not copy Maven2
project pom.xml's /project/build/defaultGoal/text() value to Build
Definition Goals field.
* [CONTINUUM-1306] - templated roles are not added automatically if
missing after upgrade
* [CONTINUUM-1325] - Surefire Report history is not kept for prior
builds
* [CONTINUUM-1348] - jut of memory in build result
* [CONTINUUM-1367] - granting group admin rights for a single
project doesn't seem to work
* [CONTINUUM-1384] - Build error when enqueing happens during SCM
update
* [CONTINUUM-1391] - Missing Download as text  link
* [CONTINUUM-1393] - change sets are duplicated on multiple failed
builds
* [CONTINUUM-1395] - check the permissions on the add project action
for ant projects
* [CONTINUUM-1404] - M2 Multi module projects still build
non-recursively
* [CONTINUUM-1411] - Link to display build surefire report doesn't
work (in fact displaying surefire report per build is false)
* [CONTINUUM-1412] - File Inclusion Vulnerability
* [CONTINUUM-1415] - Javascript errors with IE
* [CONTINUUM-1417] - continuum group administrator role should imply
user + developer too
* [CONTINUUM-1418] - Groups Roles aren't added automatically at
startup in the available roles list if the users list was deleted
* [CONTINUUM-1420] - Build Fresh and Profile columns are missed in
group build definitions page for specific project build definitions
* [CONTINUUM-1423] - Default project group is missing from the list
* [CONTINUUM-1428] - Continuum must rebuild automatically a project
that was in error in the previous build even if it haven't changesin the
current update
* [CONTINUUM-1429] - Initial checkout does not respect 'Use cached
scm credentials' setting
* [CONTINUUM-1435] - Release prepare not working
* [CONTINUUM-1439] - Group Summary page display error
* [CONTINUUM-1445] - Impossible to add two projects with the same
name even if they have differents version and/or scmUrl
* [CONTINUUM-1448] - upgrade to last webwork/xwork

Improvement

* [CONTINUUM-406] - irc notifications: support for registered nicks
* [CONTINUUM-522] - IRC support needed for IRC servers not
supporting /privmsg
* [CONTINUUM-1093] - After validation, logged in user is shown the
login page
* [CONTINUUM-1218] - Automatically determine correct POM file
location in Build Definition when checking out from SCMs like ClearCase
* [CONTINUUM-1278] - Need to add description and/or name to build
defintion
* [CONTINUUM-1279] - Need to add Build Information to the build
result reports and notification.
* [CONTINUUM-1333] - show in project group summary per project also
the status counters (as they are shown on the project groups pages)
* [CONTINUUM-1366] - surefire report shown is always latest, even
with a different build number
* [CONTINUUM-1394] - continuum should not record change sets when it
is a new checkout
* [CONTINUUM-1396] - Continuum should have a separate permission to
administer schedules
* [CONTINUUM-1409] - A build does not say which build definition it
came from
* [CONTINUUM-1422] - The icon for 'Cancel Build' is missing from the
legend
* [CONTINUUM-1424] - Ability to Cancel Build for a subset of a
project group
* [CONTINUUM-1425] - URL in 

Re: Dependency resolution for modules...

2007-09-26 Thread Michael McCallum
install is part of the build lifecycle...

mvn install will
* generate-resources
* process-resources
* generate-sources
* process-sources
* compile
* test-compile
* test
* package
* install into local repo

On Wednesday 26 September 2007 12:08, Jim Sellers wrote:
 mvn install will just compile the source.  I don't think that it will even
 compile the tests (you need mvn test-compile or something like that)

 If you want to install your artifact into your local repo, you need to
 run mvn install.

 HTH

 Jim

 On 9/25/07, James Depaul [EMAIL PROTECTED] wrote:
  Hi all -
 
  I'm a little confused about how maven resolves dependencies that I have
  defined for my project modules.  I have the following project directory
  structure:
 
cods (main dir )
  CodsCommon (sub-dir)
  CodsWeb (sub-dir)
 
  I have a pom.xml file setup in cods directory, which defines CodsCommon
  and
  CodsWeb as two modules (CodsCommon and CodsWeb each have individual
  pom.xml
  files, as well).
 
  The CodsWeb module has a dependency on CodsCommon - and requires that
  CodsCommon be built first. Exerpt from pom.xml file in CodsWeb module
  looks
  like this:
  ...
  dependency
groupIdmaersk/groupId
artifactIdCodsCommon/artifactId
version1.0-SNAPSHOT/version
  /dependency
 
  My question is:  when I run the 'mvn compile' command it all works
  properly: the dependency to Common (shown below) gets resolved even
  though the artifact does NOT seem to get installed in my .m2 local
  repository?! It seems a little strange - I kind of expected my CodsCommon
  artifact to be
  installed after/during command execution..   So the mystery is: the
  dependent module didn't get installed in .m2, but somehow this dependency
  got resolved at run-time... hence my confusion.
 
  A little clarification please -
 
  Thanks,
  James

-- 
Michael McCallum
Enterprise Engineer
mailto:[EMAIL PROTECTED]

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



Re: [announce] Continuum 1.1-beta-3 is released

2007-09-26 Thread Emmanuel Venisse

Let us know how it works for you. As it is a new feature, we'd like to have 
some feedback.

Emmanuel

Emmanuel Venisse a écrit :

Better with html: http://redback.codehaus.org/integration/ldap.html

Emmanuel

olivier lamy a écrit :

Hi,
http://svn.codehaus.org/redback/redback/trunk/redback-site/src/site/apt/integration/ldap.apt 



--
Olivier

2007/9/26, Cla Emanuel Monsch [EMAIL PROTECTED]:

hi there,

looks nice. especially the working copy browsing catched my eye at a
first view. :-)

does anybody know, where this file
(
http://svn.codehaus.org/plexus/plexus-redback/trunk/redback-site/src/site/apt/integration/ldap.apt 


)
has moved to?

cheers
cla



Emmanuel Venisse wrote:
The Continuum team is pleased to announce the Continuum 
1.1-beta-3release


Highlights are:

  * lot of bug fixes
  * xwork/webwork update to fix remote code exploit in forms
  * mail notification to latest committers
  * LDAP authentication
  * performance improvement

You can grab the latest release from:

http://maven.apache.org/continuum/download.html

To upgrade from 1.1-beta-2, you can look at this guide:
http://maven.apache.org/continuum/guides/mini/guide-data-management.html 



Below is the jira release notes for this release.

Release Notes - Continuum - Version 1.1-beta-3 :

Sub-task

* [CONTINUUM-1441] - Keep connection on irc server between each
messages

Bug

* [CONTINUUM-697] - sizes incompatible with mssql (Patch Attached)
* [CONTINUUM-1037] - Ant projects inherit a default build 
definition

for Maven 2.
* [CONTINUUM-1038] - Build definitions should list what type they
are (ant, maven, maven2, shell)
* [CONTINUUM-1041] - two defaults on the build definition page
* [CONTINUUM-1181] - Continuum aborts when running Postgres under

JBoss

* [CONTINUUM-1296] - Continuum 1.1-alpha-1 does not copy Maven2
project pom.xml's /project/build/defaultGoal/text() value to Build
Definition Goals field.
* [CONTINUUM-1306] - templated roles are not added automatically if
missing after upgrade
* [CONTINUUM-1325] - Surefire Report history is not kept for prior
builds
* [CONTINUUM-1348] - jut of memory in build result
* [CONTINUUM-1367] - granting group admin rights for a single
project doesn't seem to work
* [CONTINUUM-1384] - Build error when enqueing happens during SCM
update
* [CONTINUUM-1391] - Missing Download as text  link
* [CONTINUUM-1393] - change sets are duplicated on multiple failed
builds
* [CONTINUUM-1395] - check the permissions on the add project 
action

for ant projects
* [CONTINUUM-1404] - M2 Multi module projects still build
non-recursively
* [CONTINUUM-1411] - Link to display build surefire report doesn't
work (in fact displaying surefire report per build is false)
* [CONTINUUM-1412] - File Inclusion Vulnerability
* [CONTINUUM-1415] - Javascript errors with IE
* [CONTINUUM-1417] - continuum group administrator role should 
imply

user + developer too
* [CONTINUUM-1418] - Groups Roles aren't added automatically at
startup in the available roles list if the users list was deleted
* [CONTINUUM-1420] - Build Fresh and Profile columns are 
missed in

group build definitions page for specific project build definitions
* [CONTINUUM-1423] - Default project group is missing from the list
* [CONTINUUM-1428] - Continuum must rebuild automatically a project
that was in error in the previous build even if it haven't changesin 
the

current update
* [CONTINUUM-1429] - Initial checkout does not respect 'Use cached
scm credentials' setting
* [CONTINUUM-1435] - Release prepare not working
* [CONTINUUM-1439] - Group Summary page display error
* [CONTINUUM-1445] - Impossible to add two projects with the same
name even if they have differents version and/or scmUrl
* [CONTINUUM-1448] - upgrade to last webwork/xwork

Improvement

* [CONTINUUM-406] - irc notifications: support for registered nicks
* [CONTINUUM-522] - IRC support needed for IRC servers not
supporting /privmsg
* [CONTINUUM-1093] - After validation, logged in user is shown the
login page
* [CONTINUUM-1218] - Automatically determine correct POM file
location in Build Definition when checking out from SCMs like ClearCase
* [CONTINUUM-1278] - Need to add description and/or name to build
defintion
* [CONTINUUM-1279] - Need to add Build Information to the build
result reports and notification.
* [CONTINUUM-1333] - show in project group summary per project also
the status counters (as they are shown on the project groups pages)
* [CONTINUUM-1366] - surefire report shown is always latest, even
with a different build number
* [CONTINUUM-1394] - continuum should not record change sets 
when it

is a new checkout
* [CONTINUUM-1396] - Continuum should have a separate permission to
administer schedules
* [CONTINUUM-1409] - A build does not say which build definition it
came from
* [CONTINUUM-1422] - The icon for 'Cancel 

Using maven for JavaScript projects

2007-09-26 Thread Richard Chamberlain
Hi,

Has anyone had any experience in using maven for JavaScript libraries?

e.g integration with JSUnit, Selenium or compression tools?

Are there any resources about this topic? I've had a look around but
there doesn't seem to be anything much on the subject.

Thanks,

Richard

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



RE: Why Maven is Hard?

2007-09-26 Thread Marziou, Gael
I have exactly the same experience and feelings.
Maven's philosophy is what motivates you to use it and then as soon as you 
start working on non trivial enterprise projects you find yourself spending 
most of your time on implementing workarounds for plugins that are poorly 
documented, not really working or addressing only simple use cases. You provide 
patches to plugin author and then you must maintain your version until he has 
integrated and released your changes.

I can see a lot of plugins that seem to be no longer actively developed.
So, when you're considering migrating to Maven, you list your requirements and 
see OK there's a plugin for doing this and this, etc... And when you really try 
to make them work, it's never as easy as it was supposed to be.

So, when you recommend migrating to Maven you got to be prepared to invest a 
lot of energy in it and to get criticism from your project team.

One thing about the users mailing list, due to Maven's stiff learning curve, 
beginners have difficulties expressing their questions, it's also due to the 
difficulty to diagnose maven issues. So you get questions that nobody 
understands and can answer.
Searching the archives, I often someone with the same problem I have but rarely 
the solution, and sometimes I think it's because the problem was not clearly 
explained. Ant is easier to diagnose, if you got a problem you can post your 
snippet to the list and people will understand your problem even if you did not 
express it well.
Making Maven easier to diagnose is probably a worthwhile effort.

-- Gael

 -Original Message-
 From: Kevin Jackson [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 26, 2007 7:50 AM
 To: Maven Users List
 Subject: Re: Why Maven is Hard?

 In my opinion, those that have succeeded with mvn have been 1
 of 2 types:

 1 - using mvn for simple tasks
 2 - mvn developers

 I currently have a project I'm working on which has a
 multi-stage build and requires several 3rd-party mvn plugins.
  Getting this to work correctly has been a nightmare -
 there's no other way of describing the frustration with the
 lack of documentation of the core of mvn.

 Now we also had some specialised requirements (as is often
 the case), so I've had to write and maintain 4 custom plugins
 for our build.  So from last November (mvn newbie) to now
 I've done a considerable amount of mvn hacking, including
 supplying patches for plugins and writing new plugins.

 mvn internally has appalling docs, there's practically no
 javadoc in the project - this makes writing patches to mvn
 itself tedious and frustrating - and *I want to get
 involved*.  For someone who isn't interested in getting
 involved, but they need to fix a bug in mvn (and yes mvn has
 bugs), they open the sources and see undocumented code -
 that's a massive turn off.

 Perhaps I'm in the minority, but the mvn mailing lists
 (users/dev) are not the source of answers I thought they
 would be - I've asked a few questions on how to configure a
 plugin/build to achieve the output I wanted - and no there
 wasn't a reply with an answer.

 Here is an example:

 The mvn-war-plugin (which combined with the jspc-plugin
 should allow me to only create a war with .class files (no
 jsps included)).  By default, this plugin includes
 everything, so setting warSourceExcludes to exclude the jsp
 files is the solution - except it isn't.  If you set
 warSourceExcludes to exclude the unnecessary jsp files, it
 still includes the empty dirs that the jsps were in - this
 makes my war larger than it should be.

 If I manually specify exactly what to include I get a massive
 warSourceIncludes section (which must be repeated in each
 profile as mvn  plexus don't support xml entity fragments eg
 warSources;)

 I'd like to modify the mvn-war-plugin source to exclude empty
 dirs, but again the code isn't well documented and I'd have
 to maintain a custom version of this plugin instead of using
 the normal one available on ibiblio/maven2 (I already
 maintain a custom jspc plugin as it's being re-written in
 groovy at the moment and is dependent on a broken version of
 ant which has a URI bug)

  It's a big short sighted to even assume that someone would say, Go
  pour through the source and write documentation.  That's
 also quite a
  bit overly dramatic.  If I had to pour through source in order to
  learn how to use Maven, I would have sucked it up and moved on.

 Welcome to my world - to get anything done (writing mvn
 plugins, fixing bugs in plugins we use etc), this is exactly
 what I have to do
 - and no it isn't overly dramatic, I have to read the src for
 various plugins and mvn just to work out what is happening as
 there are no API docs.  Often the plugin svn repo has changed
 location and the site hasn't been updated, so then you have
 to hunt down the correct svn location using trial and error -
 again this is a doc issue (jspc plugin had exactly this problem)

  Once again I reiterate, if
  you 

Re: Using maven for JavaScript projects

2007-09-26 Thread Manos Batsis


I've worked with Ross Simpson on a Maven Javascript Tools Plugin [1]. 
Currently the plugin has two reporting mojos, for JSDoc Toolkit and 
JSLint respectively. We intent to add support for stuff like JSUnit, 
ECMAUnit etc. I just shared the code on CVS two days ago. It needs more 
work but it is usable.


For compression you can use the MobilVox Maven JavaScript Plugin [2], 
works great. I use it myself for sarissa.


[1] https://sourceforge.net/projects/mvn-jstools
[2] https://sourceforge.net/projects/maven-js-plugin

Cheers,

Manos

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



Re: Maven Resources Query

2007-09-26 Thread Kram

Hi Tim,

Thanks for the help, I will try that and let you know, I thought i might
just ask though, what is the difference between the single * and the double
**.

Thanks


Tim Kettler wrote:
 
 This should work:
 
 resource
directorywebapp/directory
excludes
  exclude*/exclude
/excludes
includes
  include*/tiles/**/include
/includes
 /resource
 
 -Tim
 

-- 
View this message in context: 
http://www.nabble.com/Maven-Resources-Query-tf4520344s177.html#a12899202
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: maven-surefire-plugin

2007-09-26 Thread Jim Sellers
In your test case you should be able to do this.

EnumerationURL enumeration =
getClass().getClassLoader().getResources(resource);

HTH
Jim


On 9/26/07, Guillaume Boucherie [EMAIL PROTECTED] wrote:

 Oh I'm sorry I'm not clear.
 In my project I have a functionality that search xml files with the same
 name in the classpath and merge it before read it.
 And to test it I must have jars that just contains xml file, I don't want
 to
 create a maven project just for this type of jar.

 --
 CletteBou
 clettebou.miniville.fr


 2007/9/26, Tim Kettler [EMAIL PROTECTED]:
 
  Hi,
 
  you want scopetest/scope dependencies. From [1]:
 
  test - this scope indicates that the dependency is not required for
  normal use of the application, and is only available for the test
  compilation and execution phases.
 
  -Tim
 
  [1]
 
 
 http://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html
 
  Guillaume Boucherie schrieb:
   Hi,
  
   In the maven1 test plugin it's possible to add jar's in the classpath
  with
   the properties maven.test.classpath
   Does maven2 surefire plugin provide a way do to the same ?
   Thanks
  
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



Re: assembly doesn't honor dependencyManagement

2007-09-26 Thread Jim Sellers
Exclude the commons-collection version that you don't want in your
dependency declaration.
http://maven.apache.org/pom.html#Exclusions

HTH
Jim


On 9/26/07, nicolas de loof [EMAIL PROTECTED] wrote:

 Hello,

 My pom has a dependencyManagement set to configurre
 commons-collection dependency to version 3.2.

 My eclipse classpath has the expected Jar, my build works fine.

 When I use assembly to create a jar-with-dependencies I get
 commons-collections-2.0 unpacked.

 I have 2 dependencies that both dependend on commons-collections with
 conflicting version. dependencyManagement is expected to solve this,
 but doesn't look to be used by assembly plugin.

 Is this a known bug ???

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




starteam provider

2007-09-26 Thread robert . egan
Greetings,

Where is the scm source code located, and the code for the StarTeam 
provider? I was browsing the JIRA issues and thought I might tackle some, 
although I don't want to promise anything.

I am thinking, in particular, of a design flaw in their checkout by 
label code that forced us to extend the ant task because it caused 
unacceptable performance in our environment. I would like to verify that 
the SCM StarTeam provider has propogated that flaw (seems likely, since 
Ant never bothered to correct it) and perhaps submit our override as an 
enhancement, since I am certainly going to implement it myself anyway.

Regards,
Robert Egan

This email message and any attachments may contain confidential, 
proprietary or non-public information.  The information is intended solely 
for the designated recipient(s).  If an addressing or transmission error 
has misdirected this email, please notify the sender immediately and 
destroy this email.  Any review, dissemination, use or reliance upon this 
information by unintended recipients is prohibited.  Any opinions 
expressed in this email are those of the author personally.

Re: Dependency resolution for modules...

2007-09-26 Thread Jim Sellers
Thanks.  My bad.  I mistyped my thought.

Jim


On 9/26/07, Brian E. Fox [EMAIL PROTECTED] wrote:

 Hi Jim,
 Install is actually a phase in the lifecycle. Maven executes all
 previous phases up to the one requested. See here for more info:
 http://www.sonatype.com/book/lifecycle.html

 --Brian

 -Original Message-
 From: Jim Sellers [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, September 25, 2007 8:09 PM
 To: Maven Users List
 Subject: Re: Dependency resolution for modules...

 mvn install will just compile the source.  I don't think that it will
 even
 compile the tests (you need mvn test-compile or something like that)

 If you want to install your artifact into your local repo, you need to
 run
 mvn install.

 HTH

 Jim


 On 9/25/07, James Depaul [EMAIL PROTECTED] wrote:
 
 
 
  Hi all -
 
  I'm a little confused about how maven resolves dependencies that I
 have
  defined for my project modules.  I have the following project
 directory
  structure:
 
cods (main dir )
  CodsCommon (sub-dir)
  CodsWeb (sub-dir)
 
  I have a pom.xml file setup in cods directory, which defines
 CodsCommon
  and
  CodsWeb as two modules (CodsCommon and CodsWeb each have individual
  pom.xml
  files, as well).
 
  The CodsWeb module has a dependency on CodsCommon - and requires that
  CodsCommon be built first. Exerpt from pom.xml file in CodsWeb module
  looks
  like this:
  ...
  dependency
groupIdmaersk/groupId
artifactIdCodsCommon/artifactId
version1.0-SNAPSHOT/version
  /dependency
 
  My question is:  when I run the 'mvn compile' command it all works
  properly: the dependency to Common (shown below) gets resolved even
 though
  the artifact does NOT seem to get installed in my .m2 local
 repository?!
  It seems a little strange - I kind of expected my CodsCommon artifact
 to
  be
  installed after/during command execution..   So the mystery is: the
  dependent module didn't get installed in .m2, but somehow this
 dependency
  got resolved at run-time... hence my confusion.
 
  A little clarification please -
 
  Thanks,
  James

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




Re: starteam provider

2007-09-26 Thread robert . egan
Never mind, I found it.


I wrote on 09/26/2007 08:22:26 AM:

 
 Greetings, 
 
 Where is the scm source code located, and the code for the StarTeam 
 provider? I was browsing the JIRA issues and thought I might tackle 
 some, although I don't want to promise anything. 
 
 I am thinking, in particular, of a design flaw in their checkout 
 by label code that forced us to extend the ant task because it 
 caused unacceptable performance in our environment. I would like to 
 verify that the SCM StarTeam provider has propogated that flaw 
 (seems likely, since Ant never bothered to correct it) and perhaps 
 submit our override as an enhancement, since I am certainly going to
 implement it myself anyway. 
 
 Regards, 
 Robert Egan 
 
 This email message and any attachments may contain confidential, 
 proprietary or non-public information.  The information is intended 
 solely for the designated recipient(s).  If an addressing or 
 transmission error has misdirected this email, please notify the 
 sender immediately and destroy this email.  Any review, 
 dissemination, use or reliance upon this information by unintended 
 recipients is prohibited.  Any opinions expressed in this email are 
 those of the author personally.

Re: starteam provider

2007-09-26 Thread Emmanuel Venisse

All infos are available there: 
http://maven.apache.org/scm/source-repository.html

the stateam provider is under maven-scm-providers directory in svn

Emmanuel

[EMAIL PROTECTED] a écrit :


Greetings,

Where is the scm source code located, and the code for the StarTeam 
provider? I was browsing the JIRA issues and thought I might tackle 
some, although I don't want to promise anything.


I am thinking, in particular, of a design flaw in their checkout by 
label code that forced us to extend the ant task because it caused 
unacceptable performance in our environment. I would like to verify that 
the SCM StarTeam provider has propogated that flaw (seems likely, since 
Ant never bothered to correct it) and perhaps submit our override as an 
enhancement, since I am certainly going to implement it myself anyway.


Regards,
Robert Egan

This email message and any attachments may contain confidential, 
proprietary or non-public information.  The information is intended 
solely for the designated recipient(s).  If an addressing or 
transmission error has misdirected this email, please notify the sender 
immediately and destroy this email.  Any review, dissemination, use or 
reliance upon this information by unintended recipients is prohibited. 
 Any opinions expressed in this email are those of the author personally.




RE: Why Maven is Hard?

2007-09-26 Thread Marziou, Gael
Another thing that is hard in Maven is solving classpath issues.
Classpath issues can be hard to solve in java but in Maven it is even harder 
because your plugin inherits from a classpath built by maven from your 
dependencies  and others as well.
So when something fails, you must understand who did add this jar to your 
classpath and why was it added in this particular order.

-- Gael

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



Re: Maven Resources Query

2007-09-26 Thread Tim Kettler

Hi,

the syntax for include/exclude patterns is inherited from
ant and is explained here [1].

-Tim

[1] http://ant.apache.org/manual/dirtasks.html#patterns

Kram schrieb:

Hi Tim,

Thanks for the help, I will try that and let you know, I thought i might
just ask though, what is the difference between the single * and the double
**.

Thanks


Tim Kettler wrote:

This should work:

resource
   directorywebapp/directory
   excludes
 exclude*/exclude
   /excludes
   includes
 include*/tiles/**/include
   /includes
/resource

-Tim






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



Re: assembly doesn't honor dependencyManagement

2007-09-26 Thread nicolas de loof
There is many way to fix this, including using exclusions or simply
declaring a new dependdency with expected version.

I just want to know if I should log this in Jira as
dependencyManagement is expected to avoid such version conflitcs.

Nico.

2007/9/26, Jim Sellers [EMAIL PROTECTED]:
 Exclude the commons-collection version that you don't want in your
 dependency declaration.
 http://maven.apache.org/pom.html#Exclusions

 HTH
 Jim


 On 9/26/07, nicolas de loof [EMAIL PROTECTED] wrote:
 
  Hello,
 
  My pom has a dependencyManagement set to configurre
  commons-collection dependency to version 3.2.
 
  My eclipse classpath has the expected Jar, my build works fine.
 
  When I use assembly to create a jar-with-dependencies I get
  commons-collections-2.0 unpacked.
 
  I have 2 dependencies that both dependend on commons-collections with
  conflicting version. dependencyManagement is expected to solve this,
  but doesn't look to be used by assembly plugin.
 
  Is this a known bug ???
 
  -
  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: Make a Codehaus plugin works on a local configuration

2007-09-26 Thread Jimbog

Hi Romain,

I have finally got this to work, you have to call the dashboard plugin 
using 

mvn org.codehaus.mojo:dashboard-maven-plugin:1.0-SNAPSHOT:dashboard

As suggested by David Vicente here:-

http://jira.codehaus.org/browse/MOJO-899

Then in your local repository you have to install the plugin
under libs-snaphot and  plugins-snapshot, as maven seems to not download the
plugin snapshot from the plugins-snapshot directory in the local repository,
which seems odd. 

Anyway this set up seems to work fine locally. 

Id use ANT if I were you :o)

Cheers
James


RomainTaz wrote:
 
 Hi James,
 
 Sorry, but I didn't find any solution to solve this problem :(
 Thus, this plugin has been disabled on my configuration.
 Note that we still do not use Artifactory. So I can't tell you if this
 tool can solve this problem...
 
 If you have any idea...
 
 Regards.
 
 Romain
 



-- 
View this message in context: 
http://www.nabble.com/Make-a-Codehaus-plugin-works-on-a-local-configuration-tf4297606s177.html#a12900274
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: [announce] Continuum 1.1-beta-3 is released

2007-09-26 Thread Jesse McConnell
hm, probably not right now...I'll have to provide for that in the plexus
ldap helper.

I tested this against a setup where I had a utility user that I used for
that initial bind operation and at the time wasn't able to get the apacheds
unit testing working so the number of scenarios I could test against was
limited.  I'll definitely have to make a test for this though now that I
have that ability again.

If you like open a redback issue for this at
http://jira.codehaus.org/browse/REDBACK to track progress on it.

I am also going to put the configuration bits for ldap into the
security.properties as well since its a bit bothersome to have to set those
things up in the application.xml like it is currently.

jesse

On 9/26/07, Cla Emanuel Monsch [EMAIL PROTECTED] wrote:

 hi there,

 is it possible to use ldap without bindDN/password? (anonyous bind)

 with the config bellow i got the following error:

 configuration
 hostname/hostname
 port389/port
 baseDndc=netcetera,dc=ch/baseDn
 contextFactorycom.sun.jndi.ldap.LdapCtxFactory/contextFactory
 password/password
 bindDn/bindDn
 /configuration

 configuration
 email-attributedescription/email-attribute
 full-name-attributegecos/full-name-attribute
 password-attributeuserPassword/password-attribute
 user-id-attributeuid/user-id-attribute
 user-base-dndc=netcetera,dc=ch/user-base-dn
 user-object-classinetOrgPerson/user-object-class
 /configuration


 INFO   | jvm 1| 2007/09/26 14:23:26 | 2007-09-26 14:23:26,127
 [SocketListener0-1] WARN  ConfigurationFactory   - No
 configuration found. Configuring ehcache fr
 om ehcache-failsafe.xml  found in the classpath:
 jar:file:/share/nca05/build/servers/arcturus/continuum-1.1-beta-3
 /apps/continuum/webapp/WEB-INF/lib/ehcache-1.2.4.jar!/ehc
 ache-failsafe.xml
 INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,244
 [SocketListener0-1] INFO  LdapController:default - Searching for
 user: guest
 INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,245
 [SocketListener0-1] INFO  LdapController:default - Searching for
 users with filter: '((objectCla
 ss=inetOrgPerson)(uid=guest))' from base dn: dc=netcetera,dc=ch
 INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,265
 [SocketListener0-1] ERROR DispatcherUtils- Could not
 find action
 INFO   | jvm 1| 2007/09/26 14:23:30 | Caught Exception while
 registering Interceptor class redbackEnvironmentCheckInterceptor -
 Class: org.codehaus.plexus.redback.xwor
 k.checks.security.GuestUserEnvironmentCheck
 INFO   | jvm 1| 2007/09/26 14:23:30 | File:
 GuestUserEnvironmentCheck.java
 INFO   | jvm 1| 2007/09/26 14:23:30 | Method: validateEnvironment
 INFO   | jvm 1| 2007/09/26 14:23:30 | Line: 100 -

 org/codehaus/plexus/redback/xwork/checks/security/GuestUserEnvironmentCheck.java:100:-1
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at
 org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(
 PlexusObjectFactory.java:152)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference
 (InterceptorBuilder.java:56)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference
 (XmlConfigurationProvider.jav
 a:701)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack
 (XmlConfigurationProvider.java:568)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStacks
 (XmlConfigurationProvider.java:581
 )
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptors
 (XmlConfigurationProvider.java:602)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage
 (XmlConfigurationProvider.java:204)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile
 (XmlConfigurationProvider.java:675
 )
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile
 (XmlConfigurationProvider.java:678
 )
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at
 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(
 XmlConfigurationProvider.java:91)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at
 com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(
 DefaultConfiguration.java:86)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at
 com.opensymphony.xwork.config.ConfigurationManager.getConfiguration(
 ConfigurationManager.java:55)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at
 

Re: maven-surefire-plugin

2007-09-26 Thread Tim Kettler

Ah ok, that's something different. I understand that you don't want to
create extra projects for this jars as they probably never will change.

First I thought you just could place the jars in a directory in your
project and add system dependendcies to them. But then I realized that
'system' is already a scope and thus one can't further limit the scope
to 'test'. Thinking about this a bit I think 'system' shouldn't be a
scope at all, it's more of a dependency type.

The only other solution I can think of is to store the jars in a 
repository like directory layout (for example under src/test/testjars)

and declare this directory as a repository in your pom:

  repository
idmy-test-artifact-repository/id
urlfile://${basedir}/src/test/testjars/url
  /repository

and then declare the jars as normal test-scoped dependencies.

-Tim

Guillaume Boucherie schrieb:

Oh I'm sorry I'm not clear.
In my project I have a functionality that search xml files with the same
name in the classpath and merge it before read it.
And to test it I must have jars that just contains xml file, I don't want to
create a maven project just for this type of jar.




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



Re: mvn archetype:create

2007-09-26 Thread Barron Logan

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

I had this same error..

To fix, in my case, I turned off my firewall and tried the mvn
archetype:create command again, this time using the -U option

Regards,

-barron
-- 
View this message in context: 
http://www.nabble.com/mvn-archetype%3Acreate-tf4482038s177.html#a12900673
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: mvn archetype:create

2007-09-26 Thread Barron Logan

Sorry,  I did not see that Wayne had already posted this solution...
-- 
View this message in context: 
http://www.nabble.com/mvn-archetype%3Acreate-tf4482038s177.html#a12900707
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Why Maven is Hard?

2007-09-26 Thread Michael McCallum
mvn -X

what more can you ask for? 

mvn dependency:resolve

mvn help:effective-pom

On Thursday 27 September 2007 00:28, Marziou, Gael wrote:
 Another thing that is hard in Maven is solving classpath issues.
 Classpath issues can be hard to solve in java but in Maven it is even
 harder because your plugin inherits from a classpath built by maven from
 your dependencies  and others as well. So when something fails, you must
 understand who did add this jar to your classpath and why was it added in
 this particular order.

 -- Gael

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

-- 
Michael McCallum
Enterprise Engineer
mailto:[EMAIL PROTECTED]

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



Re: unit-testing of code-generating maven plugin

2007-09-26 Thread Thomas Fischer
Hi Arnaud,

Thanks for you suggestion. Do you integrate the execution of the
integration test module in the build process of the plugin itself ? In my
current solution, if the code generated by the plugin cannot be compiled or
fails to do what it should, the plugin is not installed when mvn deploy
is called. I'd like to retain this if possible (I have come to appreciate
no-brain approaches, they also work when time is short)

As for the
http://maven.apache.org/developers/committer-testing-plugins.html testing
methods, I'll look at these when I have got a clear head (nothing for
mid-afternoon :-))

  Thanks again,

Thomas

news [EMAIL PROTECTED] schrieb am 25.09.2007 21:43:18:
 Thomas Fischer [EMAIL PROTECTED] writes:

  Hi all,
 
  we have a maven plugin which generates java code, and we would like to
  unit-test it. One obvious test for such a plugin is to let it generate
some
  code, compile that code, and unit-test the generated code.
 
  For this, the following steps need to be executed:
  1) compile the plugin mojo
  2) compile the test case which starts the plugin mojo in order to
generate
  code
  3) execute the test case which starts the plugin mojo in order to
generate
  code
  4) compile the generated code
  5) compile the test cases which test the generated code
  6) execute the test cases which test the generated code
 

 Hello Thomas,
 IMHO, this is not unit testing but functional testing of your plugin's
 behavior. In such cases, I usually follow the simple approach of
 having a separate integration test module that depends on the plugin
 and executes test projects using maven-verifier. There are other
 options available at
http://maven.apache.org/developers/committer-testing-plugins.html
 but I did not find them very satisfying (quite brittle, depends on
 snapshots that depend on things...).

 I have learnt to favour large number of modules with small poms: The
 dependency mechanism handles the scheduling of plugins executions
 better and more clearly than within a pom. I would like to know BTW if
 this was intended in maven's design or just a side effect.

 HTH
 --
 OQube  software engineering \ génie logiciel 
 Arnaud Bailly, Dr.
 \web http://www.oqube.com



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



Re: maven-surefire-plugin

2007-09-26 Thread Michael McCallum
i think you should provide more detail... are you saying you just want the 
file in the test classpath... put it in src/test/resources

on the other hand maven projects are easy... and you have release 
management... versions... tags...
why not have a project with the xml in it..

On Wednesday 26 September 2007 20:38, Guillaume Boucherie wrote:
 Oh I'm sorry I'm not clear.
 In my project I have a functionality that search xml files with the same
 name in the classpath and merge it before read it.
 And to test it I must have jars that just contains xml file, I don't want
 to create a maven project just for this type of jar.

-- 
Michael McCallum
Enterprise Engineer
mailto:[EMAIL PROTECTED]

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



Re: maven-surefire-plugin

2007-09-26 Thread Guillaume Boucherie
Thanks a lot, I've just tested on my project and it work fine.

-- 
CletteBou
clettebou.miniville.fr


2007/9/26, Tim Kettler [EMAIL PROTECTED]:

 Ah ok, that's something different. I understand that you don't want to
 create extra projects for this jars as they probably never will change.

 First I thought you just could place the jars in a directory in your
 project and add system dependendcies to them. But then I realized that
 'system' is already a scope and thus one can't further limit the scope
 to 'test'. Thinking about this a bit I think 'system' shouldn't be a
 scope at all, it's more of a dependency type.

 The only other solution I can think of is to store the jars in a
 repository like directory layout (for example under src/test/testjars)
 and declare this directory as a repository in your pom:

repository
  idmy-test-artifact-repository/id
  urlfile://${basedir}/src/test/testjars/url
/repository

 and then declare the jars as normal test-scoped dependencies.

 -Tim

 Guillaume Boucherie schrieb:
  Oh I'm sorry I'm not clear.
  In my project I have a functionality that search xml files with the same
  name in the classpath and merge it before read it.
  And to test it I must have jars that just contains xml file, I don't
 want to
  create a maven project just for this type of jar.
 


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




RE: Why Maven is Hard?

2007-09-26 Thread EJ Ciramella
I have to agree with the comments in this thread.

Asking someone to contribute documentation for a plugin they didn't
write is pretty lame.  How about not letting someone submit a plugin
until not only has the code been tested/proven, but the associated
documentation is up to snuff?  I don't know how it works where ever you
guys are working but when code is committed to our SCM system here, a
code review has to pass.  Part of that review is to go over the
associated documentation.

Also, I've spent hours upon hours chasing my tail on things like the bug
where profiles weren't ordered in the order specified on the commandline
(it seemed partially random and then partially due to ordering in
settings.xml/profiles.xml).  After many days of silence on both mailing
lists, we pulled down the source and realized that it was a bug, fixed
it, and then saw a new release of maven 2 come out that did the same
thing.

We've also noticed that classpaths aren't as controlled as we would have
liked.  A scenario is - three modules at the same level, two branched
away as to be built in isolation.  All of a sudden the third module
can't find any classes that the first two put into the compile classpath
- and this is the case if/if not there are dependencies on these modules
to/from each other.

I'd also like to echo the sentiment, maven is great if you're doing
standard stuff and maven is HORRIBLE when you're trying to do anything
out of the norm.  I feel like it's easier to just write my own plugin
than it is to scour the maven site in hopes of finding something
suitable to my needs.  Additionally, twice now we've started using a
plugin just to find that it has been abandoned for a less buggy plugin.

Where's the repository management documentation (how to set one up at
your company, how to keep it up-to-date, etc.)?  I work at a relatively
large company and I can't believe for a second other companies similarly
sized or bigger would want developer groups going across the internet
the way maven tries to do (for plugins and dependencies).  This also
makes overseas development challenging.

Look, I think many people are wanting a build tool better than shell
scripting and make, possibly easier than ant - but something with less
of a learning curve of maven 1 or 2.  I think ant is REALLY smooth and
easy to code/understand.  To say that ant is challenging in any
way/shape/form is to deny the truth.  Maven 2 build/release engineering
does get easier with time, but we all don't have limitless time to
learn.

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



RE: Why Maven is Hard?

2007-09-26 Thread EJ Ciramella
And this is where in/on the site?

What about an option to maven that gives a list of goals like ant did
with targets?  One outstanding thing that ant did was self
documentation.

I miss that... 

-Original Message-
From: Michael McCallum [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 26, 2007 9:20 AM
To: Maven Users List
Subject: Re: Why Maven is Hard?

mvn -X

what more can you ask for? 

mvn dependency:resolve

mvn help:effective-pom

On Thursday 27 September 2007 00:28, Marziou, Gael wrote:
 Another thing that is hard in Maven is solving classpath issues.
 Classpath issues can be hard to solve in java but in Maven it is even
 harder because your plugin inherits from a classpath built by maven
from
 your dependencies  and others as well. So when something fails, you
must
 understand who did add this jar to your classpath and why was it added
in
 this particular order.

 -- Gael

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

-- 
Michael McCallum
Enterprise Engineer
mailto:[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: Why Maven is Hard?

2007-09-26 Thread Sommers, Elizabeth


-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
What I want is an active mailing list for plugin developers.  I have
written too many plugins with less than stellar testing harnesses and
tools.  The developers' mailing list is not the right place to discuss
plugins.

I think that maven itself has got pretty stable.  The problem is that
the plugins are NOT stable and vary in quality.

I have now written more ant and maven than I care to think about (I am a
build/release engineer).  I know there are things I have found that
other people might be interested in.  I know that other people have
solved other problems.  I would like to be discussing these solutions in
a forum where I am not boring either new users or the developers.

-
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: unit-testing of code-generating maven plugin

2007-09-26 Thread Insitu
Thomas Fischer [EMAIL PROTECTED] writes:

 Hi Arnaud,

 Thanks for you suggestion. Do you integrate the execution of the
 integration test module in the build process of the plugin itself ? In my
 current solution, if the code generated by the plugin cannot be compiled or
 fails to do what it should, the plugin is not installed when mvn deploy
 is called. I'd like to retain this if possible (I have come to appreciate
 no-brain approaches, they also work when time is short)


No, I do not run IT as part of module build as this would entails a
sort of chicken and egg problem ! There exists solutions such as
plugin-testing plugin that can stage/unstage a plugin into repo so
that IT can find them. But I'd rather take the simple course of using
the maven-verifier API to remove the plugin from local repo if tests
fails. I have never used this approach myself, the idea being that
install works means UT works and IT works means deploy works so you'd
run deploy iff IT passed. 

Take a look at the maven-verifier API, it is simple, straightforward
and useful, without dependencies on anything else.

Regards,

BTW: this is what is used for IT maven itself.
-- 
OQube  software engineering \ génie logiciel 
Arnaud Bailly, Dr.
\web http://www.oqube.com


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



Compiling generated classes

2007-09-26 Thread Mark Miller
I have written a plugin to generate some java classes, and would like to
compile them. 
 
They are generated into a separate directory under target, as they are
just transient files.
 
I haven't been able to figure out how to configure the
maven-compiler-plugin to compile these classes.
i.e. set the source directory for the compiler to something the default.
 
Any help would be appreciated
 
Mark
 
 
 
 


If you have received this e-mail in error, please return it to the sender 
immediately and delete it and any attachments from your system. Morse plc is 
the UK holding company for various international subsidiaries trading as Morse. 
The registered office for Morse Group Limited (Company Number 2212268) and its 
UK group undertakings is Profile West, 950 Great West Road, Brentford, 
Middlesex TW8 9EE.  VAT Registration 673 0084 47.


Re: Compiling generated classes

2007-09-26 Thread Tim Kettler

Hi,

have a look at the build-helper-m-p:attach-source goal [1]. It shows how
to add additional source roots in code.

-Tim

[1] 
http://svn.codehaus.org/mojo/tags/mojo-16/build-helper-maven-plugin/src/main/java/org/codehaus/mojo/buildhelper/AddSourceMojo.java


Mark Miller schrieb:

I have written a plugin to generate some java classes, and would like to
compile them. 
 
They are generated into a separate directory under target, as they are

just transient files.
 
I haven't been able to figure out how to configure the

maven-compiler-plugin to compile these classes.
i.e. set the source directory for the compiler to something the default.
 
Any help would be appreciated
 
Mark
 
 
 
 



If you have received this e-mail in error, please return it to the sender 
immediately and delete it and any attachments from your system. Morse plc is 
the UK holding company for various international subsidiaries trading as Morse. 
The registered office for Morse Group Limited (Company Number 2212268) and its 
UK group undertakings is Profile West, 950 Great West Road, Brentford, 
Middlesex TW8 9EE.  VAT Registration 673 0084 47.




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



Re: FTP plugin for deploying a directory, _not_ an artifact

2007-09-26 Thread Alan D. Salewski
On Wed, Sep 26, 2007 at 01:23:40AM -0400, Brian E. Fox spake thus:
 To my knowledge, only the scp wagon supports directory copying (hence
 the inability to deploy sites any other way besides file). It would seem
 that the ftp wagon would need to support this first and then a plugin
 could leverage it.
 
 --Brian
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
  Sent: Tuesday, September 25, 2007 8:00 AM
  To: Maven Users List
  Subject: FTP plugin for deploying a directory, _not_ an artifact
  
  Hi,
  
  I need to be able to deploy an entire directory to an ftp server. 
  
  Is anyone working on such a plugin?
  
  The only solutions I have googled so far use ant run, and include som 
  creativity to include a dependency which ant needs.  This seems very
  ugly. 
   Either that or they use maven1
  
  I can understand why it isn't included in the default maven stuff, as it
  
  is not a conventional build thing.  It shouldn't be too easy, or
  people 
  will ignore the (great) maven conventions, which is a real risk.
  
  best regards, and thanks in advance,
  Michael

This doesn't directly address your request, but perhaps it will be
useful. If you have scp access to the remote host, you can use the
'wagon-maven-plugin' from the Apache MyFaces project to deploy an entire
directory:

  plugin
groupIdorg.apache.myfaces.maven/groupId
artifactIdwagon-maven-plugin/artifactId
executions
  execution
phasedeploy/phase
iddeploy-non-maven-artifacts/id
goals
  goaldeploy/goal
/goals
configuration
  urlscpexe://somehost.com/path/to/some/directory//url
  
inputDirectory${project.build.directory}/whatever/inputDirectory
/configuration
  /execution
/executions
  /plugin

Note that I've not tried to use the plugin to deploy a directory with
subdirs. I'd be interested to hear whether or not that works.

HTH,
-Al

-- 
:: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
::
Alan D. Salewski
Software Developer
Health Market Science, Inc.
:: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: :: ::
:: 

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



RE: Why Maven is Hard?

2007-09-26 Thread John Coleman
I think you expressed things very well. Maven is great for fairly
trivial projects, but once you have a complicated build or deployment
requirement, it is very hard to find out whether or how you can meet
your requirements. And many of the existing plugins are indeed poorly
documented.

Our most complex application build involves a horribly complex Ant
script - but as yet I'd be reluctant to recommend moving it to Maven,
although if possible that would be fantastic. Maybe we'll do it
piecemeal. Perhaps more effort needs to be expended in finding out why
builds get so complicated - this seems to be against the Maven ethos. I
don't think the complexities we have are unusual though.

John

8
The problem is that people use mvn to begin with, with a simple
project and think 'wow it's so easy', then when used in more complex
circumstances, the documentation falls flat and the non-dedicated,
willing-to-peruse-src-code user will be put off.

I'm looking forward to see what other people think,
Kev

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


Eurobase International Limited and its subsidiaries (Eurobase) are unable to 
exercise control over the content of information in E-Mails. Any views and 
opinions expressed may be personal to the sender and are not necessarily those 
of Eurobase. Eurobase will not enter into any contractual obligations in 
respect of any part of its business in any E-mail. 

Privileged / confidential information may be contained in this message and /or 
any attachments. This E-mail is intended for the use of the addressee(s) only 
and may contain confidential information. If you are not the / an intended 
recipient, you are hereby notified that any use or dissemination of this 
communication is strictly prohibited.  If you receive this transmission in 
error, please notify us immediately, and then delete this E-mail. 

Neither the sender nor Eurobase accepts any liability whatsoever for any 
defects of any kind either in or arising from this E-mail transmission. E-Mail 
transmission cannot be guaranteed to be secure or error-free, as messages can 
be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or 
incomplete. Eurobase does not accept any responsibility for viruses and it is 
your responsibility to scan any attachments.

Eurobase Systems Limited is the main trading company in the Eurobase 
International Group; registered in England and Wales as company number 
02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex 
CM2 0RE, UK.


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



Re: Why Maven is Hard?

2007-09-26 Thread Brian Flaherty
I highly recommend: Better Builds with Maven
(http://www.devzuz.com/web/guest/products/resources#BBWM)

On 9/24/07, Denis Bessmertniy [EMAIL PROTECTED]
wrote:

 It is interesting why maven is so hard to understand? Why it is not well
 documented? (It is all my own opinions)
 I haven't so much probmlems with Ant, for example.



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




Re: Multimodule code coverage report

2007-09-26 Thread dvicente

you can find the dashboard at : 
http://mojo.codehaus.org/dashboard-maven-plugin/
http://mojo.codehaus.org/dashboard-maven-plugin/ 


Bruce Alspaugh-2 wrote:
 
 I'm having some trouble using the 2.0 version of the Cobertura plugin 
 for a multiple module build.  I configured the reporting section of my 
 top level POM to generate a Cobertura report as part of my website.  
 What it does is to generate reports for each of the modules below it, 
 but I don't get any report at all at the top level.  How do I configure 
 the plugin to generate an aggregated report the way I can with the 
 javadoc plugin?  I don't see it mentioned in the plugin documentation.
 
 Is there another plugin that would generate an aggregated code coverage 
 report?  Is the Emma plugin ready for primetime?
 
 Bruce
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Multimodule-code-coverage-report-tf4511339s177.html#a12902383
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Why Maven is Hard?

2007-09-26 Thread Rodrigo Madera
As I recommended earlier, I think we should copy and paste the Better Builds
with Maven book into the official Maven documentation.

Why not?

Of course, permission would need to be asked to the author first, but I'm
sure he wouldn't mind.

Regards,
Rodrigo

On 9/26/07, Brian Flaherty [EMAIL PROTECTED] wrote:

 I highly recommend: Better Builds with Maven
 (http://www.devzuz.com/web/guest/products/resources#BBWM)

 On 9/24/07, Denis Bessmertniy [EMAIL PROTECTED]
 wrote:
 
  It is interesting why maven is so hard to understand? Why it is not well
  documented? (It is all my own opinions)
  I haven't so much probmlems with Ant, for example.
 
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 



Deploying same version overwrites existing release

2007-09-26 Thread Hayes, Peter
Is there a way to configure maven to not allow it to deploy over an
existing release artifact?

Peter Hayes
Architecture  Shared Technology Services | Fidelity Investments
Management Technology



Re: unit-testing of code-generating maven plugin

2007-09-26 Thread Thomas Fischer
news [EMAIL PROTECTED] schrieb am 26.09.2007 15:36:54:
 No, I do not run IT as part of module build as this would entails a
 sort of chicken and egg problem ! There exists solutions such as
 plugin-testing plugin that can stage/unstage a plugin into repo so
 that IT can find them. But I'd rather take the simple course of using
 the maven-verifier API to remove the plugin from local repo if tests
 fails. I have never used this approach myself, the idea being that
 install works means UT works and IT works means deploy works so you'd
 run deploy iff IT passed.

 Take a look at the maven-verifier API, it is simple, straightforward
 and useful, without dependencies on anything else.

This makes sense to me. I'll check the verifier API.

Thanks,

  Thomas


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



RE: Deploying same version overwrites existing release

2007-09-26 Thread John Coleman
But if you use relase:prepare/release:perform then your snapshot version
number goes up afterwards and overwritting is impossible?

John

-Original Message-
From: Hayes, Peter [mailto:[EMAIL PROTECTED] 
Sent: 26 September 2007 15:39
To: Maven Users List
Subject: Deploying same version overwrites existing release

Is there a way to configure maven to not allow it to deploy over an
existing release artifact?

Peter Hayes
Architecture  Shared Technology Services | Fidelity Investments
Management Technology


Eurobase International Limited and its subsidiaries (Eurobase) are unable to 
exercise control over the content of information in E-Mails. Any views and 
opinions expressed may be personal to the sender and are not necessarily those 
of Eurobase. Eurobase will not enter into any contractual obligations in 
respect of any part of its business in any E-mail. 

Privileged / confidential information may be contained in this message and /or 
any attachments. This E-mail is intended for the use of the addressee(s) only 
and may contain confidential information. If you are not the / an intended 
recipient, you are hereby notified that any use or dissemination of this 
communication is strictly prohibited.  If you receive this transmission in 
error, please notify us immediately, and then delete this E-mail. 

Neither the sender nor Eurobase accepts any liability whatsoever for any 
defects of any kind either in or arising from this E-mail transmission. E-Mail 
transmission cannot be guaranteed to be secure or error-free, as messages can 
be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or 
incomplete. Eurobase does not accept any responsibility for viruses and it is 
your responsibility to scan any attachments.

Eurobase Systems Limited is the main trading company in the Eurobase 
International Group; registered in England and Wales as company number 
02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex 
CM2 0RE, UK.


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



Re: maven-surefire-plugin

2007-09-26 Thread Rémy Sanlaville
Hi,

I nearly have the same need but I want to get all the test classpath in
order to launch a new bench.
It looks likes :  Runtime.getRuntime().exec(java -cp  + testClasspath  +
...);

Is it possible and how ?

Rémy


Re: When builds are done in multi-module projects ?

2007-09-26 Thread Damien Lecan
  Strange empty line after update

 the cvs provider doesn't analyze lines with less than 3 characters.

 when you run cvs with the continuum user, what is the output language? 
 english, french...

[EMAIL PROTECTED] 1]$ cvs --help
Usage: cvs [cvs-options] command [command-options-and-arguments]
  where cvs-options are -q, -n, etc.

tomcat is system account which launches Tomcat app server.

I will reinit all my Continuum instance (fresh database, fresh
checkout), activate scm debug and see what happen later.

I will plan 2 build definitions :
 1. run clean deploy every even hours
 2. run clean deploy site-deploy every odd hours

Damien


Re: [announce] Continuum 1.1-beta-3 is released

2007-09-26 Thread Anshula

just upgraded my continuum-1.1-beta-2 installation to beta-3. The new version
looks very good. I upgraded my continuum database for the 1st time, it
worked as a charm using the data management utility. :) 
Great work..!!

Regards,
Anshula


Jesse McConnell wrote:
 
 hm, probably not right now...I'll have to provide for that in the plexus
 ldap helper.
 
 I tested this against a setup where I had a utility user that I used for
 that initial bind operation and at the time wasn't able to get the
 apacheds
 unit testing working so the number of scenarios I could test against was
 limited.  I'll definitely have to make a test for this though now that I
 have that ability again.
 
 If you like open a redback issue for this at
 http://jira.codehaus.org/browse/REDBACK to track progress on it.
 
 I am also going to put the configuration bits for ldap into the
 security.properties as well since its a bit bothersome to have to set
 those
 things up in the application.xml like it is currently.
 
 jesse
 
 On 9/26/07, Cla Emanuel Monsch [EMAIL PROTECTED] wrote:

 hi there,

 is it possible to use ldap without bindDN/password? (anonyous bind)

 with the config bellow i got the following error:

 configuration
 hostname/hostname
 port389/port
 baseDndc=netcetera,dc=ch/baseDn
 contextFactorycom.sun.jndi.ldap.LdapCtxFactory/contextFactory
 password/password
 bindDn/bindDn
 /configuration

 configuration
 email-attributedescription/email-attribute
 full-name-attributegecos/full-name-attribute
 password-attributeuserPassword/password-attribute
 user-id-attributeuid/user-id-attribute
 user-base-dndc=netcetera,dc=ch/user-base-dn
 user-object-classinetOrgPerson/user-object-class
 /configuration


 INFO   | jvm 1| 2007/09/26 14:23:26 | 2007-09-26 14:23:26,127
 [SocketListener0-1] WARN  ConfigurationFactory   - No
 configuration found. Configuring ehcache fr
 om ehcache-failsafe.xml  found in the classpath:
 jar:file:/share/nca05/build/servers/arcturus/continuum-1.1-beta-3
 /apps/continuum/webapp/WEB-INF/lib/ehcache-1.2.4.jar!/ehc
 ache-failsafe.xml
 INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,244
 [SocketListener0-1] INFO  LdapController:default - Searching for
 user: guest
 INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,245
 [SocketListener0-1] INFO  LdapController:default - Searching for
 users with filter: '((objectCla
 ss=inetOrgPerson)(uid=guest))' from base dn: dc=netcetera,dc=ch
 INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,265
 [SocketListener0-1] ERROR DispatcherUtils- Could not
 find action
 INFO   | jvm 1| 2007/09/26 14:23:30 | Caught Exception while
 registering Interceptor class redbackEnvironmentCheckInterceptor -
 Class: org.codehaus.plexus.redback.xwor
 k.checks.security.GuestUserEnvironmentCheck
 INFO   | jvm 1| 2007/09/26 14:23:30 | File:
 GuestUserEnvironmentCheck.java
 INFO   | jvm 1| 2007/09/26 14:23:30 | Method: validateEnvironment
 INFO   | jvm 1| 2007/09/26 14:23:30 | Line: 100 -

 org/codehaus/plexus/redback/xwork/checks/security/GuestUserEnvironmentCheck.java:100:-1
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at
 org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(
 PlexusObjectFactory.java:152)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference
 (InterceptorBuilder.java:56)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference
 (XmlConfigurationProvider.jav
 a:701)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack
 (XmlConfigurationProvider.java:568)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStacks
 (XmlConfigurationProvider.java:581
 )
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptors
 (XmlConfigurationProvider.java:602)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage
 (XmlConfigurationProvider.java:204)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile
 (XmlConfigurationProvider.java:675
 )
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at

 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile
 (XmlConfigurationProvider.java:678
 )
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at
 com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(
 XmlConfigurationProvider.java:91)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at
 

Re: Why Maven is Hard?

2007-09-26 Thread Wendy Smoak
On 9/26/07, Rodrigo Madera [EMAIL PROTECTED] wrote:

 As I recommended earlier, I think we should copy and paste the Better Builds
 with Maven book into the official Maven documentation.

 Why not?

The book is already free.  (Yes, you have to register.)  There's
another very good book at http://www.sonatype.com/book/ .

Copying and pasting that content would not solve the problem that the
Maven site is considered difficult to navigate.  And that despite all
the improvements in plugin docs, people still find then inadequate.
(There *is* a doc standard that they have to pass prior to being
promoted from the sandbox and released.  Does it need to be changed?)

-- 
Wendy

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



Maven pom.xml -display name change?

2007-09-26 Thread morrison19

My ultimate goal is to alternate my builds with different display names for
several EARS. Is there an argument or easy method for switching the display
name during build time? I want to avoid going in and modifying pom files
constantly.
-- 
View this message in context: 
http://www.nabble.com/Maven-pom.xml--display-name-change--tf4522968s177.html#a12903054
Sent from the Maven - Users mailing list archive at Nabble.com.


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



how to override artifacts in repository while deploy

2007-09-26 Thread Ritz, Martin
Hi,

I want to override the existend (in the repository) files when i deploy an 
artifact.
I dont want to have different ones with buildnumber.

Is there a way to do this?

Thx
Martin


Re: Compiling generated classes

2007-09-26 Thread Thomas Fischer
 I have written a plugin to generate some java classes, and would like to
 compile them.

I'm not sure if I understood you correctly. Do you want your plugin to tell
the currently running maven project that it should also compile the java
classes under target/foo that your plugin has just generated ? If this is
true, then use the following procedure
- pass the maven plugin to your mojo using the following code:

/**
 * The maven project in which the plugin runs.
 * @parameter expression=${project}
 * @required
 * @readonly
 */
private MavenProject project;

- in the execute method, add the following line:

project.addCompileSourceRoot(path_to_generated_classes);

If you wanted to do somethinge else, please clarify.

Regards,

 Thomas


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



Rép. : Re: [announce] Continuum 1.1- beta-3 is released

2007-09-26 Thread Eric LECOCQ

I'd like to upgrade from 1.1-beta-1 to beta-3.
I haven't found any library such data-management-cli-1.1-beta-1.jar   
to export data.

What is the easier solution ?

Regards,
Eric
 Anshula [EMAIL PROTECTED] 09/26/07 5:03  

just upgraded my continuum-1.1-beta-2 installation to beta-3. The new
version
looks very good. I upgraded my continuum database for the 1st time, it
worked as a charm using the data management utility. :) 
Great work..!!

Regards,
Anshula


Jesse McConnell wrote:
 
 hm, probably not right now...I'll have to provide for that in the
plexus
 ldap helper.
 
 I tested this against a setup where I had a utility user that I used
for
 that initial bind operation and at the time wasn't able to get the
 apacheds
 unit testing working so the number of scenarios I could test against
was
 limited.  I'll definitely have to make a test for this though now
that I
 have that ability again.
 
 If you like open a redback issue for this at
 http://jira.codehaus.org/browse/REDBACK to track progress on it.
 
 I am also going to put the configuration bits for ldap into the
 security.properties as well since its a bit bothersome to have to
set
 those
 things up in the application.xml like it is currently.
 
 jesse
 
 On 9/26/07, Cla Emanuel Monsch [EMAIL PROTECTED] wrote:

 hi there,

 is it possible to use ldap without bindDN/password? (anonyous bind)

 with the config bellow i got the following error:

 configuration
 hostname/hostname
 port389/port
 baseDndc=netcetera,dc=ch/baseDn

contextFactorycom.sun.jndi.ldap.LdapCtxFactory/contextFactory
 password/password
 bindDn/bindDn
 /configuration

 configuration
 email-attributedescription/email-attribute
 full-name-attributegecos/full-name-attribute
 password-attributeuserPassword/password-attribute
 user-id-attributeuid/user-id-attribute
 user-base-dndc=netcetera,dc=ch/user-base-dn
 user-object-classinetOrgPerson/user-object-class
 /configuration


 INFO   | jvm 1| 2007/09/26 14:23:26 | 2007-09-26 14:23:26,127
 [SocketListener0-1] WARN  ConfigurationFactory   - No
 configuration found. Configuring ehcache fr
 om ehcache-failsafe.xml  found in the classpath:
 jar:file:/share/nca05/build/servers/arcturus/continuum-1.1-beta-3
 /apps/continuum/webapp/WEB-INF/lib/ehcache-1.2.4.jar!/ehc
 ache-failsafe.xml
 INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,244
 [SocketListener0-1] INFO  LdapController:default - Searching
for
 user: guest
 INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,245
 [SocketListener0-1] INFO  LdapController:default - Searching
for
 users with filter: '((objectCla
 ss=inetOrgPerson)(uid=guest))' from base dn: dc=netcetera,dc=ch
 INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,265
 [SocketListener0-1] ERROR DispatcherUtils- Could
not
 find action
 INFO   | jvm 1| 2007/09/26 14:23:30 | Caught Exception while
 registering Interceptor class redbackEnvironmentCheckInterceptor -
 Class: org.codehaus.plexus.redback.xwor
 k.checks.security.GuestUserEnvironmentCheck
 INFO   | jvm 1| 2007/09/26 14:23:30 | File:
 GuestUserEnvironmentCheck.java
 INFO   | jvm 1| 2007/09/26 14:23:30 | Method:
validateEnvironment
 INFO   | jvm 1| 2007/09/26 14:23:30 | Line: 100 -


org/codehaus/plexus/redback/xwork/checks/security/GuestUserEnvironmentCheck.java:100:-1
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at
 org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(
 PlexusObjectFactory.java:152)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at


com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference
 (InterceptorBuilder.java:56)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at


com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference
 (XmlConfigurationProvider.jav
 a:701)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at


com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack
 (XmlConfigurationProvider.java:568)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at


com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStacks
 (XmlConfigurationProvider.java:581
 )
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at


com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptors
 (XmlConfigurationProvider.java:602)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at


com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage
 (XmlConfigurationProvider.java:204)
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at


com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile
 (XmlConfigurationProvider.java:675
 )
 INFO   | jvm 1| 2007/09/26 14:23:30 |   at


com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile
 (XmlConfigurationProvider.java:678
 )
 INFO   | jvm 1| 

Re: Rép. : Re: [announce] Co ntinuum 1.1-beta-3 is released

2007-09-26 Thread Emmanuel Venisse

You can try with data-management-cli-1.1-beta-2.jar but I'm not sure it will 
work.

Emmanuel

Eric LECOCQ a écrit :

I'd like to upgrade from 1.1-beta-1 to beta-3.
I haven't found any library such data-management-cli-1.1-beta-1.jar   
to export data.


What is the easier solution ?

Regards,
Eric

Anshula [EMAIL PROTECTED] 09/26/07 5:03  


just upgraded my continuum-1.1-beta-2 installation to beta-3. The new
version
looks very good. I upgraded my continuum database for the 1st time, it
worked as a charm using the data management utility. :) 
Great work..!!


Regards,
Anshula


Jesse McConnell wrote:

hm, probably not right now...I'll have to provide for that in the

plexus

ldap helper.

I tested this against a setup where I had a utility user that I used

for

that initial bind operation and at the time wasn't able to get the
apacheds
unit testing working so the number of scenarios I could test against

was

limited.  I'll definitely have to make a test for this though now

that I

have that ability again.

If you like open a redback issue for this at
http://jira.codehaus.org/browse/REDBACK to track progress on it.

I am also going to put the configuration bits for ldap into the
security.properties as well since its a bit bothersome to have to

set

those
things up in the application.xml like it is currently.

jesse

On 9/26/07, Cla Emanuel Monsch [EMAIL PROTECTED] wrote:

hi there,

is it possible to use ldap without bindDN/password? (anonyous bind)

with the config bellow i got the following error:

configuration
hostname/hostname
port389/port
baseDndc=netcetera,dc=ch/baseDn
   

contextFactorycom.sun.jndi.ldap.LdapCtxFactory/contextFactory

password/password
bindDn/bindDn
/configuration

configuration
email-attributedescription/email-attribute
full-name-attributegecos/full-name-attribute
password-attributeuserPassword/password-attribute
user-id-attributeuid/user-id-attribute
user-base-dndc=netcetera,dc=ch/user-base-dn
user-object-classinetOrgPerson/user-object-class
/configuration


INFO   | jvm 1| 2007/09/26 14:23:26 | 2007-09-26 14:23:26,127
[SocketListener0-1] WARN  ConfigurationFactory   - No
configuration found. Configuring ehcache fr
om ehcache-failsafe.xml  found in the classpath:
jar:file:/share/nca05/build/servers/arcturus/continuum-1.1-beta-3
/apps/continuum/webapp/WEB-INF/lib/ehcache-1.2.4.jar!/ehc
ache-failsafe.xml
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,244
[SocketListener0-1] INFO  LdapController:default - Searching

for

user: guest
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,245
[SocketListener0-1] INFO  LdapController:default - Searching

for

users with filter: '((objectCla
ss=inetOrgPerson)(uid=guest))' from base dn: dc=netcetera,dc=ch
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,265
[SocketListener0-1] ERROR DispatcherUtils- Could

not

find action
INFO   | jvm 1| 2007/09/26 14:23:30 | Caught Exception while
registering Interceptor class redbackEnvironmentCheckInterceptor -
Class: org.codehaus.plexus.redback.xwor
k.checks.security.GuestUserEnvironmentCheck
INFO   | jvm 1| 2007/09/26 14:23:30 | File:
GuestUserEnvironmentCheck.java
INFO   | jvm 1| 2007/09/26 14:23:30 | Method:

validateEnvironment

INFO   | jvm 1| 2007/09/26 14:23:30 | Line: 100 -



org/codehaus/plexus/redback/xwork/checks/security/GuestUserEnvironmentCheck.java:100:-1

INFO   | jvm 1| 2007/09/26 14:23:30 |   at
org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(
PlexusObjectFactory.java:152)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at



com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference

(InterceptorBuilder.java:56)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at



com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference

(XmlConfigurationProvider.jav
a:701)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at



com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack

(XmlConfigurationProvider.java:568)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at



com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStacks

(XmlConfigurationProvider.java:581
)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at



com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptors

(XmlConfigurationProvider.java:602)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at



com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage

(XmlConfigurationProvider.java:204)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at



com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile

(XmlConfigurationProvider.java:675
)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at




Re: Rép. : Re: [announce] Co ntinuum 1.1-beta-3 is released

2007-09-26 Thread B. De Mezzo
The same for me but from an older version : 1.1-alpha-2 to the 
1.1-beta-3. (I have try the


data-management-cli-1.1-beta-2.jar and data-management-cli-1.1-beta-2.jar, but 
none of them work)

Thx,
BDM. 


Eric LECOCQ a écrit :

I'd like to upgrade from 1.1-beta-1 to beta-3.
I haven't found any library such data-management-cli-1.1-beta-1.jar   
to export data.


What is the easier solution ?

Regards,
Eric
  

Anshula [EMAIL PROTECTED] 09/26/07 5:03  



just upgraded my continuum-1.1-beta-2 installation to beta-3. The new
version
looks very good. I upgraded my continuum database for the 1st time, it
worked as a charm using the data management utility. :) 
Great work..!!


Regards,
Anshula


Jesse McConnell wrote:
  

hm, probably not right now...I'll have to provide for that in the


plexus
  

ldap helper.

I tested this against a setup where I had a utility user that I used


for
  

that initial bind operation and at the time wasn't able to get the
apacheds
unit testing working so the number of scenarios I could test against


was
  

limited.  I'll definitely have to make a test for this though now


that I
  

have that ability again.

If you like open a redback issue for this at
http://jira.codehaus.org/browse/REDBACK to track progress on it.

I am also going to put the configuration bits for ldap into the
security.properties as well since its a bit bothersome to have to


set
  

those
things up in the application.xml like it is currently.

jesse

On 9/26/07, Cla Emanuel Monsch [EMAIL PROTECTED] wrote:


hi there,

is it possible to use ldap without bindDN/password? (anonyous bind)

with the config bellow i got the following error:

configuration
hostname/hostname
port389/port
baseDndc=netcetera,dc=ch/baseDn
   
  

contextFactorycom.sun.jndi.ldap.LdapCtxFactory/contextFactory
  

password/password
bindDn/bindDn
/configuration

configuration
email-attributedescription/email-attribute
full-name-attributegecos/full-name-attribute
password-attributeuserPassword/password-attribute
user-id-attributeuid/user-id-attribute
user-base-dndc=netcetera,dc=ch/user-base-dn
user-object-classinetOrgPerson/user-object-class
/configuration


INFO   | jvm 1| 2007/09/26 14:23:26 | 2007-09-26 14:23:26,127
[SocketListener0-1] WARN  ConfigurationFactory   - No
configuration found. Configuring ehcache fr
om ehcache-failsafe.xml  found in the classpath:
jar:file:/share/nca05/build/servers/arcturus/continuum-1.1-beta-3
/apps/continuum/webapp/WEB-INF/lib/ehcache-1.2.4.jar!/ehc
ache-failsafe.xml
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,244
[SocketListener0-1] INFO  LdapController:default - Searching
  

for
  

user: guest
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,245
[SocketListener0-1] INFO  LdapController:default - Searching
  

for
  

users with filter: '((objectCla
ss=inetOrgPerson)(uid=guest))' from base dn: dc=netcetera,dc=ch
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,265
[SocketListener0-1] ERROR DispatcherUtils- Could
  

not
  

find action
INFO   | jvm 1| 2007/09/26 14:23:30 | Caught Exception while
registering Interceptor class redbackEnvironmentCheckInterceptor -
Class: org.codehaus.plexus.redback.xwor
k.checks.security.GuestUserEnvironmentCheck
INFO   | jvm 1| 2007/09/26 14:23:30 | File:
GuestUserEnvironmentCheck.java
INFO   | jvm 1| 2007/09/26 14:23:30 | Method:
  

validateEnvironment
  

INFO   | jvm 1| 2007/09/26 14:23:30 | Line: 100 -


  

org/codehaus/plexus/redback/xwork/checks/security/GuestUserEnvironmentCheck.java:100:-1
  

INFO   | jvm 1| 2007/09/26 14:23:30 |   at
org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(
PlexusObjectFactory.java:152)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  

com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference
  

(InterceptorBuilder.java:56)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  

com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference
  

(XmlConfigurationProvider.jav
a:701)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  

com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack
  

(XmlConfigurationProvider.java:568)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  

com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStacks
  

(XmlConfigurationProvider.java:581
)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  

com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptors
  

(XmlConfigurationProvider.java:602)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  

com.opensymphony.xwork.config.providers.XmlConfigurationProvider.addPackage
  

(XmlConfigurationProvider.java:204)
INFO   | jvm 1

Re: how to override artifacts in repository while deploy

2007-09-26 Thread Tim Kettler

Hi,

do you mean snapshot artifacts?

you can use uniqueVersionfalse/uniqueVersion in the distribution 
management section of your pom.


-Tim

Ritz, Martin schrieb:

Hi,

I want to override the existend (in the repository) files when i deploy an 
artifact.
I dont want to have different ones with buildnumber.

Is there a way to do this?

Thx
Martin




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



Re: Why Maven is Hard?

2007-09-26 Thread Wayne Fay
Thinking about it, it seems like the mojo-dev list would be the
right place for Maven plugin development discussion. Its just not
very high traffic at this point.

Probably if you joined and started posting questions etc, we could
turn it into the mailing list we want/need with active participation.
I'm sure other plugin devs like myself would appreciate this kind of
forum.

Wayne

On 9/26/07, Sommers, Elizabeth [EMAIL PROTECTED] wrote:

 What I want is an active mailing list for plugin developers.  I have
 written too many plugins with less than stellar testing harnesses and
 tools.  The developers' mailing list is not the right place to discuss
 plugins.

 I think that maven itself has got pretty stable.  The problem is that
 the plugins are NOT stable and vary in quality.

 I have now written more ant and maven than I care to think about (I am a
 build/release engineer).  I know there are things I have found that
 other people might be interested in.  I know that other people have
 solved other problems.  I would like to be discussing these solutions in
 a forum where I am not boring either new users or the developers.

 -
 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: Retro-fitting existing project to use Maven

2007-09-26 Thread Wayne Fay
I'd go so far as to say you *must* refactor your projects to follow
the Maven standards, to ensure the greatest chance of success in your
migration.

Wayne

On 9/26/07, Tim Kettler [EMAIL PROTECTED] wrote:
 Hi,

 James Depaul schrieb:
 
  We have an existing project that we're trying to configure to use Maven
  2.x.   The goal is to simply be able to compile and Test the project using
  existing test cases.
 
  I've configured the pom.xml for basic project configuration, but have run
  into an issue already:  it turns out that our project is really composed of
  several projects:
 
  CodsCommon - contains common classes and artifacts
  CodsWeb - contains web assets including MVC components
  CodsWebTesting - contains all the test cases
 
  The problem I'm facing is that in order to compile and run the test cases,
  I need to first compile CodsCommon and CodsWeb and then CodsWebTesting - in
  that order, into the common target/classes dir.   So, how do I setup those
  dependencies in my pom.xml - a hint or a link would be appreciated.
  Basically, I think I need to define each project independently and declare
  them as dependencies to CodsWebTesting - is that how I need to do it?!

 Yes, that's the maven way. You probably want to set up a multi-module
 build with your three pojects and declare dependencies between them.

  Also, each project  above has a custom directory path (not like standard
  Maven), though I'm hoping that I can use the sourceDirectory tag to point
  it in each project.

 That should work. However, if you really want to migrate to maven I
 strongly advise you to refactor the projects to follow the maven standards.

  Your help and examples will be appreciated.

 Additionally, the two free books on maven2 listed here [1] are a good
 starting point to get familiar with maven.

  Thanks,
  James

 -Tim

 [1] http://maven.apache.org/articles.html

 -
 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: Rép. : Re: [announce] Co ntinuum 1.1-beta-3 is released

2007-09-26 Thread Emmanuel Venisse

You can try with an intermediate db format but I think you'll have some error 
too.

java -jar data-management-cli-1.1-beta-2.jar -databaseFormat CONTINUUM_109 

But old db schemas wasn't very good (bad foreign keys...) so maybe it would be 
better to start with a clean db.

Emmanuel

B. De Mezzo a écrit :
The same for me but from an older version : 1.1-alpha-2 to the 
1.1-beta-3. (I have try the


data-management-cli-1.1-beta-2.jar and 
data-management-cli-1.1-beta-2.jar, but none of them work)


Thx,
BDM.
Eric LECOCQ a écrit :

I'd like to upgrade from 1.1-beta-1 to beta-3.
I haven't found any library such data-management-cli-1.1-beta-1.jar   
to export data.


What is the easier solution ?

Regards,
Eric
 

Anshula [EMAIL PROTECTED] 09/26/07 5:03  



just upgraded my continuum-1.1-beta-2 installation to beta-3. The new
version
looks very good. I upgraded my continuum database for the 1st time, it
worked as a charm using the data management utility. :) Great work..!!

Regards,
Anshula


Jesse McConnell wrote:
 

hm, probably not right now...I'll have to provide for that in the


plexus
 

ldap helper.

I tested this against a setup where I had a utility user that I used


for
 

that initial bind operation and at the time wasn't able to get the
apacheds
unit testing working so the number of scenarios I could test against


was
 

limited.  I'll definitely have to make a test for this though now


that I
 

have that ability again.

If you like open a redback issue for this at
http://jira.codehaus.org/browse/REDBACK to track progress on it.

I am also going to put the configuration bits for ldap into the
security.properties as well since its a bit bothersome to have to


set
 

those
things up in the application.xml like it is currently.

jesse

On 9/26/07, Cla Emanuel Monsch [EMAIL PROTECTED] wrote:
   

hi there,

is it possible to use ldap without bindDN/password? (anonyous bind)

with the config bellow i got the following error:

configuration
hostname/hostname
port389/port
baseDndc=netcetera,dc=ch/baseDn
 

contextFactorycom.sun.jndi.ldap.LdapCtxFactory/contextFactory
 

password/password
bindDn/bindDn
/configuration

configuration
email-attributedescription/email-attribute
full-name-attributegecos/full-name-attribute
password-attributeuserPassword/password-attribute
user-id-attributeuid/user-id-attribute
user-base-dndc=netcetera,dc=ch/user-base-dn
user-object-classinetOrgPerson/user-object-class
/configuration


INFO   | jvm 1| 2007/09/26 14:23:26 | 2007-09-26 14:23:26,127
[SocketListener0-1] WARN  ConfigurationFactory   - No
configuration found. Configuring ehcache fr
om ehcache-failsafe.xml  found in the classpath:
jar:file:/share/nca05/build/servers/arcturus/continuum-1.1-beta-3
/apps/continuum/webapp/WEB-INF/lib/ehcache-1.2.4.jar!/ehc
ache-failsafe.xml
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,244
[SocketListener0-1] INFO  LdapController:default - Searching
  

for
 

user: guest
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,245
[SocketListener0-1] INFO  LdapController:default - Searching
  

for
 

users with filter: '((objectCla
ss=inetOrgPerson)(uid=guest))' from base dn: dc=netcetera,dc=ch
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,265
[SocketListener0-1] ERROR DispatcherUtils- Could
  

not
 

find action
INFO   | jvm 1| 2007/09/26 14:23:30 | Caught Exception while
registering Interceptor class redbackEnvironmentCheckInterceptor -
Class: org.codehaus.plexus.redback.xwor
k.checks.security.GuestUserEnvironmentCheck
INFO   | jvm 1| 2007/09/26 14:23:30 | File:
GuestUserEnvironmentCheck.java
INFO   | jvm 1| 2007/09/26 14:23:30 | Method:
  

validateEnvironment
 

INFO   | jvm 1| 2007/09/26 14:23:30 | Line: 100 -


  
org/codehaus/plexus/redback/xwork/checks/security/GuestUserEnvironmentCheck.java:100:-1 

 

INFO   | jvm 1| 2007/09/26 14:23:30 |   at
org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(
PlexusObjectFactory.java:152)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  
com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference 

 

(InterceptorBuilder.java:56)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference 

 

(XmlConfigurationProvider.jav
a:701)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack 

 

(XmlConfigurationProvider.java:568)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStacks 

 

(XmlConfigurationProvider.java:581
)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  

Re: Maven pom.xml -display name change?

2007-09-26 Thread Wayne Fay
Why?

Wayne

On 9/26/07, morrison19 [EMAIL PROTECTED] wrote:

 My ultimate goal is to alternate my builds with different display names for
 several EARS. Is there an argument or easy method for switching the display
 name during build time? I want to avoid going in and modifying pom files
 constantly.
 --
 View this message in context: 
 http://www.nabble.com/Maven-pom.xml--display-name-change--tf4522968s177.html#a12903054
 Sent from the Maven - Users mailing list archive at Nabble.com.


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



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



Re: Maven pom.xml -display name change?

2007-09-26 Thread morrison19

I'm trying to horizontally scale builds. I need to switch between two
websphere profiles. Currently, there are two different websphere profiles
set up. I can target either profile via the deployment manager. A problem
occurs when app names are the same. The deployment manager doesn't like
this, thus, I'd like to switch the display name in the pom file so that it
doesn't conflict.



Wayne Fay wrote:
 
 Why?
 
 Wayne
 
 On 9/26/07, morrison19 [EMAIL PROTECTED] wrote:

 My ultimate goal is to alternate my builds with different display names
 for
 several EARS. Is there an argument or easy method for switching the
 display
 name during build time? I want to avoid going in and modifying pom files
 constantly.
 --
 View this message in context:
 http://www.nabble.com/Maven-pom.xml--display-name-change--tf4522968s177.html#a12903054
 Sent from the Maven - Users mailing list archive at Nabble.com.


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


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

-- 
View this message in context: 
http://www.nabble.com/Maven-pom.xml--display-name-change--tf4522968s177.html#a12903869
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Rép. : Re: [announce] Co ntinuum 1.1-beta-3 is released

2007-09-26 Thread B. De Mezzo
ok ... does not work too ... I'll create the whole projects from the 
beginning again :)


Just a question : what is meaning/differences between Project Group 
Name and Project Group Id (when I want to create an new project group) ?


Thx,
BDM.

Emmanuel Venisse a écrit :
You can try with an intermediate db format but I think you'll have 
some error too.


java -jar data-management-cli-1.1-beta-2.jar -databaseFormat 
CONTINUUM_109 


But old db schemas wasn't very good (bad foreign keys...) so maybe it 
would be better to start with a clean db.


Emmanuel

B. De Mezzo a écrit :
The same for me but from an older version : 1.1-alpha-2 to the 
1.1-beta-3. (I have try the


data-management-cli-1.1-beta-2.jar and 
data-management-cli-1.1-beta-2.jar, but none of them work)


Thx,
BDM.
Eric LECOCQ a écrit :

I'd like to upgrade from 1.1-beta-1 to beta-3.
I haven't found any library such 
data-management-cli-1.1-beta-1.jar   to export data.


What is the easier solution ?

Regards,
Eric
 

Anshula [EMAIL PROTECTED] 09/26/07 5:03  



just upgraded my continuum-1.1-beta-2 installation to beta-3. The new
version
looks very good. I upgraded my continuum database for the 1st time, it
worked as a charm using the data management utility. :) Great work..!!

Regards,
Anshula


Jesse McConnell wrote:
 

hm, probably not right now...I'll have to provide for that in the


plexus
 

ldap helper.

I tested this against a setup where I had a utility user that I used


for
 

that initial bind operation and at the time wasn't able to get the
apacheds
unit testing working so the number of scenarios I could test against


was
 

limited.  I'll definitely have to make a test for this though now


that I
 

have that ability again.

If you like open a redback issue for this at
http://jira.codehaus.org/browse/REDBACK to track progress on it.

I am also going to put the configuration bits for ldap into the
security.properties as well since its a bit bothersome to have to


set
 

those
things up in the application.xml like it is currently.

jesse

On 9/26/07, Cla Emanuel Monsch [EMAIL PROTECTED] wrote:
  

hi there,

is it possible to use ldap without bindDN/password? (anonyous bind)

with the config bellow i got the following error:

configuration
hostname/hostname
port389/port
baseDndc=netcetera,dc=ch/baseDn
 

contextFactorycom.sun.jndi.ldap.LdapCtxFactory/contextFactory
 

password/password
bindDn/bindDn
/configuration

configuration
email-attributedescription/email-attribute
full-name-attributegecos/full-name-attribute
password-attributeuserPassword/password-attribute
user-id-attributeuid/user-id-attribute
user-base-dndc=netcetera,dc=ch/user-base-dn
user-object-classinetOrgPerson/user-object-class
/configuration


INFO   | jvm 1| 2007/09/26 14:23:26 | 2007-09-26 14:23:26,127
[SocketListener0-1] WARN  ConfigurationFactory   - No
configuration found. Configuring ehcache fr
om ehcache-failsafe.xml  found in the classpath:
jar:file:/share/nca05/build/servers/arcturus/continuum-1.1-beta-3
/apps/continuum/webapp/WEB-INF/lib/ehcache-1.2.4.jar!/ehc
ache-failsafe.xml
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,244
[SocketListener0-1] INFO  LdapController:default - Searching
  

for
 

user: guest
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,245
[SocketListener0-1] INFO  LdapController:default - Searching
  

for
 

users with filter: '((objectCla
ss=inetOrgPerson)(uid=guest))' from base dn: dc=netcetera,dc=ch
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,265
[SocketListener0-1] ERROR DispatcherUtils- Could
  

not
 

find action
INFO   | jvm 1| 2007/09/26 14:23:30 | Caught Exception while
registering Interceptor class redbackEnvironmentCheckInterceptor -
Class: org.codehaus.plexus.redback.xwor
k.checks.security.GuestUserEnvironmentCheck
INFO   | jvm 1| 2007/09/26 14:23:30 | File:
GuestUserEnvironmentCheck.java
INFO   | jvm 1| 2007/09/26 14:23:30 | Method:
  

validateEnvironment
 

INFO   | jvm 1| 2007/09/26 14:23:30 | Line: 100 -


  
org/codehaus/plexus/redback/xwork/checks/security/GuestUserEnvironmentCheck.java:100:-1 

 

INFO   | jvm 1| 2007/09/26 14:23:30 |   at
org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(
PlexusObjectFactory.java:152)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  
com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference 

 

(InterceptorBuilder.java:56)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.lookupInterceptorReference 

 

(XmlConfigurationProvider.jav
a:701)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  
com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadInterceptorStack 

 


Changelog for Perforce

2007-09-26 Thread Yan Huang
Hello,

Is there any example as to how to configure changelog plug-in for Perforce?
I was trying this one but it didn't work. How can I include user/password
for Perforce in pom?

 scm
   connectionscm:perforce:[EMAIL PROTECTED]:3460
://path/to/mydepo/connection
 /scm

  plugin
groupIdorg.apache.maven.plugins/groupId
artifactIdmaven-changelog-plugin/artifactId
configuration
  systemProperties
property
  namemaven.scm.perforce.clientspec.name/name
  valueauto-foundations/value
/property
  /systemProperties
/configuration
  /plugin

Thanks
Yan


Re: how to inherit scopeprovided/scope to transitive dependencies

2007-09-26 Thread aldana

no, i checked this already by including neethi as the only dependency. have
you tried the same and the result was different? 

for collecting the libraries for the release i am using latest snapshot of
assembly plugin. with this setting transitive dependencies get included,
though belonging to provided dependency.


Tim Kettler wrote:
 
 Hi,
 
 can it be, that the unwanted dependencies get pulled in as transitive 
 depenendencies of some other depenendency than 'neethi', that has not 
 scope 'provided'?
 
 -Tim
 
 aldana schrieb:
 hi,
 
 i am deploying an axis2 app to tomcat. i need some libraries for compile
 time but do not need to package them because they are provided by
 webapp-container. that's why i use scopeprovided/scope. in my case
 this
 is for instance:
 
 dependency
   groupIdorg.apache.ws.commons.neethi/groupId
   artifactIdneethi/artifactId
   version2.0/version
   optionaltrue/optional
   scopeprovided/scope
 /dependency
 
 
 neethi gets excluded in package-phase but very unfortunately the
 transitive
 dependencies from neethi get included :( this is not what i want: when
 marking a dependency as provided of course transitive dependencies should
 not be included either for they are provided from container already...
 
 what am i doing wrong? is there another way to achieve this or do i
 misunderstand the use of scope-provided?
 
 thanks.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/how-to-inherit-%3Cscope%3Eprovided%3C-scope%3E-to-transitive-dependencies-tf4516735s177.html#a12904167
Sent from the Maven - Users mailing list archive at Nabble.com.


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



RE: Why Maven is Hard?

2007-09-26 Thread John Coleman
There might be enough discrete Maven subject areas to justify something
more like a BB, eg like JavaRanch? I get a lot of mails from here that
are for topics I know nothing about and are unlikely to dabble with.

John

-Original Message-
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: 26 September 2007 16:38
To: Maven Users List
Subject: Re: Why Maven is Hard?

Thinking about it, it seems like the mojo-dev list would be the
right place for Maven plugin development discussion. Its just not
very high traffic at this point.

Probably if you joined and started posting questions etc, we could
turn it into the mailing list we want/need with active participation.
I'm sure other plugin devs like myself would appreciate this kind of
forum.

Wayne

On 9/26/07, Sommers, Elizabeth [EMAIL PROTECTED] wrote:

 What I want is an active mailing list for plugin developers.  I have
 written too many plugins with less than stellar testing harnesses and
 tools.  The developers' mailing list is not the right place to discuss
 plugins.

 I think that maven itself has got pretty stable.  The problem is that
 the plugins are NOT stable and vary in quality.

 I have now written more ant and maven than I care to think about (I am
a
 build/release engineer).  I know there are things I have found that
 other people might be interested in.  I know that other people have
 solved other problems.  I would like to be discussing these solutions
in
 a forum where I am not boring either new users or the developers.

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


Eurobase International Limited and its subsidiaries (Eurobase) are unable to 
exercise control over the content of information in E-Mails. Any views and 
opinions expressed may be personal to the sender and are not necessarily those 
of Eurobase. Eurobase will not enter into any contractual obligations in 
respect of any part of its business in any E-mail. 

Privileged / confidential information may be contained in this message and /or 
any attachments. This E-mail is intended for the use of the addressee(s) only 
and may contain confidential information. If you are not the / an intended 
recipient, you are hereby notified that any use or dissemination of this 
communication is strictly prohibited.  If you receive this transmission in 
error, please notify us immediately, and then delete this E-mail. 

Neither the sender nor Eurobase accepts any liability whatsoever for any 
defects of any kind either in or arising from this E-mail transmission. E-Mail 
transmission cannot be guaranteed to be secure or error-free, as messages can 
be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or 
incomplete. Eurobase does not accept any responsibility for viruses and it is 
your responsibility to scan any attachments.

Eurobase Systems Limited is the main trading company in the Eurobase 
International Group; registered in England and Wales as company number 
02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex 
CM2 0RE, UK.


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



Re: Rép. : Re: [announce] Co ntinuum 1.1-beta-3 is released

2007-09-26 Thread Emmanuel Venisse



B. De Mezzo a écrit :
ok ... does not work too ... I'll create the whole projects from the 
beginning again :)


sorry



Just a question : what is meaning/differences between Project Group 
Name and Project Group Id (when I want to create an new project group) ?


it's just string so you can use what you want but generally we use a real name for the group, for exemple Apache Continuum and the groupId of the main project of this group, for exemple 
org.apache.maven.continuum


The group name is used for roles so it appears in the available roles list.

Emmanuel


Thx,
BDM.

Emmanuel Venisse a écrit :
You can try with an intermediate db format but I think you'll have 
some error too.


java -jar data-management-cli-1.1-beta-2.jar -databaseFormat 
CONTINUUM_109 


But old db schemas wasn't very good (bad foreign keys...) so maybe it 
would be better to start with a clean db.


Emmanuel

B. De Mezzo a écrit :
The same for me but from an older version : 1.1-alpha-2 to the 
1.1-beta-3. (I have try the


data-management-cli-1.1-beta-2.jar and 
data-management-cli-1.1-beta-2.jar, but none of them work)


Thx,
BDM.
Eric LECOCQ a écrit :

I'd like to upgrade from 1.1-beta-1 to beta-3.
I haven't found any library such 
data-management-cli-1.1-beta-1.jar   to export data.


What is the easier solution ?

Regards,
Eric
 

Anshula [EMAIL PROTECTED] 09/26/07 5:03  



just upgraded my continuum-1.1-beta-2 installation to beta-3. The new
version
looks very good. I upgraded my continuum database for the 1st time, it
worked as a charm using the data management utility. :) Great work..!!

Regards,
Anshula


Jesse McConnell wrote:
 

hm, probably not right now...I'll have to provide for that in the


plexus
 

ldap helper.

I tested this against a setup where I had a utility user that I used


for
 

that initial bind operation and at the time wasn't able to get the
apacheds
unit testing working so the number of scenarios I could test against


was
 

limited.  I'll definitely have to make a test for this though now


that I
 

have that ability again.

If you like open a redback issue for this at
http://jira.codehaus.org/browse/REDBACK to track progress on it.

I am also going to put the configuration bits for ldap into the
security.properties as well since its a bit bothersome to have to


set
 

those
things up in the application.xml like it is currently.

jesse

On 9/26/07, Cla Emanuel Monsch [EMAIL PROTECTED] wrote:
 

hi there,

is it possible to use ldap without bindDN/password? (anonyous bind)

with the config bellow i got the following error:

configuration
hostname/hostname
port389/port
baseDndc=netcetera,dc=ch/baseDn
 

contextFactorycom.sun.jndi.ldap.LdapCtxFactory/contextFactory
 

password/password
bindDn/bindDn
/configuration

configuration
email-attributedescription/email-attribute
full-name-attributegecos/full-name-attribute
password-attributeuserPassword/password-attribute
user-id-attributeuid/user-id-attribute
user-base-dndc=netcetera,dc=ch/user-base-dn
user-object-classinetOrgPerson/user-object-class
/configuration


INFO   | jvm 1| 2007/09/26 14:23:26 | 2007-09-26 14:23:26,127
[SocketListener0-1] WARN  ConfigurationFactory   - No
configuration found. Configuring ehcache fr
om ehcache-failsafe.xml  found in the classpath:
jar:file:/share/nca05/build/servers/arcturus/continuum-1.1-beta-3
/apps/continuum/webapp/WEB-INF/lib/ehcache-1.2.4.jar!/ehc
ache-failsafe.xml
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,244
[SocketListener0-1] INFO  LdapController:default - Searching
  

for
 

user: guest
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,245
[SocketListener0-1] INFO  LdapController:default - Searching
  

for
 

users with filter: '((objectCla
ss=inetOrgPerson)(uid=guest))' from base dn: dc=netcetera,dc=ch
INFO   | jvm 1| 2007/09/26 14:23:30 | 2007-09-26 14:23:30,265
[SocketListener0-1] ERROR DispatcherUtils- Could
  

not
 

find action
INFO   | jvm 1| 2007/09/26 14:23:30 | Caught Exception while
registering Interceptor class redbackEnvironmentCheckInterceptor -
Class: org.codehaus.plexus.redback.xwor
k.checks.security.GuestUserEnvironmentCheck
INFO   | jvm 1| 2007/09/26 14:23:30 | File:
GuestUserEnvironmentCheck.java
INFO   | jvm 1| 2007/09/26 14:23:30 | Method:
  

validateEnvironment
 

INFO   | jvm 1| 2007/09/26 14:23:30 | Line: 100 -


  
org/codehaus/plexus/redback/xwork/checks/security/GuestUserEnvironmentCheck.java:100:-1 

 

INFO   | jvm 1| 2007/09/26 14:23:30 |   at
org.codehaus.plexus.xwork.PlexusObjectFactory.buildInterceptor(
PlexusObjectFactory.java:152)
INFO   | jvm 1| 2007/09/26 14:23:30 |   at


  
com.opensymphony.xwork.config.providers.InterceptorBuilder.constructInterceptorReference 

 

(InterceptorBuilder.java:56)
INFO   | jvm 1| 2007/09/26 14:23:30 

RE: Deploying same version overwrites existing release

2007-09-26 Thread Hayes, Peter
Yes that is true.  We are using clearcase though and the release plugin
has some limitations with regards to clearcase.  

I thought though that once a release is made, it should never be changed
as it is in the wild and may have already been used.  For instance, I
think recently the maven developers had a problem with the release of
the archetype plugin and they did not just re-release that version, they
moved to a new one.  If this is the recommended process, then I would
think it would be appropriate for the deploy command to (at least by
default) not allow the overwriting of an existing artifact.

Pete  

-Original Message-
From: John Coleman [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 26, 2007 10:46 AM
To: Maven Users List
Subject: RE: Deploying same version overwrites existing release

But if you use relase:prepare/release:perform then your snapshot version
number goes up afterwards and overwritting is impossible?

John

-Original Message-
From: Hayes, Peter [mailto:[EMAIL PROTECTED] 
Sent: 26 September 2007 15:39
To: Maven Users List
Subject: Deploying same version overwrites existing release

Is there a way to configure maven to not allow it to deploy over an
existing release artifact?

Peter Hayes
Architecture  Shared Technology Services | Fidelity Investments
Management Technology


Eurobase International Limited and its subsidiaries (Eurobase) are
unable to exercise control over the content of information in E-Mails.
Any views and opinions expressed may be personal to the sender and are
not necessarily those of Eurobase. Eurobase will not enter into any
contractual obligations in respect of any part of its business in any
E-mail. 

Privileged / confidential information may be contained in this message
and /or any attachments. This E-mail is intended for the use of the
addressee(s) only and may contain confidential information. If you are
not the / an intended recipient, you are hereby notified that any use or
dissemination of this communication is strictly prohibited.  If you
receive this transmission in error, please notify us immediately, and
then delete this E-mail. 

Neither the sender nor Eurobase accepts any liability whatsoever for any
defects of any kind either in or arising from this E-mail transmission.
E-Mail transmission cannot be guaranteed to be secure or error-free, as
messages can be intercepted, lost, corrupted, destroyed, contain
viruses, or arrive late or incomplete. Eurobase does not accept any
responsibility for viruses and it is your responsibility to scan any
attachments.

Eurobase Systems Limited is the main trading company in the Eurobase
International Group; registered in England and Wales as company number
02251162; registered address: Essex House, 2 County Place, Chelmsford,
Essex CM2 0RE, UK.


-
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: how to inherit scopeprovided/scope to transitive dependencies

2007-09-26 Thread aldana

the war task would not work in the first place (this would be the second
step). in axis2 apps i need to package first my stuff with the
maven-aar-plugin and maven-mar-plugin.
further more i wanted to avoid tweaking around with excludes pattern,
because i want to simplify my configuration with just marking dependency as
provided.

but if i do not find the solution or maybe it is a bug, i will have to live
with first and do a workaround with excluding axis2 libraries explicitly. in
case of being a bug will have a look whether i can fix it...

never the less, many thanks for your solutions.


Michael McCallum-3 wrote:
 
 solution 1
 
 
 try... standard OO principles to encapsulate the depedency you wish to
 mask 
 and use excludes to keep it from the war
 
 e.g.
 
 war - b - a
 
 gives you 
 war(a,b)
 
 to
 
 war - c  - (exlude a) b -a
  
 gives you
 war(c,b)
 
 c can be a jar or even just a pom project, jars are better cause you end
 up 
 with the pom.properties which can be useful for knowing exactly what a 
 deployed war contains
 
 Personally I've only had trouble with the provided target. The key failing
 for 
 me is that a war should theoretically be portable and as such you don't
 know 
 whats provided until later... And really you should be able to bundle all
 you 
 libraries as the container reads bottom up... commons logging breaks this 
 though which is why i use slf4j
 
 solution 2
 --
 produce the war (a) as an underlay by excluding all the jars from it... 
   groupIda.b.c/groupId
   artifactida.b.c.web/artifactId
   plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-war-plugin/artifactId
   configuration
   archiveClassestrue/archiveClasses
   classifierunderlay/classifier
   
 warSourceExcludesWEB-INF/lib/*.jar/warSourceExcludes
   /configuration
   executions
   execution
   goals
   goalwar/goal
   /goals
   /execution
   /executions
   /plugin
 
 create a new war for the specific target e.g. tomcat that depends upon the 
 underlay + its primary jar (needed for transitions)
 groupIda.b.c/groupId
 artifactIda.b.c.web.tomcat/artifactId
 dependencies
   dependency
   groupIda.b.c/groupId
   artifactida.b.c.web/artifactId
   versionX/version
   /dependency
   dependency
   groupIda.b.c/groupId
   artifactida.b.c.web/artifactId
   versionX/version
   classifierunderlay/classifier
   /dependency
 /dependencies
 plugin
   groupIdorg.apache.maven.plugins/groupId
   artifactIdmaven-war-plugin/artifactId
   configuration
   
 warSourceExcludesWEB-INF/lib/***provided jar name 
 here***.jar/warSourceExcludes
   /configuration
   executions
   execution
   goals
   goalwar/goal
   /goals
   /execution
   /executions
   /plugin
 
 On Wednesday 26 September 2007 04:24, aldana wrote:
 hi,

 i am deploying an axis2 app to tomcat. i need some libraries for compile
 time but do not need to package them because they are provided by
 webapp-container. that's why i use scopeprovided/scope. in my case
 this
 is for instance:

 dependency
   groupIdorg.apache.ws.commons.neethi/groupId
   artifactIdneethi/artifactId
   version2.0/version
   optionaltrue/optional
   scopeprovided/scope
 /dependency


 neethi gets excluded in package-phase but very unfortunately the
 transitive
 dependencies from neethi get included :( this is not what i want: when
 marking a dependency as provided of course transitive dependencies should
 not be included either for they are provided from container already...

 what am i doing wrong? is there another way to achieve this or do i
 misunderstand the use of scope-provided?

 thanks.
 
 -- 
 Michael McCallum
 Enterprise Engineer
 mailto:[EMAIL PROTECTED]
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 

RE: fresh lookup for snapshots with pom-packaging fails

2007-09-26 Thread aldana

yes, true. did not know that there was an option for that. but your post and
pom-reference build-settings (see
http://maven.apache.org/pom.html#Build_Settings) told me better :)



Brian E Fox wrote:
 
 By default maven only looks for new snapshots once a day. You can force
 it to check by using the -U flag and you can adjust the frequency in
 your repository section of pom or settings.
 
 -Original Message-
 From: aldana [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, September 25, 2007 1:02 PM
 To: users@maven.apache.org
 Subject: fresh lookup for snapshots with pom-packaging fails
 
 
 hi,
 
 working with snapshots with packaging pom type does not work. it does
 not
 lookup on internal repository whether there is a new snapshot version
 available.
 
 is that a wished behaviour? i would expect the same lookup semantics as
 with
 package type 'jar' (every build servers are looked if there is a new
 snapshot available).
 
 i am working with such snapshots for i sometimes adjust a parent pom
 whose
 changes the others should be notified from.
 -- 
 View this message in context:
 http://www.nabble.com/fresh-lookup-for-snapshots-with-pom-packaging-fail
 s-tf4516887s177.html#a12883986
 Sent from the Maven - Users mailing list archive at Nabble.com.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 

-- 
View this message in context: 
http://www.nabble.com/fresh-lookup-for-snapshots-with-pom-packaging-fails-tf4516887s177.html#a12904529
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: Deploying same version overwrites existing release

2007-09-26 Thread Wayne Fay
Not ideal, but you could set up a cron job or similar to frequently
set -w to all the files in your deploy directories. Then you couldn't
overwrite things due to filesystem privileges.

Wayne

On 9/26/07, Hayes, Peter [EMAIL PROTECTED] wrote:
 Yes that is true.  We are using clearcase though and the release plugin
 has some limitations with regards to clearcase.

 I thought though that once a release is made, it should never be changed
 as it is in the wild and may have already been used.  For instance, I
 think recently the maven developers had a problem with the release of
 the archetype plugin and they did not just re-release that version, they
 moved to a new one.  If this is the recommended process, then I would
 think it would be appropriate for the deploy command to (at least by
 default) not allow the overwriting of an existing artifact.

 Pete

 -Original Message-
 From: John Coleman [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, September 26, 2007 10:46 AM
 To: Maven Users List
 Subject: RE: Deploying same version overwrites existing release

 But if you use relase:prepare/release:perform then your snapshot version
 number goes up afterwards and overwritting is impossible?

 John

 -Original Message-
 From: Hayes, Peter [mailto:[EMAIL PROTECTED]
 Sent: 26 September 2007 15:39
 To: Maven Users List
 Subject: Deploying same version overwrites existing release

 Is there a way to configure maven to not allow it to deploy over an
 existing release artifact?

 Peter Hayes
 Architecture  Shared Technology Services | Fidelity Investments
 Management Technology


 Eurobase International Limited and its subsidiaries (Eurobase) are
 unable to exercise control over the content of information in E-Mails.
 Any views and opinions expressed may be personal to the sender and are
 not necessarily those of Eurobase. Eurobase will not enter into any
 contractual obligations in respect of any part of its business in any
 E-mail.

 Privileged / confidential information may be contained in this message
 and /or any attachments. This E-mail is intended for the use of the
 addressee(s) only and may contain confidential information. If you are
 not the / an intended recipient, you are hereby notified that any use or
 dissemination of this communication is strictly prohibited.  If you
 receive this transmission in error, please notify us immediately, and
 then delete this E-mail.

 Neither the sender nor Eurobase accepts any liability whatsoever for any
 defects of any kind either in or arising from this E-mail transmission.
 E-Mail transmission cannot be guaranteed to be secure or error-free, as
 messages can be intercepted, lost, corrupted, destroyed, contain
 viruses, or arrive late or incomplete. Eurobase does not accept any
 responsibility for viruses and it is your responsibility to scan any
 attachments.

 Eurobase Systems Limited is the main trading company in the Eurobase
 International Group; registered in England and Wales as company number
 02251162; registered address: Essex House, 2 County Place, Chelmsford,
 Essex CM2 0RE, UK.


 -
 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: Why Maven is Hard?

2007-09-26 Thread Brian E. Fox
Everyone is bashing the plugin docs. Can you be more specific about
which ones and what's not good? Are we talking about plugins on Apache
or ones at Codehaus or somewhere else? 

-Original Message-
From: EJ Ciramella [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 26, 2007 9:37 AM
To: Maven Users List
Subject: RE: Why Maven is Hard?

I have to agree with the comments in this thread.

Asking someone to contribute documentation for a plugin they didn't
write is pretty lame.  How about not letting someone submit a plugin
until not only has the code been tested/proven, but the associated
documentation is up to snuff?  I don't know how it works where ever you
guys are working but when code is committed to our SCM system here, a
code review has to pass.  Part of that review is to go over the
associated documentation.

Also, I've spent hours upon hours chasing my tail on things like the bug
where profiles weren't ordered in the order specified on the commandline
(it seemed partially random and then partially due to ordering in
settings.xml/profiles.xml).  After many days of silence on both mailing
lists, we pulled down the source and realized that it was a bug, fixed
it, and then saw a new release of maven 2 come out that did the same
thing.

We've also noticed that classpaths aren't as controlled as we would have
liked.  A scenario is - three modules at the same level, two branched
away as to be built in isolation.  All of a sudden the third module
can't find any classes that the first two put into the compile classpath
- and this is the case if/if not there are dependencies on these modules
to/from each other.

I'd also like to echo the sentiment, maven is great if you're doing
standard stuff and maven is HORRIBLE when you're trying to do anything
out of the norm.  I feel like it's easier to just write my own plugin
than it is to scour the maven site in hopes of finding something
suitable to my needs.  Additionally, twice now we've started using a
plugin just to find that it has been abandoned for a less buggy plugin.

Where's the repository management documentation (how to set one up at
your company, how to keep it up-to-date, etc.)?  I work at a relatively
large company and I can't believe for a second other companies similarly
sized or bigger would want developer groups going across the internet
the way maven tries to do (for plugins and dependencies).  This also
makes overseas development challenging.

Look, I think many people are wanting a build tool better than shell
scripting and make, possibly easier than ant - but something with less
of a learning curve of maven 1 or 2.  I think ant is REALLY smooth and
easy to code/understand.  To say that ant is challenging in any
way/shape/form is to deny the truth.  Maven 2 build/release engineering
does get easier with time, but we all don't have limitless time to
learn.

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



  1   2   >