cachecloud icon indicating copy to clipboard operation
cachecloud copied to clipboard

Unable to start cachecloud

Open kievechua opened this issue 10 years ago • 1 comments

I tried to run it for the first time but failed. My step as follow.

  1. Clone cachecloud and cd in.
  • cd ./cachecloud/cachecloud-open-web
  • run mvn -X spring-boot:run

Environment

Apache Maven 3.3.9
Maven home: /usr/local/Cellar/maven/3.3.9/libexec
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.3", arch: "x86_64", family: "mac"

Error

[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.sohu.tv:cachecloud-open-web:war:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.scope' for org.springframework.boot:spring-boot-dependencies:pom must be one of [provided, compile, runtime, test, system] but is 'import'. @ line 36, column 20
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building cachecloud-open-web 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.3.1.RELEASE:run (default-cli) > test-compile @ cachecloud-open-web >>>
[WARNING] The POM for com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.sohu.tv:cachecloud-jedis:jar:1.0-SNAPSHOT is missing, no dependency information available
[WARNING] The POM for com.sohu.tv:cachecloud-open-common:jar:1.0-SNAPSHOT is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.975 s
[INFO] Finished at: 2016-03-19T12:41:42+08:00
[INFO] Final Memory: 11M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cachecloud-open-web: Could not resolve dependencies for project com.sohu.tv:cachecloud-open-web:war:1.0-SNAPSHOT: The following artifacts could not be resolved: com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT, com.sohu.tv:cachecloud-jedis:jar:1.0-SNAPSHOT, com.sohu.tv:cachecloud-open-common:jar:1.0-SNAPSHOT: Could not find artifact com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT -> [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
➜  cachecloud-open-web git:(master) mvn -X spring-boot:run
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-11T00:41:47+08:00)
Maven home: /usr/local/Cellar/maven/3.3.9/libexec
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.3", arch: "x86_64", family: "mac"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
[DEBUG]   Imported: javax.enterprise.util.* < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.slf4j.helpers.* < plexus.core
[DEBUG]   Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/local/Cellar/maven/3.3.9/libexec/conf/settings.xml
[DEBUG] Reading user settings from /Users/kievechua/.m2/settings.xml
[DEBUG] Reading global toolchains from /usr/local/Cellar/maven/3.3.9/libexec/conf/toolchains.xml
[DEBUG] Reading user toolchains from /Users/kievechua/.m2/toolchains.xml
[DEBUG] Using local repository at /Users/kievechua/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/kievechua/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project com.sohu.tv:cachecloud-open-web:war:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging war from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project com.sohu.tv:cachecloud-open-parent:pom:1.0-SNAPSHOT: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[WARNING]
[WARNING] Some problems were encountered while building the effective model for com.sohu.tv:cachecloud-open-web:war:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.scope' for org.springframework.boot:spring-boot-dependencies:pom must be one of [provided, compile, runtime, test, system] but is 'import'. @ line 36, column 20
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[DEBUG] Resolving plugin prefix spring-boot from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix spring-boot to org.springframework.boot:spring-boot-maven-plugin from POM com.sohu.tv:cachecloud-open-web:war:1.0-SNAPSHOT
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: com.sohu.tv:cachecloud-open-web:war:1.0-SNAPSHOT
[DEBUG] Tasks:   [spring-boot:run]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building cachecloud-open-web 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[DEBUG] Resolving plugin prefix spring-boot from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix spring-boot to org.springframework.boot:spring-boot-maven-plugin from POM com.sohu.tv:cachecloud-open-web:war:1.0-SNAPSHOT
[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:       com.sohu.tv:cachecloud-open-web:1.0-SNAPSHOT
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [test]
[DEBUG] Repositories (dependencies): [central (http://repo1.maven.org/maven2, default, releases), com.springsource.repository.maven.release (http://repo.springsource.org/release/, default, releases), nexus (http://maven.oschina.net/content/groups/public/, default, releases)]
[DEBUG] Repositories (plugins)     : [central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] --- init fork of com.sohu.tv:cachecloud-open-web:1.0-SNAPSHOT for org.springframework.boot:spring-boot-maven-plugin:1.3.1.RELEASE:run (default-cli) ---
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, test]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:2.6: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>${maven.resources.escapeString}</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}"/>
  <supportMultiLineFiltering default-value="false">${maven.resources.supportMultiLineFiltering}</supportMultiLineFiltering>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:3.1: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>
  <compilerReuseStrategy default-value="${reuseCreated}">${maven.compiler.compilerReuseStrategy}</compilerReuseStrategy>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <debuglevel>${maven.compiler.debuglevel}</debuglevel>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <forceJavacCompilerUse default-value="false">${maven.compiler.forceJavacCompilerUse}</forceJavacCompilerUse>
  <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>
  <mojoExecution>${mojoExecution}</mojoExecution>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <projectArtifact default-value="${project.artifact}"/>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skipMain>${maven.main.skip}</skipMain>
  <skipMultiThreadWarning default-value="false">${maven.compiler.skipMultiThreadWarning}</skipMultiThreadWarning>
  <source default-value="1.5">1.7</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target default-value="1.5">1.7</target>
  <useIncrementalCompilation default-value="true">${maven.compiler.useIncrementalCompilation}</useIncrementalCompilation>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
  <mavenSession default-value="${session}"/>
  <session default-value="${session}"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:2.6: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>${maven.resources.escapeString}</escapeString>
  <escapeWindowsPaths default-value="true">${maven.resources.escapeWindowsPaths}</escapeWindowsPaths>
  <includeEmptyDirs default-value="false">${maven.resources.includeEmptyDirs}</includeEmptyDirs>
  <outputDirectory default-value="${project.build.testOutputDirectory}"/>
  <overwrite default-value="false">${maven.resources.overwrite}</overwrite>
  <project default-value="${project}"/>
  <resources default-value="${project.testResources}"/>
  <session default-value="${session}"/>
  <skip>${maven.test.skip}</skip>
  <supportMultiLineFiltering default-value="false">${maven.resources.supportMultiLineFiltering}</supportMultiLineFiltering>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true"/>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:3.1: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>
  <compilerReuseStrategy default-value="${reuseCreated}">${maven.compiler.compilerReuseStrategy}</compilerReuseStrategy>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <debuglevel>${maven.compiler.debuglevel}</debuglevel>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <forceJavacCompilerUse default-value="false">${maven.compiler.forceJavacCompilerUse}</forceJavacCompilerUse>
  <fork default-value="false">${maven.compiler.fork}</fork>
  <generatedTestSourcesDirectory default-value="${project.build.directory}/generated-test-sources/test-annotations"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <mojoExecution>${mojoExecution}</mojoExecution>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory default-value="${project.build.testOutputDirectory}"/>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skip>${maven.test.skip}</skip>
  <skipMultiThreadWarning default-value="false">${maven.compiler.skipMultiThreadWarning}</skipMultiThreadWarning>
  <source default-value="1.5">1.7</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target default-value="1.5">1.7</target>
  <testSource>${maven.compiler.testSource}</testSource>
  <testTarget>${maven.compiler.testTarget}</testTarget>
  <useIncrementalCompilation default-value="true">${maven.compiler.useIncrementalCompilation}</useIncrementalCompilation>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
  <mavenSession default-value="${session}"/>
  <session default-value="${session}"/>
</configuration>
[DEBUG] --- exit fork of com.sohu.tv:cachecloud-open-web:1.0-SNAPSHOT for org.springframework.boot:spring-boot-maven-plugin:1.3.1.RELEASE:run (default-cli) ---
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.springframework.boot:spring-boot-maven-plugin:1.3.1.RELEASE:run (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <addResources default-value="false">false</addResources>
  <agent>${run.agent}</agent>
  <arguments>${run.arguments}</arguments>
  <classesDirectory default-value="${project.build.outputDirectory}"/>
  <excludeArtifactIds default-value="">${excludeArtifactIds}</excludeArtifactIds>
  <excludeGroupIds default-value="">${excludeGroupIds}</excludeGroupIds>
  <fork>${fork}</fork>
  <jvmArguments>${run.jvmArguments}</jvmArguments>
  <mainClass>com.sohu.cache.app.ApplicationStarter</mainClass>
  <noverify>${run.noverify}</noverify>
  <profiles>${run.profiles}</profiles>
  <project default-value="${project}"/>
  <useTestClasspath default-value="false">${useTestClasspath}</useTestClasspath>
</configuration>
[DEBUG] =======================================================================
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.3.1.RELEASE:run (default-cli) > test-compile @ cachecloud-open-web >>>
[DEBUG] Could not find metadata com.sohu.tv:cachecloud-open-client-basic:1.0-SNAPSHOT/maven-metadata.xml in local (/Users/kievechua/.m2/repository)
[DEBUG] Could not find metadata com.sohu.tv:cachecloud-open-client-basic:1.0-SNAPSHOT/maven-metadata.xml in local (/Users/kievechua/.m2/repository)
[WARNING] The POM for com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT is missing, no dependency information available
[DEBUG] Could not find metadata com.sohu.tv:cachecloud-jedis:1.0-SNAPSHOT/maven-metadata.xml in local (/Users/kievechua/.m2/repository)
[DEBUG] Could not find metadata com.sohu.tv:cachecloud-jedis:1.0-SNAPSHOT/maven-metadata.xml in local (/Users/kievechua/.m2/repository)
[WARNING] The POM for com.sohu.tv:cachecloud-jedis:jar:1.0-SNAPSHOT is missing, no dependency information available
[DEBUG] Could not find metadata com.sohu.tv:cachecloud-open-common:1.0-SNAPSHOT/maven-metadata.xml in local (/Users/kievechua/.m2/repository)
[DEBUG] Could not find metadata com.sohu.tv:cachecloud-open-common:1.0-SNAPSHOT/maven-metadata.xml in local (/Users/kievechua/.m2/repository)
[WARNING] The POM for com.sohu.tv:cachecloud-open-common:jar:1.0-SNAPSHOT is missing, no dependency information available
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=3, ConflictMarker.markTime=2, ConflictMarker.nodeCount=302, ConflictIdSorter.graphTime=1, ConflictIdSorter.topsortTime=1, ConflictIdSorter.conflictIdCount=110, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=17, ConflictResolver.conflictItemCount=199, DefaultDependencyCollector.collectTime=532, DefaultDependencyCollector.transformTime=27}
[DEBUG] com.sohu.tv:cachecloud-open-web:war:1.0-SNAPSHOT
[DEBUG]    org.springframework:spring-context-support:jar:4.2.4.RELEASE:compile
[DEBUG]       org.springframework:spring-beans:jar:4.2.4.RELEASE:compile
[DEBUG]       org.springframework:spring-context:jar:4.2.4.RELEASE:compile
[DEBUG]          org.springframework:spring-aop:jar:4.2.4.RELEASE:compile
[DEBUG]             aopalliance:aopalliance:jar:1.0:compile
[DEBUG]          org.springframework:spring-expression:jar:4.2.4.RELEASE:compile
[DEBUG]       org.springframework:spring-core:jar:4.2.4.RELEASE:compile
[DEBUG]    org.springframework.boot:spring-boot-dependencies:pom:1.3.1.RELEASE:import
[DEBUG]    org.springframework.boot:spring-boot-starter:jar:1.3.1.RELEASE:compile
[DEBUG]       org.springframework.boot:spring-boot:jar:1.3.1.RELEASE:compile
[DEBUG]       org.springframework.boot:spring-boot-autoconfigure:jar:1.3.1.RELEASE:compile
[DEBUG]       org.springframework.boot:spring-boot-starter-logging:jar:1.3.1.RELEASE:compile
[DEBUG]          org.slf4j:jcl-over-slf4j:jar:1.7.13:compile
[DEBUG]          org.slf4j:jul-to-slf4j:jar:1.7.13:compile
[DEBUG]          org.slf4j:log4j-over-slf4j:jar:1.7.13:compile
[DEBUG]       org.yaml:snakeyaml:jar:1.16:runtime
[DEBUG]    org.springframework.boot:spring-boot-starter-web:jar:1.3.1.RELEASE:compile
[DEBUG]       org.springframework.boot:spring-boot-starter-validation:jar:1.3.1.RELEASE:compile
[DEBUG]          org.hibernate:hibernate-validator:jar:5.2.2.Final:compile
[DEBUG]             javax.validation:validation-api:jar:1.1.0.Final:compile
[DEBUG]             org.jboss.logging:jboss-logging:jar:3.2.1.Final:compile
[DEBUG]             com.fasterxml:classmate:jar:1.1.0:compile
[DEBUG]       org.springframework:spring-web:jar:4.2.4.RELEASE:compile
[DEBUG]       org.springframework:spring-webmvc:jar:4.2.4.RELEASE:compile
[DEBUG]    org.springframework.boot:spring-boot-starter-jdbc:jar:1.3.1.RELEASE:compile
[DEBUG]       org.apache.tomcat:tomcat-jdbc:jar:8.0.30:compile
[DEBUG]          org.apache.tomcat:tomcat-juli:jar:8.0.30:compile
[DEBUG]       org.springframework:spring-jdbc:jar:4.2.4.RELEASE:compile
[DEBUG]          org.springframework:spring-tx:jar:4.2.4.RELEASE:compile
[DEBUG]    org.springframework.boot:spring-boot-starter-remote-shell:jar:1.3.1.RELEASE:compile
[DEBUG]       org.crashub:crash.cli:jar:1.3.2:compile
[DEBUG]       org.crashub:crash.connectors.ssh:jar:1.3.2:compile
[DEBUG]          org.apache.sshd:sshd-core:jar:0.11.0:compile
[DEBUG]          org.apache.sshd:sshd-pam:jar:0.11.0:compile
[DEBUG]             net.sf.jpam:jpam:jar:1.1:compile
[DEBUG]          org.bouncycastle:bcprov-jdk15on:jar:1.51:compile
[DEBUG]          org.bouncycastle:bcpkix-jdk15on:jar:1.51:compile
[DEBUG]          org.apache.mina:mina-core:jar:2.0.7:compile
[DEBUG]       org.crashub:crash.embed.spring:jar:1.3.2:compile
[DEBUG]       org.crashub:crash.plugins.cron:jar:1.3.2:compile
[DEBUG]          it.sauronsoftware.cron4j:cron4j:jar:2.2.5:compile
[DEBUG]       org.crashub:crash.plugins.mail:jar:1.3.2:compile
[DEBUG]       org.crashub:crash.shell:jar:1.3.2:compile
[DEBUG]       org.codehaus.groovy:groovy:jar:2.4.4:compile
[DEBUG]       com.sun.mail:javax.mail:jar:1.5.4:compile
[DEBUG]          javax.activation:activation:jar:1.1:compile
[DEBUG]    org.springframework.boot:spring-boot-starter-test:jar:1.3.1.RELEASE:compile
[DEBUG]       org.mockito:mockito-core:jar:1.10.19:compile
[DEBUG]          org.objenesis:objenesis:jar:2.1:runtime
[DEBUG]       org.hamcrest:hamcrest-core:jar:1.3:compile
[DEBUG]       org.hamcrest:hamcrest-library:jar:1.3:compile
[DEBUG]       org.springframework:spring-test:jar:4.2.4.RELEASE:compile
[DEBUG]    org.springframework.boot:spring-boot-starter-actuator:jar:1.3.1.RELEASE:compile
[DEBUG]       org.springframework.boot:spring-boot-actuator:jar:1.3.1.RELEASE:compile
[DEBUG]    org.springframework.boot:spring-boot-starter-tomcat:jar:1.3.1.RELEASE:provided
[DEBUG]       org.apache.tomcat.embed:tomcat-embed-core:jar:8.0.30:provided
[DEBUG]       org.apache.tomcat.embed:tomcat-embed-el:jar:8.0.30:compile
[DEBUG]       org.apache.tomcat.embed:tomcat-embed-logging-juli:jar:8.0.30:provided
[DEBUG]       org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.0.30:provided
[DEBUG]    org.apache.tomcat.embed:tomcat-embed-jasper:jar:8.0.28:provided
[DEBUG]       org.eclipse.jdt.core.compiler:ecj:jar:4.4.2:provided
[DEBUG]    javax.servlet:jstl:jar:1.2:compile
[DEBUG]    org.quartz-scheduler:quartz:jar:2.2.1:compile
[DEBUG]       c3p0:c3p0:jar:0.9.1.1:compile
[DEBUG]    ch.qos.logback:logback-classic:jar:1.1.1:compile
[DEBUG]       ch.qos.logback:logback-core:jar:1.1.1:compile
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.6:compile
[DEBUG]    mysql:mysql-connector-java:jar:5.1.29:compile
[DEBUG]    junit:junit:jar:4.11:compile
[DEBUG]    org.mybatis:mybatis-spring:jar:1.2.3:compile
[DEBUG]    org.mybatis:mybatis:jar:3.2.8:compile
[DEBUG]    com.fasterxml.jackson.core:jackson-databind:jar:2.3.2:compile
[DEBUG]       com.fasterxml.jackson.core:jackson-annotations:jar:2.3.0:compile
[DEBUG]       com.fasterxml.jackson.core:jackson-core:jar:2.3.2:compile
[DEBUG]    org.apache.httpcomponents:httpclient:jar:4.3.2:compile
[DEBUG]       org.apache.httpcomponents:httpcore:jar:4.3.1:compile
[DEBUG]       commons-logging:commons-logging:jar:1.1.3:compile
[DEBUG]       commons-codec:commons-codec:jar:1.6:compile
[DEBUG]    ch.ethz.ganymed:ganymed-ssh2:jar:build210:compile
[DEBUG]    org.apache.commons:commons-collections4:jar:4.0:compile
[DEBUG]    com.google.guava:guava:jar:15.0:compile
[DEBUG]    commons-lang:commons-lang:jar:2.3:compile
[DEBUG]    net.sf.json-lib:json-lib:jar:jdk15:2.2.3:compile
[DEBUG]       commons-beanutils:commons-beanutils:jar:1.7.0:compile
[DEBUG]       commons-collections:commons-collections:jar:3.2:compile
[DEBUG]       net.sf.ezmorph:ezmorph:jar:1.0.6:compile
[DEBUG]    commons-configuration:commons-configuration:jar:1.6:compile
[DEBUG]       commons-digester:commons-digester:jar:1.8:compile
[DEBUG]       commons-beanutils:commons-beanutils-core:jar:1.8.0:compile
[DEBUG]    org.apache.velocity:velocity:jar:1.7:compile
[DEBUG]    org.apache.velocity:velocity-tools:jar:2.0:compile
[DEBUG]       commons-chain:commons-chain:jar:1.1:compile
[DEBUG]       commons-validator:commons-validator:jar:1.3.1:compile
[DEBUG]       dom4j:dom4j:jar:1.1:compile
[DEBUG]       oro:oro:jar:2.0.8:compile
[DEBUG]       sslext:sslext:jar:1.2-0:compile
[DEBUG]       org.apache.struts:struts-core:jar:1.3.8:compile
[DEBUG]          antlr:antlr:jar:2.7.2:compile
[DEBUG]       org.apache.struts:struts-taglib:jar:1.3.8:compile
[DEBUG]       org.apache.struts:struts-tiles:jar:1.3.8:compile
[DEBUG]    com.alibaba:fastjson:jar:1.1.41:compile
[DEBUG]    com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT:compile
[DEBUG]    com.sohu.tv:cachecloud-jedis:jar:1.0-SNAPSHOT:compile
[DEBUG]    com.sohu.tv:cachecloud-open-common:jar:1.0-SNAPSHOT:compile
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.969 s
[INFO] Finished at: 2016-03-19T12:42:22+08:00
[INFO] Final Memory: 11M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project cachecloud-open-web: Could not resolve dependencies for project com.sohu.tv:cachecloud-open-web:war:1.0-SNAPSHOT: The following artifacts could not be resolved: com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT, com.sohu.tv:cachecloud-jedis:jar:1.0-SNAPSHOT, com.sohu.tv:cachecloud-open-common:jar:1.0-SNAPSHOT: Could not find artifact com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project cachecloud-open-web: Could not resolve dependencies for project com.sohu.tv:cachecloud-open-web:war:1.0-SNAPSHOT: The following artifacts could not be resolved: com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT, com.sohu.tv:cachecloud-jedis:jar:1.0-SNAPSHOT, com.sohu.tv:cachecloud-open-common:jar:1.0-SNAPSHOT: Could not find artifact com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT
    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:221)
    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
    at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:245)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
    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.MojoExecutor.executeForkedExecutions(MojoExecutor.java:352)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:197)
    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:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    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:483)
    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 com.sohu.tv:cachecloud-open-web:war:1.0-SNAPSHOT: The following artifacts could not be resolved: com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT, com.sohu.tv:cachecloud-jedis:jar:1.0-SNAPSHOT, com.sohu.tv:cachecloud-open-common:jar:1.0-SNAPSHOT: Could not find artifact com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT
    at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:211)
    at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
    ... 27 more
Caused by: org.eclipse.aether.resolution.DependencyResolutionException: The following artifacts could not be resolved: com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT, com.sohu.tv:cachecloud-jedis:jar:1.0-SNAPSHOT, com.sohu.tv:cachecloud-open-common:jar:1.0-SNAPSHOT: Could not find artifact com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT
    at org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
    at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:205)
    ... 28 more
Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: The following artifacts could not be resolved: com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT, com.sohu.tv:cachecloud-jedis:jar:1.0-SNAPSHOT, com.sohu.tv:cachecloud-open-common:jar:1.0-SNAPSHOT: Could not find artifact com.sohu.tv:cachecloud-open-client-basic:jar:1.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.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
    ... 29 more
Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could not find artifact com.sohu.tv:cachecloud-open-client-basic:jar:1.0-SNAPSHOT
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:434)
    ... 31 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

kievechua avatar Mar 19 '16 04:03 kievechua

hello @kievechua

I have seen the problem, I think it may be caused by:

  1. after clone, you need mvn install the parent
  2. try to remove your private repository.

If it still failed, you can see this short video http://my.tv.sohu.com/us/10306444/82857544.shtml

carlosfu avatar Mar 19 '16 07:03 carlosfu