sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avinash Dongre <adon...@gopivotal.com>
Subject Re: Getting compilation error while building sqoop
Date Mon, 12 Aug 2013 08:29:23 GMT
Hi All,
After updating version of some dependencies, my build got success.
Please find the patch attached.

Let me know what I was doing wrong.


Thanks
Avinash



On Mon, Aug 12, 2013 at 12:16 PM, Avinash Dongre <adongre@gopivotal.com>wrote:

> Hi
> I am following instructions from
> http://sqoop.apache.org/docs/1.99.2/BuildingSqoop2.html
>
> But I am getting following error during build
>
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2.929s
> [INFO] Finished at: Mon Aug 12 12:13:35 IST 2013
> [INFO] Final Memory: 13M/178M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process
(default) on project sqoop-repository-derby: Failed to resolve dependencies for one or more
projects in the reactor. Reason: Missing:
> [ERROR] ----------
> [ERROR] 1) org.apache.sqoop:sqoop-core:test-jar:tests:2.0.0-SNAPSHOT
> [ERROR]
> [ERROR] Try downloading the file manually from the project website.
> [ERROR]
> [ERROR] Then, install it using the command:
> [ERROR] mvn install:install-file -DgroupId=org.apache.sqoop -DartifactId=sqoop-core -Dversion=2.0.0-SNAPSHOT
-Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file
> [ERROR]
> [ERROR] Alternatively, if you host your own repository you can deploy the file there:
> [ERROR] mvn deploy:deploy-file -DgroupId=org.apache.sqoop -DartifactId=sqoop-core -Dversion=2.0.0-SNAPSHOT
-Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
> [ERROR]
> [ERROR] Path to dependency:
> [ERROR] 1) org.apache.sqoop.repository:sqoop-repository-derby:jar:2.0.0-SNAPSHOT
> [ERROR] 2) org.apache.sqoop:sqoop-core:test-jar:tests:2.0.0-SNAPSHOT
> [ERROR]
> [ERROR] ----------
> [ERROR] 1 required artifact is missing.
> [ERROR]
> [ERROR] for artifact:
> [ERROR] org.apache.sqoop.repository:sqoop-repository-derby:jar:2.0.0-SNAPSHOT
> [ERROR]
> [ERROR] from the specified remote repositories:
> [ERROR] apache.snapshots (http://repository.apache.org/snapshots, releases=false, snapshots=true),
> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, snapshots=false)
> [ERROR] -> [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/MojoExecutionException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :sqoop-repository-derby
>
>
> Complete log is attached with the email.
>
>
> Thanks
> Avinash
>
>

Mime
  • Unnamed multipart/mixed (inline, None, 0 bytes)
View raw message