8 Replies Latest reply on Feb 7, 2014 10:29 AM by Ben Cotton

    details wrt to Github fork/clone/build of Infinispan 7 master ...

    Ben Cotton Newbie

      is there a document that tells all wrt this post's SUBJ line?

       

      Given that I had both JDK 1.7 and Maven 3 in-place (nothing more needed, right?),   I was hopeful that all I would have to do, after I clone'd down to my desktop workspace from my GIT repo's fork of the upstream Infinispan master ( https://github.com/infinispan/infinispan ), would be to type 'mvn clean compile' ... but ... that did not do the trick.


      Please advise, we are getting started to effort the POC discussed at http://infinispan-developer-list.980875.n3.nabble.com/infinispan-dev-Infinispan-embedded-off-heap-cache-td4026102.html

       

      ben@52-b.liq,risk.ny.jpm.com> mvn clean compile

       

      <snip  ....>

       

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

      [INFO] BUILD FAILURE

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

      [INFO] Total time: 48.156s

      [INFO] Finished at: Thu Feb 06 00:14:16 EST 2014

      [INFO] Final Memory: 50M/361M

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

      [ERROR] Failed to execute goal on project infinispan-extended-statistics: Could not resolve dependencies for project org.infinispan:infinispan-extended-statistics:jar:7.0.0-SNAPSHOT: Failure to find org.infinispan:infinispan-core:jar:tests:7.0.0-SNAPSHOT in https://repository.jboss.org/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of jboss-public-repository has elapsed or updates are forced -> [Help 1]

      [ERROR]

      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

      [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 read the following articles:

      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

      [ERROR]

      [ERROR] After correcting the problems, you can resume the build with the command

      [ERROR]   mvn <goals> -rf :infinispan-extended-statistics

      ben@52-b.liq,risk.ny.jpm.com>

        • 2. Re: details wrt to Github fork/clone/build of Infinispan 7 master ...
          Tristan Tarrant Master

          There are errors in there with respect to the JDK requirements. I've issued a PR to fix them:

           

          Infinispan requires JDK 7 for building by tristantarrant · Pull Request #2376 · infinispan/infinispan · GitHub

          1 of 1 people found this helpful
          • 3. Re: details wrt to Github fork/clone/build of Infinispan 7 master ...
            Tristan Tarrant Master

            Ben, can you pastebin the full build log ? I'm wondering what the cause for not finding the extended-statistics artifact in the local reactor is.

            • 4. Re: details wrt to Github fork/clone/build of Infinispan 7 master ...
              Ben Cotton Newbie

              No worries now, Tristan.I changed my mvn invoke to

               

              bencotton@WA3020M3F.quant.liq.risk.ny.jpm.commvn clean compile package  -DskipTests #ask ISPN to add to wiki? need 'package' or won't resolve from target/

               

              and  extended-statistics was resolved locally.

               

              My full build is now purring away ... scrolling happily ... endlessly ... looking good.  will update here on any break.

               

              Thanks!

              • 5. Re: details wrt to Github fork/clone/build of Infinispan 7 master ...
                Ben Cotton Newbie

                Tristan, Mircea,

                 

                Getting close to full ISPN 7 "BUILD SUCCESS".

                 

                We currently get this ROADBLOCK:

                 

                [ERROR] Failed to execute goal on project infinispan-server-build: Could not resolve dependencies for project org.infinispan.server:infinispan-server-build:pom:7.0.0-SNAPSHOT: Failure to find org.jboss.common:jboss-common-beans:jar:1.1.0.Final in http://r

                epo-proxy.jpmchase.net/maven/content/groups/jpmc-public was cached in the local repository, resolution will not be reattempted until the update interval of jpmc-public has elapsed or updates are forced -> [Help 1]

                [ERROR]

                 

                NOTE: we mirror your

                 

                REPO=http://repository.jboss.org/nexus/content/groups/public-jboss/


                with our internal


                REPO=http://repo-proxy.jpmchase.net/maven/content/groups/jpmc-public


                should I expect our mirror to include your repo's custody of jboss-commons-beans.jar?  If not, from where can I find this .jar?  If so, maybe I just ask our repo admins to refresh our mirro?  In the very worst case, I guess I we could brute-force download this .jar into my workspace's M2 local repo view.


                Thx for you support, getting there,

                Ben

                 

                P.S. Attached is the stdout from mvn




                 

                u935903@WA3020M3F.quant.liq.risk.ny.jpm.com> mvn \

                     clean \

                     compile \

                     package  \

                     -DskipTests


                [INFO] Scanning for projects...

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

                [INFO] Reactor Build Order:

                [INFO]

                [INFO] Infinispan BOM

                [INFO] Infinispan Common Parent

                [INFO] Infinispan Checkstyle Rules

                [INFO] Infinispan Commons

                [INFO] Infinispan Core

                [INFO] Infinispan Extended Statistics

                [INFO] Parent pom for server modules

                [INFO] Infinispan Server - Core Components

                [INFO] Infinispan Query DSL API

                [INFO] Parent pom for cachestore modules

                [INFO] Infinispan JDBC CacheStore

                [INFO] Parent pom for the Lucene integration modules

                [INFO] Infinispan integration with Lucene v.3.x

                [INFO] Infinispan integration with Lucene v.4.x

                [INFO] Infinispan Lucene Directory Implementation

                [INFO] Infinispan Query API

                [INFO] Infinispan Tools

                [INFO] Infinispan Remote Query Client

                [INFO] Infinispan Remote Query Server

                [INFO] Infinispan Tree API

                [INFO] Infinispan Hot Rod Server

                [INFO] Infinispan Hot Rod Client

                [INFO] Parent pom for compatibility modules

                [INFO] infinispan-custom52x-store

                [INFO] infinispan-adaptor52x

                [INFO] Infinispan Remote CacheStore

                [INFO] Infinispan CLI Client

                [INFO] Infinispan Memcached Server

                [INFO] Infinispan REST Server

                [INFO] Infinispan CLI Server

                [INFO] Infinispan Command Line Interface persistence

                [INFO] Infinispan LevelDB CacheStore

                [INFO] Infinispan REST CacheStore

                [INFO] Infinispan WebSocket Server

                [INFO] Infinispan Spring Integration

                [INFO] Infinispan GUI Demo

                [INFO] Infinispan EC2 Demo

                [INFO] Infinispan Distributed Executors and Map/Reduce Demo

                [INFO] Infinispan EC2 Demo UI

                [INFO] Infinispan Directory Demo

                [INFO] Infinispan Lucene Directory Demo

                [INFO] Infinispan Near Cache Demo

                [INFO] Infinispan CDI support

                [INFO] Infinispan Near Cache Demo Client

                [INFO] Infinispan AS/EAP modules

                [INFO] Integration tests: Lucene Directory with Infinispan Query

                [INFO] Infinispan JCACHE (JSR-107) implementation

                [INFO] Integration tests: AS Module Integration Tests

                [INFO] Integration tests: Infinispan compatibility mode

                [INFO] Integration tests: Infinispan CDI/JCache interactions

                [INFO] infinispan-cli-migrator52x

                [INFO] Infinispan Server - BOM

                [INFO] Infinispan Server - JGroups Subsystem

                [INFO] Infinispan Server - Infinispan Subsystem

                [INFO] Infinispan Server - Security Subsystem

                [INFO] Infinispan Server - Endpoints Subsystem

                [INFO] Infinispan Server - Build

                [INFO] Infinispan Server - RHQ/JON plugin

                [INFO] Infinispan Server - Test Suite

                [INFO] Infinispan Server

                [INFO] Infinispan Distribution

                [INFO]


                [SNIP ... scrolls for 15-20 minutes purring away the build]

                 

                 

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

                [INFO] Building Infinispan Server - Build 7.0.0-SNAPSHOT

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

                [WARNING] The POM for org.jboss.common:jboss-common-beans:jar:1.1.0.Final is missing, no dependency information available

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

                [INFO] Reactor Summary:

                [INFO]

                [INFO] Infinispan BOM .................................... SUCCESS [0.069s]

                [INFO] Infinispan Common Parent .......................... SUCCESS [1.638s]

                [INFO] Infinispan Checkstyle Rules ....................... SUCCESS [6.589s]

                [INFO] Infinispan Commons ................................ SUCCESS [20.181s]

                [INFO] Infinispan Core ................................... SUCCESS [40.015s]

                [INFO] Infinispan Extended Statistics .................... SUCCESS [7.939s]

                [INFO] Parent pom for server modules ..................... SUCCESS [0.995s]

                [INFO] Infinispan Server - Core Components ............... SUCCESS [23.185s]

                [INFO] Infinispan Query DSL API .......................... SUCCESS [3.170s]

                [INFO] Parent pom for cachestore modules ................. SUCCESS [0.669s]

                [INFO] Infinispan JDBC CacheStore ........................ SUCCESS [7.977s]

                [INFO] Parent pom for the Lucene integration modules ..... SUCCESS [0.659s]

                [INFO] Infinispan integration with Lucene v.3.x .......... SUCCESS [7.919s]

                [INFO] Infinispan integration with Lucene v.4.x .......... SUCCESS [5.325s]

                [INFO] Infinispan Lucene Directory Implementation ........ SUCCESS [1.565s]

                [INFO] Infinispan Query API .............................. SUCCESS [12.038s]

                [INFO] Infinispan Tools .................................. SUCCESS [14.401s]

                [INFO] Infinispan Remote Query Client .................... SUCCESS [3.270s]

                [INFO] Infinispan Remote Query Server .................... SUCCESS [9.628s]

                [INFO] Infinispan Tree API ............................... SUCCESS [7.273s]

                [INFO] Infinispan Hot Rod Server ......................... SUCCESS [29.962s]

                [INFO] Infinispan Hot Rod Client ......................... SUCCESS [9.088s]

                [INFO] Parent pom for compatibility modules .............. SUCCESS [0.358s]

                [INFO] infinispan-custom52x-store ........................ SUCCESS [4.643s]

                [INFO] infinispan-adaptor52x ............................. SUCCESS [7.567s]

                [INFO] Infinispan Remote CacheStore ...................... SUCCESS [7.643s]

                [INFO] Infinispan CLI Client ............................. SUCCESS [5.242s]

                [INFO] Infinispan Memcached Server ....................... SUCCESS [23.524s]

                [INFO] Infinispan REST Server ............................ SUCCESS [25.572s]

                [INFO] Infinispan CLI Server ............................. SUCCESS [13.043s]

                [INFO] Infinispan Command Line Interface persistence ..... SUCCESS [5.163s]

                [INFO] Infinispan LevelDB CacheStore ..................... SUCCESS [7.239s]

                [INFO] Infinispan REST CacheStore ........................ SUCCESS [8.055s]

                [INFO] Infinispan WebSocket Server ....................... SUCCESS [7.528s]

                [INFO] Infinispan Spring Integration ..................... SUCCESS [6.291s]

                [INFO] Infinispan GUI Demo ............................... SUCCESS [6.196s]

                [INFO] Infinispan EC2 Demo ............................... SUCCESS [4.152s]

                [INFO] Infinispan Distributed Executors and Map/Reduce Demo  SUCCESS [3.594s]

                [INFO] Infinispan EC2 Demo UI ............................ SUCCESS [4.428s]

                [INFO] Infinispan Directory Demo ......................... SUCCESS [3.358s]

                [INFO] Infinispan Lucene Directory Demo .................. SUCCESS [4.786s]

                [INFO] Infinispan Near Cache Demo ........................ SUCCESS [5.062s]

                [INFO] Infinispan CDI support ............................ SUCCESS [8.692s]

                [INFO] Infinispan Near Cache Demo Client ................. SUCCESS [3.491s]

                [INFO] Infinispan AS/EAP modules ......................... SUCCESS [2.765s]

                [INFO] Integration tests: Lucene Directory with Infinispan Query  SUCCESS [3.106s]

                [INFO] Infinispan JCACHE (JSR-107) implementation ........ SUCCESS [9.100s]

                [INFO] Integration tests: AS Module Integration Tests .... SUCCESS [5.506s]

                [INFO] Integration tests: Infinispan compatibility mode .. SUCCESS [2.587s]

                [INFO] Integration tests: Infinispan CDI/JCache interactions  SUCCESS [2.497s]

                [INFO] infinispan-cli-migrator52x ........................ SUCCESS [3.421s]

                [INFO] Infinispan Server - BOM ........................... SUCCESS [1.858s]

                [INFO] Infinispan Server - JGroups Subsystem ............. SUCCESS [8.633s]

                [INFO] Infinispan Server - Infinispan Subsystem .......... SUCCESS [13.715s]

                [INFO] Infinispan Server - Security Subsystem ............ SUCCESS [13.238s]

                [INFO] Infinispan Server - Endpoints Subsystem ........... SUCCESS [11.089s]

                [INFO] Infinispan Server - Build ......................... FAILURE [3.099s]

                [INFO] Infinispan Server - RHQ/JON plugin ................ SKIPPED

                [INFO] Infinispan Server - Test Suite .................... SKIPPED

                [INFO] Infinispan Server ................................. SKIPPED

                [INFO] Infinispan Distribution ........................... SKIPPED

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

                [INFO] BUILD FAILURE

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

                [INFO] Total time: 7:41.482s

                [INFO] Finished at: Thu Feb 06 18:41:42 EST 2014

                [INFO] Final Memory: 150M/247M

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

                [ERROR] Failed to execute goal on project infinispan-server-build: Could not resolve dependencies for project org.infinispan.server:infinispan-server-build:pom:7.0.0-SNAPSHOT: Failure to find org.jboss.common:jboss-common-beans:jar:1.1.0.Final in http://r

                epo-proxy.jpmchase.net/maven/content/groups/jpmc-public was cached in the local repository, resolution will not be reattempted until the update interval of jpmc-public has elapsed or updates are forced -> [Help 1]

                [ERROR]

                [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

                [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 read the following articles:

                [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

                [ERROR]

                [ERROR] After correcting the problems, you can resume the build with the command

                [ERROR]   mvn <goals> -rf :infinispan-server-build

                u935903@WA3020M3F.quant.liq.risk.ny.jpm.com>

                • 7. Re: Re: details wrt to Github fork/clone/build of Infinispan 7 master ...
                  Mircea Markus Master

                  should I expect our mirror to include your repo's custody of jboss-commons-beans.jar?  If not, from where can I find this .jar?  If so, maybe I just ask our repo admins to refresh our mirro?  In the very worst case, I guess I we could brute-force download this .jar into my workspace's M2 local repo view.

                  Here it is: https://repository.jboss.org/nexus/content/groups/public-jboss/org/jboss/common/jboss-common-beans/1.1.0.Final/

                  It's been there since august actually, is your mirror that old?

                  In between copying it locally should do the trick.

                  • 8. Re: details wrt to Github fork/clone/build of Infinispan 7 master ...
                    Ben Cotton Newbie

                    Thanks Mircea.  The  link downloded to my local M2 repo worked (for jboss-commons-beans).  However, there were several other ISPN modules that are failing to build for the exact same reason:  Our bank's mirror of your repo is out of synch.

                     

                    Rather than baby-set each mirror delinquency I will request our support people to do a full refresh.

                     

                    P.S.   my full ISPN 7 master build, when executed from home (w/ direct access to your repo) built perfectly on first try.