|
46 | 46 | <groupId>org.aesh</groupId>
|
47 | 47 | <artifactId>aesh</artifactId>
|
48 | 48 | <version>${aesh.version}</version>
|
49 |
| - </dependency> |
| 49 | + </dependency> |
50 | 50 | </dependencies>
|
51 | 51 |
|
52 | 52 | <build>
|
|
76 | 76 | </execution>
|
77 | 77 | </executions>
|
78 | 78 | </plugin>
|
79 |
| - <!-- |
80 |
| - <plugin> |
81 |
| - <groupId>org.apache.maven.plugins</groupId> |
82 |
| - <artifactId>maven-shade-plugin</artifactId> |
83 |
| - <version>${shade-plugin.version}</version> |
84 |
| - <executions> |
85 |
| - <execution> |
86 |
| - <phase>package</phase> |
87 |
| - <goals> |
88 |
| - <goal>shade</goal> |
89 |
| - </goals> |
90 |
| - <configuration> |
91 |
| - <artifactSet> |
92 |
| - <excludes> |
93 |
| - <exclude>org.fusesource.jansi:jansi</exclude> |
94 |
| - <exclude>org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-depchain</exclude> |
95 |
| - <exclude>junit:junit</exclude> |
96 |
| - </excludes> |
97 |
| - </artifactSet> |
98 |
| - </configuration> |
99 |
| - </execution> |
100 |
| - </executions> |
101 |
| - </plugin> |
102 |
| - --> |
103 | 79 | </plugins>
|
104 | 80 | </build>
|
105 | 81 |
|
106 | 82 | <profiles>
|
107 |
| - <profile> |
108 |
| - <id>prepare</id> |
109 |
| - <activation> |
110 |
| - <property> |
111 |
| - <name>prepare</name> |
112 |
| - </property> |
113 |
| - </activation> |
114 |
| - <build> |
115 |
| - <plugins> |
116 |
| - <plugin> |
117 |
| - <groupId>org.codehaus.mojo</groupId> |
118 |
| - <artifactId>exec-maven-plugin</artifactId> |
119 |
| - <version>1.6.0</version> |
120 |
| - <executions> |
121 |
| - <execution> |
122 |
| - <id>copy</id> |
123 |
| - <phase>package</phase> |
124 |
| - <goals> |
125 |
| - <goal>exec</goal> |
126 |
| - </goals> |
127 |
| - </execution> |
128 |
| - </executions> |
129 |
| - <configuration> |
130 |
| - <executable>java</executable> |
131 |
| - <workingDirectory>target</workingDirectory> |
132 |
| - <arguments> |
133 |
| - <argument>-cp</argument> |
134 |
| - <classpath/> |
135 |
| - <argument>org.aesh.util.GraalReflectionGenerator</argument> |
136 |
| - <argument>org.acme.runtime.NativeCommand</argument> |
137 |
| - </arguments> |
138 |
| - </configuration> |
139 |
| - </plugin> |
140 |
| - </plugins> |
141 |
| - </build> |
142 |
| - </profile> |
143 |
| - |
144 | 83 | <profile>
|
145 | 84 | <id>native</id>
|
146 |
| - <activation> |
147 |
| - <property> |
148 |
| - <name>native</name> |
149 |
| - </property> |
150 |
| - </activation> |
151 | 85 | <build>
|
152 | 86 | <plugins>
|
153 | 87 | <plugin>
|
|
179 | 113 | <goals>
|
180 | 114 | <goal>exec</goal>
|
181 | 115 | </goals>
|
| 116 | + <configuration> |
| 117 | + <executable>java</executable> |
| 118 | + <workingDirectory>target</workingDirectory> |
| 119 | + <arguments> |
| 120 | + <argument>-cp</argument> |
| 121 | + <classpath/> |
| 122 | + <argument>org.aesh.util.GraalReflectionGenerator</argument> |
| 123 | + <argument>org.acme.runtime.NativeCommand</argument> |
| 124 | + </arguments> |
| 125 | + </configuration> |
| 126 | + </execution> |
| 127 | + <execution> |
| 128 | + <id>native</id> |
| 129 | + <phase>package</phase> |
| 130 | + <goals> |
| 131 | + <goal>exec</goal> |
| 132 | + </goals> |
| 133 | + <configuration> |
| 134 | + <executable>${env.GRAALVM_HOME}/bin/native-image</executable> |
| 135 | + <workingDirectory>target</workingDirectory> |
| 136 | + <arguments> |
| 137 | + <argument>--verbose</argument> |
| 138 | + <argument>-H:+ReportUnsupportedElementsAtRuntime</argument> |
| 139 | + <argument>-H:ReflectionConfigurationFiles=native_reflection.json</argument> |
| 140 | + <argument>-jar</argument> |
| 141 | + <argument>${project.build.finalName}.jar</argument> |
| 142 | + </arguments> |
| 143 | + </configuration> |
182 | 144 | </execution>
|
183 | 145 | </executions>
|
184 |
| - <configuration> |
185 |
| - <executable>${env.GRAALVM_HOME}/bin/native-image</executable> |
186 |
| - <workingDirectory>target</workingDirectory> |
187 |
| - <arguments> |
188 |
| - <argument>--verbose</argument> |
189 |
| - <argument>-H:+ReportUnsupportedElementsAtRuntime</argument> |
190 |
| - <argument>-H:ReflectionConfigurationFiles=native_reflection.json</argument> |
191 |
| - <argument>-jar</argument> |
192 |
| - <argument>${project.build.finalName}.jar</argument> |
193 |
| - </arguments> |
194 |
| - </configuration> |
195 | 146 | </plugin>
|
196 | 147 | </plugins>
|
197 | 148 | </build>
|
198 | 149 | </profile>
|
199 | 150 | </profiles>
|
200 | 151 |
|
201 |
| - |
202 |
| - |
203 |
| - |
204 | 152 | </project>
|
0 commit comments