File tree Expand file tree Collapse file tree 2 files changed +31
-21
lines changed
Expand file tree Collapse file tree 2 files changed +31
-21
lines changed Original file line number Diff line number Diff line change 3333 timezoneMacos : " America/Sao_Paulo"
3434 timezoneWindows : " America/Sao_Paulo"
3535 - name : Criando executavel
36- run : mvn -B package --file pom.xml
36+ run : mvn -B package -Passembly - -file pom.xml
3737 - name : Criando pasta para Zip
3838 run : mkdir java-nfe && cp target/*.jar java-nfe && cp schemas.zip java-nfe
3939 - uses : montudor/action-zip@v1
Original file line number Diff line number Diff line change 4949 </developer >
5050 </developers >
5151
52+ <profiles >
53+ <profile >
54+ <id >assembly</id >
55+ <build >
56+ <plugins >
57+ <plugin >
58+ <groupId >org.apache.maven.plugins</groupId >
59+ <artifactId >maven-assembly-plugin</artifactId >
60+ <version >3.1.1</version >
61+ <configuration >
62+ <descriptorRefs >
63+ <descriptorRef >jar-with-dependencies</descriptorRef >
64+ </descriptorRefs >
65+ <appendAssemblyId >false</appendAssemblyId >
66+ </configuration >
67+ <executions >
68+ <execution >
69+ <id >make-assembly</id >
70+ <phase >package</phase >
71+ <goals >
72+ <goal >single</goal >
73+ </goals >
74+ </execution >
75+ </executions >
76+ </plugin >
77+ </plugins >
78+ </build >
79+ </profile >
80+ </profiles >
81+
5282 <dependencies >
5383 <!-- Certificado Utils -->
5484 <dependency >
197227 <localCheckout >true</localCheckout >
198228 </configuration >
199229 </plugin >
200- <plugin >
201- <groupId >org.apache.maven.plugins</groupId >
202- <artifactId >maven-assembly-plugin</artifactId >
203- <version >3.1.1</version >
204- <configuration >
205- <descriptorRefs >
206- <descriptorRef >jar-with-dependencies</descriptorRef >
207- </descriptorRefs >
208- <appendAssemblyId >false</appendAssemblyId >
209- </configuration >
210- <executions >
211- <execution >
212- <id >make-assembly</id >
213- <phase >package</phase >
214- <goals >
215- <goal >single</goal >
216- </goals >
217- </execution >
218- </executions >
219- </plugin >
220230 <plugin >
221231 <artifactId >maven-surefire-plugin</artifactId >
222232 <version >2.22.2</version >
You can’t perform that action at this time.
0 commit comments