Hi,
I am currently trying to take our development environment offline from
the Maven2 central repository at Ibiblio.
I have configured a profile that redefines the central repository and
points to a copy of all I found in my local repository. My assumption
was that this should be enough for my current projects.
I then renamed my local repository to emulate a new developer's
environment. When I tried to compile my project I get the following
error message from Maven:
The plugin 'org.apache.maven.plugins:maven-compiler-plugin' does not
exist or no valid version could be found.
When I switch back the configuration to use the Ibiblio repository
(configured as central or not seems not to make a difference) the
problem is gone.
Is this a problem with my configuration or is something else wrong here?
Is the copy approach of local to internal/central repository wrong?
Andreas
Here is my configuration from my settings file:
<profile>
<id>maven-repositories</id>
<repositories>
<repository>
<id>central1</id>
<name>Maven Repository Switchboard</name>
<layout>default</layout>
<url>http://www.ibiblio.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central1</id>
<name>Maven Plugin Repository</name>
<layout>default</layout>
<url>http://www.ibiblio.org/maven2</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>maven-repositories-central-copy</id>
<repositories>
<repository>
<id>central</id>
<name>Maven Repository Switchboard Copy</name>
<layout>default</layout>
<url>http://repo.markettools.com/repositories/maven2-central-copy</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>central</id>
<name>Maven Plugin Repository</name>
<layout>default</layout>
<url>http://repo.markettools.com/repositories/maven2-central-copy</url>
<!--snapshots>
<enabled>false</enabled>
</snapshots-->
<releases>
<updatePolicy>never</updatePolicy>
</releases>
</pluginRepository>
</pluginRepositories>
</profile>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]