Build execution times are overly optimistic
-------------------------------------------
Key: MNG-317
URL: http://jira.codehaus.org/browse/MNG-317
Project: m2
Type: Bug
Versions: 2.0-alpha-1
Reporter: Vincent Massol
Even though m2 is fast, it can be that fast (see below). I've noticed that the
execution time reported is never accurate. It seems something is not taken into
account in the computed time.
C:\dev\cargo>m2 install
[INFO]
----------------------------------------------------------------------------
[INFO] Building Cargo
[INFO]
----------------------------------------------------------------------------
[INFO] maven-resources-plugin: resolved to version 1.0-20050405.161855-1 from
local repository
[INFO] maven-compiler-plugin: resolved to version 1.0-20050405.161112-1 from
local repository
[INFO] maven-surefire-plugin: resolved to version 1.0-20050405.162049-1 from
local repository
[INFO] maven-install-plugin: resolved to version 1.0-20050405.161614-1 from
local repository
[INFO] [resources:resources]
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] Setting reports dir: C:\dev\cargo\target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no test to run.
Results :
[surefire] Tests run: 0, Failures: 0, Errors: 0
[INFO] [install:install]
[INFO] Installing C:\dev\cargo\pom.xml to C:\Documents and Settings\Vincent
Massol\.m2\repository\org\codehaus\cargo\cargo\0.5-SNA
PSHOT\cargo-0.5-SNAPSHOT.pom
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 0 seconds
[INFO] Finished at: Fri Apr 15 19:12:21 CEST 2005
[INFO] Final Memory: 1M/2M
[INFO]
----------------------------------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[INFO] Building Cargo Core
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] [compiler:compile]
[INFO] No sources to compile
[INFO] [resources:testResources]
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] Setting reports dir: C:\dev\cargo\core\target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no test to run.
Results :
[surefire] Tests run: 0, Failures: 0, Errors: 0
[INFO] [install:install]
[INFO] Installing C:\dev\cargo\core\pom.xml to C:\Documents and
Settings\Vincent Massol\.m2\repository\org\codehaus\cargo\cargo-co
re\0.5-SNAPSHOT\cargo-core-0.5-SNAPSHOT.pom
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 0 seconds
[INFO] Finished at: Fri Apr 15 19:12:21 CEST 2005
[INFO] Final Memory: 1M/2M
[INFO]
----------------------------------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[INFO] Building Cargo Core Util API
[INFO]
----------------------------------------------------------------------------
[INFO] maven-jar-plugin: resolved to version 1.0-20050405.161721-1 from local
repository
[INFO] maven-archiver: resolved to version 1.0-20050407.164450-2 from local
repository
[INFO] maven: resolved to version 2.0-20050407.164450-2 from local repository
[INFO] [resources:resources]
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] [compiler:testCompile]
[INFO] No sources to compile
[INFO] [surefire:test]
[INFO] Setting reports dir: C:\dev\cargo\core\util\target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
There are no test to run.
Results :
[surefire] Tests run: 0, Failures: 0, Errors: 0
[INFO] [jar:jar]
[INFO] Building jar:
C:\dev\cargo\core\util\target\cargo-core-util-0.5-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing
C:\dev\cargo\core\util\target\cargo-core-util-0.5-SNAPSHOT.jar to C:\Documents
and Settings\Vincent Massol\.m2\r
epository\org\codehaus\cargo\cargo-core-util\0.5-SNAPSHOT\cargo-core-util-0.5-SNAPSHOT.jar
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 0 seconds
[INFO] Finished at: Fri Apr 15 19:12:21 CEST 2005
[INFO] Final Memory: 1M/2M
[INFO]
----------------------------------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[INFO] Building Cargo Core Module API
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] cargo-core-util: using locally installed snapshot
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Setting reports dir: C:\dev\cargo\core\module\target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
[surefire] Running org.codehaus.cargo.module.application.ApplicationXmlTest
[surefire] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0 sec
[surefire] Running
org.codehaus.cargo.module.application.ApplicationXmlVersionTest
[surefire] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0 sec
[surefire] Running org.codehaus.cargo.module.DtdTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,01 sec
[surefire] Running org.codehaus.cargo.module.ejb.EjbJarXmlTest
[surefire] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0,02 sec
[surefire] Running org.codehaus.cargo.module.ejb.orion.OracleEjbJarXmlTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,02 sec
[surefire] Running org.codehaus.cargo.module.ejb.weblogic.WeblogicEjbJarXmlTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,01 sec
[surefire] Running org.codehaus.cargo.module.ejb.websphere.IbmEjbJarBndXmiTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,04 sec
[surefire] Running org.codehaus.cargo.module.JarArchiveTest
[surefire] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0 sec
[surefire] Running org.codehaus.cargo.module.webapp.orion.OracleWebXmlTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,05 sec
[surefire] Running org.codehaus.cargo.module.webapp.WarArchiveTest
[surefire] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0,26 sec
[surefire] Running org.codehaus.cargo.module.webapp.weblogic.WeblogicXmlTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,01 sec
[surefire] Running org.codehaus.cargo.module.webapp.websphere.IbmWebBndXmiTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,02 sec
[surefire] Running org.codehaus.cargo.module.webapp.WebXmlMergerTest
[surefire] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 0,01 sec
[surefire] Running org.codehaus.cargo.module.webapp.WebXmlTest
[surefire] Tests run: 64, Failures: 0, Errors: 0, Time elapsed: 0,01 sec
[surefire] Running org.codehaus.cargo.module.webapp.WebXmlVersionTest
[surefire] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 0 sec
Results :
[surefire] Tests run: 138, Failures: 0, Errors: 0
[INFO] [jar:jar]
[INFO] Building jar:
C:\dev\cargo\core\module\target\cargo-core-module-0.5-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing
C:\dev\cargo\core\module\target\cargo-core-module-0.5-SNAPSHOT.jar to
C:\Documents and Settings\Vincent Massol\.
m2\repository\org\codehaus\cargo\cargo-core-module\0.5-SNAPSHOT\cargo-core-module-0.5-SNAPSHOT.jar
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 4 seconds
[INFO] Finished at: Fri Apr 15 19:12:26 CEST 2005
[INFO] Final Memory: 1M/13M
[INFO]
----------------------------------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[INFO] Building Cargo Core Container API
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] cargo-core-module: using locally installed snapshot
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Setting reports dir: C:\dev\cargo\core\container\target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
[surefire] Running
org.codehaus.cargo.container.configuration.ConfigurationFactoryTest
[surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,14 sec
[surefire] Running org.codehaus.cargo.container.ContainerFactoryTest
[surefire] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0,05 sec
[surefire] Running org.codehaus.cargo.container.deployable.jboss.JBossWARTest
[surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0 sec
[surefire] Running org.codehaus.cargo.container.deployable.tomcat.TomcatWARTest
[surefire] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0,01 sec
[surefire] Running org.codehaus.cargo.container.deployable.WARTest
[surefire] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0,03 sec
[surefire] Running org.codehaus.cargo.container.installer.ZipURLInstallerTest
[surefire] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0,091 sec
[surefire] Running
org.codehaus.cargo.container.orion.OrionStandaloneConfigurationTest
[surefire] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0,07 sec
[surefire] Running org.codehaus.cargo.container.property.UserTest
[surefire] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0 sec
Results :
[surefire] Tests run: 33, Failures: 0, Errors: 0
[INFO] [jar:jar]
[INFO] Building jar:
C:\dev\cargo\core\container\target\cargo-core-container-0.5-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing
C:\dev\cargo\core\container\target\cargo-core-container-0.5-SNAPSHOT.jar to
C:\Documents and Settings\Vincent Ma
ssol\.m2\repository\org\codehaus\cargo\cargo-core-container\0.5-SNAPSHOT\cargo-core-container-0.5-SNAPSHOT.jar
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 6 seconds
[INFO] Finished at: Fri Apr 15 19:12:33 CEST 2005
[INFO] Final Memory: 1M/12M
[INFO]
----------------------------------------------------------------------------
[INFO]
----------------------------------------------------------------------------
[INFO] Building Cargo Ant tasks
[INFO]
----------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] cargo-core-container: using locally installed snapshot
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Setting reports dir: C:\dev\cargo\ant\target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
[surefire] Running org.codehaus.cargo.ant.CargoTaskTest
[surefire] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0,04 sec
[surefire] Running org.codehaus.cargo.ant.ConfigurationElementTest
[surefire] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0,1 sec
Results :
[surefire] Tests run: 6, Failures: 0, Errors: 0
[INFO] [jar:jar]
[INFO] Building jar: C:\dev\cargo\ant\target\cargo-ant-0.5-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing C:\dev\cargo\ant\target\cargo-ant-0.5-SNAPSHOT.jar to
C:\Documents and Settings\Vincent Massol\.m2\repository\or
g\codehaus\cargo\cargo-ant\0.5-SNAPSHOT\cargo-ant-0.5-SNAPSHOT.jar
[INFO]
----------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
----------------------------------------------------------------------------
[INFO] Total time: 0 seconds
[INFO] Finished at: Fri Apr 15 19:12:33 CEST 2005
[INFO] Final Memory: 1M/9M
[INFO]
----------------------------------------------------------------------------
C:\dev\cargo>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]