git - Compiling a project that uses old-versioned Giraph with Maven -
i have project developed group , uses old-versioned giraph.
the project made based on giraph project itself; project structure , files same giraph, except .java sources more complex map-reduce graph operation defined in giraph-examples. project extension of giraph project, maven used compile , package project, building tool giraph project.
i can't find version of giraph project based on exactly, find compiling project requires 0.2-snapshop of giraph-parent, , quite old one.
current problem there's error when try mvn verify; mvn message printed on screen following :
[info] scanning projects... [info] ------------------------------------------------------------------------- [info] reactor build order : [info] [info] apache giraph parent [info] apache giraph core [info] apache giraph hive i/o [info] apache giraph examples [info] apache giraph accumulo i/o [info] apache giraph hbase i/o [info] apache giraph hcaatalog i/o [info] [info] ------------------------------------------------------------------------- [info] building apache giraph parent 0.2-snapshop [info] ------------------------------------------------------------------------- [info] [info] --- mavanagaiata:0.4.1:branch (git-commit) @ giraph-parent --- [info] ------------------------------------------------------------------------- [info] reactor summary: [info] [info] apache giraph parent .................................... failure [0.579s] [info] apache giraph core ...................................... skipped [info] apache giraph hive i/o .................................. skipped [info] apache giraph examples .................................. skipped [info] apache giraph accumulo i/o .............................. skipped [info] apache giraph hbase i/o ................................. skipped [info] apache giraph hcatalog i/o .............................. skipped [info] ------------------------------------------------------------------------- [info] build failure [info] ------------------------------------------------------------------------- [info] total time: 1.485s [info] finished at: fri may 30 12.49.32 kst 2014 [info] final memory: 5m/15m [info] ------------------------------------------------------------------------- [error] failed execute goal com.github.koraktor:mavanagaiata:0.4.1:branch (git-commit) on project giraph-parent: unable initialize mojo: gitdir /home/hduser/subgraphlisting/.git not exist -> [help 1] [error] [error] see full stack trace of errors, re-run maven -e switch. [error] re-run maven using -x switch enable full debug logging. [error] [error] more information errors , possible solutions, please read following articles: [error] [help 1] http://cwiki.apache.org/confluence/display/maven/mojoexecutionexception
also compile/package recent giraph (from official homepage) using maven in same environment. error message says there's no .git folder in project folder, there's .svn folder. can figure out cause of error exactly?
thank you
mavanagaiata
maven plugin adds git commit information build, can later trace artifacts specific revision. if you're not building inside of git repository, need disable feature. can on temporary basis appending -dmavanagaiata.skipnogit=true
mvn
command execution.
more complete plug-in documentation can found on the plug-in website.
Comments
Post a Comment