edgent-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dale LaBossiere <dml.apa...@gmail.com>
Subject maven: samples module build order for platform-java7
Date Tue, 26 Sep 2017 14:21:37 GMT
Hi Chris,

Know what’s needed to straighten out the following?

When I build the samples for j8 all is fine.  Notice the build order. Btw Apps depends on
the Utils artifact.
$ cd samples
$ mvn clean package -DskipTests
...
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Edgent: Samples
[INFO] Apache Edgent: Samples: Utils
[INFO] Apache Edgent: Samples: Apps
[INFO] Apache Edgent: Samples: Topology
[INFO] Apache Edgent: Samples: Connectors
[INFO] Apache Edgent: Samples: Console
[INFO] Apache Edgent: Samples: Scenarios
…
[INFO] BUILD SUCCESS


When I add in -Pplatform-java7 it fails.  Notice the build order.  No surprise the utils artifact
doesn’t yet exist.
$ mvn package -DskipTests -Pplatform-java7
…
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Edgent: Samples
[INFO] Apache Edgent: Samples: Apps
[INFO] Apache Edgent: Samples: Connectors
[INFO] Apache Edgent: Samples: Console
[INFO] Apache Edgent: Samples: Scenarios
[INFO] Apache Edgent: Samples: Topology
[INFO] Apache Edgent: Samples: Utils
[INFO]
…
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Edgent: Samples: Apps 1.2.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.edgent.java7.samples:edgent-samples-utils:jar:1.2.0-SNAPSHOT
is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Edgent: Samples ............................. SUCCESS [  7.592 s]
[INFO] Apache Edgent: Samples: Apps ....................... FAILURE [  0.386 s]
[INFO] Apache Edgent: Samples: Connectors ................. SKIPPED
[INFO] Apache Edgent: Samples: Console .................... SKIPPED
[INFO] Apache Edgent: Samples: Scenarios .................. SKIPPED
[INFO] Apache Edgent: Samples: Topology ................... SKIPPED
[INFO] Apache Edgent: Samples: Utils ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE



Mime
View raw message