Hi all,
im behind a firewall and i configred a maven-proxy host.
in my ~/.m2/setting.xml i setted this:
...
<profiles>
<profile>
<id>development</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>rossoalice-repo</id>
<name>rossoalice proxy repository</name>
<url>http://192.168.25.217:8089/maven-proxy/repository</url>
</repository>
</repositories>
<profile>
</profile>
</profiles>
<activeProfiles>
<activeProfile>development</activeProfile>
</activeProfiles>
...
but when i execute mvn archetype:create -DgroupId=test -DartifactId=test
i have this error:
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'archetype'.
[INFO] org.apache.maven.plugins: checking for updates from central
[WARNING] repository metadata for: 'org.apache.maven.plugins' could
not be retrieved from repository: central due to an error: Error
transferring file
[INFO] Repository 'central' will be blacklisted
[INFO]
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------------
[INFO] The plugin 'org.apache.maven.plugins:maven-archetype-plugin'
does not exist or no valid version could be found
[INFO]
----------------------------------------------------------------------------
somebody can help me?
Luca
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]