geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacek Laskowski (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-1672) Migrate security module to M2
Date Tue, 07 Mar 2006 16:31:41 GMT
    [ 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


Mime
View raw message