khmarbaise / javaee

javaee
3 stars 0 forks source link

Where is `revision` definiation #3

Open taodongl-citrix opened 3 years ago

taodongl-citrix commented 3 years ago

I don't see the value of ${revision}

  <groupId>com.soebes.examples.j2ee</groupId>
  <artifactId>jee-parent</artifactId>
  <version>${revision}</version>
  <packaging>pom</packaging>
khmarbaise commented 3 years ago

The revision can be defined via command like mvn -Drevision=1.0-SNAPSHOT clean verify? Or I could add a revision as a property... or define it in .mvn/maven.config...You should carefully read https://maven.apache.org/maven-ci-friendly.html and add flatten-maven-plugin if you really like to use it (this project is for testing purposes)