Repository
Is this because of file:// in the central. Carlos Cadete -- View this message in context: http://www.nabble.com/Repository-t1444268.html#a3900368 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[M2] Bug: Creating Internal repository
Hi, I have my local maven repository in $HOME/.m2/repository and I want to change my local repository to c:\repository so I change in settings c:\repository and that runs ok. But I want to use $HOME/.m2/repository as my central repository so I create in global settings MyMirror central My New Repositorio file://$HOME\.m2\repository but it give me the error [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exi st or no valid version could be found I notice that it creates file c:\repository\org\apache\plugins\maven-resources-pluin\maven-metadata-central.xml but it differs from the one I have in $HOME/.m2/repository so I replace it, run again and it runs for this plugins, but the same problem arises for the other plugins the file it creates is something like this that don't work ?xml version=1.0 encoding=UTF-8? org.apache.maven.plugins maven-resources-plugin LATEST witch differs from the one in repository org.apache.maven.plugins maven-resources-plugin 2.1 2.1 2.0-beta-1 2.0-beta-2 2.0 2.1 20051025005815 so is this a bug? If it is not what is wrong to give th error? I am using maven 2.0.4 the lastest version. -- View this message in context: http://www.nabble.com/-M2-Bug%3A-Creating-Internal-repository-t1441271.html#a3891929 Sent from the Maven - Users forum at Nabble.com.
[M2] Bug: Creating Internal repository
Hi, I have my local maven repository in $HOME/.m2/repository and I want to change my local repository to c:\repository so I change in settings localRepositoryc:\repository/localRepostory and that runs ok. But I want to use $HOME/.m2/repository as my central repository so I create in global settings mirror idMyMirror/id mirrorOfcentral/mirrorOf nameMy New Repositorio/name urlfile://$HOME\.m2\repository/url /mirror but it give me the error [INFO] [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exi st or no valid version could be found I notice that it creates file c:\repository\org\apache\plugins\maven-resources-pluin\maven-metadata-central.xml but it differs from the one I have in $HOME/.m2/repository so I replace it, run again and it runs for this plugins, but the same problem arises for the other plugins the file it creates is something like this that don't work ?xml version=1.0 encoding=UTF-8? metadata groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId versionLATEST/version /metadata witch differs from the one in repository metadata groupIdorg.apache.maven.plugins/groupId artifactIdmaven-resources-plugin/artifactId versioning latest2.1/latest release2.1/release versions version2.0-beta-1/version version2.0-beta-2/version version2.0/version version2.1/version /versions lastUpdated20051025005815/lastUpdated /versioning /metadata so is this a bug? If it is not what is wrong to give th error? I am using maven 2.0.4 the lastest version. -- View this message in context: http://www.nabble.com/-M2-Bug%3A-Creating-Internal-repository-t1441274.html#a3891938 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Changing Local Repository
Then I change the localRepository in the global settings file, to a new empty directory, and I execute mvn compile, maven simples gives me [ERROR] BUILD ERROR [INFO] [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does not exist or no valid version could be found Why this happen? It showld try to download the sources for my new LocalRepository, so why is not doing so. -- View this message in context: http://www.nabble.com/Changing-Local-Repository-t1420888.html#a3830030 Sent from the Maven - Users forum at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]