Note that there are some explanatory texts on larger screens.

plurals
  1. POMaven error: 'dependencies.dependency.version' for ... must be a valid version but is
    primarykey
    data
    text
    <p>I created a maven project using eclipse juno and edited the pom file. when I ran the pom file using command prompt by "mvn clean install", I got this error.</p> <pre><code>[ERROR] The build could not read 1 project -&gt; [Help 1] [ERROR] [ERROR] The project se.cambio.platform.sdk:sdk-documentation-samples-laki:1 (F:\newWorkspace\sdk-documentation-samples-laki\pom.xml) has 2 errors [ERROR] 'dependencies.dependency.version' for se.cambio.platform.sdk:sdk-client:jar must be a valid version but is '${version.sdk.client}'. @ line 38, column 16 [ERROR] 'dependencies.dependency.version' for se.cambio.platform.sdk:sdk-common:jar must be a valid version but is '${version.sdk.common}'. @ line 44, column 16 [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 </code></pre> <p>my pom file is,</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven- 4.0.0.xsd"&gt; &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt; &lt;parent&gt; &lt;groupId&gt;se.cambio.platform.sdk&lt;/groupId&gt; &lt;artifactId&gt;sdk-documentation-samples&lt;/artifactId&gt; &lt;version&gt;0.8.2&lt;/version&gt; &lt;/parent&gt; &lt;artifactId&gt;sdk-documentation-samples-laki&lt;/artifactId&gt; &lt;version&gt;1&lt;/version&gt; &lt;description&gt;this is a sample project&lt;/description&gt; &lt;build&gt; &lt;plugins&gt; &lt;plugin&gt; &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt; &lt;artifactId&gt;maven-jar-plugin&lt;/artifactId&gt; &lt;configuration&gt; &lt;archive&gt; &lt;manifestEntries&gt; &lt;ModuleClass&gt;se.cambio.laki.client.Module&lt;/ModuleClass&gt; &lt;BuildVersion&gt;${pom.version}&lt;/BuildVersion&gt; &lt;/manifestEntries&gt; &lt;/archive&gt; &lt;/configuration&gt; &lt;/plugin&gt; &lt;/plugins&gt; &lt;/build&gt; &lt;dependencies&gt; &lt;dependency&gt; &lt;groupId&gt;${project.groupId}&lt;/groupId&gt; &lt;artifactId&gt;sdk-client&lt;/artifactId&gt; &lt;version&gt;${version.sdk.client}&lt;/version&gt; &lt;scope&gt;compile&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;${project.groupId}&lt;/groupId&gt; &lt;artifactId&gt;sdk-common&lt;/artifactId&gt; &lt;version&gt;${version.sdk.common}&lt;/version&gt; &lt;scope&gt;compile&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;se.cambio.legacy&lt;/groupId&gt; &lt;artifactId&gt;CDK&lt;/artifactId&gt; &lt;version&gt;${version.cde}&lt;/version&gt; &lt;classifier&gt;cdk-internal&lt;/classifier&gt; &lt;scope&gt;runtime&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;commons-dbcp&lt;/groupId&gt; &lt;artifactId&gt;commons-dbcp&lt;/artifactId&gt; &lt;version&gt;1.4&lt;/version&gt; &lt;scope&gt;runtime&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.testng&lt;/groupId&gt; &lt;artifactId&gt;testng&lt;/artifactId&gt; &lt;version&gt;${version.testng}&lt;/version&gt; &lt;scope&gt;test&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;org.mockito&lt;/groupId&gt; &lt;artifactId&gt;mockito-all&lt;/artifactId&gt; &lt;version&gt;1.8.5&lt;/version&gt; &lt;scope&gt;test&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;net.sourceforge.jtds&lt;/groupId&gt; &lt;artifactId&gt;jtds&lt;/artifactId&gt; &lt;version&gt;1.2.5&lt;/version&gt; &lt;scope&gt;runtime&lt;/scope&gt; &lt;/dependency&gt; &lt;dependency&gt; &lt;groupId&gt;cglib&lt;/groupId&gt; &lt;artifactId&gt;cglib&lt;/artifactId&gt; &lt;version&gt;2.2&lt;/version&gt; &lt;scope&gt;test&lt;/scope&gt; &lt;/dependency&gt; &lt;/dependencies&gt; &lt;/project&gt; </code></pre> <p>how I can resolve this error?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload