Best practice for incorporating version information in Java web applications and libraries?

I am working on a project that implements several Java web applications (and related JAR files) using Seam.

What is considered best practice for incorporating version information in deployments? I need to understand how web applications should contain and publish their versions and how this can be done for JAR files.

thanks

+3
source share
4 answers

You have several options when it comes to version number:

.

+1

Maven , Maven Maven , :

foo-core-1.0.0.jar
foo-ui-1.0.0.jar
foo-app-1.1.0.war
...

Maven POM META_INF/maven/[groupId]/[artifactId]/pom.xml, , . .

0

.

, , , ant. :

  • jar .
  • , , , . .
  • - , web.xml.

:

  • - .
  • , , .
  • .

, ? ...

! ...

0

Source: https://habr.com/ru/post/1713048/


All Articles