Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
JR Utily
2017-04-04 19:40:23 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7b3e29f7147dc7d77eabe3628ff2c4b6d1fea13a
7b3e29f7
1 parent
880af9ef
fix issue with pom => remove jee specs from unnecessary poms
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
16 deletions
grog-db-generator/pom.xml
grog-entities/pom.xml
grog-recommendation/grog-recommendation-postprocess/pom.xml
grog-recommendation/grog-recommendation-postprocess/src/main/java/org/legrog/recommendation/postprocess/PostprocessingApplication.java
grog-webapp/pom.xml
pom.xml
grog-db-generator/pom.xml
View file @
7b3e29f
...
...
@@ -15,6 +15,7 @@
<packaging>
jar
</packaging>
<dependencies>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-jpa
</artifactId>
...
...
grog-entities/pom.xml
View file @
7b3e29f
...
...
@@ -30,6 +30,10 @@
<version>
${solr.version}
</version>
</dependency>
<dependency>
<groupId>
org.apache.tomee
</groupId>
<artifactId>
javaee-api
</artifactId>
</dependency>
<!-- **** TOOLS : LOGS + UTILS **** -->
...
...
grog-recommendation/grog-recommendation-postprocess/pom.xml
View file @
7b3e29f
...
...
@@ -51,11 +51,6 @@
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<version>
1.5.2.RELEASE
</version>
<configuration>
<mainClass>
org.legrog.recommendation.postprocess.PostprocessingApplication
</mainClass>
<layout>
ZIP
</layout>
</configuration>
<executions>
<execution>
<goals>
...
...
grog-recommendation/grog-recommendation-postprocess/src/main/java/org/legrog/recommendation/postprocess/PostprocessingApplication.java
View file @
7b3e29f
...
...
@@ -7,7 +7,10 @@ import org.slf4j.LoggerFactory;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.boot.CommandLineRunner
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.EnableAutoConfiguration
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration
;
import
org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration
;
import
org.springframework.context.annotation.Bean
;
import
java.io.*
;
...
...
@@ -33,6 +36,9 @@ public class PostprocessingApplication {
Properties
properties
;
Set
<
Long
>
sampleItemIds
;
Set
<
Long
>
sampleUserIds
;
//fixme ne jamais utiliser de classes concretes comme type de variables
// ce que tu veux ici c'est Map<Long, Set<Long>>
HashMap
<
Long
,
Set
<
Long
>>
sampleItemUserIds
;
public
static
void
main
(
String
[]
args
)
{
...
...
@@ -88,6 +94,7 @@ public class PostprocessingApplication {
logger
.
trace
(
"Nombre de couples item-user dans l'échantillon {}"
,
sampleCoupleCount
);
}
catch
(
IOException
e
)
{
//fixme use logger instead of e.printStackTrace() !!!
e
.
printStackTrace
();
}
...
...
@@ -110,6 +117,8 @@ public class PostprocessingApplication {
void
loadParametersProperties
()
{
//fixme use logger instead of e.printStackTrace() !!!
Properties
properties
=
new
Properties
();
InputStream
in
=
null
;
try
{
...
...
grog-webapp/pom.xml
View file @
7b3e29f
...
...
@@ -32,8 +32,8 @@
<custom.web.dir>
src/main/java/org/legrog/web
</custom.web.dir>
<!-- misc -->
<debug.jvm.args
/>
<tomee.autoreload
/>
<debug.jvm.args/>
<tomee.autoreload/>
</properties>
...
...
@@ -77,6 +77,12 @@
<scope>
test
</scope>
</dependency>
<dependency>
<groupId>
org.apache.tomee
</groupId>
<artifactId>
javaee-api
</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/org.omnifaces/omnifaces -->
<dependency>
<groupId>
org.omnifaces
</groupId>
...
...
pom.xml
View file @
7b3e29f
...
...
@@ -47,6 +47,15 @@
<artifactId>
solr-solrj
</artifactId>
<version>
${solr.version}
</version>
</dependency>
<!-- SPECS JEE -->
<dependency>
<groupId>
org.apache.tomee
</groupId>
<artifactId>
javaee-api
</artifactId>
<version>
${tomee.javaee-api.version}
</version>
<scope>
provided
</scope>
</dependency>
<dependency>
<groupId>
io.spring.platform
</groupId>
<artifactId>
platform-bom
</artifactId>
...
...
@@ -59,14 +68,6 @@
<dependencies>
<!-- SPECS JEE -->
<dependency>
<groupId>
org.apache.tomee
</groupId>
<artifactId>
javaee-api
</artifactId>
<version>
${tomee.javaee-api.version}
</version>
<scope>
provided
</scope>
</dependency>
<!-- **** TEST SCOPE **** -->
<dependency>
...
...
@@ -85,7 +86,7 @@
<dependency>
<groupId>
org.junit.platform
</groupId>
<artifactId>
junit-platform-console
</artifactId>
<artifactId>
junit-platform-console
</artifactId>
<version>
${junit.platform.version}
</version>
<scope>
test
</scope>
</dependency>
...
...
Please
register
or
login
to post a comment