sqoop-on-spark
sqoop-on-spark copied to clipboard
Could not find artifact org.apache.sqoop:connector:pom:2.0.0-SNAPSHOT
Vybs
I am trying to build the code using following set of commands.
git clone https://github.com/vybs/sqoop-on-spark
cd sqoop-on-spark
mvn compile -e
This generates following exception
mvn compile
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.sqoop.spark:spark-job:[unknown-version] (/Users/abhinavchawade/srcrepo/sqoop-on-spark/spark-job/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.apache.sqoop:connector:pom:2.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 23, column 11 -> [Help 2]
[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
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
10:17 AM [abhinavchawade@achawade-rmbp15 sqoop-on-spark]$ mvn compile -e
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[WARNING] 'parent.relativePath' points at org.apache:sqoop instead of org.apache.sqoop:connector, please verify your project structure @ line 23, column 11
[FATAL] Non-resolvable parent POM: Could not find artifact org.apache.sqoop:connector:pom:2.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 23, column 11
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:416)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672)
at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:253)
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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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)
[ERROR]
[ERROR] The project org.apache.sqoop.spark:spark-job:[unknown-version] (/Users/abhinavchawade/srcrepo/sqoop-on-spark/spark-job/pom.xml) has 1 error
[ERROR] Non-resolvable parent POM: Could not find artifact org.apache.sqoop:connector:pom:2.0.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 23, column 11 -> [Help 2]
org.apache.maven.model.resolution.UnresolvableModelException: Could not find artifact org.apache.sqoop:connector:pom:2.0.0-SNAPSHOT
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:195)
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:244)
at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:899)
at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:751)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:309)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:463)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:432)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:549)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:432)
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:396)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:672)
at org.apache.maven.DefaultMaven.getProjectsForMavenReactor(DefaultMaven.java:663)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:253)
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:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.apache.sqoop:connector:pom:2.0.0-SNAPSHOT
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.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:294)
at org.apache.maven.project.ProjectModelResolver.resolveModel(ProjectModelResolver.java:191)
... 24 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.apache.sqoop:connector:pom:2.0.0-SNAPSHOT
at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:434)
... 28 more
[ERROR]
[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
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
To find the difference, I followed the steps to build Sqoop2 mentioned http://sqoop.apache.org/docs/1.99.6/BuildingSqoop2.html. Is there anything I am missing?
I am having the same issue:
mvn install -U -e -X
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T11:29:23-06:00)
Maven home: /usr/local/apache-maven
Java version: 1.7.0_79, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.9.5", arch: "x86_64", family: "mac"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/local/apache-maven/conf/settings.xml
[DEBUG] Reading user settings from /Users/ocastaneda/.m2/settings.xml
[DEBUG] Using local repository at /Users/ocastaneda/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/ocastaneda/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Extension realms for project org.apache.sqoop:connector-sdk:jar:2.0.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Extension realms for project org.apache.sqoop:connector:pom:2.0.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Extension realms for project org.apache:sqoop:pom:2.0.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Extension realms for project org.apache:apache:pom:9: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: org.apache.sqoop:connector-sdk:jar:2.0.0-SNAPSHOT
[DEBUG] Tasks: [install]
[DEBUG] Style: Regular
[DEBUG] =======================================================================
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Sqoop Connector SDK 2.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project: org.apache.sqoop:connector-sdk:2.0.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, runtime, test]
[DEBUG] Repositories (dependencies): [Nexus (http://punk:8081/nexus/content/groups/public, default, releases+snapshots)]
[DEBUG] Repositories (plugins) : [Nexus (http://punk:8081/nexus/content/groups/public, default, releases)]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-remote-resources-plugin:1.1:process (default)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<appendedResourcesDirectory>${basedir}/src/main/appended-resources</appendedResourcesDirectory>
<attached default-value="true"/>
<basedir default-value="${basedir}"/>
<encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
<excludeArtifactIds default-value="">${excludeArtifactIds}</excludeArtifactIds>
<excludeGroupIds default-value="">${excludeGroupIds}</excludeGroupIds>
<excludeScope default-value="">${excludeScope}</excludeScope>
<excludeTransitive default-value="false">${excludeTransitive}</excludeTransitive>
<includeArtifactIds default-value="">${includeArtifactIds}</includeArtifactIds>
<includeGroupIds default-value="">${includeGroupIds}</includeGroupIds>
<includeScope default-value="runtime">${includeScope}</includeScope>
<localRepository>${localRepository}</localRepository>
<mavenSession>${session}</mavenSession>
<outputDirectory>${project.build.directory}/maven-shared-archive-resources</outputDirectory>
<project>${project}</project>
<remoteArtifactRepositories>${project.remoteArtifactRepositories}</remoteArtifactRepositories>
<resourceBundles>
<resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
</resourceBundles>
<resources>${project.resources}</resources>
<runOnlyAtExecutionRoot default-value="false"/>
<skip default-value="false">${remoteresources.skip}</skip>
<useDefaultFilterDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-resources-plugin:2.4.3:resources (default-resources)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<buildFilters default-value="${project.build.filters}"/>
<encoding default-value="${project.build.sourceEncoding}">UTF-8</encoding>
<escapeString default-value="${maven.resources.escapeString}"/>
<escapeWindowsPaths default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
<includeEmptyDirs default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
<outputDirectory default-value="${project.build.outputDirectory}"/>
<overwrite default-value="false">${maven.resources.overwrite}</overwrite>
<project default-value="${project}"/>
<resources default-value="${project.resources}"/>
<session default-value="${session}"/>
<useBuildFilters default-value="true"/>
<useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<basedir default-value="${basedir}"/>
<buildDirectory default-value="${project.build.directory}"/>
<classpathElements default-value="${project.compileClasspathElements}"/>
<compileSourceRoots default-value="${project.compileSourceRoots}"/>
<compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
<compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
<debug default-value="true">${maven.compiler.debug}</debug>
<debuglevel>${maven.compiler.debuglevel}</debuglevel>
<encoding default-value="${project.build.sourceEncoding}">UTF-8</encoding>
<executable>${maven.compiler.executable}</executable>
<failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
<fork default-value="false">${maven.compiler.fork}</fork>
<generatedSourcesDirectory default-value="${project.build.directory}/generated-sources/annotations"/>
<maxmem>${maven.compiler.maxmem}</maxmem>
<meminitial>${maven.compiler.meminitial}</meminitial>
<optimize default-value="false">${maven.compiler.optimize}</optimize>
<outputDirectory default-value="${project.build.outputDirectory}"/>
<outputFileName>${project.build.finalName}</outputFileName>
<projectArtifact default-value="${project.artifact}"/>
<session default-value="${session}"/>
<showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
<showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
<source default-value="1.5">1.6</source>
<staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
<target default-value="1.5">1.6</target>
<verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-resources-plugin:2.4.3:testResources (default-testResources)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<buildFilters default-value="${project.build.filters}"/>
<encoding default-value="${project.build.sourceEncoding}">UTF-8</encoding>
<escapeString default-value="${maven.resources.escapeString}"/>
<escapeWindowsPaths default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
<includeEmptyDirs default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
<outputDirectory>${project.build.testOutputDirectory}</outputDirectory>
<overwrite default-value="false">${maven.resources.overwrite}</overwrite>
<project default-value="${project}"/>
<resources>${project.testResources}</resources>
<session default-value="${session}"/>
<useBuildFilters default-value="true"/>
<useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile (default-testCompile)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<basedir default-value="${basedir}"/>
<buildDirectory default-value="${project.build.directory}"/>
<classpathElements default-value="${project.testClasspathElements}"/>
<compileSourceRoots default-value="${project.testCompileSourceRoots}"/>
<compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
<compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
<debug default-value="true">${maven.compiler.debug}</debug>
<debuglevel>${maven.compiler.debuglevel}</debuglevel>
<encoding default-value="${project.build.sourceEncoding}">UTF-8</encoding>
<executable>${maven.compiler.executable}</executable>
<failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
<fork default-value="false">${maven.compiler.fork}</fork>
<generatedTestSourcesDirectory default-value="${project.build.directory}/generated-sources/test-annotations"/>
<maxmem>${maven.compiler.maxmem}</maxmem>
<meminitial>${maven.compiler.meminitial}</meminitial>
<optimize default-value="false">${maven.compiler.optimize}</optimize>
<outputDirectory default-value="${project.build.testOutputDirectory}"/>
<outputFileName>${project.build.finalName}</outputFileName>
<session default-value="${session}"/>
<showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
<showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
<skip>${maven.test.skip}</skip>
<source default-value="1.5">1.6</source>
<staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
<target default-value="1.5">1.6</target>
<testSource>${maven.compiler.testSource}</testSource>
<testTarget>${maven.compiler.testTarget}</testTarget>
<verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-surefire-plugin:2.14:test (default-test)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<argLine>-Xms512m -Xmx2g -XX:MaxPermSize=1024m -XX:-UseSplitVerifier</argLine>
<basedir default-value="${basedir}"/>
<childDelegation default-value="false">${childDelegation}</childDelegation>
<classesDirectory default-value="${project.build.outputDirectory}"/>
<debugForkedProcess>${maven.surefire.debug}</debugForkedProcess>
<disableXmlReport default-value="false">${disableXmlReport}</disableXmlReport>
<enableAssertions default-value="true">${enableAssertions}</enableAssertions>
<excludedGroups>slow</excludedGroups>
<failIfNoSpecifiedTests>${surefire.failIfNoSpecifiedTests}</failIfNoSpecifiedTests>
<failIfNoTests>${failIfNoTests}</failIfNoTests>
<forkCount default-value="1">1</forkCount>
<forkMode default-value="once">${forkMode}</forkMode>
<forkedProcessTimeoutInSeconds>3600</forkedProcessTimeoutInSeconds>
<groups>${groups}</groups>
<junitArtifactName default-value="junit:junit">${junitArtifactName}</junitArtifactName>
<jvm>${jvm}</jvm>
<localRepository default-value="${localRepository}"/>
<objectFactory>${objectFactory}</objectFactory>
<parallel>${parallel}</parallel>
<parallelMavenExecution default-value="${session.parallel}"/>
<perCoreThreadCount default-value="true">${perCoreThreadCount}</perCoreThreadCount>
<pluginArtifactMap>${plugin.artifactMap}</pluginArtifactMap>
<pluginDescriptor default-value="${plugin}"/>
<printSummary default-value="true">${surefire.printSummary}</printSummary>
<projectArtifactMap>${project.artifactMap}</projectArtifactMap>
<properties>
<property>
<name>usedefaultlisteners</name>
<value>false</value>
</property>
</properties>
<redirectTestOutputToFile default-value="false">true</redirectTestOutputToFile>
<remoteRepositories default-value="${project.pluginArtifactRepositories}"/>
<reportFormat default-value="brief">${surefire.reportFormat}</reportFormat>
<reportNameSuffix default-value="">${surefire.reportNameSuffix}</reportNameSuffix>
<reportsDirectory default-value="${project.build.directory}/surefire-reports"/>
<reuseForks default-value="true">false</reuseForks>
<runOrder default-value="filesystem"/>
<skip default-value="false">${maven.test.skip}</skip>
<skipExec>${maven.test.skip.exec}</skipExec>
<skipTests default-value="false">${skipTests}</skipTests>
<test>${test}</test>
<testClassesDirectory default-value="${project.build.testOutputDirectory}"/>
<testFailureIgnore default-value="false">${maven.test.failure.ignore}</testFailureIgnore>
<testNGArtifactName default-value="org.testng:testng">${testNGArtifactName}</testNGArtifactName>
<testSourceDirectory default-value="${project.build.testSourceDirectory}"/>
<threadCount>${threadCount}</threadCount>
<trimStackTrace default-value="true">${trimStackTrace}</trimStackTrace>
<useFile default-value="true">${surefire.useFile}</useFile>
<useManifestOnlyJar default-value="true">${surefire.useManifestOnlyJar}</useManifestOnlyJar>
<useSystemClassLoader default-value="true">${surefire.useSystemClassLoader}</useSystemClassLoader>
<useUnlimitedThreads default-value="false">${useUnlimitedThreads}</useUnlimitedThreads>
<workingDirectory>${basedir}</workingDirectory>
<project default-value="${project}"/>
<session default-value="${session}"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-jar-plugin:2.3.2:jar (default-jar)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<archive>
<manifest>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
<classesDirectory default-value="${project.build.outputDirectory}"/>
<defaultManifestFile default-value="${project.build.outputDirectory}/META-INF/MANIFEST.MF"/>
<finalName default-value="${project.build.finalName}">${jar.finalName}</finalName>
<forceCreation default-value="false">${jar.forceCreation}</forceCreation>
<outputDirectory default-value="${project.build.directory}"/>
<project default-value="${project}"/>
<useDefaultManifestFile default-value="false">${jar.useDefaultManifestFile}</useDefaultManifestFile>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal: org.apache.maven.plugins:maven-install-plugin:2.3.1:install (default-install)
[DEBUG] Style: Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
<artifact default-value="${project.artifact}"/>
<attachedArtifacts default-value="${project.attachedArtifacts}"/>
<createChecksum default-value="false">${createChecksum}</createChecksum>
<localRepository>${localRepository}</localRepository>
<packaging default-value="${project.packaging}"/>
<pomFile default-value="${project.file}"/>
<updateReleaseInfo default-value="false">${updateReleaseInfo}</updateReleaseInfo>
</configuration>
[DEBUG] =======================================================================
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for sonatype-nexus-snapshots (http://oss.sonatype.org/content/repositories/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for sonatype-nexus-snapshots (http://oss.sonatype.org/content/repositories/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for sonatype-nexus-snapshots (http://oss.sonatype.org/content/repositories/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for sonatype-nexus-snapshots (http://oss.sonatype.org/content/repositories/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for sonatype-nexus-snapshots (http://oss.sonatype.org/content/repositories/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for sonatype-nexus-snapshots (http://oss.sonatype.org/content/repositories/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using transporter WagonTransporter with priority -1.0 for http://punk:8081/nexus/content/groups/public
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://punk:8081/nexus/content/groups/public
Downloading: http://punk:8081/nexus/content/groups/public/org/apache/sqoop/sqoop-common/2.0.0-SNAPSHOT/maven-metadata.xml
[DEBUG] Writing tracking file /Users/ocastaneda/.m2/repository/org/apache/sqoop/sqoop-common/2.0.0-SNAPSHOT/resolver-status.properties
[DEBUG] Could not find metadata org.apache.sqoop:sqoop-common:2.0.0-SNAPSHOT/maven-metadata.xml in Nexus (http://punk:8081/nexus/content/groups/public)
[DEBUG] Skipped remote request for org.apache.sqoop:sqoop-common:2.0.0-SNAPSHOT/maven-metadata.xml, already updated during this session.
[DEBUG] Failure to find org.apache.sqoop:sqoop-common:2.0.0-SNAPSHOT/maven-metadata.xml in http://punk:8081/nexus/content/groups/public was cached in the local repository, resolution will not be reattempted until the update interval of Nexus has elapsed or updates are forced
[DEBUG] Could not find metadata org.apache:sqoop:2.0.0-SNAPSHOT/maven-metadata.xml in local (/Users/ocastaneda/.m2/repository)
[DEBUG] Using transporter WagonTransporter with priority -1.0 for http://punk:8081/nexus/content/groups/public
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://punk:8081/nexus/content/groups/public
Downloading: http://punk:8081/nexus/content/groups/public/org/apache/sqoop/2.0.0-SNAPSHOT/maven-metadata.xml
[DEBUG] Writing tracking file /Users/ocastaneda/.m2/repository/org/apache/sqoop/2.0.0-SNAPSHOT/resolver-status.properties
[DEBUG] Could not find metadata org.apache:sqoop:2.0.0-SNAPSHOT/maven-metadata.xml in Nexus (http://punk:8081/nexus/content/groups/public)
[DEBUG] Using transporter WagonTransporter with priority -1.0 for http://punk:8081/nexus/content/groups/public
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for http://punk:8081/nexus/content/groups/public
Downloading: http://punk:8081/nexus/content/groups/public/org/apache/sqoop/2.0.0-SNAPSHOT/sqoop-2.0.0-SNAPSHOT.pom
[DEBUG] Writing tracking file /Users/ocastaneda/.m2/repository/org/apache/sqoop/2.0.0-SNAPSHOT/sqoop-2.0.0-SNAPSHOT.pom.lastUpdated
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for codehaus-nexus-snapshots (https://nexus.codehaus.org/content/repositories/snapshots/).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for codehaus-nexus-snapshots (https://nexus.codehaus.org/content/repositories/snapshots/).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for codehaus-nexus-snapshots (https://nexus.codehaus.org/content/repositories/snapshots/).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for apache.snapshots (http://repository.apache.org/snapshots).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Using mirror Nexus (http://punk:8081/nexus/content/groups/public) for central (https://repo.maven.apache.org/maven2).
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2, ConflictMarker.markTime=1, ConflictMarker.nodeCount=15, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=13, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=6, ConflictResolver.conflictItemCount=14, DefaultDependencyCollector.collectTime=2009, DefaultDependencyCollector.transformTime=14}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.134 s
[INFO] Finished at: 2015-07-24T17:37:57-06:00
[INFO] Final Memory: 8M/246M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project connector-sdk: Could not resolve dependencies for project org.apache.sqoop:connector-sdk:jar:2.0.0-SNAPSHOT: Failed to collect dependencies at org.apache.sqoop:sqoop-common:jar:2.0.0-SNAPSHOT: Failed to read artifact descriptor for org.apache.sqoop:sqoop-common:jar:2.0.0-SNAPSHOT: Could not find artifact org.apache:sqoop:pom:2.0.0-SNAPSHOT in Nexus (http://punk:8081/nexus/content/groups/public) -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project connector-sdk: Could not resolve dependencies for project org.apache.sqoop:connector-sdk:jar:2.0.0-SNAPSHOT: Failed to collect dependencies at org.apache.sqoop:sqoop-common:jar:2.0.0-SNAPSHOT
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.sqoop:connector-sdk:jar:2.0.0-SNAPSHOT: Failed to collect dependencies at org.apache.sqoop:sqoop-common:jar:2.0.0-SNAPSHOT
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:180)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
... 22 more
Caused by: org.eclipse.aether.collection.DependencyCollectionException: Failed to collect dependencies at org.apache.sqoop:sqoop-common:jar:2.0.0-SNAPSHOT
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:291)
at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:316)
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:172)
... 23 more
Caused by: org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for org.apache.sqoop:sqoop-common:jar:2.0.0-SNAPSHOT
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:337)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:217)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.resolveCachedArtifactDescriptor(DefaultDependencyCollector.java:525)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.java:509)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:409)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:363)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:351)
at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:254)
... 25 more
Caused by: org.apache.maven.model.resolution.UnresolvableModelException: Could not find artifact org.apache:sqoop:pom:2.0.0-SNAPSHOT in Nexus (http://punk:8081/nexus/content/groups/public)
at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:177)
at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:226)
at org.apache.maven.model.building.DefaultModelBuilder.readParentExternally(DefaultModelBuilder.java:899)
at org.apache.maven.model.building.DefaultModelBuilder.readParent(DefaultModelBuilder.java:751)
at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:309)
at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:328)
... 32 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not find artifact org.apache:sqoop:pom:2.0.0-SNAPSHOT in Nexus (http://punk:8081/nexus/content/groups/public)
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.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)
at org.apache.maven.repository.internal.DefaultModelResolver.resolveModel(DefaultModelResolver.java:173)
... 37 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact org.apache:sqoop:pom:2.0.0-SNAPSHOT in Nexus (http://punk:8081/nexus/content/groups/public)
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)
... 40 more
[ERROR]
Checking the URL's in the error, I find that [1] does not host 'sqoop' (ie. there is no 'sqoop' directory found). I wonder if this is why it is failing.
However, going directly into ../sqoop-on-spark/common I am able to do:
$ mvn install
$ mvn package
$ mvn package -Pbinary'
[1] http://punk:8081/nexus/content/groups/public/org/apache/
I found a workaround.
- Download and install sqoop2 following [1] on a separate directory. That will get all required downloads into .m2/repository.
- Manually compile and package 'spark-job':
$ cd ../sqoop-on-spark/spark-job
$ mvn compile
$ mvn package
$ mvn package -Pbinary
- Manually compile and package 'sqoop-spark-jar':
$ cd ../sqoop-on-spark/sqoop-spark-jar
$ mvn compile
$ mvn package
$ mvn package -Pbinary
Run as instructed in [2].
[1] http://sqoop.apache.org/docs/1.99.6/BuildingSqoop2.html [2] https://github.com/vybs/sqoop-on-spark
nice!
@oscarcastaneda I tried the workaround and it worked for me only when I ran mvn compile
in sqoop-spark-job. Seems like the poms don't refer to snapshots which have 2.0.0 build. Let me see if I can fix the pom.
@vybs @drnushooz that's right. First one needs to mvn compile
on sqoop2 as instructed in [1] and then mvn compile
on sqoop-spark-job. I agree the poms don't refer to snapshots on 2.0.0 build. In fact, checking URL's used I found that there is no 'sqoop' directory found on [2].
[1] http://sqoop.apache.org/docs/1.99.6/BuildingSqoop2.html [2] http://punk:8081/nexus/content/groups/public/org/apache/
Gurus, I did a git checkout for this project, then a git checkout for sqoop2 from within the folder, compiled sqoop. If I try mvn compile from the sqoop-on-spark/spark-job folder or sqoop-on-spark folder, it errors out. What additional step do I need to take? Thanks!
@vinayakthatte could you please post your mvn compile
output for sqoop-on-spark
?
@oscarcastaneda I have same problem as @vinayakthatte. I completed sqoop2 build and check out. now If I try mvn compile from the sqoop-on-spark/spark-job folder or sqoop-on-spark folder, it errors out.
the details of error:
mvn compile -e
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'parent.relativePath' of POM org.apache.sqoop.spark:spark-job:[unknown-version] (/home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml) points at org.apache:sqoop instead of org.apache.sqoop:connector, please verify your project structure @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml, line 23, column 11
[ERROR] 'dependencies.dependency.version' for org.apache.sqoop.execution:sqoop-execution-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml, line 41, column 17
[ERROR] 'dependencies.dependency.version' for org.apache.sqoop.submission:sqoop-submission-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml, line 46, column 18
[ERROR] 'dependencies.dependency.version' for org.apache.spark:spark-core_2.10:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml, line 51, column 18
@
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some problems were encountered while processing the POMs:
[WARNING] 'parent.relativePath' of POM org.apache.sqoop.spark:spark-job:[unknown-version] (/home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml) points at org.apache:sqoop instead of org.apache.sqoop:connector, please verify your project structure @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml, line 23, column 11
[ERROR] 'dependencies.dependency.version' for org.apache.sqoop.execution:sqoop-execution-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml, line 41, column 17
[ERROR] 'dependencies.dependency.version' for org.apache.sqoop.submission:sqoop-submission-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml, line 46, column 18
[ERROR] 'dependencies.dependency.version' for org.apache.spark:spark-core_2.10:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml, line 51, column 18
at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:422)
at org.apache.maven.graph.DefaultGraphBuilder.collectProjects(DefaultGraphBuilder.java:419)
at org.apache.maven.graph.DefaultGraphBuilder.getProjectsForMavenReactor(DefaultGraphBuilder.java:410)
at org.apache.maven.graph.DefaultGraphBuilder.build(DefaultGraphBuilder.java:83)
at org.apache.maven.DefaultMaven.buildGraph(DefaultMaven.java:491)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:219)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
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)
[ERROR]
[ERROR] The project org.apache.sqoop.spark:spark-job:2.0.0-SNAPSHOT (/home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml) has 3 errors
[ERROR] 'dependencies.dependency.version' for org.apache.sqoop.execution:sqoop-execution-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml, line 41, column 17
[ERROR] 'dependencies.dependency.version' for org.apache.sqoop.submission:sqoop-submission-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml, line 46, column 18
[ERROR] 'dependencies.dependency.version' for org.apache.spark:spark-core_2.10:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/vasanth/Pictures/test_project/sqoop-on-spark/spark-job/pom.xml, line 51, column 18
[ERROR]
[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
how can i solve that dependency problem and build sqoop-spark-jar-2.0.0-SNAPSHOT.jar?
@oscarcastaneda @vybs @drnushooz Could you please advise on the below error:
when i try to compile spark-job (../sqoop-on-spark/spark-job)
[INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [WARNING] 'parent.relativePath' of POM org.apache.sqoop.spark:spark-job:unknown-version points at org.apache:sqoop instead of org.apache.sqoop:connector, please verify your project structure @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/mapr/sqoop-on-spark/spark-job/pom.xml, line 23, column 11 [ERROR] 'dependencies.dependency.version' for org.apache.sqoop.execution:sqoop-execution-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/mapr/sqoop-on-spark/spark-job/pom.xml, line 41, column 17 [ERROR] 'dependencies.dependency.version' for org.apache.sqoop.submission:sqoop-submission-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/mapr/sqoop-on-spark/spark-job/pom.xml, line 46, column 18 [ERROR] 'dependencies.dependency.version' for org.apache.spark:spark-core_2.10:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/mapr/sqoop-on-spark/spark-job/pom.xml, line 51, column 18 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.apache.sqoop.spark:spark-job:2.0.0-SNAPSHOT (/home/mapr/sqoop-on-spark/spark-job/pom.xml) has 3 errors [ERROR] 'dependencies.dependency.version' for org.apache.sqoop.execution:sqoop-execution-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/mapr/sqoop-on-spark/spark-job/pom.xml, line 41, column 17 [ERROR] 'dependencies.dependency.version' for org.apache.sqoop.submission:sqoop-submission-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/mapr/sqoop-on-spark/spark-job/pom.xml, line 46, column 18 [ERROR] 'dependencies.dependency.version' for org.apache.spark:spark-core_2.10:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], /home/mapr/sqoop-on-spark/spark-job/pom.xml, line 51, column 18 [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
for sqoop-spark-jar:
[mapr@dev-mapr-1c-110 spark-job]$ cd ../sqoop-spark-jar/ [mapr@dev-mapr-1c-110 sqoop-spark-jar]$ mvn compile [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building sqoop-spark-jar 2.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [WARNING] The POM for org.apache.sqoop.submission:sqoop-submission-spark:jar:2.0.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.apache.sqoop.execution:sqoop-execution-spark:jar:2.0.0-SNAPSHOT is missing, no dependency information available [WARNING] The POM for org.apache.sqoop.spark:spark-job:jar:2.0.0-SNAPSHOT is missing, no dependency information available [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.115 s [INFO] Finished at: 2016-11-02T19:23:29+00:00 [INFO] Final Memory: 17M/920M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project sqoop-spark-jar: Could not resolve dependencies for project org.apache:sqoop-spark-jar:jar:2.0.0-SNAPSHOT: The following artifacts could not be resolved: org.apache.sqoop.submission:sqoop-submission-spark:jar:2.0.0-SNAPSHOT, org.apache.sqoop.execution:sqoop-execution-spark:jar:2.0.0-SNAPSHOT, org.apache.sqoop.spark:spark-job:jar:2.0.0-SNAPSHOT: Failure to find org.apache.sqoop.submission:sqoop-submission-spark:jar:2.0.0-SNAPSHOT in http://repository.apache.org/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of apache.snapshots has elapsed or updates are forced -> [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
Hi @vasanthkumarm @manmeetkaur , sorry it took some time for me to reply.
As I understand you are both experiencing the same issue. Namely that it errors out when:
$ cd ../sqoop-on-spark/spark-job
$ mvn compile
After the work around I posted on July 27th, 2015 I changed to a new laptop and recently I needed to build Sqoop on Spark again. I basically followed the same workaround and got it working again.
The workaround is apparently needed to get all required downloads into .m2/repository. That is the reason why I advise to first mvn compile on sqoop2 as instructed in [1].
Just to be sure, I cloned sqoop-on-spark from scratch in a new directory. And when I do:
$ cd ../sqoop-on-spark/spark-job
$ mvn compile
I get a BUILD SUCCESS without any problems. I think this is because I previously mvn compiled sqoop2 and that got all required downloads in place.
Let me know if you need any of my pom.xml files, maybe that'll help? I'll be checking back in case you have further questions.
[1] http://sqoop.apache.org/docs/1.99.6/BuildingSqoop2.html
Hi @oscarcastaneda @vybs I am getting following error while compiling using mvn.
$ cd sqoop-on-spark/spark-job
$ mvn compile
```[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[WARNING] 'parent.relativePath' of POM org.apache.sqoop.spark:spark-job:[unknown
-version] (C:\Users\Hemant\Sqoop-On-Spark\sqoop-on-spark\spark-job\pom.xml) poin
ts at org.apache:sqoop instead of org.apache.sqoop:connector, please verify your
project structure @ org.apache.sqoop.spark:spark-job:[unknown-version], C:\User
s\Hemant\Sqoop-On-Spark\sqoop-on-spark\spark-job\pom.xml, line 23, column 11
[ERROR] 'dependencies.dependency.version' for org.apache.sqoop.execution:sqoop-e
xecution-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-versi
on], C:\Users\Hemant\Sqoop-On-Spark\sqoop-on-spark\spark-job\pom.xml, line 41, c
olumn 17
[ERROR] 'dependencies.dependency.version' for org.apache.sqoop.submission:sqoop-
submission-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-ver
sion], C:\Users\Hemant\Sqoop-On-Spark\sqoop-on-spark\spark-job\pom.xml, line 46,
column 18
[ERROR] 'dependencies.dependency.version' for org.apache.spark:spark-core_2.10:j
ar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], C:\Users\He
mant\Sqoop-On-Spark\sqoop-on-spark\spark-job\pom.xml, line 51, column 18
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.apache.sqoop.spark:spark-job:2.0.0-SNAPSHOT (C:\Users\
Hemant\Sqoop-On-Spark\sqoop-on-spark\spark-job\pom.xml) has 3 errors
[ERROR] 'dependencies.dependency.version' for org.apache.sqoop.execution:sqo
op-execution-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-v
ersion], C:\Users\Hemant\Sqoop-On-Spark\sqoop-on-spark\spark-job\pom.xml, line 4
1, column 17
[ERROR] 'dependencies.dependency.version' for org.apache.sqoop.submission:sq
oop-submission-spark:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown
-version], C:\Users\Hemant\Sqoop-On-Spark\sqoop-on-spark\spark-job\pom.xml, line
46, column 18
[ERROR] 'dependencies.dependency.version' for org.apache.spark:spark-core_2.
10:jar is missing. @ org.apache.sqoop.spark:spark-job:[unknown-version], C:\User
s\Hemant\Sqoop-On-Spark\sqoop-on-spark\spark-job\pom.xml, line 51, column 18
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
gException
Hi @oscarcastaneda @vybs @vinayakthatte @hemant-rout
Question: just curious, As it seems there might not be big support on Sqoop2, do you guys advice using sqooponspark or it's completely based on Sqoop1?
ISSUE: I tried the same steps ...even after downloading sqoop2 and doing "maven compile" ? . I got the following error when I did "mvn install" from sqoop2 directory.
[INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.18.1:test (default-test) on project sqoop-shell: There are test failures. [ERROR] [ERROR] Please refer to /Users/naveen.arumugam/Downloads/sqoop2/shell/target/surefire-reports for the individual test results. [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/MojoFailureException [ERROR] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn <goals> -rf :sqoop-shell
Just change the "connector" to "sqoop" in master pom.xml file and directly compile from parent directory. No need to go to spark-job/ directory.
This is how parent tag should look like -
And you can do " $ mvn compile -DskipTests "to bypass any test failures for debug.