Skip to content

Commit

Permalink
* Moved module 'oauth' -> 'client-auth'
Browse files Browse the repository at this point in the history
* renamed maven modules to matsim-viz.*
  • Loading branch information
Janekdererste committed Oct 12, 2018
1 parent 03c2878 commit b168303
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 19 deletions.
3 changes: 1 addition & 2 deletions auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@

<parent>
<groupId>org.matsim</groupId>
<artifactId>matsim-webvis</artifactId>
<artifactId>matsim-viz</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>

<artifactId>auth</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<dependencies>
Expand Down
2 changes: 1 addition & 1 deletion auth/src/main/java/org/matsim/viz/auth/entities/DAO.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

public abstract class DAO {

protected static PersistenceUnit database = new PersistenceUnit("org.matsim.matsim-webvis.auth");
protected static PersistenceUnit database = new PersistenceUnit("org.matsim.viz.auth");

}
4 changes: 2 additions & 2 deletions auth/src/main/resources/META-INF/persistence.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">

<persistence-unit name="org.matsim.matsim-webvis.auth">
<persistence-unit name="org.matsim.viz.auth">
<description>
Persistence Unit for the authorization server of matsim-webvis
Persistence Unit for the authorization server of matsim-viz-auth
</description>
<properties>
<!-- Using a H2 in memory Database for now -->
Expand Down
4 changes: 2 additions & 2 deletions oauth/pom.xml → client-auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>matsim-webvis</artifactId>
<artifactId>matsim-viz</artifactId>
<groupId>org.matsim</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>oauth</artifactId>
<artifactId>client-auth</artifactId>

<dependencies>
<dependency>
Expand Down
3 changes: 1 addition & 2 deletions database/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>matsim-webvis</artifactId>
<artifactId>matsim-viz</artifactId>
<groupId>org.matsim</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>database</artifactId>
<packaging>jar</packaging>


<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public abstract class AbstractEntity {

@Id
@GeneratedValue(generator = "uuid")
@GenericGenerator(name = "uuid", strategy = "UUIDGenerator")
@GenericGenerator(name = "uuid", strategy = "org.matsim.viz.database.UUIDGenerator")
private String id;

@Override
Expand Down
2 changes: 1 addition & 1 deletion error-handling/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>matsim-webvis</artifactId>
<artifactId>matsim-viz</artifactId>
<groupId>org.matsim</groupId>
<version>1.0-SNAPSHOT</version>
</parent>
Expand Down
5 changes: 2 additions & 3 deletions files/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,17 @@

<parent>
<groupId>org.matsim</groupId>
<artifactId>matsim-webvis</artifactId>
<artifactId>matsim-viz</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>

<artifactId>files</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<dependencies>
<dependency>
<groupId>org.matsim</groupId>
<artifactId>oauth</artifactId>
<artifactId>client-auth</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
Expand Down
5 changes: 2 additions & 3 deletions frame-animation/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@

<parent>
<groupId>org.matsim</groupId>
<artifactId>matsim-webvis</artifactId>
<artifactId>matsim-viz</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>

<artifactId>frame-animation</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>

<dependencies>
Expand All @@ -23,7 +22,7 @@
</dependency>
<dependency>
<groupId>org.matsim</groupId>
<artifactId>oauth</artifactId>
<artifactId>client-auth</artifactId>
<version>1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
Expand Down
5 changes: 3 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>

<groupId>org.matsim</groupId>
<artifactId>matsim-webvis</artifactId>
<artifactId>matsim-viz</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>

Expand All @@ -14,11 +14,12 @@
<module>files</module>
<module>frame-animation</module>
<module>error-handling</module>
<module>oauth</module>
<module>client-auth</module>
<module>database</module>
</modules>

<properties>
<matsim-viz.verion>1.0-SNAPSHOT</matsim-viz.verion>
<java.version>1.8</java.version>
<junit.version>4.12</junit.version>
<dropwizard.version>1.3.5</dropwizard.version>
Expand Down

0 comments on commit b168303

Please sign in to comment.