Buduję projekt Apache Ignite http://github.com/apache/ignite.Nieznany wyjątek hosta nexus.codehaus.org w maven build
Jeden z maven pom.xml odnosi się do exec-maven-plugin codehaus
. Zauważ, że kodcode jest obecnie nie działa jako firma.
Czy jest coś w samej wtyczce, która łączy się z repozytorium http://nexus.codehaus.org? Zastanów się komunikat o błędzie z systemem
mvn clean package
nad tym projektem:
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-
plugin:1.3.2:java (default) on project ignite-core: Execution
default of goal org.codehaus.mojo:exec-maven-plugin:1.3.2:java failed:
Plugin org.codehaus.mojo:exec-maven-plugin:1.3.2 or one of its
dependencies could not be resolved: Could not transfer artifact
org.apache.ignite:ignite-tools:jar:1.4.1-SNAPSHOT from/to
codehaus-snapshots (http://nexus.codehaus.org/snapshots/):
nexus.codehaus.org: Unknown host nexus.codehaus.org -> [Help 1]
Oto fragment pom.xml:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.9.1</version>
<executions>
<execution>
<id>add-sources</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>schema-import/src/main/java</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
Uwaga: Nie jestem pewien, że wszyscy błąd były spowodowane wtyczką codehaus mojo. Jest to po prostu tutaj odnotowane biorąc pod uwagę, że były to jedyne odniesienia do codehaus w projekcie.
mam ten sam problem z 'exec-maven-plugin' - nie jesteś szalony. Mam '' w exec-maven-plugin i nadal próbuje pobrać go z snapshots.repository.codehaus.org. Zgadnij co, nie może go tam znaleźć. Przeszukałem cały kod wtyczki (i moje), nic nie ma na myśli. –
sbzoom