You could but it requires you to change the pom:
http://stackoverflow.com/questions/772735/skipping-tests-in-some-modules-in-maven

It would be even better if you try to see why this test fails by debugging
it in Eclipse since this test passes on other machines (among mine) which
suggests it's a locale thing.


On Tue, Jun 4, 2013 at 9:25 AM, DImuthu Upeksha
<dimuthu.upeks...@gmail.com>wrote:

> Thank you Jeroen. If I do so it skips all tests in each module. Isn't
> it? Can I specify a particular module's test cases to skip and build
> others normally?
>
> On Tue, Jun 4, 2013 at 12:15 AM, Jeroen van der Wal <jer...@stromboli.it>
> wrote:
> > I think the tests don't pass your date format setting. Anyway, you can
> run
> > mvn clean install -DskipTests to simply skip the tests.
> >
> >
> >
> > On Tue, Jun 4, 2013 at 8:49 AM, DImuthu Upeksha
> > <dimuthu.upeks...@gmail.com>wrote:
> >
> >> Hi Dan,
> >> Thank you. Omitting -o flag resolved that issue. But now I get another
> >> issue complaining that
> >>
> >> -------------------------------------------------
> >>  "Results :
> >>   testTestAll(org.apache.isis.objectstore.sql.HsqlTest): Applib date:
> >> Test '2010 -3-5', expected 2010-03-05, but got 2010-03-01. Check log
> >> for more info.
> >> Tests run: 9, Failures: 1, Errors: 0, Skipped: 0"
> >>  -------------------------------------
> >> [INFO] Isis SQL ObjectStore Integration Tests - Common ... FAILURE
> [6.496s]
> >> ------------------------
> >>
> >> What is the issue with these dates? Is changing dates in java file the
> >> correct thing to pass these test or is there another way?
> >>
> >>
> >> On Mon, Jun 3, 2013 at 10:06 PM, Dan Haywood
> >> <d...@haywood-associates.co.uk> wrote:
> >> > Omit the -o flag; I think you need to download some new artifacts (not
> >> yet
> >> > cached in your ~/.m2/repository dir)
> >> >
> >> > Dan.
> >> >
> >> > Sorry to be brief, sent from my phone
> >> >
> >> > On 4 Jun 2013 05:06, "DImuthu Upeksha" <dimuthu.upeks...@gmail.com>
> >> wrote:
> >> >>
> >> >> Hi Dan,
> >> >> I managed to clone ISIS code [0] in to my machine but when I tried to
> >> >> build it using mvn clean install -o it gives the following error. Can
> >> >> you please help me to make this right? I'm following the instructions
> >> >> given in [1]
> >> >>
> >> >>
> >> >> C:\isis\isis>mvn clean install -o
> >> >> [INFO] Scanning for projects...
> >> >> [WARNING]
> >> >> [WARNING] Some problems were encountered while building the effective
> >> >> model for
> >> >>
> >> >>
> >>
> org.apache.isis.example.application:quickstart_wicket_restful_jdo-webapp:war:1.0
> >> >> .3-SNAPSHOT
> >> >> [WARNING] 'build.plugins.plugin.version' for
> >> >> org.apache.maven.plugins:maven-war-
> >> >> plugin is missing. @ line 92, column 21
> >> >> [WARNING]
> >> >> [WARNING] Some problems were encountered while building the effective
> >> >> model for
> >> >>
> >> >>
> >>
> org.apache.isis.example.domainservice:email-domainservice:jar:1.0.0-SNAPSHOT
> >> >> [WARNING] 'build.plugins.plugin.version' for
> >> >> org.apache.maven.plugins:maven-comp
> >> >> iler-plugin is missing. @ line 44, column 21
> >> >> [WARNING] 'build.plugins.plugin.version' for
> >> >> org.apache.maven.plugins:maven-ecli
> >> >> pse-plugin is missing. @ line 39, column 21
> >> >> [WARNING]
> >> >> [WARNING] It is highly recommended to fix these problems because they
> >> >> threaten t
> >> >> he stability of your build.
> >> >> [WARNING]
> >> >> [WARNING] For this reason, future Maven versions might no longer
> support
> >> >> buildin
> >> >> g such malformed projects.
> >> >> [WARNING]
> >> >> [INFO]
> >> >>
> ------------------------------------------------------------------------
> >> >> [INFO] Reactor Build Order:
> >> >> [INFO]
> >> >> [INFO] Apache Isis Core
> >> >> [INFO] Isis Core Unit Test Support
> >> >> [INFO] Isis Core AppLib
> >> >> [INFO] Isis Core MetaModel
> >> >> [INFO] Isis Core Runtime
> >> >> [INFO] Isis Core WebServer
> >> >> [INFO] Isis Core CgLib Bytecode
> >> >> [INFO] Isis Core Javassist Bytecode
> >> >> [INFO] Isis Core (In-Memory) ObjectStore
> >> >> [INFO] Isis Core (In-memory) ProfileStore
> >> >> [INFO] Isis Core (Bypass) Security
> >> >> [INFO] Isis Core TCK App
> >> >> [INFO] Isis Core TCK DOM
> >> >> [INFO] Isis Core Wrapper Service
> >> >> [INFO] Isis Core Integration Testing Support
> >> >> [INFO] Isis Core TCK Fixtures
> >> >> [INFO] Isis XML ObjectStore
> >> >> [INFO] Isis SQL ObjectStore
> >> >> [INFO] Isis SQL ObjectStore Implementation
> >> >> [INFO] Isis SQL ObjectStore Integration Tests - Common
> >> >> [INFO] Isis SQL ObjectStore Integration Tests - Served
> >> >> [INFO] Isis NOSQL ObjectStore
> >> >> [INFO] Isis JDO ObjectStore
> >> >> [INFO] Isis JDO ObjectStore AppLib
> >> >> [INFO] Isis JDO ObjectStore MetaModel Support
> >> >> [INFO] Isis JDO ObjectStore DataNucleus impl
> >> >> [INFO] Isis Groovy ProgModel
> >> >> [INFO] Isis Groovy ProgModel AppLib
> >> >> [INFO] Isis Groovy ProgModel MetaModel
> >> >> [INFO] Isis XML ProfileStore
> >> >> [INFO] Isis File Security
> >> >> [INFO] Isis Shiro Security
> >> >> [INFO] Isis Drag-n-Drop Viewer
> >> >> [INFO] Isis Drag-n-Drop Viewer Implementation
> >> >> [INFO] Isis Drag-n-Drop Viewer TCK tests
> >> >> [INFO] Isis Scimpi Viewer
> >> >> [INFO] Isis Scimpi Viewer Dispatcher
> >> >> [INFO] Isis Scimpi Viewer Servlet
> >> >> [INFO] Isis Scimpi Viewer TCK tests
> >> >> [INFO] Isis Wicket Viewer
> >> >> [INFO] Isis Wicket Viewer Model
> >> >> [INFO] Isis Wicket Viewer UI Components
> >> >> [INFO] Isis Wicket Viewer Implementation
> >> >> [INFO] Isis Wicket Viewer TCK tests
> >> >> [INFO] Isis RestfulObjects Viewer
> >> >> [INFO] Isis RestfulObjects Viewer AppLib
> >> >> [INFO] Isis RestfulObjects Viewer Rendering
> >> >> [INFO] Isis RestfulObjects Viewer Server
> >> >> [INFO] Isis RestfulObjects Viewer TCK tests
> >> >> [INFO] Isis BDD Viewer
> >> >> [INFO] Isis BDD Viewer (Common)
> >> >> [INFO] Isis BDD Viewer (Concordion)
> >> >> [INFO] Isis BDD Viewer (Concordion) TCK tests
> >> >> [INFO] Example Claims
> >> >> [INFO] Example Claims App DOM
> >> >> [INFO] Example Claims App Fixtures
> >> >> [INFO] Example Claims App Scimpi Viewer
> >> >> [INFO] Example Claims App Wicket Viewer
> >> >> [INFO] Example Claims App DnD Viewer
> >> >> [INFO] Quickstart (Scimpi/NoSQL) App
> >> >> [INFO] Quickstart (Scimpi/NoSQL) DOM
> >> >> [INFO] Quickstart (Scimpi/NoSQL) Fixtures
> >> >> [INFO] Quickstart (Scimpi/NoSQL) Scimpi Viewer
> >> >> [INFO] Quickstart (DnD/Junit/BDD) App
> >> >> [INFO] Quickstart (DnD/Junit/BDD) DOM
> >> >> [INFO] Quickstart (DnD/Junit/BDD) Fixtures
> >> >> [INFO] Quickstart (DnD/Junit/BDD) Viewer DnD
> >> >> [INFO] Quickstart (DnD/Junit/BDD)BDD BDD (Concordion) Tests
> >> >> [INFO] Quickstart Wicket/Restful/JDO App
> >> >> [INFO] Quickstart Wicket/Restful/JDO DOM
> >> >> [INFO] Quickstart Wicket/Restful/JDO Fixtures
> >> >> [INFO] Quickstart Wicket/Restful/JDO Repositories (for JDO)
> >> >> [INFO] Quickstart Wicket/Restful/JDO Integration Tests
> >> >> [INFO] Quickstart Wicket/Restful/JDO Webapp
> >> >> [INFO] quickstart_wicket_restful_jdo-archetype
> >> >> [INFO] Email service
> >> >> [INFO] Example ProgModel: Namefile Facet
> >> >> [INFO] Isis Maven Mojo (isis-maven-plugin)
> >> >> [INFO] Apache Isis (Aggregator)
> >> >> [INFO]
> >> >> [INFO]
> >> >>
> ------------------------------------------------------------------------
> >> >> [INFO] Building Apache Isis Core 1.3.0-SNAPSHOT
> >> >> [INFO]
> >> >>
> ------------------------------------------------------------------------
> >> >> [WARNING] The POM for
> >> org.apache.maven.plugins:maven-clean-plugin:jar:2.5
> >> >> is mis
> >> >> sing, no dependency information available
> >> >> [INFO]
> >> >>
> ------------------------------------------------------------------------
> >> >> [INFO] Reactor Summary:
> >> >> [INFO]
> >> >> [INFO] Apache Isis Core .................................. FAILURE
> >> >> [0.043s]
> >> >> [INFO] Isis Core Unit Test Support ....................... SKIPPED
> >> >> [INFO] Isis Core AppLib .................................. SKIPPED
> >> >> [INFO] Isis Core MetaModel ............................... SKIPPED
> >> >> [INFO] Isis Core Runtime ................................. SKIPPED
> >> >> [INFO] Isis Core WebServer ............................... SKIPPED
> >> >> [INFO] Isis Core CgLib Bytecode .......................... SKIPPED
> >> >> [INFO] Isis Core Javassist Bytecode ...................... SKIPPED
> >> >> [INFO] Isis Core (In-Memory) ObjectStore ................. SKIPPED
> >> >> [INFO] Isis Core (In-memory) ProfileStore ................ SKIPPED
> >> >> [INFO] Isis Core (Bypass) Security ....................... SKIPPED
> >> >> [INFO] Isis Core TCK App ................................. SKIPPED
> >> >> [INFO] Isis Core TCK DOM ................................. SKIPPED
> >> >> [INFO] Isis Core Wrapper Service ......................... SKIPPED
> >> >> [INFO] Isis Core Integration Testing Support ............. SKIPPED
> >> >> [INFO] Isis Core TCK Fixtures ............................ SKIPPED
> >> >> [INFO] Isis XML ObjectStore .............................. SKIPPED
> >> >> [INFO] Isis SQL ObjectStore .............................. SKIPPED
> >> >> [INFO] Isis SQL ObjectStore Implementation ............... SKIPPED
> >> >> [INFO] Isis SQL ObjectStore Integration Tests - Common ... SKIPPED
> >> >> [INFO] Isis SQL ObjectStore Integration Tests - Served ... SKIPPED
> >> >> [INFO] Isis NOSQL ObjectStore ............................ SKIPPED
> >> >> [INFO] Isis JDO ObjectStore .............................. SKIPPED
> >> >> [INFO] Isis JDO ObjectStore AppLib ....................... SKIPPED
> >> >> [INFO] Isis JDO ObjectStore MetaModel Support ............ SKIPPED
> >> >> [INFO] Isis JDO ObjectStore DataNucleus impl ............. SKIPPED
> >> >> [INFO] Isis Groovy ProgModel ............................. SKIPPED
> >> >> [INFO] Isis Groovy ProgModel AppLib ...................... SKIPPED
> >> >> [INFO] Isis Groovy ProgModel MetaModel ................... SKIPPED
> >> >> [INFO] Isis XML ProfileStore ............................. SKIPPED
> >> >> [INFO] Isis File Security ................................ SKIPPED
> >> >> [INFO] Isis Shiro Security ............................... SKIPPED
> >> >> [INFO] Isis Drag-n-Drop Viewer ........................... SKIPPED
> >> >> [INFO] Isis Drag-n-Drop Viewer Implementation ............ SKIPPED
> >> >> [INFO] Isis Drag-n-Drop Viewer TCK tests ................. SKIPPED
> >> >> [INFO] Isis Scimpi Viewer ................................ SKIPPED
> >> >> [INFO] Isis Scimpi Viewer Dispatcher ..................... SKIPPED
> >> >> [INFO] Isis Scimpi Viewer Servlet ........................ SKIPPED
> >> >> [INFO] Isis Scimpi Viewer TCK tests ...................... SKIPPED
> >> >> [INFO] Isis Wicket Viewer ................................ SKIPPED
> >> >> [INFO] Isis Wicket Viewer Model .......................... SKIPPED
> >> >> [INFO] Isis Wicket Viewer UI Components .................. SKIPPED
> >> >> [INFO] Isis Wicket Viewer Implementation ................. SKIPPED
> >> >> [INFO] Isis Wicket Viewer TCK tests ...................... SKIPPED
> >> >> [INFO] Isis RestfulObjects Viewer ........................ SKIPPED
> >> >> [INFO] Isis RestfulObjects Viewer AppLib ................. SKIPPED
> >> >> [INFO] Isis RestfulObjects Viewer Rendering .............. SKIPPED
> >> >> [INFO] Isis RestfulObjects Viewer Server ................. SKIPPED
> >> >> [INFO] Isis RestfulObjects Viewer TCK tests .............. SKIPPED
> >> >> [INFO] Isis BDD Viewer ................................... SKIPPED
> >> >> [INFO] Isis BDD Viewer (Common) .......................... SKIPPED
> >> >> [INFO] Isis BDD Viewer (Concordion) ...................... SKIPPED
> >> >> [INFO] Isis BDD Viewer (Concordion) TCK tests ............ SKIPPED
> >> >> [INFO] Example Claims .................................... SKIPPED
> >> >> [INFO] Example Claims App DOM ............................ SKIPPED
> >> >> [INFO] Example Claims App Fixtures ....................... SKIPPED
> >> >> [INFO] Example Claims App Scimpi Viewer .................. SKIPPED
> >> >> [INFO] Example Claims App Wicket Viewer .................. SKIPPED
> >> >> [INFO] Example Claims App DnD Viewer ..................... SKIPPED
> >> >> [INFO] Quickstart (Scimpi/NoSQL) App ..................... SKIPPED
> >> >> [INFO] Quickstart (Scimpi/NoSQL) DOM ..................... SKIPPED
> >> >> [INFO] Quickstart (Scimpi/NoSQL) Fixtures ................ SKIPPED
> >> >> [INFO] Quickstart (Scimpi/NoSQL) Scimpi Viewer ........... SKIPPED
> >> >> [INFO] Quickstart (DnD/Junit/BDD) App .................... SKIPPED
> >> >> [INFO] Quickstart (DnD/Junit/BDD) DOM .................... SKIPPED
> >> >> [INFO] Quickstart (DnD/Junit/BDD) Fixtures ............... SKIPPED
> >> >> [INFO] Quickstart (DnD/Junit/BDD) Viewer DnD ............. SKIPPED
> >> >> [INFO] Quickstart (DnD/Junit/BDD)BDD BDD (Concordion) Tests  SKIPPED
> >> >> [INFO] Quickstart Wicket/Restful/JDO App ................. SKIPPED
> >> >> [INFO] Quickstart Wicket/Restful/JDO DOM ................. SKIPPED
> >> >> [INFO] Quickstart Wicket/Restful/JDO Fixtures ............ SKIPPED
> >> >> [INFO] Quickstart Wicket/Restful/JDO Repositories (for JDO)  SKIPPED
> >> >> [INFO] Quickstart Wicket/Restful/JDO Integration Tests ... SKIPPED
> >> >> [INFO] Quickstart Wicket/Restful/JDO Webapp .............. SKIPPED
> >> >> [INFO] quickstart_wicket_restful_jdo-archetype ........... SKIPPED
> >> >> [INFO] Email service ..................................... SKIPPED
> >> >> [INFO] Example ProgModel: Namefile Facet ................. SKIPPED
> >> >> [INFO] Isis Maven Mojo (isis-maven-plugin) ............... SKIPPED
> >> >> [INFO] Apache Isis (Aggregator) .......................... SKIPPED
> >> >> [INFO]
> >> >>
> ------------------------------------------------------------------------
> >> >> [INFO] BUILD FAILURE
> >> >> [INFO]
> >> >>
> ------------------------------------------------------------------------
> >> >> [INFO] Total time: 1.427s
> >> >> [INFO] Finished at: Mon Jun 03 20:52:19 PDT 2013
> >> >> [INFO] Final Memory: 17M/43M
> >> >> [INFO]
> >> >>
> ------------------------------------------------------------------------
> >> >> [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or
> one of
> >> >> its dep
> >> >> endencies could not be resolved: Failed to read artifact descriptor
> for
> >> >> org.apac
> >> >> he.maven.plugins:maven-clean-plugin:jar:2.5: The repository system is
> >> >> offline bu
> >> >> t the artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 is
> >> not
> >> >> availa
> >> >> ble in the local repository. -> [Help 1]
> >> >> [ERROR]
> >> >> [ERROR] To see the full stack trace of the errors, re-run Maven with
> the
> >> >> -e swit
> >> >> ch.
> >> >> [ERROR] Re-run Maven using the -X switch to enable full debug
> logging.
> >> >> [ERROR]
> >> >> [ERROR] For more information about the errors and possible solutions,
> >> >> please rea
> >> >> d the following articles:
> >> >> [ERROR] [Help 1]
> >> >> http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti
> >> >> onException
> >> >>
> >> >> [0] https://github.com/DImuthuUpe/isis
> >> >> [1] http://isis.apache.org/contributors/building-isis.html
> >> >> --
> >> >> Regards
> >> >>
> >> >> W.Dimuthu Upeksha
> >> >> Undergraduate
> >> >>
> >> >> Department of Computer Science And Engineering
> >> >>
> >> >> University of Moratuwa, Sri Lanka
> >>
> >>
> >>
> >> --
> >> Regards
> >>
> >> W.Dimuthu Upeksha
> >> Undergraduate
> >>
> >> Department of Computer Science And Engineering
> >>
> >> University of Moratuwa, Sri Lanka
> >>
>
>
>
> --
> Regards
>
> W.Dimuthu Upeksha
> Undergraduate
>
> Department of Computer Science And Engineering
>
> University of Moratuwa, Sri Lanka
>

Reply via email to