Re: Live cd of an development environment

2007-10-12 Thread Tim Moloney


From what little I know, it sounds like you are talking about Buildix.

   * http://buildix.thoughtworks.com/
   * http://en.wikipedia.org/wiki/Buildix

I just stumbled across it the other day.  I haven't tried it yet, so I 
don't know much about it.


Tim


[EMAIL PROTECTED] wrote:

Some time ago I found a live cd of a development environment, which combined 
SVN, a maven repository, a continuous integration framework and an issue 
tracking system. I just can't remember where I found it. With searching in 
Google I found maestro, but there was another project. Can someone point me to 
it?

With regards,

Nick Stolwij


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



Re: How to release if using testng

2007-10-12 Thread Victor Cardona
Wim Deblauwe wrote:
> Hi,
> 
> how do other people release their maven project if they use TestNG? The only
> surefire that works ok with TestNG is 2.4-collab-SNAPSHOT, but since it is a
> snapshot, I cannot release. I could try to give the snapshot jars a real
> release number, but I'd rather not do that because a) it feels like cheating
> and b) it is a lot of work with all the different modules that surefire has.
> 
> regards,
> 
> Wim
> 
I finally gave up on using the surefire plugin with TestNG.  Now I just
use antrun to run the testng ant task and generate a report.

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



Re: help: can't exclude files from EAR file

2007-10-12 Thread Wayne Fay
There may be another way (better) to do it, but one easy to solve this
is to simply copy and paste the dependencies from your WAR into your
EAR and then change all the scopes to provided.

Wayne

On 10/12/07, Victor Okunev <[EMAIL PROTECTED]> wrote:
> I need to bundle the libs in the WAR only. There is just one web
> module in my app.
>
> Victor
>
> On 10/12/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
> > Are your libs being bundled in the WAR, as well as the EAR? Or are you
> > making the libs available in your j2ee container's lib directory such
> > that they are shared among several apps?
> >
> > If you don't want the libs bundled in your WAR nor EAR, you should
> > just change the scope to provided.
> >
> > Wayne
> >
> > On 10/12/07, Victor Okunev <[EMAIL PROTECTED]> wrote:
> > > Folks,
> > >
> > > I need to build an EAR file composed of just one WAR file using
> > > Maven2. However, in addition to the WAR file, the resulting EAR file
> > > contains all the JARs that the web module has dependencies on, as well
> > > as the pom.xml. How do I exclude everything but WAR file and
> > > application.xml from the EAR file?
> > >
> > > I tried   **/*.jar,pom.xml, but
> > > it seems Maven just ignores it.
> > >
> > > Here is my pom file:
> > >
> > > http://maven.apache.org/POM/4.0.0";
> > > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > > http://maven.apache.org/maven-v4_0_0.xsd";>
> > >  4.0.0
> > >  
> > >  mygroupid
> > >  abc
> > >  1.0-SNAPSHOT
> > >  
> > >  xyz
> > >  ear
> > >  ear_assembly
> > >
> > >  
> > >
> > >  mygroupid
> > >  web
> > >  ${project.version}
> > >  war
> > >
> > >  
> > >   
> > >  
> > > 
> > >maven-ear-plugin
> > >
> > >**/*.jar,pom.xml
> > >
> > >   
> > >  
> > > true
> > >  
> > >   
> > >
> > > 
> > >  
> > >   
> > >
> > > 
> > >
> > > Thanks,
> > >
> > > Victor
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Re: help: can't exclude files from EAR file

2007-10-12 Thread Victor Okunev
I need to bundle the libs in the WAR only. There is just one web
module in my app.

Victor

On 10/12/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Are your libs being bundled in the WAR, as well as the EAR? Or are you
> making the libs available in your j2ee container's lib directory such
> that they are shared among several apps?
>
> If you don't want the libs bundled in your WAR nor EAR, you should
> just change the scope to provided.
>
> Wayne
>
> On 10/12/07, Victor Okunev <[EMAIL PROTECTED]> wrote:
> > Folks,
> >
> > I need to build an EAR file composed of just one WAR file using
> > Maven2. However, in addition to the WAR file, the resulting EAR file
> > contains all the JARs that the web module has dependencies on, as well
> > as the pom.xml. How do I exclude everything but WAR file and
> > application.xml from the EAR file?
> >
> > I tried   **/*.jar,pom.xml, but
> > it seems Maven just ignores it.
> >
> > Here is my pom file:
> >
> > http://maven.apache.org/POM/4.0.0";
> > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> > http://maven.apache.org/maven-v4_0_0.xsd";>
> >  4.0.0
> >  
> >  mygroupid
> >  abc
> >  1.0-SNAPSHOT
> >  
> >  xyz
> >  ear
> >  ear_assembly
> >
> >  
> >
> >  mygroupid
> >  web
> >  ${project.version}
> >  war
> >
> >  
> >   
> >  
> > 
> >maven-ear-plugin
> >
> >**/*.jar,pom.xml
> >
> >   
> >  
> > true
> >  
> >   
> >
> > 
> >  
> >   
> >
> > 
> >
> > Thanks,
> >
> > Victor
> >
> > -
> > 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]



Live cd of an development environment

2007-10-12 Thread nick_stolwijk
Some time ago I found a live cd of a development environment, which combined 
SVN, a maven repository, a continuous integration framework and an issue 
tracking system. I just can't remember where I found it. With searching in 
Google I found maestro, but there was another project. Can someone point me to 
it?

With regards,

Nick Stolwijk


Re: help: can't exclude files from EAR file

2007-10-12 Thread Wayne Fay
Are your libs being bundled in the WAR, as well as the EAR? Or are you
making the libs available in your j2ee container's lib directory such
that they are shared among several apps?

If you don't want the libs bundled in your WAR nor EAR, you should
just change the scope to provided.

Wayne

On 10/12/07, Victor Okunev <[EMAIL PROTECTED]> wrote:
> Folks,
>
> I need to build an EAR file composed of just one WAR file using
> Maven2. However, in addition to the WAR file, the resulting EAR file
> contains all the JARs that the web module has dependencies on, as well
> as the pom.xml. How do I exclude everything but WAR file and
> application.xml from the EAR file?
>
> I tried   **/*.jar,pom.xml, but
> it seems Maven just ignores it.
>
> Here is my pom file:
>
> http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/maven-v4_0_0.xsd";>
>  4.0.0
>  
>  mygroupid
>  abc
>  1.0-SNAPSHOT
>  
>  xyz
>  ear
>  ear_assembly
>
>  
>
>  mygroupid
>  web
>  ${project.version}
>  war
>
>  
>   
>  
> 
>maven-ear-plugin
>
>**/*.jar,pom.xml
>
>   
>  
> true
>  
>   
>
> 
>  
>   
>
> 
>
> Thanks,
>
> Victor
>
> -
> 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]



help: can't exclude files from EAR file

2007-10-12 Thread Victor Okunev
Folks,

I need to build an EAR file composed of just one WAR file using
Maven2. However, in addition to the WAR file, the resulting EAR file
contains all the JARs that the web module has dependencies on, as well
as the pom.xml. How do I exclude everything but WAR file and
application.xml from the EAR file?

I tried   **/*.jar,pom.xml, but
it seems Maven just ignores it.

Here is my pom file:

http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
  4.0.0
  
  mygroupid
  abc
  1.0-SNAPSHOT
  
  xyz
  ear
  ear_assembly

  

  mygroupid
  web
  ${project.version}
  war

  
   
  
 
maven-ear-plugin

**/*.jar,pom.xml

   
  
 true
  
   

 
  
   



Thanks,

Victor

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



Re: fatal error setDefaultRepositoryPermissions no such method

2007-10-12 Thread Jan Pittner
This happened again, but now I can't get rid of it. I deleted the maven 
 dir, copied the install over again (which previously fixed the 
problem), and it still happens.


I tried it on a fresh user account, same thing.

At this point, I'm completely stuck with a nonworking maven.

Any hints/suggestions greatly appreciated!

J


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



EJB Manifest file creation/update

2007-10-12 Thread EJ Ciramella
Is there any way to use the jars listed as dependencies rather than hard
coding a list of jar files?
 
We have something like this:
 
   
org.apache.maven.plugins
maven-ejb-plugin
2.1

 true
 
  
   1.0
   
bcprov-jdk13-119.jar
crypto-1.0.0.14.jar
oldSource-56.1-SNAPSHOT.jar
memberBase-56.1-SNAPSHOT.jar
lty-model-56.1-SNAPSHOT.jar
lty-utils-1.0.0.41.jar
commons-lang-2.2.jar
accountingWeb-commons-56.1-SNAPSHOT.jar
rewardEngine-56.1-SNAPSHOT.jar
xercesImpl-2.8.0.jar
   
  
 

   
 
Is there no ${somekindaclasspath} option?


Re: Maven Proxy

2007-10-12 Thread Guillaume Lederrey
We are using Artifactory on Tomcat 5.5. It works mostly well for us.
The only problem is that memory consumption grow very high. I finally
had to reboot Tomcat every night to keep it sane ...

  But I havent been looking into the problem all that hard. The
problem might be on my side ...

  Other than that, I'm very happy with Artifactory. Easy to set up,
easy to add new jars to the repository for developers who are not
comfortable with Maven ...

On 12/10/2007, Vanja Petreski <[EMAIL PROTECTED]> wrote:
> Artifactory definitely!
>
> On 10/12/07, Michal Hlavac <[EMAIL PROTECTED]> wrote:
> >
> > Dňa Friday 12 October 2007 11:37:35 Wilfred Springer ste napísal:
> > > I would definitely recommend Artifactory.
> >
> > I am using artifactory deployed on glassfish and works very good...
> >
> > m.
> >
> >
>


-- 
Jabber : [EMAIL PROTECTED]
Skype : Guillaume.Lederrey
Projects :
* http://rwanda.wordpress.com/
* http://rwandatech.wordpress.com/


Re: Complete Maven Noob, Is this possible?

2007-10-12 Thread Graham Leggett
On Fri, October 12, 2007 6:14 pm, Quakky wrote:

> My question: Is there anyway a user like me (a noob, who only finished the
> "simple" project and never really got it to work 100%) can be able to make
> maven work with a complex project that was Not made with maven and be able
> to implement this project into a maven environment, and be able to have
> maven work in about 2 weeks? or do I need more time to learn Maven?

You'll very probably need more time.

Maven's strength lies in standardisation: Because source code is in a
standard place, you don't need to tell the compiler or javadocs where to
find the code. Because test output is written to a standard place, you
don't need to tell maven how to incorporate your test results in your
documentation, etc.

The trouble is that when you start to depart from this standardisation,
you have to start overriding the default behaviour and increasing the size
of your maven config, which can end up giving the impression that maven is
harder than it needs to be.

Start small, and get some basic stuff working first. If you can, refactor
your code to conform with the maven structure, updating your previous
build as appropriate. Eventually, you can wean yourself off the previous
build system entirely.

Regards,
Graham
--



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



Re: Complete Maven Noob, Is this possible?

2007-10-12 Thread Wayne Fay
I'll go out on a limb and say a non-programmer without any Maven
experience has less than a 5% chance of doing this in 2 weeks. Unless
the project is extremely simple... and you've already said it is
complex. I've previously helped someone in a similar situation and it
was not fun for either of us, and I'm not going to repeat that
experience.

Not having the programming and XML background means you'll have a hard
time interpreting the error messages that are bound to occur not just
in Maven itself but also those produced by the Java compiler and in
various plugins you'll undoubtedly need to utilize. Little errors in
the XML can create significant problems. A failure to understand how
Java works in terms of locating files in the proper place etc will
also lead to a huge number of failures during the compilation process.

Given the 2 week deadline, perhaps it might make more sense for your
company to pursue Maven migration services provided by third parties
like Devzuz, Sonatype, etc -- though I'm not certain who if anyone
actually does this, and it would certainly cost a few bucks.

Wayne

On 10/12/07, John Casey <[EMAIL PROTECTED]> wrote:
> How complex is the project, and what was it using to build before?
> Complexity is in terms of the number of different types of packagings
> used, number of different entry points into the build, etc...not just
> the number of projects. If the previous build was Ant, and the
> projects can be categorized together in terms of how they're built,
> it's fairly likely that they use common logic in the Ant
> script...which means these projects don't add a lot in terms of
> complexity for conversion, since you only have to convert the build
> process once for that category, and apply it to them all.
>
> The XML syntax that Maven uses for POMs is very straightforward. As
> far as being able to code, that's usually helpful for debugging tests
> that stop working, etc. It can also help a lot if it comes to writing
> custom plugins for Maven to fill in a gap here or there that isn't
> provided by standard plugins from ASF or the Mojo project
> (mojo.codehaus.org).
>
> But in any case, if the build complexity is high in the terms I
> mentioned above, I would bet that you'll be at it awhile longer than
> two weeks. Really the time depends on you having a very intimate
> understanding of how the current build runs.
>
> Good luck,
>
> -john
>
> On Oct 12, 2007, at 12:14 PM, Quakky wrote:
>
> >
> > Hello,
> > I am currently in need of some advice concerning Maven. I am a new
> > user,
> > trying to get maven to work with a project that is pretty complex
> > (doesn't
> > follow the default tree structure of maven, has to be packaged in a
> > certain
> > way, etc) . I didn't work on the project, I dont know how to code
> > anything,
> > infact I only figured out what Maven does after reading the Maven
> > book. I do
> > not know how to code XML, which pom.xml is written with(?), but I
> > can learn
> > fast.
> >
> > My question: Is there anyway a user like me (a noob, who only
> > finished the
> > "simple" project and never really got it to work 100%) can be able
> > to make
> > maven work with a complex project that was Not made with maven and
> > be able
> > to implement this project into a maven environment, and be able to
> > have
> > maven work in about 2 weeks? or do I need more time to learn Maven?
> >
> > Thanks
> >
> > --
> > View this message in context: http://www.nabble.com/Complete-Maven-
> > Noob%2C-Is-this-possible--tf4614185s177.html#a13177028
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> ---
> John Casey
> Committer and PMC Member, Apache Maven
> mail: jdcasey at commonjava dot org
> blog: http://www.ejlife.net/blogs/john
> rss: http://feeds.feedburner.com/ejlife/john
>
>
>

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



Re: Complete Maven Noob, Is this possible?

2007-10-12 Thread John Casey
How complex is the project, and what was it using to build before?  
Complexity is in terms of the number of different types of packagings  
used, number of different entry points into the build, etc...not just  
the number of projects. If the previous build was Ant, and the  
projects can be categorized together in terms of how they're built,  
it's fairly likely that they use common logic in the Ant  
script...which means these projects don't add a lot in terms of  
complexity for conversion, since you only have to convert the build  
process once for that category, and apply it to them all.


The XML syntax that Maven uses for POMs is very straightforward. As  
far as being able to code, that's usually helpful for debugging tests  
that stop working, etc. It can also help a lot if it comes to writing  
custom plugins for Maven to fill in a gap here or there that isn't  
provided by standard plugins from ASF or the Mojo project  
(mojo.codehaus.org).


But in any case, if the build complexity is high in the terms I  
mentioned above, I would bet that you'll be at it awhile longer than  
two weeks. Really the time depends on you having a very intimate  
understanding of how the current build runs.


Good luck,

-john

On Oct 12, 2007, at 12:14 PM, Quakky wrote:



Hello,
I am currently in need of some advice concerning Maven. I am a new  
user,
trying to get maven to work with a project that is pretty complex  
(doesn't
follow the default tree structure of maven, has to be packaged in a  
certain
way, etc) . I didn't work on the project, I dont know how to code  
anything,
infact I only figured out what Maven does after reading the Maven  
book. I do
not know how to code XML, which pom.xml is written with(?), but I  
can learn

fast.

My question: Is there anyway a user like me (a noob, who only  
finished the
"simple" project and never really got it to work 100%) can be able  
to make
maven work with a complex project that was Not made with maven and  
be able
to implement this project into a maven environment, and be able to  
have

maven work in about 2 weeks? or do I need more time to learn Maven?

Thanks

--
View this message in context: http://www.nabble.com/Complete-Maven- 
Noob%2C-Is-this-possible--tf4614185s177.html#a13177028

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


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



---
John Casey
Committer and PMC Member, Apache Maven
mail: jdcasey at commonjava dot org
blog: http://www.ejlife.net/blogs/john
rss: http://feeds.feedburner.com/ejlife/john




Complete Maven Noob, Is this possible?

2007-10-12 Thread Quakky

Hello,
I am currently in need of some advice concerning Maven. I am a new user,
trying to get maven to work with a project that is pretty complex (doesn't
follow the default tree structure of maven, has to be packaged in a certain
way, etc) . I didn't work on the project, I dont know how to code anything,
infact I only figured out what Maven does after reading the Maven book. I do
not know how to code XML, which pom.xml is written with(?), but I can learn
fast.

My question: Is there anyway a user like me (a noob, who only finished the
"simple" project and never really got it to work 100%) can be able to make
maven work with a complex project that was Not made with maven and be able
to implement this project into a maven environment, and be able to have
maven work in about 2 weeks? or do I need more time to learn Maven?

Thanks

-- 
View this message in context: 
http://www.nabble.com/Complete-Maven-Noob%2C-Is-this-possible--tf4614185s177.html#a13177028
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 Command Line Switches

2007-10-12 Thread Wendy Smoak
On 10/12/07, David Williams <[EMAIL PROTECTED]> wrote:
> Is there a place that all the Maven command line switches are explained?  I
> know a few but it would be good to have a complete list.

You can print them all with:  mvn -help

-- 
Wendy

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



Maven Command Line Switches

2007-10-12 Thread David Williams
Is there a place that all the Maven command line switches are explained?  I
know a few but it would be good to have a complete list.

Thanks,

David


Re: 1.1-beta-3 LDAP

2007-10-12 Thread Emmanuel Venisse



ossi petz a écrit :

hallo

hopefully this does not end up in thread-stealing...
i'd like to provide some ldap feedback on beta-3 too.

i've managed to configred authentication against our active directory. 
users can login to continuum. thats already something!


so lets switch quickly to the problems part :)

documentation. if this should be tested give people more than a dead 
link in applicaiton.xml:
http://svn.codehaus.org/plexus/plexus-redback/trunk/redback-site/src/site/apt/integration/ldap.apt 


The link is fixed in trunk and it is: 
http://redback.codehaus.org/integration/ldap.html




as mentiond by bryan madsen there is a requirement for a guest account. 
please remove that one. a guest is a guest. so no authentication against 
any other system should be required. there a billions of guest auth 
requests against the ldap server that serve no purpose.


the security.properties contains the name of an admin. this user can see 
all project groups in continuum. any other user seems to be equal to a 
guest. when i try to edit a user only the users admin and guest exist. 
both from continuum, none of these  are ldap accounts.

so i cant reconfigure project access rights for ldap users at the moment?
also the created admin account in continuum does no longer work. i would 
like some fallback authentication: if a user is not found in ldap try in 
local database. we often have external users we dont create in our 
active directory as they only need access to certain tools (bugzilla, 
continuum, etc). in bugzilla this can be configured (ldap only, local 
only, ldap->local, local->ldap). i did like that feature very much.


notifications cannot be assigned to ldap users (well those may never 
where assigned to continuum accounts anyway? not sure).


usernames with special characters (mmüller, tkühn) cause a server error 
(stacktrace see below). the user mmüller can login with 'mmuller', after 
that the username 'mmüller' appears in the logged in bar :)


usernames that are not found in ldap cause a 500 server error too.


thats about my report. if you require any mor information please tell :)

thanks for doing ldap integration!


regards

ossi




Stacktrace for special usernames:
Oct 12, 2007 4:20:36 PM org.mortbay.jetty.servlet.ServletHandler handle
WARNING: /continuum/security/login.action:
java.lang.NullPointerException
at 
org.codehaus.plexus.redback.authentication.users.UserManagerAuthenticator.authenticate(UserManagerAuthenticator.java:85) 

at 
org.codehaus.plexus.redback.authentication.DefaultAuthenticationManager.authenticate(DefaultAuthenticationManager.java:74) 

at 
org.codehaus.plexus.redback.system.DefaultSecuritySystem.authenticate(DefaultSecuritySystem.java:98) 

at 
org.codehaus.plexus.redback.xwork.action.LoginAction.webLogin(LoginAction.java:317) 

at 
org.codehaus.plexus.redback.xwork.action.LoginAction.login(LoginAction.java:130) 


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 

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


at java.lang.reflect.Method.invoke(Method.java:597)
at 
com.opensymphony.xwork.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:358) 

at 
com.opensymphony.xwork.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:218) 

at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:192) 

at 
org.codehaus.plexus.redback.xwork.interceptor.SecureActionInterceptor.intercept(SecureActionInterceptor.java:114) 

at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) 

at 
org.codehaus.plexus.redback.xwork.interceptor.PolicyEnforcementInterceptor.intercept(PolicyEnforcementInterceptor.java:100) 

at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) 

at 
org.codehaus.plexus.redback.xwork.interceptor.AutoLoginInterceptor.intercept(AutoLoginInterceptor.java:156) 

at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) 

at 
org.codehaus.plexus.redback.xwork.interceptor.ForceAdminUserInterceptor.intercept(ForceAdminUserInterceptor.java:76) 

at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) 

at 
org.codehaus.plexus.redback.xwork.interceptor.EnvironmentCheckInterceptor.intercept(EnvironmentCheckInterceptor.java:122) 

at 
com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:190) 

at 
com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:175) 

at 
com.opensymphony.xwork.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:8

Re: Re : How to release if using testng

2007-10-12 Thread Tim Kettler
I'm using surefire-plugin 2.3 / TestNG 5.1 for my projects.

-Tim

Wim Deblauwe schrieb:
> Good idea, I probably don't use any of the newer funcationalities also. And
> what version of surefire do you use with 5.1?
> 
> regards,
> 
> Wim
> 
> 2007/10/12, langlois yan <[EMAIL PROTECTED]>:
>> Hi,
>>
>> As I do not use fonctionalities of testNg5.5, I use TestNg 5.1 instead.
>>
>> Yan Langlois.
>>
>>
>> - Message d'origine 
>> De : Wim Deblauwe <[EMAIL PROTECTED]>
>> À : Maven Users List 
>> Envoyé le : Vendredi, 12 Octobre 2007, 8h19mn 08s
>> Objet : How to release if using testng
>>
>> Hi,
>>
>> how do other people release their maven project if they use TestNG? The
>> only
>> surefire that works ok with TestNG is 2.4-collab-SNAPSHOT, but since it
>> is a
>> snapshot, I cannot release. I could try to give the snapshot jars a
>> real
>> release number, but I'd rather not do that because a) it feels like
>> cheating
>> and b) it is a lot of work with all the different modules that surefire
>> has.
>>
>> regards,
>>
>> Wim
>>
>> --
>> Vigilog - an open source log file viewer:
>> http://vigilog.sourceforge.net
>> Blog: http://www.jroller.com/page/Fester
>>
>>
>>
>>
>>
>>
>>
>>   
>> _
>> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo!
>> Mail
> 
> 
> 
> 


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



Re: Howto use libraries which are not in the repository?

2007-10-12 Thread Wayne Fay
Windows shortcuts won't work. You should generally be using mvn install.

Wayne

On 10/12/07, Thai Dang Vu <[EMAIL PROTECTED]> wrote:
> Thanks for the 2 answers. My situation is: I'm using Spring 2.5 RC1. When I'm 
> free, I download the latest snapshot of Spring 2.5 RC1. Then every time I 
> download the latest snapshot, I have to copy the jar files to my local 
> repository? At home, I use Ubuntu, so I can make a link in the repository and 
> point it to the snapshot directory I download. But in Windows environment, I 
> don't think (never try) the shortcut can do the same thing.
>
>
> -Original Message-
> From:   Giancarlo Degani [mailto:[EMAIL PROTECTED]
> Sent:   Fri 10/12/2007 5:00 AM
> To: Maven Users List
> Cc:
> Subject:Re: Howto use libraries which are not in the repository?
>
> Hi,
> you shoul read this:
> http://maven.apache.org/general.html#importing-jars
>
> Giancarlo
>
> 2007/10/12, Vanja Petreski <[EMAIL PROTECTED]>:
> > Install them either in the local or inhouse repository and use it :)
> >
> > Vanja
> >
> > On 10/12/07, Thai Dang Vu <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > >
> > > How can I use libraries which are not in the repository but in my hard
> > > disk?
> > >
> > > Regards.
> > >
> > >
> > > NOTICE: This message (including any attachments) from Momentum Systems,
> > > Inc. contains information that is PRIVILEGED and CONFIDENTIAL.  If you are
> > > not an intended recipient, you are hereby notified that any dissemination 
> > > of
> > > this message is strictly prohibited.  If you have received this message in
> > > error, please do not read, copy or forward this message.  Please 
> > > permanently
> > > delete all copies and any attachments and notify the sender immediately by
> > > reply email or by calling our Office at 703.740.9300.
> > >
> > > -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

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



Re : Re : How to release if using testng

2007-10-12 Thread langlois yan
I did not write the tag . So I probably use the last release 2.3.

Yan.

- Message d'origine 
De : Wim Deblauwe <[EMAIL PROTECTED]>
À : Maven Users List 
Envoyé le : Vendredi, 12 Octobre 2007, 15h18mn 09s
Objet : Re: Re : How to release if using testng

Good idea, I probably don't use any of the newer funcationalities also.
 And
what version of surefire do you use with 5.1?

regards,

Wim

2007/10/12, langlois yan <[EMAIL PROTECTED]>:
>
> Hi,
>
> As I do not use fonctionalities of testNg5.5, I use TestNg 5.1
 instead.
>
> Yan Langlois.
>
>
> - Message d'origine 
> De : Wim Deblauwe <[EMAIL PROTECTED]>
> À : Maven Users List 
> Envoyé le : Vendredi, 12 Octobre 2007, 8h19mn 08s
> Objet : How to release if using testng
>
> Hi,
>
> how do other people release their maven project if they use TestNG?
 The
> only
> surefire that works ok with TestNG is 2.4-collab-SNAPSHOT, but since
 it
> is a
> snapshot, I cannot release. I could try to give the snapshot jars a
> real
> release number, but I'd rather not do that because a) it feels like
> cheating
> and b) it is a lot of work with all the different modules that
 surefire
> has.
>
> regards,
>
> Wim
>
> --
> Vigilog - an open source log file viewer:
> http://vigilog.sourceforge.net
> Blog: http://www.jroller.com/page/Fester
>
>
>
>
>
>
>
>  
 _
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers
 Yahoo!
> Mail




-- 
Vigilog - an open source log file viewer:
 http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester






  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 

Re: Re : How to release if using testng

2007-10-12 Thread Wim Deblauwe
Good idea, I probably don't use any of the newer funcationalities also. And
what version of surefire do you use with 5.1?

regards,

Wim

2007/10/12, langlois yan <[EMAIL PROTECTED]>:
>
> Hi,
>
> As I do not use fonctionalities of testNg5.5, I use TestNg 5.1 instead.
>
> Yan Langlois.
>
>
> - Message d'origine 
> De : Wim Deblauwe <[EMAIL PROTECTED]>
> À : Maven Users List 
> Envoyé le : Vendredi, 12 Octobre 2007, 8h19mn 08s
> Objet : How to release if using testng
>
> Hi,
>
> how do other people release their maven project if they use TestNG? The
> only
> surefire that works ok with TestNG is 2.4-collab-SNAPSHOT, but since it
> is a
> snapshot, I cannot release. I could try to give the snapshot jars a
> real
> release number, but I'd rather not do that because a) it feels like
> cheating
> and b) it is a lot of work with all the different modules that surefire
> has.
>
> regards,
>
> Wim
>
> --
> Vigilog - an open source log file viewer:
> http://vigilog.sourceforge.net
> Blog: http://www.jroller.com/page/Fester
>
>
>
>
>
>
>
>   
> _
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo!
> Mail




-- 
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester


Re: Maven Proxy

2007-10-12 Thread Vanja Petreski
Artifactory definitely!

On 10/12/07, Michal Hlavac <[EMAIL PROTECTED]> wrote:
>
> Dňa Friday 12 October 2007 11:37:35 Wilfred Springer ste napísal:
> > I would definitely recommend Artifactory.
>
> I am using artifactory deployed on glassfish and works very good...
>
> m.
>
>


Update from apache-archiva-1.0-beta-1 to apache-archiva-1.0-beta-2

2007-10-12 Thread Denis Schettl

I have an apache-archiva-1.0-beta-1 - installation running. Now I want to
upgrade to apache-archiva-1.0-beta-2 (save the complex configuration, still
use the existing archives), but could not found any step-by-step
documentation.
Have somebody a good documentation for me?

Thanks
Denis
-- 
View this message in context: 
http://www.nabble.com/Update-from-apache-archiva-1.0-beta-1-to-apache-archiva-1.0-beta-2-tf4613165.html#a13173815
Sent from the archiva-users mailing list archive at Nabble.com.



RE: Howto use libraries which are not in the repository?

2007-10-12 Thread Thai Dang Vu
Thanks for the 2 answers. My situation is: I'm using Spring 2.5 RC1. When I'm 
free, I download the latest snapshot of Spring 2.5 RC1. Then every time I 
download the latest snapshot, I have to copy the jar files to my local 
repository? At home, I use Ubuntu, so I can make a link in the repository and 
point it to the snapshot directory I download. But in Windows environment, I 
don't think (never try) the shortcut can do the same thing.


-Original Message-
From:   Giancarlo Degani [mailto:[EMAIL PROTECTED]
Sent:   Fri 10/12/2007 5:00 AM
To: Maven Users List
Cc: 
Subject:Re: Howto use libraries which are not in the repository?

Hi,
you shoul read this:
http://maven.apache.org/general.html#importing-jars

Giancarlo

2007/10/12, Vanja Petreski <[EMAIL PROTECTED]>:
> Install them either in the local or inhouse repository and use it :)
>
> Vanja
>
> On 10/12/07, Thai Dang Vu <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > How can I use libraries which are not in the repository but in my hard
> > disk?
> >
> > Regards.
> >
> >
> > NOTICE: This message (including any attachments) from Momentum Systems,
> > Inc. contains information that is PRIVILEGED and CONFIDENTIAL.  If you are
> > not an intended recipient, you are hereby notified that any dissemination of
> > this message is strictly prohibited.  If you have received this message in
> > error, please do not read, copy or forward this message.  Please permanently
> > delete all copies and any attachments and notify the sender immediately by
> > reply email or by calling our Office at 703.740.9300.
> >
> > -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>

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





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

Re: Maven Proxy

2007-10-12 Thread Michal Hlavac
Dňa Friday 12 October 2007 11:37:35 Wilfred Springer ste napísal:
> I would definitely recommend Artifactory.

I am using artifactory deployed on glassfish and works very good... 

m.


smime.p7s
Description: S/MIME cryptographic signature


Having to do -U everyday

2007-10-12 Thread gommo

Can someone tell what could be causing me to have to run maven with a '-U'
option every morning.

If I don't it just doesn't find one or more maven plugins. Once I do a full
build with -U all works good.

Interestingly enough I don't see this on  my ubuntu build machine, only on
my Vista desktop. Has anyone heard of Vista having issues with maven and the
machines local repository?

Thanks
-- 
View this message in context: 
http://www.nabble.com/Having-to-do--U-everyday-tf4612510s177.html#a13172372
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 Proxy

2007-10-12 Thread Wilfred Springer
I would definitely recommend Artifactory. 

On Fri, 2007-10-12 at 02:10 -0700, maarten roosendaal wrote:
> Hi,
> 
> We use Archiva (beta2) which works fine. We had some problems with the beta1 
> version but getting it up and running was very easy. The hard part is comming 
> up with procedures regarding dependencies and management.
> 
> - Original Message 
> From: Denis Bessmertniy <[EMAIL PROTECTED]>
> To: Maven Users List 
> Sent: Friday, October 12, 2007 11:04:10 AM
> Subject: Maven Proxy
> 
> Hi, May you advise to me a good maven proxy?
> I know only http://proximity.abstracthorizon.org. Is it good?
> 
> Maybe you know something better?
> -
> Denis
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> 
> 
> 
>
> 
> Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, 
> news, photos & more. 
> http://mobile.yahoo.com/go?refer=1GNXIC

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



Re: Maven good Design

2007-10-12 Thread Graham Leggett
On Fri, October 12, 2007 3:31 am, Wayne Fay wrote:

> If you are truly "converting" from Ant to Maven, the correct approach
> would be to "convert" the application structure into the suggested
> Maven layout.
>
> You should be able to do this in a branch in your SCM so as to not
> disturb the rest of your team until you are ready to finalize your
> changes.

Having done this conversion on a large project in the past year, in
practise the full conversion to maven took a very long time, so this
strategy may not work.

If you are not experienced in maven already, the best thing to do is to
take baby steps.

Get the most simplest part of your project (the jars) building cleanly
with maven, and use this as a testing ground to get you familiar with the
maven build process. Do this on the existing sources if you can, by
dropping in pom.xml into the root of each jar as necessary. It will
probably become apparent as you go on that some of your code needs to be
restructured. Do this as necessary, updating your ant build as you go
along to keep everything working.

Sometimes, you may find that an ant build produces more than one artifact,
such as an EJB, and then an EAR file. What we did was to create new
projects alongside the EJB project, which only built the EAR file (This
project contained a pom.xml file and nothing else).

Eventually we were ready to wean people off the ant build and get things
going with maven only, and the conversion has worked very well.

The prize at the end of all this work is worth it: All our code is built
and tested using continuous integration, with no platform or machine
specific build setups (we had hard coded paths *everywhere*).

A release is tested, tagged, and built from the pristine tag (no more
releases from working copies) start to finish within 30 minutes ("Help! We
need to get this bugfix into UAT as soon as possible!", "No problem".),
and we now have the *exact* source code used to create a production
release ("Help! We need to replicate this production problem in a
development environment!", "No problem").

The docs are all auto-built and auto-deployed ("Help! We need to cook up a
plan to make javadocs available, which will be very difficult!", "Already
done, here is the URL").

Regards,
Graham
--



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



Re: Maven Proxy

2007-10-12 Thread maarten roosendaal
Hi,

We use Archiva (beta2) which works fine. We had some problems with the beta1 
version but getting it up and running was very easy. The hard part is comming 
up with procedures regarding dependencies and management.

- Original Message 
From: Denis Bessmertniy <[EMAIL PROTECTED]>
To: Maven Users List 
Sent: Friday, October 12, 2007 11:04:10 AM
Subject: Maven Proxy

Hi, May you advise to me a good maven proxy?
I know only http://proximity.abstracthorizon.org. Is it good?

Maybe you know something better?
-
Denis


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








   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC

Maven Proxy

2007-10-12 Thread Denis Bessmertniy
Hi, May you advise to me a good maven proxy?
I know only http://proximity.abstracthorizon.org. Is it good?

Maybe you know something better?
-
Denis


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



Re: Howto use libraries which are not in the repository?

2007-10-12 Thread Giancarlo Degani
Hi,
you shoul read this:
http://maven.apache.org/general.html#importing-jars

Giancarlo

2007/10/12, Vanja Petreski <[EMAIL PROTECTED]>:
> Install them either in the local or inhouse repository and use it :)
>
> Vanja
>
> On 10/12/07, Thai Dang Vu <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> >
> > How can I use libraries which are not in the repository but in my hard
> > disk?
> >
> > Regards.
> >
> >
> > NOTICE: This message (including any attachments) from Momentum Systems,
> > Inc. contains information that is PRIVILEGED and CONFIDENTIAL.  If you are
> > not an intended recipient, you are hereby notified that any dissemination of
> > this message is strictly prohibited.  If you have received this message in
> > error, please do not read, copy or forward this message.  Please permanently
> > delete all copies and any attachments and notify the sender immediately by
> > reply email or by calling our Office at 703.740.9300.
> >
> > -
> > 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: Howto use libraries which are not in the repository?

2007-10-12 Thread Vanja Petreski
Install them either in the local or inhouse repository and use it :)

Vanja

On 10/12/07, Thai Dang Vu <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> How can I use libraries which are not in the repository but in my hard
> disk?
>
> Regards.
>
>
> NOTICE: This message (including any attachments) from Momentum Systems,
> Inc. contains information that is PRIVILEGED and CONFIDENTIAL.  If you are
> not an intended recipient, you are hereby notified that any dissemination of
> this message is strictly prohibited.  If you have received this message in
> error, please do not read, copy or forward this message.  Please permanently
> delete all copies and any attachments and notify the sender immediately by
> reply email or by calling our Office at 703.740.9300.
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Howto use libraries which are not in the repository?

2007-10-12 Thread Thai Dang Vu
Hi,

How can I use libraries which are not in the repository but in my hard disk?

Regards.


NOTICE: This message (including any attachments) from Momentum Systems, Inc. 
contains information that is PRIVILEGED and CONFIDENTIAL.  If you are not an 
intended recipient, you are hereby notified that any dissemination of this 
message is strictly prohibited.  If you have received this message in error, 
please do not read, copy or forward this message.  Please permanently delete 
all copies and any attachments and notify the sender immediately by reply email 
or by calling our Office at 703.740.9300.

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



Re : How to release if using testng

2007-10-12 Thread langlois yan
Hi,

As I do not use fonctionalities of testNg5.5, I use TestNg 5.1 instead.

Yan Langlois.


- Message d'origine 
De : Wim Deblauwe <[EMAIL PROTECTED]>
À : Maven Users List 
Envoyé le : Vendredi, 12 Octobre 2007, 8h19mn 08s
Objet : How to release if using testng

Hi,

how do other people release their maven project if they use TestNG? The
 only
surefire that works ok with TestNG is 2.4-collab-SNAPSHOT, but since it
 is a
snapshot, I cannot release. I could try to give the snapshot jars a
 real
release number, but I'd rather not do that because a) it feels like
 cheating
and b) it is a lot of work with all the different modules that surefire
 has.

regards,

Wim

-- 
Vigilog - an open source log file viewer:
 http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester






  
_ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail