[maven] Failure to find com.sun.jdmk:jmxtools:jar:1.2.1 현상
maven compile 하던중 아래와 같은 에러를 만나게 되는 경우가 있다.
[ERROR] Failed to execute goal on project pushApp: Could not resolve dependencies for project co.kr.softcast.MobilePush:pushApp:jar:1.0-SNAPSHOT: The following artifacts could not be resolved: com.sun.jdmk:jmxtools:jar:1.2.1, com.sun.jmx:jmxri:jar:1.2.1: Failure to find com.sun.jdmk:jmxtools:jar:1.2.1 in http://repo1.maven.org/maven2/ was cached in the local repository, resolution will not be reattempted until the update interval of remote-repos has elapsed or updates are forced -> [Help 1]
FROM
<dependency>
<groupid>log4j</groupid>
<artifactid>log4j</artifactid>
<version>1.2.15</version>
</dependency>
TO
<dependency>
<groupid>log4j</groupid>
<artifactid>log4j</artifactid>
<version>1.2.14</version>
</dependency>
<
dependency
>
<
groupId
>log4j</
groupId
>
<
artifactId
>log4j</
artifactId
>
<
version
>1.2.15</
version
>
<
exclusions
>
<
exclusion
>
<
groupId
>javax.mail</
groupId
>
<
artifactId
>mail</
artifactId
>
</
exclusion
>
<
exclusion
>
<
groupId
>javax.jms</
groupId
>
<
artifactId
>jms</
artifactId
>
</
exclusion
>
<
exclusion
>
<
groupId
>com.sun.jdmk</
groupId
>
<
artifactId
>jmxtools</
artifactId
>
</
exclusion
>
<
exclusion
>
<
groupId
>com.sun.jmx</
groupId
>
<
artifactId
>jmxri</
artifactId
>
</
exclusion
>
</
exclusions
>
</
dependency
>