|
24 | 24 | <artifactId>jfreechart-fse</artifactId> |
25 | 25 | <version>1.0-SNAPSHOT</version> |
26 | 26 | </dependency> |
| 27 | + |
| 28 | + <dependency> |
| 29 | + <groupId>com.jolira</groupId> |
| 30 | + <artifactId>onejar-maven-plugin</artifactId> |
| 31 | + <version>1.4.4</version> |
| 32 | + </dependency> |
27 | 33 | </dependencies> |
28 | 34 |
|
29 | 35 | <build> |
|
67 | 73 | <plugin> |
68 | 74 | <groupId>org.apache.maven.plugins</groupId> |
69 | 75 | <artifactId>maven-compiler-plugin</artifactId> |
| 76 | + <version>3.8.1</version> |
70 | 77 | <configuration> |
71 | 78 | <source>11</source> |
72 | 79 | <target>11</target> |
| 80 | + <annotationProcessorPaths> |
| 81 | + <path> |
| 82 | + <groupId>com.google.dagger</groupId> |
| 83 | + <artifactId>dagger-compiler</artifactId> |
| 84 | + <version>2.29.1</version> |
| 85 | + </path> |
| 86 | + <path> |
| 87 | + <groupId>org.projectlombok</groupId> |
| 88 | + <artifactId>lombok</artifactId> |
| 89 | + <version>1.18.24</version> |
| 90 | + </path> |
| 91 | + <path> |
| 92 | + <groupId>com.google.auto.factory</groupId> |
| 93 | + <artifactId>auto-factory</artifactId> |
| 94 | + <version>1.0-beta8</version> |
| 95 | + </path> |
| 96 | + </annotationProcessorPaths> |
73 | 97 | </configuration> |
74 | 98 | </plugin> |
75 | 99 |
|
76 | 100 | <plugin> |
77 | | - <groupId>org.apache.maven.plugins</groupId> |
78 | | - <artifactId>maven-jar-plugin</artifactId> |
79 | | - <version>3.1.1</version> |
80 | | - </plugin> |
81 | | - <plugin> |
82 | | - <groupId>org.apache.maven.plugins</groupId> |
83 | | - <artifactId>maven-assembly-plugin</artifactId> |
84 | | - <version>3.1.1</version> |
| 101 | + <groupId>com.jolira</groupId> |
| 102 | + <artifactId>onejar-maven-plugin</artifactId> |
| 103 | + <version>1.4.4</version> |
| 104 | + <configuration> |
| 105 | + <mainClass>Main</mainClass> |
| 106 | + </configuration> |
| 107 | + <executions> |
| 108 | + <execution> |
| 109 | + <goals> |
| 110 | + <goal>one-jar</goal> |
| 111 | + </goals> |
| 112 | + </execution> |
| 113 | + </executions> |
85 | 114 | </plugin> |
86 | 115 |
|
87 | 116 | </plugins> |
88 | 117 |
|
89 | 118 | <pluginManagement> |
90 | 119 | <plugins> |
91 | | - <plugin> |
92 | | - <groupId>org.apache.maven.plugins</groupId> |
93 | | - <artifactId>maven-assembly-plugin</artifactId> |
94 | | - <version>3.1.1</version> |
95 | | - <configuration> |
96 | | - <descriptorRefs> |
97 | | - <descriptorRef>jar-with-dependencies</descriptorRef> |
98 | | - </descriptorRefs> |
99 | | - <archive> |
100 | | - <manifest> |
101 | | - <mainClass>Main</mainClass> |
102 | | - </manifest> |
103 | | - </archive> |
104 | | - </configuration> |
105 | | - <executions> |
106 | | - <execution> |
107 | | - <id>make-assembly</id> |
108 | | - <phase>package</phase> |
109 | | - <goals> |
110 | | - <goal>single</goal> |
111 | | - </goals> |
112 | | - </execution> |
113 | | - </executions> |
114 | | - </plugin> |
115 | 120 | <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
116 | 121 | <plugin> |
117 | 122 | <groupId>org.eclipse.m2e</groupId> |
|
0 commit comments