monkeyden wrote:
>
> I have several projects which can't be converted over to maven right now,
> mostly because of time constraints. The artifacts of these projects will
> be
> used in a maven project. I'd prefer not to install them into my
> repository, so I am trying to create a file system repository which points
> to a
> directory of the current (maven) project. I have seen this post, which
> was left unanswered.
>
> http://old.nabble.com/file-system-repo-not-work-ts16355485.html#a16355485
>
> I have the following repository configured in my pom:
>
> <repositories>
> ....
> <repository>
> <id>local jars</id>
> <name>local jars</name>
> <url>file://${basedir}/lib</url>
> </repository>
> </repositories>
>
>
> I have the following dependencies also:
>
> <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>
> <dependencies>
> and the jars are in ${basedir}/lib/com/mycompany
they should be in ${basedir}/lib/com/mycompany/ProjectNextQuattro/1.0/ (and
${basedir}/lib/com/mycompany/ProjectNextPojos/1.0/) - just in case it was
not obvious.
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]