# Getting this error when runing mvn clean install for open mrs stand alone

**URL:** <https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279>\
**Category:** Uncategorized\
**Created:** [September 12, 2017, 12:12pm UTC](https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279 "2017-09-12T12:12:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [September 12, 2017, 12:12pm UTC](https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279/1 "2017-09-12T12:12:21Z")

</div>

[https://pastebin.com/U10XJ0cu](https://pastebin.com/U10XJ0cu)

---

<div class="post-metadata">

**Author:** ![tendomart](https://talk.openmrs.org/user_avatar/talk.openmrs.org/tendomart/32/6753_2.png) [@tendomart](https://talk.openmrs.org/u/tendomart)\
**Post date:** [September 12, 2017, 2:19pm UTC](https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279/2 "2017-09-12T14:19:23Z")

</div>

@herbert24 what are you trying to do? are you developing some feature on standalone??

---

<div class="post-metadata">

**Author:** ![tendomart](https://talk.openmrs.org/user_avatar/talk.openmrs.org/tendomart/32/6753_2.png) [@tendomart](https://talk.openmrs.org/u/tendomart)\
**Post date:** [September 12, 2017, 2:20pm UTC](https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279/3 "2017-09-12T14:20:56Z")

</div>

however reading from the logs,your build is facing version conflicts so try to look into that also

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [September 12, 2017, 2:22pm UTC](https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279/4 "2017-09-12T14:22:19Z")

</div>

am working on some ticket that involves making some changes on the stand alone

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [September 12, 2017, 2:23pm UTC](https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279/5 "2017-09-12T14:23:32Z")

</div>

okie let me try to look through the versions

---

<div class="post-metadata">

**Author:** ![tendomart](https://talk.openmrs.org/user_avatar/talk.openmrs.org/tendomart/32/6753_2.png) [@tendomart](https://talk.openmrs.org/u/tendomart)\
**Post date:** [September 12, 2017, 2:24pm UTC](https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279/6 "2017-09-12T14:24:28Z")

</div>

have you considered version conflicts as per your mvn error log?

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [September 12, 2017, 2:30pm UTC](https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279/7 "2017-09-12T14:30:59Z")

</div>

am having apache-maven-3.3.9 and cloning my stand alone from [https://github.com/openmrs/openmrs-standalone](https://github.com/openmrs/openmrs-standalone)

---

<div class="post-metadata">

**Author:** ![tendomart](https://talk.openmrs.org/user_avatar/talk.openmrs.org/tendomart/32/6753_2.png) [@tendomart](https://talk.openmrs.org/u/tendomart)\
**Post date:** [September 12, 2017, 2:35pm UTC](https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279/8 "2017-09-12T14:35:35Z")

</div>

not maven version,JDK-Openmrs versions is what i meant…

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [September 12, 2017, 2:40pm UTC](https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279/9 "2017-09-12T14:40:53Z")

</div>

```
i have java version "1.8.0_111"
```

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [September 13, 2017, 9:18am UTC](https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279/10 "2017-09-13T09:18:24Z")

</div>

still getting the same error @tendo

C:\openmrs stand alone\openmrs-standalone\>mvn clean install Java HotSpot™ Client VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0 [INFO] Scanning for projects… [ERROR] [ERROR] Some problems were encountered while processing the POMs: [ERROR] ‘dependencies.dependency.version’ for org.openmrs.api:openmrs-api:jar must be a valid version but is ‘${openmrs.version}’. @ line 24, column 13 [ERROR] ‘dependencies.dependency.version’ for org.openmrs.distro:platform:war must be a valid version but is ‘${openmrs.version}’. @ line 31, column 13 [ERROR] ‘build.plugins.plugin[org.liquibase:liquibase-maven-plugin].dependencies.dependency.version’ for org.openmrs.api:openmrs-api:jar must be a valid version but is ‘${openmrs.version}’. @ line 543, column 17 [ERROR] ‘build.plugins.plugin[org.apache.maven.plugins:maven-dependency-plugin].dependencies.dependency.version’ for org.openmrs.distro:platform:war must be a v alid version but is ‘${openmrs.version}’. @ line 529, column 17 @ [ERROR] The build could not read 1 project -\> [Help 1] [ERROR] [ERROR] The project org.openmrs:standalone:2.0.0-SNAPSHOT (C:\openmrs stand alone\openmrs-standalone\pom.xml) has 4 errors [ERROR] ‘dependencies.dependency.version’ for org.openmrs.api:openmrs-api:jar must be a valid version but is ‘${openmrs.version}’. @ line 24, column 13 [ERROR] ‘dependencies.dependency.version’ for org.openmrs.distro:platform:war must be a valid version but is ‘${openmrs.version}’. @ line 31, column 13 [ERROR] ‘build.plugins.plugin[org.liquibase:liquibase-maven-plugin].dependencies.dependency.version’ for org.openmrs.api:openmrs-api:jar must be a valid ver sion but is ‘${openmrs.version}’. @ line 543, column 17 [ERROR] ‘build.plugins.plugin[org.apache.maven.plugins:maven-dependency-plugin].dependencies.dependency.version’ for org.openmrs.distro:platform:war must be a valid version but is ‘${openmrs.version}’. @ line 529, column 17 [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](http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException)

---

<div class="post-metadata">

**Author:** ![tendomart](https://talk.openmrs.org/user_avatar/talk.openmrs.org/tendomart/32/6753_2.png) [@tendomart](https://talk.openmrs.org/u/tendomart)\
**Post date:** [September 15, 2017, 3:03pm UTC](https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279/11 "2017-09-15T15:03:56Z")

</div>

> [@herbert24](#):
>
> ERROR] [ERROR] Some problems were encountered while processing the POMs:[ERROR] ‘dependencies.dependency.version’ for org.openmrs.api:openmrs-api:jar must be a valid version but is ‘${openmrs.version}’. @ line 24, column 13[ERROR] ‘dependencies.dependency.version’ for org.openmrs.distro:platform:war must be a valid version but is ‘${openmrs.version}’. @ line 31, column 13[ERROR] ‘build.plugins.plugin[org.liquibase:liquibase-maven-plugin].dependencies.dependency.version’ for org.openmrs.api:openmrs-api:jar must be a valid version but is ‘${openmrs.version}’. @ line 543, column 17[ERROR] ‘build.plugins.plugin[org.apache.maven.plugins:maven-dependency-plugin].dependencies.dependency.version’ for org.openmrs.distro:platform:war must be a valid version but is ‘${openmrs.version}’. @ line 529, column 17 @[ERROR] The build could not read 1 project -\> [Help 1][ERROR]

@herbert24 try editing the pom.xml and alter the openmrs version log suggests incompatibility…after that re-run mvn clean install

---

<div class="post-metadata">

**Author:** ![herbert24](https://talk.openmrs.org/user_avatar/talk.openmrs.org/herbert24/32/8178_2.png) [@herbert24](https://talk.openmrs.org/u/herbert24)\
**Post date:** [September 16, 2017, 7:02am UTC](https://talk.openmrs.org/t/getting-this-error-when-runing-mvn-clean-install-for-open-mrs-stand-alone/13279/12 "2017-09-16T07:02:39Z")

</div>

okie thanks
