Showing
1 changed file
with
72 additions
and
0 deletions
... | @@ -14,4 +14,76 @@ | ... | @@ -14,4 +14,76 @@ |
14 | <artifactId>grog-recommendation-postprocess</artifactId> | 14 | <artifactId>grog-recommendation-postprocess</artifactId> |
15 | <version>3.0-SNAPSHOT</version> | 15 | <version>3.0-SNAPSHOT</version> |
16 | <packaging>jar</packaging> | 16 | <packaging>jar</packaging> |
17 | + | ||
18 | + <dependencies> | ||
19 | + <dependency> | ||
20 | + <groupId>org.springframework.boot</groupId> | ||
21 | + <artifactId>spring-boot-starter</artifactId> | ||
22 | + </dependency> | ||
23 | + <dependency> | ||
24 | + <groupId>org.springframework.boot</groupId> | ||
25 | + <artifactId>spring-boot-starter-test</artifactId> | ||
26 | + <scope>test</scope> | ||
27 | + </dependency> | ||
28 | + </dependencies> | ||
29 | + | ||
30 | + <build> | ||
31 | + <plugins> | ||
32 | + <!-- | ||
33 | + <plugin> | ||
34 | + <groupId>org.apache.maven.plugins</groupId> | ||
35 | + <artifactId>maven-jar-plugin</artifactId> | ||
36 | + <version>2.5</version> | ||
37 | + <configuration> | ||
38 | + <archive> | ||
39 | + <manifestEntries> | ||
40 | + <Main-Class>org.legrog.recommendation.postprocess.PostprocessingApplication</Main-Class> | ||
41 | + </manifestEntries> | ||
42 | + </archive> | ||
43 | + </configuration> | ||
44 | + </plugin> | ||
45 | + --> | ||
46 | + <plugin> | ||
47 | + <groupId>org.springframework.boot</groupId> | ||
48 | + <artifactId>spring-boot-maven-plugin</artifactId> | ||
49 | + <version>1.5.2.RELEASE</version> | ||
50 | + <configuration> | ||
51 | + <mainClass>org.legrog.recommendation.postprocess.PostprocessingApplication</mainClass> | ||
52 | + <layout>ZIP</layout> | ||
53 | + </configuration> | ||
54 | + <executions> | ||
55 | + <execution> | ||
56 | + <goals> | ||
57 | + <goal>repackage</goal> | ||
58 | + </goals> | ||
59 | + </execution> | ||
60 | + </executions> | ||
61 | + </plugin> | ||
62 | + <!-- | ||
63 | + <plugin> | ||
64 | + <artifactId>maven-assembly-plugin</artifactId> | ||
65 | + <configuration> | ||
66 | + <archive> | ||
67 | + <manifest> | ||
68 | + <mainClass>org.legrog.recommendation.postprocess.PostprocessingApplication</mainClass> | ||
69 | + </manifest> | ||
70 | + </archive> | ||
71 | + <descriptorRefs> | ||
72 | + <descriptorRef>jar-with-dependencies</descriptorRef> | ||
73 | + </descriptorRefs> | ||
74 | + </configuration> | ||
75 | + <executions> | ||
76 | + <execution> | ||
77 | + <id>make-assembly</id> | ||
78 | + <phase>package</phase> | ||
79 | + <goals> | ||
80 | + <goal>single</goal> | ||
81 | + </goals> | ||
82 | + </execution> | ||
83 | + </executions> | ||
84 | + </plugin> | ||
85 | + --> | ||
86 | + </plugins> | ||
87 | + </build> | ||
88 | + | ||
17 | </project> | 89 | </project> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment