You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org> on 2006/03/02 16:38:39 UTC

[jira] Created: (GERONIMO-1672) Migrate security module to M2

Migrate security module to M2
-----------------------------

         Key: GERONIMO-1672
         URL: http://issues.apache.org/jira/browse/GERONIMO-1672
     Project: Geronimo
        Type: Task
  Components: security  
    Versions: 1.x    
 Environment: All
    Reporter: Anita Kulshreshtha
     Fix For: 1.x




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1672) Migrate security module to M2

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=comments#action_12369267 ] 

Jacek Laskowski commented on GERONIMO-1672:
-------------------------------------------

Well, I'm a little confused with how M2 works. It seems I need to stand up, take a walk and think about it without sitting in front of the code ;) The situation is that the version of the plugin is already specified in the parent pom.xml:

      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.1.3-SNAPSHOT</version>
      </plugin>

So, I'd expect that whenever I use the plugin in the child poms that particular version is used as well. I'll need to test it out and ask on the Maven user mailing list.

The derby unit test fails because depending on how you run M2 the current working directory is either the top directory of Geronimo or module/derby. The test should be fixed as it slows down the migration (don't have an idea how, though).

Other than the test in the derby module, do you see any troubles? The xmlbeans jsr173 lib should already be commented out and not used during the build. Make sure you use Maven 2.0.2 and don't build plugins locally. Strange things will happen for other people who attempt to use M2 to build Geronimo. You experienced it, actually, didn't you? ;)

> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (GERONIMO-1672) Migrate security module to M2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=all ]

Anita Kulshreshtha reassigned GERONIMO-1672:
--------------------------------------------

    Assign To: Anita Kulshreshtha

This requires interceptor module. 

> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x

>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1672) Migrate security module to M2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=all ]

Anita Kulshreshtha updated GERONIMO-1672:
-----------------------------------------

    Attachment: pom.patch
                m2-log4j.patch

Added m2-log4j.properties to create network.log. The following line changed in pom.xml
<log4j.configuration>file:/${basedir}/m2-log4j.properties</log4j.configuration> 
     This uses 'basedir'. Since a bug in m2 does not set baseidr. It might be necessary to execute >set basedir=.  on windows.

> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x
>  Attachments: m2-log4j.patch, pom.patch, pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-1672) Migrate security module to M2

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=all ]
     
Jacek Laskowski closed GERONIMO-1672:
-------------------------------------

    Resolution: Fixed

Whoohoo, another module migrated! Thanks Anita!

> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Reopened: (GERONIMO-1672) Migrate security module to M2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=all ]
     
Anita Kulshreshtha reopened GERONIMO-1672:
------------------------------------------


> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1672) Module migration to Maven2: security

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=all ]

Jacek Laskowski updated GERONIMO-1672:
--------------------------------------

    Summary:  Module migration to Maven2: security  (was: Migrate security module to M2)

>  Module migration to Maven2: security
> -------------------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x
>  Attachments: m2-log4j.patch, pom.patch, pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (GERONIMO-1672) Migrate security module to M2

Posted by ia...@jpmchase.com.
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 <ia...@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



Re: [jira] Commented: (GERONIMO-1672) Migrate security module to M2

Posted by Jacek Laskowski <el...@gmail.com>.
2006/3/6, ian.d.stewart@jpmchase.com <ia...@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

Re: [jira] Commented: (GERONIMO-1672) Migrate security module to M2

Posted by ia...@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.


HTH,
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


                                                                                                                                       
                      "Anita                                                                                                           
                      Kulshreshtha             To:       dev@geronimo.apache.org                                                       
                      (JIRA)"                  cc:                                                                                     
                      <dev@geronimo.apa        Subject:  [jira] Commented: (GERONIMO-1672) Migrate security module to M2               
                      che.org>                                                                                                         
                                                                                                                                       
                      03/05/2006 09:07                                                                                                 
                      AM                                                                                                               
                      Please respond to                                                                                                
                      dev                                                                                                              
                                                                                                                                       




    [
http://issues.apache.org/jira/browse/GERONIMO-1672?page=comments#action_12368933
 ]

Anita Kulshreshtha commented on GERONIMO-1672:
----------------------------------------------

I have updated to rev 383311. No luck! I am still seeing the old
(maven-2.0.2) error.  my maven version is :
>mvn -v
Maven version: 2.1-SNAPSHOT


........................................................................................................

[INFO]
----------------------------------------------------------------------------

[INFO] Trace
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)

        at
org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:335)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47

5)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav

a:306)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)

        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)

        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

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

        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO]
----------------------------------------------------------------------------

[INFO] Total time: 6 seconds
[INFO] Finished at: Sun Mar 05 08:55:41 EST 2006
[INFO] Final Memory: 6M/11M
[INFO]
----------------------------------------------------------------------------




> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x

>


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




[jira] Commented: (GERONIMO-1672) Migrate security module to M2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=comments#action_12368933 ] 

Anita Kulshreshtha commented on GERONIMO-1672:
----------------------------------------------

I have updated to rev 383311. No luck! I am still seeing the old (maven-2.0.2) error.  my maven version is :
>mvn -v
Maven version: 2.1-SNAPSHOT


........................................................................................................
[INFO] ----------------------------------------------------------------------------
[INFO] Trace
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)
        at org.apache.maven.test.SurefirePlugin.execute(SurefirePlugin.java:335)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47
5)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:454)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
a:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Sun Mar 05 08:55:41 EST 2006
[INFO] Final Memory: 6M/11M
[INFO] ----------------------------------------------------------------------------



> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x

>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1672) Migrate security module to M2

Posted by "Prasad Kashyap (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=comments#action_12369880 ] 

Prasad Kashyap commented on GERONIMO-1672:
------------------------------------------

Maaan ! I still can't get the security tests to pass. Today I cleaned out my local m2 repo, updated the svn source code and ran the tests just inside the security module. The tests still fail.  Should we reopen this issue ? Or is it just me ?

> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1672) Migrate security module to M2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=comments#action_12369669 ] 

Anita Kulshreshtha commented on GERONIMO-1672:
----------------------------------------------

There were two causes of test failures :
  1. A 'test kernel' left running by test failures in an earlier module/build.
   2. Making systemProperties available to surefire plugin. Using 2.1.3-SNAPSHOT version of surefire plugin
    This issue can now be closed.

> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1672) Migrate security module to M2

Posted by "Henri Yandell (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=comments#action_12368662 ] 

Henri Yandell commented on GERONIMO-1672:
-----------------------------------------

http://issues.apache.org/jira/browse/GERONIMO-1678 contains the patch to fix the interceptor problems by the way.

> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x

>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1672) Module migration to Maven2: security

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=all ]

Anita Kulshreshtha updated GERONIMO-1672:
-----------------------------------------

    Attachment: pom.patch

please apply this and the m2-log4j.patch. This patch sets user.dir to basedir. 

>  Module migration to Maven2: security
> -------------------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x
>  Attachments: m2-log4j.patch, pom.patch, pom.patch, pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1672) Migrate security module to M2

Posted by "Henri Yandell (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=comments#action_12369277 ] 

Henri Yandell commented on GERONIMO-1672:
-----------------------------------------

Security was building fine for me yesterday :)

M2 Build:

Top level pom has a dependenciesManagement section. This sets up a pool of dependencies for the multiproject, but does not make them actual dependencies - it allows for the version handling to be in one place.

Sublevel poms then have dependencies in which they refer to elements in the top level pom - and don't need the version specified.

A common problem (for me anyway) is to run mvn package in the module, having changed the top level pom, and not have it see the new dependenciesManagement dependency. Then I remember I have to go back up to the top, run mvn -N install to put the pom in my local repository and then go back to the sub module.

Things got a lot easier once that clicked

> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1672) Migrate security module to M2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=all ]

Anita Kulshreshtha updated GERONIMO-1672:
-----------------------------------------

    Attachment: pom.patch

This is the build order - 
cd modules/util              mvn install
cd ../system                    mvn -Dmaven.test.skip=true install , After building the system, comment it out in the parent pom. 
cd ..\j2ee                         mvn install
apply this patch and the j2ee-schema patch 
cd ../..             top level                      mvn install, the build will fail at security
cd ../security                  Djava.security.auth.login.config=src/test-data/data/login.config -Dlog4j.configuration=file:log4j.properties
Remember to comment out security module, and run the build from the top level until done!   I am trying it now!
.......................................................................................................
running
10:34:03,203 DEBUG [GeronimoLoginConfiguration] Uninstalled Geronimo login configuration
DEBUG [main] Uninstalled Geronimo login configuration
10:34:03,203 DEBUG [BasicKernel] Starting kernel shutdown
DEBUG [main] Starting kernel shutdown
10:34:03,218 DEBUG [BasicKernel] Kernel shutdown complete
DEBUG [main] Kernel shutdown complete
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.547 sec
[INFO] [jar:jar]
[INFO] Building jar: D:\anita\geronimo\geronimo-1.1\modules\security\target\geronimo-security-1.2-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing D:\anita\geronimo\geronimo-1.1\modules\security\target\geronimo-security-1.2-SNAPSHOT.jar to C:\Docume
nts and Settings\User\.m2\repository\org\apache\geronimo\geronimo-security\1.2-SNAPSHOT\geronimo-security-1.2-SNAPSHOT.j
ar
[INFO] [maven-one-plugin:install-maven-one-repository {execution: default}]
[INFO] Installing D:\anita\geronimo\geronimo-1.1\modules\security\target\geronimo-security-1.2-SNAPSHOT.jar to C:\Docume
nts and Settings\User\.maven\repository\org.apache.geronimo\jars\geronimo-security-1.2-SNAPSHOT.jar
[INFO] ----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 37 seconds
[INFO] Finished at: Tue Mar 07 10:34:04 EST 2006
[INFO] Final Memory: 9M/16M
[INFO] ----------------------------------------------------------------------------


Here are the results - 

> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1672) Migrate security module to M2

Posted by "Anita Kulshreshtha (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=comments#action_12369261 ] 

Anita Kulshreshtha commented on GERONIMO-1672:
----------------------------------------------

Thanks! The other steps were only if the plugin did not work. Does system module also depend on this plugin?
This is good! After  resolving "required artifacts missing:
  xmlbeans:xmlbeans-jsr173-api:jar:2.0-dev"  in directory, and a test in derby all the converted modules can be built!

> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1672) Migrate security module to M2

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=comments#action_12368915 ] 

Jacek Laskowski commented on GERONIMO-1672:
-------------------------------------------

Anita, please update the sources and give the module a try. I think the module is migrated since 383234. Please use the daily build of M2 from http://maven.zones.apache.org/~maven/builds/trunk/m2-20060304.190000.tar.gz.

> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x

>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (GERONIMO-1672) Migrate security module to M2

Posted by "Henri Yandell (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=comments#action_12368608 ] 

Henri Yandell commented on GERONIMO-1672:
-----------------------------------------

just submitted a patch to fix interceptor.  by my reckoning, security is the next blocker build-wise.

Looking forward to seeing your patch :)

> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x

>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Created: (GERONIMO-1672) Migrate security module to M2

Posted by anita kulshreshtha <a_...@yahoo.com>.
  Only security module is processing xdocs in maven 1
build! How is it being handled in M2?

Thanks
Anita

--- "Anita Kulshreshtha (JIRA)"
<de...@geronimo.apache.org> wrote:

> Migrate security module to M2
> -----------------------------
> 
>          Key: GERONIMO-1672
>          URL:
> http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security  
>     Versions: 1.x    
>  Environment: All
>     Reporter: Anita Kulshreshtha
>      Fix For: 1.x
> 
> 
> 
> 
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of
> the administrators:
>   
>
http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[jira] Commented: (GERONIMO-1672) Migrate security module to M2

Posted by "Jacek Laskowski (JIRA)" <de...@geronimo.apache.org>.
    [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=comments#action_12369258 ] 

Jacek Laskowski commented on GERONIMO-1672:
-------------------------------------------

I don't like introducing any manual steps if they're unnecessary. In this particular case, you're proposing to run mvn with additional properties, which are easily to be forgotten once they're remembered which is not easy too.

To keep simple things simple, I've renamed .m2\repository\org\apache\maven\plugins\maven-surefire-plugin and attempted to build the module once more. Before that, I changed pom.xml so that it contained:

        <artifactId>maven-surefire-plugin</artifactId>
        <version>2.1.3-SNAPSHOT</version>

The module build went fine. I included the full trace to show that the appropriate version of the surefire plugin was indeed downloaded.

$ mvn -Dmodule=security clean test
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO]   Geronimo
[INFO]   Geronimo :: Security
[INFO] ----------------------------------------------------------------------------
[INFO] Building Geronimo
[INFO]    task-segment: [clean, test]
[INFO] ----------------------------------------------------------------------------
[INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.1.3-SNAPSHOT: checking for updates from snapshots
[INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.1.3-SNAPSHOT: checking for updates from Apache CVS
[INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.1.3-SNAPSHOT: checking for updates from apache-cvs
[INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.1.3-SNAPSHOT: checking for updates from maven1-ibiblio
[INFO] snapshot org.apache.maven.plugins:maven-surefire-plugin:2.1.3-SNAPSHOT: checking for updates from central
Downloading: http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-surefire-plugin/2.1.3-SNAPSHOT/maven-surefire-plugin-2.1.3-20060307.153150-1.pom

1K downloaded
Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.3-SNAPSHOT/maven-surefire-plugin-2.1.3-20060228.012944-10.jar
9K downloaded
[INFO] [clean:clean]
[INFO] No goals needed for project - skipping
[INFO] ----------------------------------------------------------------------------
[INFO] Building Geronimo :: Security
[INFO]    task-segment: [clean, test]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory c:\oss\geronimo\modules\security\target
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] snapshot org.apache.geronimo.specs:specs:1.1-SNAPSHOT: checking for updates from central
[INFO] snapshot org.apache.geronimo:geronimo-common:1.2-SNAPSHOT: checking for updates from central
[INFO] snapshot org.apache.geronimo:geronimo-kernel:1.2-SNAPSHOT: checking for updates from central
[INFO] snapshot org.apache.geronimo:geronimo-interceptor:1.2-SNAPSHOT: checking for updates from central
[INFO] snapshot org.apache.geronimo:geronimo-j2ee:1.2-SNAPSHOT: checking for updates from central
[INFO] snapshot org.apache.geronimo:geronimo-core:1.2-SNAPSHOT: checking for updates from central
[INFO] snapshot org.apache.geronimo:geronimo-management:1.2-SNAPSHOT: checking for updates from central
[INFO] snapshot org.apache.geronimo:geronimo-system:1.2-SNAPSHOT: checking for updates from central
[INFO] snapshot org.apache.geronimo:geronimo-util:1.2-SNAPSHOT: checking for updates from central
[INFO] [compiler:compile]
Compiling 100 source files to c:\oss\geronimo\modules\security\target\classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 13 source files to c:\oss\geronimo\modules\security\target\test-classes
Downloading: http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-surefire-plugin/2.1.3-SNAPSHOT/maven-surefire-plugin-2.1.3-20060228.012944-10.pom
1K downloaded
[INFO] [surefire:test]
[INFO] Setting reports dir: c:\oss\geronimo\modules\security\target/surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
[surefire] Running org.apache.geronimo.security.ContextManagerTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,501 sec
[surefire] Running org.apache.geronimo.security.jaas.ConfigurationEntryTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1,442 sec
[surefire] Running org.apache.geronimo.security.jaas.LoginKerberosNonGeronimoTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,771 sec
[surefire] Running org.apache.geronimo.security.jaas.LoginKerberosTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,731 sec
[surefire] Running org.apache.geronimo.security.jaas.LoginPropertiesFileTest
[surefire] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 3,025 sec
[surefire] Running org.apache.geronimo.security.jaas.LoginSQLTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 2,614 sec
[surefire] Running org.apache.geronimo.security.jaas.MultipleLoginDomainTest
[surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,05 sec
[surefire] Running org.apache.geronimo.security.jaas.NoLoginModuleReuseTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,04 sec
[surefire] Running org.apache.geronimo.security.jaas.TimeoutTest
[surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 11,767 sec
[surefire] Running org.apache.geronimo.security.jacc.GeronimoPolicyConfigurationFactoryTest
[surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,03 sec
[surefire] Running org.apache.geronimo.security.network.protocol.SubjectCarryingProtocolTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1,673 sec
[surefire] Running org.apache.geronimo.security.remoting.jmx.RemoteLoginTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5,388 sec
[INFO]
[INFO]
[INFO] ----------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] ----------------------------------------------------------------------------
[INFO] Geronimo ............................................... SUCCESS [12.118s]
[INFO] Geronimo :: Security ................................... SUCCESS [49.481s]
[INFO] ----------------------------------------------------------------------------
[INFO] ----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ----------------------------------------------------------------------------
[INFO] Total time: 1 minute 2 seconds
[INFO] Finished at: Tue Mar 07 17:22:03 CET 2006
[INFO] Final Memory: 4M/18M
[INFO] ----------------------------------------------------------------------------

Give it a try again and report the results so that I commit the change wrt the version.

> Migrate security module to M2
> -----------------------------
>
>          Key: GERONIMO-1672
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>      Project: Geronimo
>         Type: Task
>   Components: security
>     Versions: 1.x
>  Environment: All
>     Reporter: Anita Kulshreshtha
>     Assignee: Anita Kulshreshtha
>      Fix For: 1.x
>  Attachments: pom.patch
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-1672) Module migration to Maven2: security

Posted by "Jason Dillon (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1672?page=all ]

Jason Dillon closed GERONIMO-1672.
----------------------------------

    Fix Version/s: 1.2
                       (was: 1.x)
       Resolution: Fixed

This module is converted to m2.

>  Module migration to Maven2: security
> -------------------------------------
>
>                 Key: GERONIMO-1672
>                 URL: http://issues.apache.org/jira/browse/GERONIMO-1672
>             Project: Geronimo
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: security
>    Affects Versions: 1.x
>         Environment: All
>            Reporter: Anita Kulshreshtha
>         Assigned To: Anita Kulshreshtha
>             Fix For: 1.2
>
>         Attachments: m2-log4j.patch, pom.patch, pom.patch, pom.patch
>
>


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira