Hi,
Have I posted my problem on the wrong mailing list?
Please point me to the right forum where I can discuss this problem.
I am stuck right now.
I have searched on web but to my disappointment no useful results were
found.
On Thu, Feb 19, 2009 at 6:51 PM, Nilesh Choure <[email protected]> wrote:
> Hi,
>
> I downloaded the geotools source version 2.6 M1 and was trying building it
> using maven from command prompt.
> I got following errors which are generated while running test.
> I also tried to skip the tests to try and finish packaging and install.
> Still got the errors which is also logged below.
> I am using following configuration for build
> Maven version 2.0.9
> JDK 1.6 Update 12
>
> I have also tried it with latest source from SVN and it results in same
> errors.
> I checked the reports for this test here
> http://maven.geotools.fr/reports/modules/library/referencing/surefire-report.htmland
> they are working there.
>
> Please help me know what is wrong with my build.
>
> *
> **********************************************************************************************
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Referencing services
> [INFO] task-segment: [test]
> [INFO]
> ------------------------------------------------------------------------*
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory:
> D:\Nilesh\uDig\Dependancies\geotools\geotools-2.6-M1\modules\library\referencing\target\surefire-reports
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.geotools.referencing.cs.DefaultCartesianCSTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.234 sec
> Running org.geotools.referencing.operation.transform.MathTransformTest
> Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.075 sec
> Running org.geotools.referencing.CrsTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.078 sec
> Running org.geotools.geometry.GeneralEnvelopeTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.geotools.referencing.operation.Transform3DTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> Running org.geotools.referencing.factory.wms.AUTOTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> Running org.geotools.referencing.wkt.ParserTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.296 sec
> Running org.geotools.referencing.operation.projection.NewZealandMapGridTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.geotools.referencing.FactoriesTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.078 sec
> |
> |
> |
> Running org.geotools.referencing.IdentifiedObjectTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> *Running org.geotools.referencing.ScriptTest
> Tests run: 16, Failures: 0, Errors: 2, Skipped: 2, Time elapsed: 0.53 sec
> <<< FAILURE!*
> Running org.geotools.referencing.GeodeticCalculatorTest
> Tests run: 5, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.406 sec
> Running org.geotools.referencing.operation.builder.MathTransformBuilderTest
> Tests run: 8, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.077 sec
> Running org.geotools.referencing.factory.AuthorityFactoryProxyTest
> Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.016 sec
> Running org.geotools.geometry.DirectPositionTest
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 sec
> Running org.geotools.parameter.ImagingParametersTest
> Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.53 sec
> Running org.geotools.referencing.factory.wms.CRSTest
> Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.031 sec
> |
> |
> Results :
>
> Tests in error:
> testStereographic(org.geotools.referencing.ScriptTest)
> testOrthographic(org.geotools.referencing.ScriptTest)
>
> Tests run: 189, Failures: 0, Errors: 2, Skipped: 5
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to
> D:\Nilesh\uDig\Dependancies\geotools\geotools-2.6-M1\modules\library\referencing\target\surefire-reports
> for the individual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 45 seconds
> [INFO] Finished at: Thu Feb 19 17:50:14 GMT+05:30 2009
> [INFO] Final Memory: 28M/254M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> *********************************************************************************************************
>
>
> *Log of error after skiping tests*
> ___________________________________________________________________________
>
> [INFO] Using default encoding to copy filtered resources.
> Downloading:
> http://download.java.net/maven/2/org/geotools/gt-main/2.6-M1/gt-main-2.6-M1-tests.jar
> Downloading:
> http://download.osgeo.org/webdav/geotools//org/geotools/gt-main/2.6-M1/gt-main-2.6-M1-tests.jar
> Downloading:
> http://maven.geotools.fr/repository/org/geotools/gt-main/2.6-M1/gt-main-2.6-M1-tests.jar
> Downloading:
> http://repo1.maven.org/maven2/org/geotools/gt-main/2.6-M1/gt-main-2.6-M1-tests.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.geotools:gt-main:jar:tests:2.6-M1
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.geotools -DartifactId=gt-main
> -Dversion=2.6-M1 -Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=org.geotools -DartifactId=gt-main
> -Dversion=2.6-M1 -Dclassifier=tests -Dpackaging=jar -Dfile=/path/to/file
> -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.geotools:gt-legacy:jar:2.6-M1
> 2) org.geotools:gt-main:jar:tests:2.6-M1
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.geotools:gt-legacy:jar:2.6-M1
>
> from the specified remote repositories:
> osgeo (http://download.osgeo.org/webdav/geotools/),
> geotools (http://maven.geotools.fr/repository),
> maven2-repository.dev.java.net (http://download.java.net/maven/2),
> central (http://repo1.maven.org/maven2)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 2 minutes 32 seconds
> [INFO] Finished at: Thu Feb 19 18:03:02 GMT+05:30 2009
> [INFO] Final Memory: 51M/254M
>
>
> __________________________________________________________________________________
>
> --
> Thanks & regards,
> Nilesh Choure
> [email protected]
>
--
Thanks & regards,
Nilesh Choure
[email protected]
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel