PostList

2018년 12월 20일 목요일

Maven에서 라이브러리 다운 못받을때


Spring에서 Tile 공부하다가 Maven에서 라이브러리를 다운못받는 현상이있었는데
(alt+f5) 에서 force update of snapshots/releases를 누르니 잘 작동했다.


Description Resource Path Location Type
CoreException: Could not get the value for parameter compilerId for plugin execution default-compile: PluginResolutionException: Plugin org.apache.maven.plugins:maven-compiler-plugin:2.5.1 or one of its dependencies could not be resolved: Failed to collect dependencies at org.apache.maven.plugins:maven-compiler-plugin:jar:2.5.1 -> org.apache.maven:maven-plugin-api:jar:2.0.9: ArtifactDescriptorException: Failed to read artifact descriptor for org.apache.maven:maven-plugin-api:jar:2.0.9: ArtifactResolutionException: Failure to transfer org.apache.maven:maven-plugin-api:pom:2.0.9 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact org.apache.maven:maven-plugin-api:pom:2.0.9 from/to central (https://repo.maven.apache.org/maven2): repo.maven.apache.org pom.xml /Tiles line 158 Maven Project Build Lifecycle Mapping Problem


---
 <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>2.5.1</version>
                <configuration>
                    <source>1.6</source>
                    <target>1.6</target>
                    <compilerArgument>-Xlint:all</compilerArgument>
                    <showWarnings>true</showWarnings>
                    <showDeprecation>true</showDeprecation>
                </configuration>
            </plugin>
--

댓글 없음:

댓글 쓰기