Sto utilizzando Maven 3.2.3 su un progetto a più moduli. Voglio generare un rapporto checkstyle e findbugs, così ho configurato il seguente:Avviso sito Maven: L'URL del repository "https://maven-repository.dev.java.net/nonav/repository" non è valido
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.13</version>
<reportSets>
<reportSet>
<reports>
<report>checkstyle</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.3</version>
</plugin>
</plugins>
</reporting>
Tuttavia, quando si esegue
mvn site:site site:deploy
ho ripetutamente ottengo il seguente avviso ...
[WARNING] The repository url 'https://maven-repository.dev.java.net/nonav/repository' is invalid - Repository 'java.net' will be blacklisted.
Non ho alcun riferimento a questo repository nei miei file pom.xml o nel mio file ~/.m2/settings.xml. Come posso rintracciare questo e in definitiva risolvere l'avviso?
Questo può essere da qualche parte in un genitore o può essere definito nel 'settings.xml'. Inoltre, se ti piace creare un sito e distribuirlo, è meglio usare 'mvn site-deploy' invece del' site: site', 'site: deploy' – khmarbaise
Come ho detto, non riesco a trovare alcun riferimento a questo nei miei file pom.xml o nel mio file ~/.m2/settings.xml (ho inserito questo commento alla fine della domanda in modo che tu possa averlo perso). Ad ogni modo, buono a sapersi sulla cosa di deploy del sito. –