instead of using a system path, try adding the staging repo to the
repository list. also, what version of maven? the bookkeeper poms only work
with maven 3+

-Ivan

On Sat, Aug 1, 2015 at 9:30 PM Flavio P JUNQUEIRA <[email protected]> wrote:

> I was trying to test trunk with the new RC of ZooKeeper, but strangely the
> generation of the dependency reduced pom went into an infinite loop. Does
> any one know why?
>
> [INFO]
> [INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ bookkeeper-server ---
> [INFO] Building jar:
>
> /Users/flavio/code/git/bookkeeper/bookkeeper-server/target/bookkeeper-server-4.4.0-SNAPSHOT.jar
> [INFO]
> [INFO] --- maven-shade-plugin:2.1:shade (default) @ bookkeeper-server ---
> [INFO] Excluding
> org.apache.bookkeeper.stats:bookkeeper-stats-api:jar:4.4.0-SNAPSHOT from
> the shaded jar.
> [INFO] Including com.google.protobuf:protobuf-java:jar:2.4.1 in the shaded
> jar.
> [INFO] Including com.google.guava:guava:jar:13.0.1 in the shaded jar.
> [INFO] Excluding org.slf4j:slf4j-api:jar:1.6.4 from the shaded jar.
> [INFO] Excluding org.slf4j:slf4j-log4j12:jar:1.6.4 from the shaded jar.
> [INFO] Excluding io.netty:netty:jar:3.9.4.Final from the shaded jar.
> [INFO] Excluding commons-configuration:commons-configuration:jar:1.6 from
> the shaded jar.
> [INFO] Excluding commons-collections:commons-collections:jar:3.2.1 from the
> shaded jar.
> [INFO] Excluding commons-lang:commons-lang:jar:2.4 from the shaded jar.
> [INFO] Excluding commons-logging:commons-logging:jar:1.1.1 from the shaded
> jar.
> [INFO] Excluding commons-digester:commons-digester:jar:1.8 from the shaded
> jar.
> [INFO] Excluding commons-beanutils:commons-beanutils:jar:1.7.0 from the
> shaded jar.
> [INFO] Excluding commons-beanutils:commons-beanutils-core:jar:1.8.0 from
> the shaded jar.
> [INFO] Excluding commons-cli:commons-cli:jar:1.2 from the shaded jar.
> [INFO] Excluding commons-codec:commons-codec:jar:1.6 from the shaded jar.
> [INFO] Excluding commons-io:commons-io:jar:2.1 from the shaded jar.
> [INFO] Excluding net.java.dev.jna:jna:jar:3.2.7 from the shaded jar.
> [INFO] Excluding log4j:log4j:jar:1.2.15 from the shaded jar.
> [INFO] Minimizing jar
> org.apache.bookkeeper:bookkeeper-server:jar:4.4.0-SNAPSHOT
> [INFO] Minimized 2336 -> 1633 (69%)
> [INFO] Replacing original artifact with shaded artifact.
> [INFO] Replacing
>
> /Users/flavio/code/git/bookkeeper/bookkeeper-server/target/bookkeeper-server-4.4.0-SNAPSHOT.jar
> with
>
> /Users/flavio/code/git/bookkeeper/bookkeeper-server/target/bookkeeper-server-4.4.0-SNAPSHOT-shaded.jar
> [INFO] Dependency-reduced POM written at:
>
> /Users/flavio/code/git/bookkeeper/bookkeeper-server/dependency-reduced-pom.xml
> [INFO] Dependency-reduced POM written at:
>
> /Users/flavio/code/git/bookkeeper/bookkeeper-server/dependency-reduced-pom.xml
> [INFO] Dependency-reduced POM written at:
>
> /Users/flavio/code/git/bookkeeper/bookkeeper-server/dependency-reduced-pom.xml
> [INFO] Dependency-reduced POM written at:
>
> /Users/flavio/code/git/bookkeeper/bookkeeper-server/dependency-reduced-pom.xml
>
>
> Here is the change I've made to bookkeeper-server/pom.xml:
>
> <dependency>
>       <groupId>org.apache.zookeeper</groupId>
>       <artifactId>zookeeper</artifactId>
>       <version>3.5.1-alpha</version>
>       <scope>system</scope>
>
>
> <systemPath>/Users/flavio/Downloads/zookeeper-3.5.1-alpha/zookeeper-3.5.1-alpha.jar</systemPath>
>  </dependency>
>
> -Flavio
>

Reply via email to