geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ian.d.stew...@jpmchase.com
Subject Re: [jira] Commented: (GERONIMO-1672) Migrate security module to M2
Date Mon, 06 Mar 2006 19:11:14 GMT
Hi Jacek,

This has been an ongoing battle for those of us that use
maven-surefire-plugin in a non-standard configuration.  On the positive
side, I've found the checkout/build/install process quite painless.

I believe (don't quote me on this :) ) that a new release of
maven-surefire-plugin is planned to coincide with the release of Maven
2.0.3 (whenever that actually happens).  Timely releases of Maven 2 plugins
seem to be an issue for many of the projects.

In addition to building from SVN, it's also a good idea to check the
mojo.codehaus.org JIRA, as there are often patches made available by
contributors that have not made it into SVN.


Ian

It's better to be hated for who you are
than loved for who you are not

Ian D. Stewart
Appl Dev Analyst-Advisory, DCS Automation
JPMorganChase Global Technology Infrastructure
Phone: (614) 244-2564
Pager: (888) 260-0078


                                                                                         
                                             
                      "Jacek Laskowski"                                                  
                                             
                      <eljotpl@gmail.co        To:       dev@geronimo.apache.org      
                                                
                      m>                       cc:                                    
                                                
                                               Subject:  Re: [jira] Commented: (GERONIMO-1672)
Migrate security module to M2           
                      03/06/2006 01:44                                                   
                                             
                      PM                                                                 
                                             
                      Please respond to                                                  
                                             
                      dev                                                                
                                             
                                                                                         
                                             




2006/3/6, ian.d.stewart@jpmchase.com <ian.d.stewart@jpmchase.com>:
> Anita,
>
> I don't know whether it's related to the error(s) you're seeing, but I
> believe that the version of Maven that you want is 2.0.3-SNAPSHOT, not
> 2.1-SNAPSHOT.

Thanks Ian as I didn't notice it before. Although it might've added
some additional burden, I think the real issue was with the version of
the maven-surefire-plugin as the stack trace seemed to indicate:

java.lang.NullPointerException
       at java.util.Hashtable.put(Hashtable.java:393)
       at java.util.Properties.setProperty(Properties.java:102)
       at java.lang.System.setProperty(System.java:656)
       at
org.apache.maven.test.SurefirePlugin.processSystemProperties(SurefirePlugin.java:408)


When I took a look at the failing class the hashtable wasn't
initialized whereas the one that backs up environmentVariables (or
-Properties, I don't remember atm) was. When I built the
maven-surefire-plugin yourself, it started to work fine. I wish the
plugins were published more often.

Jacek

--
Jacek Laskowski
http://www.laskowski.org.pl



Mime
View raw message