Skip to content

Commit

Permalink
put GeoMason into local repo for maven
Browse files Browse the repository at this point in the history
  • Loading branch information
swise5 committed Dec 5, 2023
1 parent 2ec7af8 commit c90c2c4
Show file tree
Hide file tree
Showing 11 changed files with 69 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/bin
/target
*.class
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
d232a69acd642f353cc246dfbb1ec299
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bb35d65f9dd61748fb7347c855b492344b4f1b7b
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>edu.gmu.cs</groupId>
<artifactId>mason-geomason</artifactId>
<version>1.5</version>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
913e23c6fc785b9deab8b40045cea688
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ad6827cab6e45b8174216ab8c1c7c12caf1afd3f
12 changes: 12 additions & 0 deletions libs/local-maven-repo/edu/gmu/cs/mason-geomason/maven-metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<groupId>edu.gmu.cs</groupId>
<artifactId>mason-geomason</artifactId>
<versioning>
<release>1.5</release>
<versions>
<version>1.5</version>
</versions>
<lastUpdated>20231205115515</lastUpdated>
</versioning>
</metadata>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
b3df55779edde375fbb2b25586dcace7
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cbf5332903241fed63a79d195f05863e0ef64725
50 changes: 42 additions & 8 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,24 +15,34 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<!-- created local mvn repo - see here
mvn deploy:deploy-file -DgroupId=edu.gmu.cs -DartifactId=mason-geomason -Dversion=1.5 -Durl=file:./local-maven-repo/ -DrepositoryId=local-maven-repo -DupdateReleaseInfo=true -Dfile=/Users/swise/Downloads/geomason.1.5.jar
-->
<repositories>
<repository>
<!-- the geomason lib lives here -->
<id>local-maven-repo</id>
<url>file:///${project.basedir}/libs/local-maven-repo</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>com.vividsolutions</groupId>
<artifactId>jts</artifactId>
<version>1.13</version>
</dependency>
<dependency>
<groupId>edu.gmu.cs</groupId>
<artifactId>mason-geomason</artifactId>
<version>1.5</version>
<scope>system</scope>
<systemPath>${project.basedir}/libs/geomason.1.5.jar</systemPath>
</dependency>
<dependency>
<groupId>fr.irit.smac.thirdparty.edu.gmu.cs</groupId>
<artifactId>mason</artifactId>
<version>18</version>
</dependency>
<!-- https://mvnrepository.com/artifact/edu.gmu.cs/mason-geomason -->
<dependency>
<groupId>edu.gmu.cs</groupId>
<artifactId>mason-geomason</artifactId>
<version>1.5</version>
</dependency>
</dependencies>


Expand Down Expand Up @@ -72,7 +82,31 @@

</configuration>
</plugin>

<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<altDeploymentRepository>
internal.repo::default::file://${project.build.directory}/mvn-artifact
</altDeploymentRepository>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

</plugins>
</pluginManagement>
</build>
</project>
</project>

0 comments on commit c90c2c4

Please sign in to comment.