Commit 9f053c06 authored by Maxime COMPASTIÉ's avatar Maxime COMPASTIÉ
Browse files

Merge branch 'feature-mvn-and-serialization' into 'master'

Feature mvn and serialization

See merge request !5
parents 6584499c 0f5ea0e4
/build/
/.gradle/
.idea/
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://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>org.activeeon</groupId>
<artifactId>morphemic-preprocessor</artifactId>
<version>1.4-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.12</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-configuration2</artifactId>
<version>2.7</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.ow2.proactive_grid_cloud_portal</groupId>
<artifactId>rest-smartproxy</artifactId>
<version>11.1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.ow2.proactive_grid_cloud_portal</groupId>
<artifactId>rest-api</artifactId>
<version>11.1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
<version>1.9.4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jasypt</groupId>
<artifactId>jasypt</artifactId>
<version>1.9.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>5.4.22.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>5.4.22.Final</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hsqldb</groupId>
<artifactId>hsqldb</artifactId>
<version>2.5.1</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
<version>20200518</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.8.6</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.11.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.eclipse.emf</groupId>
<artifactId>org.eclipse.emf.common</artifactId>
<version>2.20.0</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.11.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-csv</artifactId>
<version>2.11.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<inherited>true</inherited>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>activeeon</id>
<name>repository.activeeon</name>
<url>http://repository.activeeon.com/content/groups/proactive/</url>
</repository>
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com/</url>
</repository>
<repository>
<id>maven-central</id>
<url>https://repo1.maven.org/maven2/</url>
</repository>
</repositories>
</project>
......@@ -7,6 +7,7 @@ import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Locale;
import java.util.Objects;
......@@ -17,7 +18,7 @@ import java.util.Objects;
@NoArgsConstructor
@Entity
@Table(name = "CLOUD")
public class Cloud {
public class Cloud implements Serializable {
@Id
@Column(name = "ID")
@JsonProperty("id")
......
......@@ -8,6 +8,7 @@ import javax.persistence.Column;
import javax.persistence.Embeddable;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import java.io.Serializable;
import java.util.Objects;
/**
......@@ -16,7 +17,7 @@ import java.util.Objects;
@AllArgsConstructor
@NoArgsConstructor
@Embeddable
public class Environment {
public class Environment implements Serializable {
@Column(name = "RUNTIME")
@Enumerated(EnumType.STRING)
@JsonProperty("runtime")
......
......@@ -5,6 +5,7 @@ import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Objects;
/**
......@@ -14,7 +15,7 @@ import java.util.Objects;
@NoArgsConstructor
@Entity
@Table(name = "HARDWARE")
public class Hardware {
public class Hardware implements Serializable {
@Id
@Column(name = "ID")
@JsonProperty("id")
......
......@@ -5,6 +5,7 @@ import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Objects;
/**
......@@ -14,7 +15,7 @@ import java.util.Objects;
@NoArgsConstructor
@Entity
@Table(name = "IMAGE")
public class Image {
public class Image implements Serializable {
@Id
@Column(name = "ID")
@JsonProperty("id")
......
......@@ -7,6 +7,7 @@ import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Locale;
import java.util.Objects;
......@@ -17,7 +18,7 @@ import java.util.Objects;
@NoArgsConstructor
@Entity
@Table(name = "LOCATION")
public class Location {
public class Location implements Serializable {
@Id
@Column(name = "ID")
@JsonProperty("id")
......
......@@ -8,6 +8,7 @@ import lombok.NoArgsConstructor;
import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*;
import java.io.Serializable;
import java.util.Locale;
import java.util.Objects;
......@@ -19,7 +20,7 @@ import java.util.Objects;
@NoArgsConstructor
@Entity
@Table(name = "NODE_CANDIDATE")
public class NodeCandidate {
public class NodeCandidate implements Serializable {
@Id
@GeneratedValue(generator = "system-uuid")
@GenericGenerator(name = "system-uuid", strategy = "uuid")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment