I've encounter similar problem today as well and I've filled SENTRY-161. I 
should be able to submit patch shortly.

Jarcec

On Wed, Mar 26, 2014 at 09:16:04PM -0500, Anil Saldhana wrote:
> Hi Prasad,
>   unfortunately the problem does not go away with either "-DskipTests" or
> "-DskipTests=true".
> 
> I need the additional workaround below:
> 
> * comment out the antRun maven plugin in the sentry-tests-hive pom.xml.
> 
> With that I am *able* to get a clean build of the sentry workspace.
> 
> Regards,
> Anil
> 
> 
> On Wed, Mar 26, 2014 at 8:59 PM, Prasad Mujumdar <[email protected]>wrote:
> 
> > Hi Anil,
> >
> >    Thanks for you interest.
> > For now, you can just build with an additional maven option -DskipTests to
> > avoid the problem.
> >
> > thanks
> > Prasad
> >
> >
> >
> > On Wed, Mar 26, 2014 at 6:30 PM, Anil Saldhana <[email protected]> wrote:
> >
> > > Hi - sorry I could not find the user mailing list on
> > > http://sentry.incubator.apache.org/community/mailing_lists.html
> > > so I am mailing here.
> > >
> > > I recently attended a presentation on Apache Sentry and was curious to
> > > check the codebase.
> > >
> > > So I tried to build the workspace. But it is failing due to
> > > http://repos.jenkins.cloudera.com not being a public url.
> > >
> > > ================
> > > [ERROR] Failed to execute goal
> > > org.apache.maven.plugins:maven-antrun-plugin:1.7:run (download-hadoop) on
> > > project sentry-tests-hive: An Ant BuildException has occured: exec
> > > returned: 1
> > > [ERROR] around Ant part ...<exec
> > > dir="/Users/anil/github/incubator-sentry/sentry-tests/sentry-tests-hive"
> > > executable="bash" failonerror="true">... @ 24:119 in
> > >
> > >
> > /Users/anil/github/incubator-sentry/sentry-tests/sentry-tests-hive/target/antrun/build-main.xml
> > > [ERROR] -> [Help 1]
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> > > goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run
> > (download-hadoop)
> > > on project sentry-tests-hive: An Ant BuildException has occured: exec
> > > returned: 1
> > > around Ant part ...<exec
> > > dir="/Users/anil/github/incubator-sentry/sentry-tests/sentry-tests-hive"
> > > executable="bash" failonerror="true">... @ 24:119 in
> > >
> > >
> > /Users/anil/github/incubator-sentry/sentry-tests/sentry-tests-hive/target/antrun/build-main.xml
> > > ================
> > >
> > > I wonder if a maven profile can be added in the base pom.xml to turn off
> > > running the tests.
> > >
> > > Please advice.
> > >
> > > Regards,
> > > Anil
> > >
> >

Attachment: signature.asc
Description: Digital signature

Reply via email to