Skip to content

Change group name for commons-io dependency#68

Closed
leifbladt wants to merge 1 commit intoauth0:masterfrom
leifbladt:master
Closed

Change group name for commons-io dependency#68
leifbladt wants to merge 1 commit intoauth0:masterfrom
leifbladt:master

Conversation

@leifbladt
Copy link

The commons-io dependency changed the group id, so I updated the dependency to the new one.

Background is, that we ran into some problems with Gradle and Eclipse, because of these relocation section in the original pom.xml.

@codecov-io
Copy link

Current coverage is 83.25% (diff: 100%)

Merging #68 into master will not change coverage

@@             master        #68   diff @@
==========================================
  Files            13         13          
  Lines           400        400          
  Methods           0          0          
  Messages          0          0          
  Branches         57         57          
==========================================
  Hits            333        333          
  Misses           53         53          
  Partials         14         14          

Powered by Codecov. Last update 5ce3b8c...9278d45

@leifbladt
Copy link
Author

The real problem seems to be, that the commons-io dependency is still in the exported pom file on maven central, while it's not in my local reduced pom.xml.

http://central.maven.org/maven2/com/auth0/java-jwt/2.2.0/java-jwt-2.2.0.pom:

<dependencies>
  <dependency>
    <groupId>org.apache.commons</groupId>
    <artifactId>commons-io</artifactId>
    <version>1.3.2</version>
    <scope>compile</scope>
  </dependency>
  <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.12</version>
    <scope>test</scope>
    <exclusions>
      <exclusion>
        <artifactId>hamcrest-core</artifactId>
        <groupId>org.hamcrest</groupId>
      </exclusion>
     </exclusions>
  </dependency>
</dependencies>

local dependency-reduced-pom.xml:

<dependencies>
  <dependency>
    <groupId>junit</groupId>
    <artifactId>junit</artifactId>
    <version>4.12</version>
    <scope>test</scope>
    <exclusions>
      <exclusion>
        <artifactId>hamcrest-core</artifactId>
        <groupId>org.hamcrest</groupId>
      </exclusion>
    </exclusions>
  </dependency>
</dependencies>

@neg3ntropy
Copy link
Contributor

Incidentally I did the same just now in #71 - and a bit more. Big troubles in our builds due to this commons-io with the wrong name. And too damn long to merge PRs make people waste time.

Copy link

@adrogon adrogon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed with that change, it could even depend on commons-io 2.5 instead.

You might consider closing this since it's in #71 as well now, and merging process taking ages.

@hzalaz
Copy link
Contributor

hzalaz commented Oct 7, 2016

Closed in favor on #71

@hzalaz hzalaz closed this Oct 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants