Fixed configuration for maven-enforcer-plugin to check for exact version of 
approved dependencies


Project: http://git-wip-us.apache.org/repos/asf/maven-aether/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven-aether/commit/09adca93
Tree: http://git-wip-us.apache.org/repos/asf/maven-aether/tree/09adca93
Diff: http://git-wip-us.apache.org/repos/asf/maven-aether/diff/09adca93

Branch: refs/heads/ant-tasks
Commit: 09adca93431aaf94463d3f36a05efb6ef14c9fa8
Parents: 01412e3
Author: Benjamin Bentmann <bentm...@sonatype.com>
Authored: Sun Jan 26 17:08:37 2014 +0100
Committer: Benjamin Bentmann <bentm...@sonatype.com>
Committed: Sun Jan 26 17:08:37 2014 +0100

----------------------------------------------------------------------
 pom.xml | 51 ++++++++++++++++++++++++++-------------------------
 1 file changed, 26 insertions(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven-aether/blob/09adca93/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 566a8bf..9b597a1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -136,6 +136,7 @@
     </dependencies>
   </dependencyManagement>
 
+  <!-- NOTE: Remember to update the about.html to reflect the used 3rd party 
dependencies -->
   <dependencies>
     <dependency>
       <!-- NOTE: The target runtime is actually Ant 1.7+ but for compilation 
we need some newer APIs -->
@@ -441,47 +442,47 @@
                     <include>org.eclipse.aether</include>
                     <include>org.eclipse.sisu</include>
                     <!-- CQ #5627 -->
-                    <include>org.slf4j:slf4j-api:1.6.2</include>
+                    <include>org.slf4j:slf4j-api:[1.6.2]</include>
                     <!-- CQ #5642 -->
-                    <include>org.slf4j:slf4j-nop:1.6.2</include>
+                    <include>org.slf4j:slf4j-nop:[1.6.2]</include>
                     <!-- CQ #7347 -->
-                    <include>org.slf4j:jcl-over-slf4j:1.6.2</include>
+                    <include>org.slf4j:jcl-over-slf4j:[1.6.2]</include>
                     <!-- CQ #5643 -->
-                    <include>org.apache.ant:ant:1.8.2</include>
+                    <include>org.apache.ant:ant:[1.8.2]</include>
                     <!-- CQ #5629 -->
-                    
<include>org.codehaus.plexus:plexus-component-annotations:1.5.5</include>
+                    
<include>org.codehaus.plexus:plexus-component-annotations:[1.5.5]</include>
                     <!-- CQ #5630 -->
-                    <include>org.codehaus.plexus:plexus-utils:2.1</include>
+                    <include>org.codehaus.plexus:plexus-utils:[2.1]</include>
                     <!-- CQ #7208 -->
-                    
<include>org.codehaus.plexus:plexus-interpolation:1.16</include>
+                    
<include>org.codehaus.plexus:plexus-interpolation:[1.16]</include>
                     <!-- CQ #5645 -->
-                    
<include>org.sonatype.plexus:plexus-sec-dispatcher:1.3</include>
+                    
<include>org.sonatype.plexus:plexus-sec-dispatcher:[1.3]</include>
                     <!-- CQ #5646 -->
-                    <include>org.sonatype.plexus:plexus-cipher:1.7</include>
+                    <include>org.sonatype.plexus:plexus-cipher:[1.7]</include>
                     <!-- CQ #7438 -->
-                    <include>org.apache.maven:maven-model:3.1.0</include>
+                    <include>org.apache.maven:maven-model:[3.1.0]</include>
                     <!-- CQ #7439 -->
-                    
<include>org.apache.maven:maven-model-builder:3.1.0</include>
+                    
<include>org.apache.maven:maven-model-builder:[3.1.0]</include>
                     <!-- CQ #7440 -->
-                    <include>org.apache.maven:maven-settings:3.1.0</include>
+                    <include>org.apache.maven:maven-settings:[3.1.0]</include>
                     <!-- CQ #7441 -->
-                    
<include>org.apache.maven:maven-settings-builder:3.1.0</include>
+                    
<include>org.apache.maven:maven-settings-builder:[3.1.0]</include>
                     <!-- CQ #7442 -->
-                    
<include>org.apache.maven:maven-repository-metadata:3.1.0</include>
+                    
<include>org.apache.maven:maven-repository-metadata:[3.1.0]</include>
                     <!-- CQ #7443 -->
-                    
<include>org.apache.maven:maven-aether-provider:3.1.0</include>
-                    <!-- CQ #7344 -->
-                    
<include>org.apache.httpcomponents:httpclient:4.2.5</include>
-                    <!-- CQ #7345 -->
-                    <include>org.apache.httpcomponents:httpcore:4.2.4</include>
+                    
<include>org.apache.maven:maven-aether-provider:[3.1.0]</include>
+                    <!-- CQ #7685 -->
+                    
<include>org.apache.httpcomponents:httpclient:[4.2.6]</include>
+                    <!-- CQ #7686 -->
+                    
<include>org.apache.httpcomponents:httpcore:[4.2.5]</include>
                     <!-- CQ #7346 -->
-                    <include>commons-codec:commons-codec:1.6</include>
+                    <include>commons-codec:commons-codec:[1.6]</include>
                     <!-- CQ #5653, 7538 -->
-                    <include>org.apache.ant:ant-launcher:1.8.2:*:test</include>
-                    <include>org.apache.ant:ant-testutil:1.8.2:*:test</include>
-                    <include>junit:junit:4.11:*:test</include>
-                    <include>org.hamcrest:hamcrest-core:1.3:*:test</include>
-                    <include>org.hamcrest:hamcrest-library:1.3:*:test</include>
+                    
<include>org.apache.ant:ant-launcher:[1.8.2]:*:test</include>
+                    
<include>org.apache.ant:ant-testutil:[1.8.2]:*:test</include>
+                    <include>junit:junit:[4.11]:*:test</include>
+                    <include>org.hamcrest:hamcrest-core:[1.3]:*:test</include>
+                    
<include>org.hamcrest:hamcrest-library:[1.3]:*:test</include>
                   </includes>
                 </bannedDependencies>
               </rules>

Reply via email to