gephi / gephi-plugins

Repository for Gephi Plugins maintained by the team. Each plugin has it's branch.
269 stars 620 forks source link

`mvn package` (`validate-project` target) fails on current master-forge #240

Closed Amar1729 closed 2 years ago

Amar1729 commented 2 years ago

Linked an issue I filed on the gephi-maven-plugin repository here: https://github.com/gephi/gephi-maven-plugin/issues/10

Full build/debug log in linked issue, but relevant output copied below. Are there any extra steps required to compiled and run gephi-plugins?

$ mvn --version
Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537)
Maven home: /Users/paula1/.sdkman/candidates/maven/current
Java version: 1.8.0_322, vendor: Azul Systems, Inc., runtime: /Users/paula1/.sdkman/candidates/java/8.0.322-zulu/zulu-8.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "11.6.2", arch: "aarch64", family: "mac"
[INFO] --- gephi-maven-plugin:1.2.3:validate (validate-plugin) @ gephi-plugins ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] GeoLayoutPlugin 0.9.2.2 ............................ SUCCESS [  1.992 s]
[INFO] LinkfluencePlugin 0.9.0 ............................ SUCCESS [  1.147 s]
[INFO] KBrace Filter 1.0.0 ................................ SUCCESS [  0.953 s]
[INFO] Multimode-Networks 1.1.0 ........................... SUCCESS [  1.245 s]
[INFO] Json Exporter 2.0.0 ................................ SUCCESS [  1.082 s]
[INFO] Sigma Exporter 0.9.0 ............................... SUCCESS [  1.299 s]
[INFO] Node Color Manager 1.0.0 ........................... SUCCESS [  0.736 s]
[INFO] GraphvizLayout 1.0.0 ............................... SUCCESS [  0.877 s]
[INFO] StreamingAPI 1.0.3 ................................. SUCCESS [  0.801 s]
[INFO] StreamingImpl 1.0.3 ................................ SUCCESS [  2.230 s]
[INFO] JettyWrapper 1.0.3 ................................. SUCCESS [  0.276 s]
[INFO] StreamingServer 1.0.3 .............................. SUCCESS [  2.473 s]
[INFO] DesktopStreaming 1.0.3 ............................. SUCCESS [  1.078 s]
[INFO] GraphStreaming 1.0.3 ............................... SUCCESS [  0.581 s]
[INFO] CircularLayout 0.9.2 ............................... SUCCESS [  0.895 s]
[INFO] SemanticWebImport 1.0.0 ............................ SUCCESS [  1.469 s]
[INFO] Loxa Web Site Export 0.3.2 ......................... SUCCESS [  1.756 s]
[INFO] Export-To-Earth 1.0.0 .............................. SUCCESS [  1.483 s]
[INFO] Map Of Countries 1.5.1 ............................. SUCCESS [  0.985 s]
[INFO] ScriptingPlugin 0.9.2 .............................. SUCCESS [  2.454 s]
[INFO] TwitterStreamingImporter 1.4.3 ..................... SUCCESS [  1.198 s]
[INFO] Isometric Layout 1.0.0 ............................. SUCCESS [  0.813 s]
[INFO] Network Splitter 3D 1.0.0 .......................... SUCCESS [  0.845 s]
[INFO] ExcelCsvImporter 1.0.0 ............................. SUCCESS [  2.686 s]
[INFO] Oracle Driver 0.0.1 ................................ SUCCESS [  0.358 s]
[INFO] EventGraphLayout 1.0.0 ............................. SUCCESS [  0.826 s]
[INFO] Lineage 0.9.2 ...................................... SUCCESS [  0.819 s]
[INFO] MdsLayout 0.9.2 .................................... SUCCESS [  0.860 s]
[INFO] filterfromfile 1.0.0 ............................... SUCCESS [  0.699 s]
[INFO] GiveColorToNodes 1.0.0 ............................. SUCCESS [  0.690 s]
[INFO] GiveColorToEdges 1.0.0 ............................. SUCCESS [  0.700 s]
[INFO] Gravity Plugin 1.0.0 ............................... SUCCESS [  0.851 s]
[INFO] MdsMetric 0.9.2 .................................... SUCCESS [  0.854 s]
[INFO] VectorCalculator 0.5.0 ............................. SUCCESS [  0.815 s]
[INFO] Prestige Plugin 1.0.0 .............................. SUCCESS [  1.999 s]
[INFO] HttpGraph 1.0.8 .................................... SUCCESS [  3.740 s]
[INFO] Minimum Spanning Tree Plugin 1.0.0 ................. SUCCESS [  2.050 s]
[INFO] Similarity Computer 1.1.3 .......................... SUCCESS [  3.076 s]
[INFO] AgensGraph Plugin 1.0.0 ............................ SUCCESS [  1.325 s]
[INFO] Polygon Shaped Nodes 1.0.0 ......................... SUCCESS [  0.950 s]
[INFO] scale layout plugin 1.1.0 .......................... SUCCESS [  0.806 s]
[INFO] Circle Pack 1.0.0 .................................. SUCCESS [  0.830 s]
[INFO] Newman-Girvan Clustering 1.0.0 ..................... SUCCESS [  1.047 s]
[INFO] gephi-plugin-image-preview 1.0.0 ................... SUCCESS [  1.080 s]
[INFO] polinodeExporter 0.9.2 ............................. SUCCESS [  1.022 s]
[INFO] Leiden Algorithm 1.0.0 ............................. SUCCESS [  0.995 s]
[INFO] Bridging Centrality Plugin 1.0.1 ................... SUCCESS [  0.970 s]
[INFO] BoundingDiameters 0.0.1 ............................ SUCCESS [  1.022 s]
[INFO] BoundingDiameters UI 0.0.1 ......................... SUCCESS [  0.910 s]
[INFO] BoundingDiameters Suite 0.0.1 ...................... SUCCESS [  0.515 s]
[INFO] dbscan 1.0.0 ....................................... SUCCESS [  1.176 s]
[INFO] Clustering Coefficient 1.0.0 ....................... SUCCESS [  0.827 s]
[INFO] Kleinberg Generator 1.0.0 .......................... SUCCESS [  1.037 s]
[INFO] Column Calculator 1.0.1 ............................ SUCCESS [  1.191 s]
[INFO] Groups by partition 1.0.0 .......................... SUCCESS [  0.725 s]
[INFO] Hairball Buster 0.9.2 .............................. SUCCESS [  0.848 s]
[INFO] gephi-plugins 0.9.2 ................................ FAILURE [  0.691 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:08 min
[INFO] Finished at: 2022-01-26T12:30:05-05:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.gephi:gephi-maven-plugin:1.2.3:validate (validate-plugin) on project gephi-plugins: Multiple module suites have been found, this is not supported -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :gephi-plugins
mbastian commented 2 years ago

Hi, yes this is a known issue. The validate step is actually not run by default on the master-forge branch due to the release profile. The reason is because the validate step is designed to help plugin developers, which are normally working on a single plugin at the time. But I agree, we could make it work. I close the issue here as this is 100% related to the Maven plugin, for which you already created an issue.