-Phadoop.version=2.2 worked fine to me. I was able to build package and
create eclipse workspace. I just checked dependencies and all hadoop libs
are 2.2?

-Vladimir Rodionov


On Thu, Aug 14, 2014 at 10:37 AM, Andrew Purtell <[email protected]>
wrote:

> There is no hadoop.profile named "2.2". Use "2.0"
>
>
> On Thu, Aug 14, 2014 at 10:34 AM, Vladimir Rodionov <
> [email protected]>
> wrote:
>
> > Actually, -Phadoop.profile=2.2.
> >
> > -Vladimir Rodionov
> >
> >
> > On Thu, Aug 14, 2014 at 10:28 AM, Jean-Marc Spaggiari <
> > [email protected]> wrote:
> >
> > > You should try mvn clean package -DskipTests -Dhadoop.profile=2.0
> > >
> > > JM
> > >
> > >
> > > 2014-08-14 13:27 GMT-04:00 Vladimir Rodionov <[email protected]>:
> > >
> > > > I just synced my local 0.98-trunk and tried to build it:
> > > >
> > > > mvn clean package -DskipTests -Dhadoop.profile=2.2
> > > >
> > > >
> > > > [INFO] Scanning for projects...
> > > > [ERROR] The build could not read 1 project -> [Help 1]
> > > > [ERROR]
> > > > [ERROR]   The project org.apache.hbase:hbase:0.98.6-SNAPSHOT
> > > >
> > > >
> > >
> >
> (/Users/vrodionov/Development/hbase/vanila/hbase-0.98-trunk-patch-new/pom.xml)
> > > > has 2 errors
> > > > [ERROR]     'dependencyManagement.dependencies.dependency.artifactId'
> > for
> > > > org.apache.hbase:${compat.module}:jar with value '${compat.module}'
> > does
> > > > not match a valid id pattern. @ line 997, column 21
> > > > [ERROR]     'dependencyManagement.dependencies.dependency.artifactId'
> > for
> > > > org.apache.hbase:${compat.module}:test-jar with value
> > '${compat.module}'
> > > > does not match a valid id pattern. @ line 1002, column 21
> > > > [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/ProjectBuildingException
> > > >
> > > >
> > > > -Vladimir Rodionov
> > > >
> > >
> >
>
>
>
> --
> Best regards,
>
>    - Andy
>
> Problems worthy of attack prove their worth by hitting back. - Piet Hein
> (via Tom White)
>

Reply via email to