You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by cs...@apache.org on 2021/05/20 11:47:23 UTC

[maven-common-artifact-filters] branch scope-cleanup created (now b6684e5)

This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a change to branch scope-cleanup
in repository https://gitbox.apache.org/repos/asf/maven-common-artifact-filters.git.


      at b6684e5  Dependency scopes cleanup

This branch includes the following new commits:

     new b6684e5  Dependency scopes cleanup

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[maven-common-artifact-filters] 01/01: Dependency scopes cleanup

Posted by cs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cstamas pushed a commit to branch scope-cleanup
in repository https://gitbox.apache.org/repos/asf/maven-common-artifact-filters.git

commit b6684e5306061fa1ea9717de64b50721b4316d9f
Author: Tamas Cservenak <ta...@cservenak.net>
AuthorDate: Thu May 20 13:46:37 2021 +0200

    Dependency scopes cleanup
    
    Just like in case of plugins, this component (that
    is able to work only within Maven) should declare
    maven dependencies as provided.
---
 pom.xml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 33baba2..aad353b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -104,21 +104,25 @@
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-artifact</artifactId>
       <version>${maven.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-model</artifactId>
       <version>${maven.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-core</artifactId>
       <version>${maven.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.maven</groupId>
       <artifactId>maven-plugin-api</artifactId>
       <version>${maven.version}</version>
+      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>commons-io</groupId>
@@ -160,13 +164,13 @@
       <groupId>org.apache.maven.plugin-testing</groupId>
       <artifactId>maven-plugin-testing-harness</artifactId>
       <version>3.1.0</version>
+      <scope>test</scope>
       <exclusions>
         <exclusion>
           <groupId>org.codehaus.plexus</groupId>
           <artifactId>plexus-container-default</artifactId>
         </exclusion>
       </exclusions>
-      <scope>test</scope>
     </dependency>
     <dependency>
       <groupId>org.openjdk.jmh</groupId>