pom.xml fixes for Maven build from the command line

11 views
Skip to first unread message

Alexandre Rusev

unread,
May 2, 2025, 7:53:39 PMMay 2
to Steven Rubin, electr...@googlegroups.com, Joselito Morallo
Steven,

could you please commit fixes to pom.xml, which make  9.08a build with command line mvn?!
updated pom.xml and patch attached


List of changes:

[1] remove what was abou Scala

[2]  add local jogj-far.jar and  .jar fragments of Java3D-1.7 to project build

Known issues: did nothing with  native libraries packaging


--- pom.xml.orig 2025-05-03 01:46:18.474240818 +0300
+++ pom.xml 2025-05-03 02:44:48.871934682 +0300
@@ -59,7 +59,7 @@
         <jythonVersion>2.7.0</jythonVersion>
         <junitVersion>4.10</junitVersion>
         <orgSlf4jVersion>1.7.7</orgSlf4jVersion>
-        <scala.version>2.11.7</scala.version>
+        <!-- scala.version>2.11.7</scala.version -->
     </properties>
 
     <scm>
@@ -82,6 +82,62 @@
             <version>${jmfVersion}</version>
             <!--scope>provided</scope-->
         </dependency>
+
+
+        <!-- Uncomment following to use jogamp.org MVN repo.
+    Set up maven to ignore sertificates
+    mvn compile  -DskipTests -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true
+ -->
+        <!--dependency>
+              <groupId>org.jogamp.gluegen</groupId>
+              <artifactId>gluegen-rt-main</artifactId>
+              <version>2.5.0</version>
+        </dependency>
+        <dependency>
+              <groupId>org.jogamp.jogl</groupId>
+              <artifactId>jogl-all-main</artifactId>
+              <version>2.5.0</version>
+        </dependency-->
+
+
+ <dependency>
+ <groupId>jogamp-fat.jar</groupId>
+ <artifactId>sample</artifactId>
+ <version>1.0</version>
+ <scope>system</scope>
+        <systemPath>${project.basedir}/packaging/Java3D 1.7.0/jogamp-fat.jar</systemPath>
+ </dependency>
+
+
+ <dependency>
+ <groupId>j3dcore.jar</groupId>
+ <artifactId>sample</artifactId>
+        <version>1.0</version>
+        <scope>system</scope>
+        <systemPath>${project.basedir}/packaging/Java3D 1.7.0/j3dcore.jar</systemPath>
+        </dependency>
+
+
+ <dependency>
+    <groupId>j3dutils.jar</groupId>
+    <artifactId>sample</artifactId>
+    <version>1.0</version>
+    <scope>system</scope>
+    <systemPath>${project.basedir}/packaging/Java3D 1.7.0/j3dutils.jar</systemPath>
+ </dependency>
+
+ <dependency>
+ <groupId>vecmath.jar</groupId>
+        <artifactId>sample</artifactId>
+        <version>1.0</version>
+        <scope>system</scope>
+        <systemPath>${project.basedir}/packaging/Java3D 1.7.0/vecmath.jar</systemPath>
+    </dependency>
+
+
+
+
+
         <dependency>
             <!--
             This is an old version of java3d library that was found in public
@@ -122,6 +178,14 @@
         </dependency>
     </dependencies>
 
+  <repositories>
+    <repository>
+      <id>jogamp-remote</id>
+      <name>jogamp mirror</name>
+      <url>https://www.jogamp.org/deployment/maven/</url>
+    </repository>
+  </repositories>
+
     <build>
         <sourceDirectory>electric-java</sourceDirectory>
         <resources>
@@ -132,12 +196,12 @@
                     <exclude>**/*.form</exclude>
                 </excludes>
             </resource>
-            <resource>
+            <!--resource>
                 <directory>electric-scala</directory>
                 <excludes>
                     <exclude>**/*.scala</exclude>
                 </excludes>
-            </resource>
+            </resource-->
         </resources>
         <testSourceDirectory>test</testSourceDirectory>
         <testResources>
@@ -163,7 +227,7 @@
                     </compilerArgs>
                 </configuration>
             </plugin>
-            <plugin>
+            <!--plugin>
                 <groupId>org.scala-tools</groupId>
                 <artifactId>maven-scala-plugin</artifactId>
                 <version>2.15.2</version>
@@ -171,7 +235,6 @@
                     <execution>
                         <goals>
                             <goal>compile</goal>
-                            <!--goal>testCompile</goal-->
                         </goals>
                     </execution>
                 </executions>
@@ -181,7 +244,7 @@
                         <include>**/*.scala</include>
                     </includes>
                 </configuration>
-            </plugin>
+            </plugin-->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>
pom.xml.diff
pom.xml.orig
pom.xml
Reply all
Reply to author
Forward
0 new messages