1
것은 내 응용 프로그램을 구축하기 위해 명령 줄에서 받는다는을 사용하고, 나는 성공을 만들 수 있지만, 이클립스 내가 오류 얻을 : 내가 업데이트 프로젝트 구성 및 업데이트 종속성을 만든 있지만Maven으로 항아리를 추적하는 방법은 무엇입니까?
이The repository system is offline but the artifact org.codehaus.plexus:plexus-archiver:jar:1.2 is not available in the local repository.
, 내가 무엇을 알고 싶어를 플러그인 또는 종속성은이 항아리를 담당합니까?
다음 내가 사용하고있는 플러그인은 다음과 같습니다
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>hibernate3-maven-plugin</artifactId>
<version>2.2</version>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>hbm2ddl</goal>
</goals>
</execution>
</executions>
<configuration>
<components>
<component>
<name>hbm2ddl</name>
<implementation>annotationconfiguration</implementation>
</component>
<component>
<name>hbmdoc</name>
</component>
</components>
<componentProperties>
<configurationfile>/target/classes/hibernate.cfg.xml</configurationfile>
<outputfilename>CreateTables.sql</outputfilename>
<namingstrategy>com.xeno.advertisingsuite.web</namingstrategy>
<drop>false</drop>
<create>true</create>
<export>false</export>
<format>true</format>
</componentProperties>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!-- run command: mvn tomcat7:run -->
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<version>2.0-beta-1</version>
<configuration>
<path>/${project.build.finalName}</path>
</configuration>
</plugin>
<!-- run command: mvn 7:run -->
<plugin>
<groupId>com.googlecode.t7mp</groupId>
<artifactId>maven-t7-plugin</artifactId>
<version>0.9.6</version>
<configuration>
<tomcatHttpPort>8081</tomcatHttpPort>
<tomcatShutdownPort>8008</tomcatShutdownPort>
<tomcatVersion>7.0.22</tomcatVersion>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.4</version>
<configuration>
<complianceLevel>1.6</complianceLevel>
<encoding>UTF-8</encoding>
<aspectLibraries>
<aspectLibrary>
<groupId>org.springframework</groupId>
<artifactId>spring-aspects</artifactId>
</aspectLibrary>
</aspectLibraries>
<Xlint>warning</Xlint>
</configuration>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>test-compile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
가, 덕분에 그 문제를 해결하는 방법을 알려 주시기 바랍니다.
mvn -X
내가 그것을 시도했지만 로컬 저장소의 * .pom 파일의 총-아카이버 ID (~/.m2를 검색 할 수 –시도를 도움이되지 않았다/저장소) –
내 .m2 거기에이 항아리의 다른 버전이 필요하지 않습니다, 나는이 항아리에 대해 정확히 묻는 플러그인을 알고 싶습니다. 그래서 변경할 수 있습니다. –