Hmm it seems I solved this by adding:
clean install to release plugin.
But still, should reactor be searched be dependency plugin.
On Fri, Jul 30, 2010 at 12:05 PM, Bartosz Baranowski wrote:
> Hi
>
> Im having problem with dependency plugin and release process. Stage looks
> like:
>
> /parent.pom.xml
> /impl/pom.xml
> /doc/pom.xml
> /docs/sources/pom.xml
> /docs/prepare/pom.xml
>
>
> On regular mvn install - /docs/sources just creates bundle with files -
> lets say it creates docs-sources-SNAPSHOT.jar.
> /docs/preapre fetches(with dependency) artifact: docs-sources-SNAPSHOT.jar
> and does filters resources, simple.
> With -X I can see artifact: docs-sources-SNAPSHOT.jar in reactor as project
> and maven indicates that it ignores repos and uses local. Fine.
> This works.
>
> However with mvn release:prepare it fails. Even though artifact:
> docs-sources.jar is in reactor, dependency plugin goes through list of
> repos(failing, since its not released) and than fails, completly ignoring
> reactor. This happens in "verify" phase, so non snapshot artifacts are not
> present in local repo.
>
> Has anyone faced somethin like this?
>
>
> Apache Maven 2.2.1 (rNON-CANONICAL_2010-04-08_21-32_root; 2010-04-08
> 21:32:53+0200)
> Java version: 1.6.0_0
> Java home: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre
> Default locale: en_US, platform encoding: UTF-8
> OS name: "linux" version: "2.6.31.5-127.fc12.x86_64" arch: "amd64" Family:
> "unix"
>
>