diff --git a/pom.xml b/pom.xml
index f64e6d122767642fc400c8a7380e4254c5989989..6fdc4d17e61c2b7734e2a01b3487a11da44d07bf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -124,7 +124,7 @@
         <artifactId>spring-boot-maven-plugin</artifactId>
         <executions>
           <execution>
-            <!-- Spring Boot Actuator displays build-related information 
+            <!-- Spring Boot Actuator displays build-related information
               if a META-INF/build-info.properties file is present -->
             <goals>
               <goal>build-info</goal>
@@ -157,7 +157,7 @@
         </executions>
       </plugin>
 
-      <!-- Spring Boot Actuator displays build-related information if a git.properties 
+      <!-- Spring Boot Actuator displays build-related information if a git.properties
         file is present at the classpath -->
       <plugin>
         <groupId>pl.project13.maven</groupId>
@@ -225,4 +225,12 @@
     </plugins>
   </reporting>
 
+  <!-- Apache 2 license -->
+  <licenses>
+    <license>
+      <name>Apache License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0</url>
+    </license>
+  </licenses>
+
 </project>
diff --git a/readme.md b/readme.md
index ac30d63929b98691b327f3976582909feaae2f23..c43ef63f91e13a64ef88b8fd9637586a27ad1d22 100644
--- a/readme.md
+++ b/readme.md
@@ -100,6 +100,6 @@ The [issue tracker](https://github.com/spring-projects/spring-petclinic/issues)
 
 For pull requests, editor preferences are available in the [editor config](.editorconfig) for easy use in common text editors. Read more and download plugins at <http://editorconfig.org>.
 
+# License
 
-
-
+The Spring PetClinic sample application is released under version 2.0 of the [Apache License](http://www.apache.org/licenses/LICENSE-2.0).