gitgabrio commented on code in PR #6311:
URL:
https://github.com/apache/incubator-kie-drools/pull/6311#discussion_r2054056988
##########
kie-dmn/kie-dmn-backend/pom.xml:
##########
@@ -87,9 +91,59 @@
<artifactId>logback-classic</artifactId>
<scope>test</scope>
</dependency>
-
-
</dependencies>
+
+ <build>
+ <plugins>
+ <!-- Unpack XSD resources from org.kie:kie-dmn-xsd-resources -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.kie</groupId>
+ <artifactId>kie-dmn-xsd-resources</artifactId>
+ <version>${project.version}</version>
+ <type>jar</type>
+ <overWrite>true</overWrite>
+
<outputDirectory>${project.build.directory}/test-classes/</outputDirectory>
Review Comment:
@yesamer
Nope. `src/` and ` resources/` folders are "_**sources**_" folder. When the
module is compiled, their content ends in _target/classes_ or
_target/test-classes_.
I usually do not like to dinamically create/write files inside "sources"
folder, and that's why I put them directly under target.
Does this make sense ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]