Hmm, I think there is major confusion here regarding Maven terminology here. In Maven, you have ONE local repo. It could be in the default %USER_HOME%/-m2/repository/ or you can change that through settings.xml.
However, when you say "file system repo" I thought you meant a file system based remote repo? If not, what do you mean? The paths you've added to your project make no sense. That's the paths that should be in a repo, not a project (and then containing the artifacts). /Anders On Tue, Nov 10, 2009 at 20:01, monkeyden <[email protected]> wrote: > > Right, it only refers to the default local maven repo, not this local one. > After having added the following paths to my project: > > com/mycompany/ProjectNextQuattro/1.0 > com/mycompany/ProjectNextPojos/1.0 > > with the following dependencies: > > <dependency> > <groupId>com.mycompany</groupId> > <artifactId>ProjectNextQuattro</artifactId> > <version>1.0</version> > </dependency> > <dependency> > <groupId>com.mycompany</groupId> > <artifactId>ProjectNextPojos</artifactId> > <version>1.0</version> > </dependency> > > I get the same errors. Any ideas? Thanks. > > > Wayne Fay wrote: > > > >> Is there an install command for file system repos, like there is for > >> installation to the default local repo (~/.m2/..)? > > > > Did you read the error message?? > > > >> Alternatively, if you host your own repository you can deploy the file > >> there: > >> mvn deploy:deploy-file -DgroupId=com.mycompany > >> -DartifactId=ProjectNextQuattro -Dversion=1.0 -Dpackaging=jar > >> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > > > How exactly to make that work with a file system repo is left to the > > reader... > > > > Wayne > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > > > > -- > View this message in context: > http://old.nabble.com/File-system-repo-tp26271810p26288280.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
