Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Benoît LE BADEZET
alma-gtd
Commits
3d24ce51
Commit
3d24ce51
authored
Feb 27, 2018
by
Gerson Sunyé
Browse files
updated several Maven plugins
parent
de3d9222
Changes
9
Hide whitespace changes
Inline
Side-by-side
GTDClientAgravain/pom.xml
View file @
3d24ce51
...
...
@@ -21,15 +21,6 @@
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
${compileSource}
</source>
<target>
${compileSource}
</target>
<encoding>
UTF-8
</encoding>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jar-plugin
</artifactId>
...
...
@@ -60,7 +51,7 @@
</plugin>
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
2.2-beta-5
</version>
<version>
3.1.0
</version>
<configuration>
<descriptorRefs>
<descriptorRef>
jar-with-dependencies
</descriptorRef>
...
...
@@ -88,7 +79,7 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
3.8
.1
</version>
<version>
4
.1
2
</version>
<scope>
test
</scope>
</dependency>
<dependency>
...
...
@@ -99,7 +90,7 @@
<dependency>
<groupId>
javax.persistence
</groupId>
<artifactId>
persistence-api
</artifactId>
<version>
1.0
</version>
<version>
1.0
.2
</version>
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
...
...
GTDClientGauvain/pom.xml
View file @
3d24ce51
...
...
@@ -43,7 +43,7 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.
4
</version>
<version>
4.
12
</version>
<scope>
test
</scope>
</dependency>
<dependency>
...
...
GTDClientLancelot/pom.xml
View file @
3d24ce51
...
...
@@ -18,19 +18,6 @@
<url>
http://code.google.com/p/gtdbbcm/
</url>
</scm>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
3.7.0
</version>
<configuration>
<source>
1.6
</source>
<target>
1.6
</target>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
...
...
@@ -86,7 +73,7 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
3.8
.1
</version>
<version>
4
.1
2
</version>
</dependency>
<dependency>
<groupId>
javax.transaction
</groupId>
...
...
GTDCommon/pom.xml
View file @
3d24ce51
...
...
@@ -34,29 +34,5 @@
<timezone>
+2
</timezone>
</developer>
</developers>
<reporting>
<plugins>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
javancss-maven-plugin
</artifactId>
<version>
2.0
</version>
<configuration>
<sourceEncoding>
${project.build.sourceEncoding}
</sourceEncoding>
</configuration>
</plugin>
<plugin>
<groupId>
net.sf.xradar
</groupId>
<artifactId>
maven-xradar-plugin
</artifactId>
<version>
1.2.2
</version>
</plugin>
<plugin>
<groupId>
org.codehaus.mojo
</groupId>
<artifactId>
emma-maven-plugin
</artifactId>
<version>
1.0-alpha-2
</version>
</plugin>
</plugins>
</reporting>
</project>
GTDServer/GUI/pom.xml
View file @
3d24ce51
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<parent>
<groupId>
fr.alma
</groupId>
<artifactId>
GTDServer
</artifactId>
<version>
1.0
</version>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
fr.alma
</groupId>
<artifactId>
GTDServerGUI
</artifactId>
<packaging>
jar
</packaging>
...
...
@@ -26,7 +27,7 @@
<dependency>
<groupId>
com.google.gwt
</groupId>
<artifactId>
gwt-user
</artifactId>
<version>
2.
0.0
</version>
<version>
2.
8.2
</version>
</dependency>
</dependencies>
</project>
GTDServer/GUI/src/main/java/fr/alma/gtd/donneespartagees/AbstractProjet.java
View file @
3d24ce51
package
fr.alma.gtd.donneespartagees
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
/**
* Classe representant les projets.
* @author Stephane Begaudeau, Benjamin Gosset, Alex Lagarde, Christophe Renaudineau.
* @version 1.0.0
*/
public
abstract
class
AbstractProjet
extends
AbstractObjetServeur
implements
IProjet
{
/**
* Identifiant de serialisation.
*/
private
static
final
long
serialVersionUID
=
-
1035410260532175513L
;
/**
* Le nom du projet.
*/
protected
String
nom
;
/**
* L'avancement du projet.
*/
protected
Avancement
avancement
;
/**
* Le contexte par defaut des taches ajoutees au projet.
*/
protected
IContexte
contexteParDefaut
;
/**
* La liste des taches.
*/
protected
List
<
ITache
>
listeDesTaches
;
/**
* La liste des participants.
*/
protected
List
<
IParticipant
>
listeDesParticipants
;
/**
* Le createur du projet.
*/
protected
IParticipant
createur
;
/**
* Indique si le projet est dans la poubelle.
*/
protected
boolean
dansLaPoubelle
;
/**
* Indique si le projet est dans les archives
*/
protected
boolean
dansArchive
;
/**
* Liste des contacts associes a ce projet.
*/
protected
List
<
IContact
>
contacts
;
/**
*/
protected
List
<
IProjet
>
listeDesSousProjets
;
/**
* Initialisation des variables.
*/
{
this
.
dansLaPoubelle
=
false
;
this
.
dansArchive
=
false
;
this
.
dateDeDerniereModification
=
new
Date
();
this
.
listeDesTaches
=
new
ArrayList
<
ITache
>();
this
.
listeDesParticipants
=
new
ArrayList
<
IParticipant
>();
this
.
listeDesSousProjets
=
new
ArrayList
<
IProjet
>();
this
.
contacts
=
new
ArrayList
<
IContact
>();
this
.
avancement
=
Avancement
.
AFAIRE
;
}
/**
* Le constructeur par defaut.
*/
public
AbstractProjet
()
{
super
();
}
/**
* Le constructeur avec initialisation du nom, du contexte par defaut et du createur.
* @param n Le nom choisi.
* @param contexte Le contexte choisi.
* @param c Le createur du projet.
*/
public
AbstractProjet
(
final
String
n
,
final
IContexte
contexte
,
final
IParticipant
c
)
{
super
();
this
.
nom
=
n
;
this
.
contexteParDefaut
=
contexte
;
this
.
createur
=
c
;
}
/**
* Constructeur de recopie d'un projet.
* @param p Projet a recopier
*/
public
AbstractProjet
(
final
IProjet
p
)
{
this
.
copier
(
p
);
}
/**
* Copie l'ensemble des attributs du projet passe en parametre.
* @param p Projet a recopier
*/
public
void
copier
(
final
IProjet
p
){
this
.
nom
=
p
.
getNom
();
this
.
createur
=
p
.
getCreateur
();
this
.
dateDeDerniereModification
=
p
.
getDateDeDerniereModification
();
this
.
identifiantServeur
=
p
.
getIdentifiantServeur
();
this
.
contexteParDefaut
=
p
.
getContexteParDefaut
();
this
.
listeDesTaches
=
p
.
getListeDeTaches
();
this
.
listeDesParticipants
=
p
.
getListeDeParticipants
();
this
.
avancement
=
p
.
getAvancement
();
this
.
dansLaPoubelle
=
p
.
isDansLaPoubelle
();
this
.
contacts
=
p
.
getListeContacts
();
this
.
listeDesSousProjets
=
p
.
getListeDeSousProjets
();
}
@Override
public
final
void
ajoutTache
(
final
ITache
t
)
{
//TODO
}
@Override
public
final
void
supprimeTache
(
final
ITache
t
)
{
//TODO
}
@Override
public
final
void
supprimerToutesTaches
()
{
//TODO
}
@Override
public
final
void
archiver
()
{
//TODO
}
@Override
public
final
void
mettreALaPoubelle
()
{
//TODO
}
@Override
public
final
void
restaurer
()
{
//TODO
}
@Override
public
final
void
setNom
(
final
String
n
)
{
this
.
nom
=
n
;
}
@Override
public
final
void
setDansLaPoubelle
(
final
boolean
estDansPoubelle
)
{
this
.
dansLaPoubelle
=
estDansPoubelle
;
}
@Override
public
final
void
setAvancement
(
final
Avancement
a
)
{
this
.
avancement
=
a
;
}
@Override
public
final
void
setContexteParDefaut
(
final
IContexte
contexteDefaut
)
{
this
.
contexteParDefaut
=
contexteDefaut
;
}
@Override
public
final
void
setListeDeTaches
(
final
ArrayList
<
ITache
>
listeTaches
)
{
this
.
listeDesTaches
=
listeTaches
;
}
@Override
public
final
void
setListeDeSousProjets
(
final
List
<
IProjet
>
listeProjets
)
{
this
.
listeDesSousProjets
=
listeProjets
;
}
@Override
public
final
void
setListeDeParticipants
(
final
List
<
IParticipant
>
listeParticipants
)
{
this
.
listeDesParticipants
=
listeParticipants
;
}
@Override
public
final
void
setCreateur
(
final
IParticipant
c
)
{
this
.
createur
=
c
;
}
@Override
public
final
void
setListeContacts
(
final
List
<
IContact
>
contacts
){
this
.
contacts
=
contacts
;
}
@Override
public
void
setDansArchive
(
boolean
dansArchive
)
{
this
.
dansArchive
=
dansArchive
;
}
}
package
fr.alma.gtd.donneespartagees
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
/**
* Classe representant les projets.
* @author Stephane Begaudeau, Benjamin Gosset, Alex Lagarde, Christophe Renaudineau.
* @version 1.0.0
*/
public
abstract
class
AbstractProjet
extends
AbstractObjetServeur
implements
IProjet
{
/**
* Identifiant de serialisation.
*/
private
static
final
long
serialVersionUID
=
-
1035410260532175513L
;
/**
* Le nom du projet.
*/
protected
String
nom
;
/**
* L'avancement du projet.
*/
protected
Avancement
avancement
;
/**
* Le contexte par defaut des taches ajoutees au projet.
*/
protected
IContexte
contexteParDefaut
;
/**
* La liste des taches.
*/
protected
List
<
ITache
>
listeDesTaches
;
/**
* La liste des participants.
*/
protected
List
<
IParticipant
>
listeDesParticipants
;
/**
* Le createur du projet.
*/
protected
IParticipant
createur
;
/**
* Indique si le projet est dans la poubelle.
*/
protected
boolean
dansLaPoubelle
;
/**
* Indique si le projet est dans les archives
*/
protected
boolean
dansArchive
;
/**
* Liste des contacts associes a ce projet.
*/
protected
List
<
IContact
>
contacts
;
/**
* Liste des sous-projets associ
és à c
e projet.
*/
protected
List
<
IProjet
>
listeDesSousProjets
;
/**
* Initialisation des variables.
*/
{
this
.
dansLaPoubelle
=
false
;
this
.
dansArchive
=
false
;
this
.
dateDeDerniereModification
=
new
Date
();
this
.
listeDesTaches
=
new
ArrayList
<
ITache
>();
this
.
listeDesParticipants
=
new
ArrayList
<
IParticipant
>();
this
.
listeDesSousProjets
=
new
ArrayList
<
IProjet
>();
this
.
contacts
=
new
ArrayList
<
IContact
>();
this
.
avancement
=
Avancement
.
AFAIRE
;
}
/**
* Le constructeur par defaut.
*/
public
AbstractProjet
()
{
super
();
}
/**
* Le constructeur avec initialisation du nom, du contexte par defaut et du createur.
* @param n Le nom choisi.
* @param contexte Le contexte choisi.
* @param c Le createur du projet.
*/
public
AbstractProjet
(
final
String
n
,
final
IContexte
contexte
,
final
IParticipant
c
)
{
super
();
this
.
nom
=
n
;
this
.
contexteParDefaut
=
contexte
;
this
.
createur
=
c
;
}
/**
* Constructeur de recopie d'un projet.
* @param p Projet a recopier
*/
public
AbstractProjet
(
final
IProjet
p
)
{
this
.
copier
(
p
);
}
/**
* Copie l'ensemble des attributs du projet passe en parametre.
* @param p Projet a recopier
*/
public
void
copier
(
final
IProjet
p
){
this
.
nom
=
p
.
getNom
();
this
.
createur
=
p
.
getCreateur
();
this
.
dateDeDerniereModification
=
p
.
getDateDeDerniereModification
();
this
.
identifiantServeur
=
p
.
getIdentifiantServeur
();
this
.
contexteParDefaut
=
p
.
getContexteParDefaut
();
this
.
listeDesTaches
=
p
.
getListeDeTaches
();
this
.
listeDesParticipants
=
p
.
getListeDeParticipants
();
this
.
avancement
=
p
.
getAvancement
();
this
.
dansLaPoubelle
=
p
.
isDansLaPoubelle
();
this
.
contacts
=
p
.
getListeContacts
();
this
.
listeDesSousProjets
=
p
.
getListeDeSousProjets
();
}
@Override
public
final
void
ajoutTache
(
final
ITache
t
)
{
//TODO
}
@Override
public
final
void
supprimeTache
(
final
ITache
t
)
{
//TODO
}
@Override
public
final
void
supprimerToutesTaches
()
{
//TODO
}
@Override
public
final
void
archiver
()
{
//TODO
}
@Override
public
final
void
mettreALaPoubelle
()
{
//TODO
}
@Override
public
final
void
restaurer
()
{
//TODO
}
@Override
public
final
void
setNom
(
final
String
n
)
{
this
.
nom
=
n
;
}
@Override
public
final
void
setDansLaPoubelle
(
final
boolean
estDansPoubelle
)
{
this
.
dansLaPoubelle
=
estDansPoubelle
;
}
@Override
public
final
void
setAvancement
(
final
Avancement
a
)
{
this
.
avancement
=
a
;
}
@Override
public
final
void
setContexteParDefaut
(
final
IContexte
contexteDefaut
)
{
this
.
contexteParDefaut
=
contexteDefaut
;
}
@Override
public
final
void
setListeDeTaches
(
final
ArrayList
<
ITache
>
listeTaches
)
{
this
.
listeDesTaches
=
listeTaches
;
}
@Override
public
final
void
setListeDeSousProjets
(
final
List
<
IProjet
>
listeProjets
)
{
this
.
listeDesSousProjets
=
listeProjets
;
}
@Override
public
final
void
setListeDeParticipants
(
final
List
<
IParticipant
>
listeParticipants
)
{
this
.
listeDesParticipants
=
listeParticipants
;
}
@Override
public
final
void
setCreateur
(
final
IParticipant
c
)
{
this
.
createur
=
c
;
}
@Override
public
final
void
setListeContacts
(
final
List
<
IContact
>
contacts
){
this
.
contacts
=
contacts
;
}
@Override
public
void
setDansArchive
(
boolean
dansArchive
)
{
this
.
dansArchive
=
dansArchive
;
}
}
GTDServer/JBoss/pom.xml
View file @
3d24ce51
...
...
@@ -38,7 +38,7 @@
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.
7
</version>
<version>
4.
12
</version>
</dependency>
<dependency>
<groupId>
org.hibernate.javax.persistence
</groupId>
...
...
GTDServer/pom.xml
View file @
3d24ce51
...
...
@@ -39,32 +39,32 @@
<dependency>
<groupId>
antlr
</groupId>
<artifactId>
antlr
</artifactId>
<version>
2
.7.7
</version>
<version>
2
0030911
</version>
</dependency>
<dependency>
<groupId>
junit
</groupId>
<artifactId>
junit
</artifactId>
<version>
4.
7
</version>
<version>
4.
12
</version>
</dependency>
<dependency>
<groupId>
jboss
</groupId>
<artifactId>
jboss-j2ee
</artifactId>
<version>
4.
0
.2
</version>
<version>
4.
2
.2
.GA
</version>
</dependency>
<dependency>
<groupId>
org.hibernate
</groupId>
<artifactId>
hibernate-annotations
</artifactId>
<version>
3.
4.0.GA
</version>
<version>
3.
5.6-Final
</version>
</dependency>