Hi Gautam,

                Thank you for your valuable reply.It works fine.

Regards,
Mahesh.S

On Mon, Jan 5, 2015 at 6:18 PM, Gautam Borad <[email protected]> wrote:

> Hi Mahesh,
>     Seems maven central is throwing 404 for that jar. There are two
> options to proceed now:
>
>    1. Comment out the dependency for oracle jdbc in pom.xml  OR
>    2. Add the ojdbc6.jar
>    
> <https://www.dropbox.com/s/16boy9c5pgfz9ui/oracle-ojdbc6-11.2.0.3.0.jar?dl=0>
>    to your local repo by following the below step :
>       - Save the file to a location eg: /tmp/oracle-ojdbc6-11.2.0.3.0.jar
>       - Run the following command : mvn install:install-file
>       -DgroupId=cn.guoyukun.jdbc -DartifactId=oracle-ojdbc6 -Dpackaging=jar
>       -Dversion=11.2.0.3.0 -Dfile=/tmp/oracle-ojdbc6-11.2.0.3.0.jar
>       -DgeneratePom=true
>
> Note: I have not tested 2] on my local since i already have the jar in my
> M2 Repo.
>
>
>
> On Mon, Jan 5, 2015 at 4:32 PM, Mahesh Sankaran <[email protected]>
> wrote:
>
>> Hi Gautam,
>>
>>                  I retried with -U option still it shows same error.I got
>> the following error with debug logging.
>>
>> [DEBUG]    cn.guoyukun.jdbc:oracle-ojdbc6:jar:11.2.0.3.0:compile
>> [DEBUG] Using transporter WagonTransporter with priority -1.0 for
>> https://repository.apache.org/content/repositories/snapshots
>> [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for
>> https://repository.apache.org/content/repositories/snapshots
>> Downloading:
>> https://repository.apache.org/content/repositories/snapshots/cn/guoyukun/jdbc/oracle-ojdbc6/11.2.0.3.0/oracle-ojdbc6-11.2.0.3.0.jar
>> [DEBUG] Writing tracking file
>> /home/pravin/.m2/repository/cn/guoyukun/jdbc/oracle-ojdbc6/11.2.0.3.0/oracle-ojdbc6-11.2.0.3.0.jar.lastUpdated
>> [DEBUG] Using transporter WagonTransporter with priority -1.0 for
>> https://repository.apache.org/content/repositories/public
>> [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for
>> https://repository.apache.org/content/repositories/public
>> Downloading:
>> https://repository.apache.org/content/repositories/public/cn/guoyukun/jdbc/oracle-ojdbc6/11.2.0.3.0/oracle-ojdbc6-11.2.0.3.0.jar
>> [DEBUG] Writing tracking file
>> /home/pravin/.m2/repository/cn/guoyukun/jdbc/oracle-ojdbc6/11.2.0.3.0/oracle-ojdbc6-11.2.0.3.0.jar.lastUpdated
>> [DEBUG] Using transporter WagonTransporter with priority -1.0 for
>> https://repo.maven.apache.org/maven2
>> [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for
>> https://repo.maven.apache.org/maven2
>> Downloading:
>> https://repo.maven.apache.org/maven2/cn/guoyukun/jdbc/oracle-ojdbc6/11.2.0.3.0/oracle-ojdbc6-11.2.0.3.0.jar
>> [DEBUG] Writing tracking file
>> /home/pravin/.m2/repository/cn/guoyukun/jdbc/oracle-ojdbc6/11.2.0.3.0/oracle-ojdbc6-11.2.0.3.0.jar.lastUpdated
>> [INFO]
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Skipping ranger
>> [INFO] This project has been banned from the build due to previous
>> failures.
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] ranger ............................................. SUCCESS [
>>  5.713 s]
>> [INFO] Credential Support ................................. SUCCESS [
>> 13.722 s]
>> [INFO] Audit Component .................................... SUCCESS [
>>  5.513 s]
>> [INFO] Common library for Plugins ......................... SUCCESS [
>>  5.300 s]
>> [INFO] Hdfs Security Plugin ............................... SUCCESS [
>>  7.602 s]
>> [INFO] Hive Security Agent ................................ SUCCESS [
>> 36.854 s]
>> [INFO] HBaseSecurityAgents ................................ SUCCESS [
>> 14.175 s]
>> [INFO] Knox Security Plugin ............................... SUCCESS [
>>  2.664 s]
>> [INFO] Credential Builder ................................. SUCCESS [
>>  7.659 s]
>> [INFO] Storm Security Plugin .............................. SUCCESS [
>> 18.235 s]
>> [INFO] Agent Implementation Libary ........................ SUCCESS [
>> 14.968 s]
>> [INFO] Installer Support Component ........................ SUCCESS [
>>  4.823 s]
>> [INFO] Embeded Web Server Invoker ......................... SUCCESS [
>>  0.577 s]
>> [INFO] Resource Lookup API Implementation ................. SUCCESS [
>>  6.239 s]
>> [INFO] Unix Authentication Client ......................... SUCCESS [
>>  1.204 s]
>> [INFO] Security Admin Web Application ..................... FAILURE [
>> 15.627 s]
>> [INFO] Unix User Group Synchronizer ....................... SKIPPED
>> [INFO] Unix Authentication Service ........................ SKIPPED
>> [INFO] Unix Native Authenticator .......................... SKIPPED
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 02:45 min
>> [INFO] Finished at: 2015-01-05T16:13:57+05:30
>> [INFO] Final Memory: 76M/460M
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] Failed to execute goal on project security-admin-web: Could not
>> resolve dependencies for project
>> org.apache.ranger:security-admin-web:war:0.4.0: Could not find artifact
>> cn.guoyukun.jdbc:oracle-ojdbc6:jar:11.2.0.3.0 in apache.snapshots.https (
>> https://repository.apache.org/content/repositories/snapshots) -> [Help 1]
>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>> goal on project security-admin-web: Could not resolve dependencies for
>> project org.apache.ranger:security-admin-web:war:0.4.0: Could not find
>> artifact cn.guoyukun.jdbc:oracle-ojdbc6:jar:11.2.0.3.0 in
>> apache.snapshots.https (
>> https://repository.apache.org/content/repositories/snapshots)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:220)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>> at
>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
>> at
>> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
>> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
>> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:606)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
>> at
>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
>> Caused by: org.apache.maven.project.DependencyResolutionException: Could
>> not resolve dependencies for project
>> org.apache.ranger:security-admin-web:war:0.4.0: Could not find artifact
>> cn.guoyukun.jdbc:oracle-ojdbc6:jar:11.2.0.3.0 in apache.snapshots.https (
>> https://repository.apache.org/content/repositories/snapshots)
>> at
>> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:211)
>> at
>> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
>> ... 22 more
>> Caused by: org.eclipse.aether.resolution.DependencyResolutionException:
>> Could not find artifact cn.guoyukun.jdbc:oracle-ojdbc6:jar:11.2.0.3.0 in
>> apache.snapshots.https (
>> https://repository.apache.org/content/repositories/snapshots)
>> at
>> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
>> at
>> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:205)
>> ... 23 more
>> Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
>> Could not find artifact cn.guoyukun.jdbc:oracle-ojdbc6:jar:11.2.0.3.0 in
>> apache.snapshots.https (
>> https://repository.apache.org/content/repositories/snapshots)
>> at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
>> at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)
>> at
>> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
>> ... 24 more
>> Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could
>> not find artifact cn.guoyukun.jdbc:oracle-ojdbc6:jar:11.2.0.3.0 in
>> apache.snapshots.https (
>> https://repository.apache.org/content/repositories/snapshots)
>> at
>> org.eclipse.aether.connector.basic.ArtifactTransportListener.transferFailed(ArtifactTransportListener.java:39)
>> at
>> org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
>> at
>> org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
>> at
>> org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
>> at
>> org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:249)
>> at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:520)
>> at
>> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)
>> ... 26 more
>> [ERROR]
>> [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 :security-admin-web
>>
>> Thanks
>>
>> Mahesh.S
>>
>> On Mon, Jan 5, 2015 at 2:59 PM, Gautam Borad <[email protected]> wrote:
>>
>>> Hi Mahesh,
>>>     I was able to do a successful build with my repo pointing at
>>> following hash : 97d8d803
>>> <https://github.com/apache/incubator-ranger/commit/97d8d80361c0b6db22ceca6832e826f22dc3edb3>
>>> ( the latest as of writing this mail )
>>> Also i was able to find the jar in question in my M2 repo dir :
>>> /Users/gautam/.m2/repository/cn/guoyukun/jdbc/oracle-ojdbc6/11.2.0.3.0/
>>>
>>> This might be a network issue, can you please try again. Or maybe you
>>> can try the -U option. Eg: mvn clean compile package install
>>> assembly:assembly -U
>>>
>>>
>>>
>>> On Mon, Jan 5, 2015 at 10:24 AM, Mahesh Sankaran <
>>> [email protected]> wrote:
>>>
>>>> Hi all ,
>>>>
>>>>         I have stuck with apache ranger Security Admin Web Application
>>>> build error.Following is the error which i got.Kindly help me to build and
>>>> install.
>>>>
>>>> [INFO]
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Skipping ranger
>>>> [INFO] This project has been banned from the build due to previous
>>>> failures.
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Reactor Summary:
>>>> [INFO]
>>>> [INFO] ranger ............................................ SUCCESS
>>>> [02:06 min]
>>>> [INFO] Credential Support ................................ SUCCESS
>>>> [07:21 min]
>>>> [INFO] Audit Component ................................... SUCCESS [
>>>> 29.167 s]
>>>> [INFO] Common library for Plugins ........................ SUCCESS [
>>>> 13.657 s]
>>>> [INFO] Hdfs Security Plugin .............................. SUCCESS
>>>> [01:10 min]
>>>> [INFO] Hive Security Agent ............................... SUCCESS
>>>> [05:31 min]
>>>> [INFO] HBaseSecurityAgents ............................... SUCCESS
>>>> [03:23 min]
>>>> [INFO] Knox Security Plugin .............................. SUCCESS
>>>> [01:56 min]
>>>> [INFO] Credential Builder ................................ SUCCESS [
>>>> 21.000 s]
>>>> [INFO] Storm Security Plugin ............................. SUCCESS
>>>> [03:10 min]
>>>> [INFO] Agent Implementation Libary ....................... SUCCESS
>>>> [01:08 min]
>>>> [INFO] Installer Support Component ....................... SUCCESS [
>>>> 49.435 s]
>>>> [INFO] Embeded Web Server Invoker ........................ SUCCESS [
>>>> 37.422 s]
>>>> [INFO] Resource Lookup API Implementation ................ SUCCESS [
>>>>  2.788 s]
>>>> [INFO] Unix Authentication Client ........................ SUCCESS [
>>>>  0.546 s]
>>>> [INFO] Security Admin Web Application .................... FAILURE
>>>> [05:22 min]
>>>> [INFO] Unix User Group Synchronizer ...................... SKIPPED
>>>> [INFO] Unix Authentication Service ....................... SKIPPED
>>>> [INFO] Unix Native Authenticator ......................... SKIPPED
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] BUILD FAILURE
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [INFO] Total time: 34:31 min
>>>> [INFO] Finished at: 2015-01-05T10:09:14+05:30
>>>> [INFO] Final Memory: 72M/362M
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] Failed to execute goal on project security-admin-web: Could not
>>>> resolve dependencies for project
>>>> org.apache.ranger:security-admin-web:war:0.4.0: Could not find artifact
>>>> cn.guoyukun.jdbc:oracle-ojdbc6:jar:11.2.0.3.0 in apache.snapshots.https (
>>>> https://repository.apache.org/content/repositories/snapshots) -> [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 :security-admin-web
>>>>
>>>>
>>>> The package which i used is download from github recently.
>>>> But before two weeks ago i have followed the same steps was able to
>>>> build successfully.
>>>>
>>>>
>>>> Thanks,
>>>> Mahesh.S
>>>>
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Gautam.
>>>
>>
>>
>
>
> --
> Regards,
> Gautam.
>

Reply via email to