]> source.dussan.org Git - pf4j.git/commitdiff
Add property slf4j.version
authorDecebal Suiu <decebal.suiu@gmail.com>
Fri, 4 Jan 2019 18:45:03 +0000 (20:45 +0200)
committerDecebal Suiu <decebal.suiu@gmail.com>
Fri, 4 Jan 2019 18:45:03 +0000 (20:45 +0200)
demo/app/pom.xml
pf4j/pom.xml
pom.xml

index 3abfa066105965e2e409871ea17705312bf74ca9..6e5778738306f149b7e8bc7a8ebf1c4e62834a28 100644 (file)
@@ -15,7 +15,6 @@
 
     <properties>
         <main.class>org.pf4j.demo.Boot</main.class>
-        <slf4j.version>1.7.5</slf4j.version>
     </properties>
 
     <build>
@@ -25,9 +24,7 @@
                 <version>2.3</version>
                 <configuration>
                     <descriptors>
-                        <descriptor>
-                            src/main/assembly/assembly.xml
-                        </descriptor>
+                        <descriptor>src/main/assembly/assembly.xml</descriptor>
                     </descriptors>
                     <appendAssemblyId>false</appendAssemblyId>
                 </configuration>
index 2552aed8c613d1b0e41806a80d173d22e7b1492a..241d5eca34c1c4f85d9c2dc5f2890eb8af111371 100644 (file)
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-api</artifactId>
-            <version>1.7.25</version>
+            <version>${slf4j.version}</version>
         </dependency>
         <dependency>
             <groupId>org.slf4j</groupId>
             <artifactId>slf4j-log4j12</artifactId>
-            <version>1.7.25</version>
+            <version>${slf4j.version}</version>
             <scope>test</scope>
         </dependency>
         <dependency>
diff --git a/pom.xml b/pom.xml
index 93ea4da44cadfdebefaeef6a9cfd76dc4d6801df..b466db59f5fbf6a310da3778c3a46c911fdb387f 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -44,6 +44,7 @@
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <java.version>1.7</java.version>
+        <slf4j.version>1.7.25</slf4j.version>
 
         <junit.version>4.12</junit.version>
         <mockito.version>2.0.28-beta</mockito.version>