gitgabrio opened a new issue, #1927:
URL: https://github.com/apache/incubator-kie-issues/issues/1927

   Relates to https://github.com/apache/incubator-kie-issues/issues/1926
   
   Scope of this ticket is to:
   
   1.  create a module that automatically download them from reference source, 
and package them inside a jar
   2. make all the modules that need those files depending on the above.
   
   Possible approach:
   
   Download files:
   1.  
[download-maven-plugin](https://github.com/download-maven-plugin/download-maven-plugin)
   2. maven-ant-run **
   3. other ?
   
   Refer xsd-bundle artifact:
   
   1. maven resources (as for kie-dmn-test-resources)
   2. [maven remote resources 
plugin](https://maven.apache.org/plugins/maven-remote-resources-plugin/examples/sharing-resources.html)
   3. other ?
   
   **
   ```xml
   <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-antrun-plugin</artifactId>
       <executions>
           <execution>
               <id>download-files</id>
               <phase>prepare-package</phase>
               <goals>
                   <goal>run</goal>
               </goals>
               <configuration>
                   <target>
                       <!-- download file -->
                       <get src="http://url/to/some/file";
                            dest="${project.build.directory}/downloads/"
                            verbose="false"
                            usetimestamp="true"/>
                    </target>
                </configuration>
            </execution>
        </executions>
    </plugin>
   ```
   
   
   
   


-- 
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]

Reply via email to