[
https://issues.jboss.org/browse/JBRULES-2901?page=com.atlassian.jira.plug...
]
Geoffrey De Smet commented on JBRULES-2901:
-------------------------------------------
This is the hack we have in the pom, which writes the dependencies to the lib dir:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<!-- TODO if the lib directory is empty tycho crashes because it does dep
resolving before this phase -->
<phase>generate-resources</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>lib</outputDirectory>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<stripVersion>true</stripVersion>
<includeScope>test</includeScope>
</configuration>
</execution>
</executions>
</plugin>
Than the osgi manifest includes those lib dirs.
Eclipse plugins: First build should not fail - Tycho must not be used
with Bundle-ClassPath in MANIFEST.MF and lib hack
-----------------------------------------------------------------------------------------------------------------------
Key: JBRULES-2901
URL:
https://issues.jboss.org/browse/JBRULES-2901
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Geoffrey De Smet
Assignee: Geoffrey De Smet
Currently, you have to build it 3 times before it builds succesfully.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira