I have the following folder layout (built using maven deploy plugin):
projectrelease
├── README.md
└── com
└── example
└── demo
├── 0.0.1-SNAPSHOT
│ ├── demo-0.0.1-20171220.161043-1.jar
│ ├── demo-0.0.1-20171220.161043-1.jar.md5
│ ├── demo-0.0.1-20171220.161043-1.jar.sha1
│ ├── demo-0.0.1-20171220.161043-1.pom
│ ├── demo-0.0.1-20171220.161043-1.pom.md5
│ ├── demo-0.0.1-20171220.161043-1.pom.sha1
│ ├── maven-metadata.xml
│ ├── maven-metadata.xml.md5
│ └── maven-metadata.xml.sha1
├── maven-metadata.xml
├── maven-metadata.xml.md5
└── maven-metadata.xml.sha1
how can I run it using maven cmd?
the project was built using maven executable jar plugin and it can be run by:
./projectrelease/com/example/demo/0.0.1-SNAPSHOT/demo-0.0.1-20171220.161043-1.jar
or
java -jar projectrelease/com/example/demo/0.0.1-SNAPSHOT/demo-0.0.1-20171220.161043-1.jar
I'm looking to run a mvn cmd from the root folder so it will run the entire project