[forge-issues] [JBoss JIRA] (ROASTER-12) Shade the JDT dependencies into Roaster-JDT

Walter Medvedeo (JIRA) issues at jboss.org
Tue May 6 12:35:58 EDT 2014


    [ https://issues.jboss.org/browse/ROASTER-12?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12965900#comment-12965900 ] 

Walter Medvedeo commented on ROASTER-12:
----------------------------------------

The following change was done to the shade configuration in order to not shade the "org.eclipse.jdt.core.prefs" file name in the Formater class.

                     <filters>
                        <filter>
                           <artifact>*:*</artifact>
                           <excludes>
                              <exclude>META-INF/*.SF</exclude>
                              <exclude>META-INF/*.DSA</exclude>
                              <exclude>META-INF/*.RSA</exclude>
                           </excludes>
                        </filter>
                     </filters>

                     <relocations>
                        <relocation>
                           <pattern>org.eclipse</pattern>
                           <shadedPattern>org.jboss.forge.roaster._shade.org.eclipse</shadedPattern>
                           <excludes>
                              <exclude>org.eclipse.jdt.core.prefs</exclude>
                           </excludes>
                        </relocation>
                        <relocation>
                           <pattern>org.osgi</pattern>
                           <shadedPattern>org.jboss.forge.roaster._shade.org.osgi</shadedPattern>
                        </relocation>
                     </relocations>


> Shade the JDT dependencies into Roaster-JDT
> -------------------------------------------
>
>                 Key: ROASTER-12
>                 URL: https://issues.jboss.org/browse/ROASTER-12
>             Project: Roaster
>          Issue Type: Feature Request
>          Components: JDT
>    Affects Versions: 2.3.0.Final
>            Reporter: George Gastaldi
>            Assignee: Lincoln Baxter III
>             Fix For: 2.3.1.Final
>
>
> The current JDT version used conflicts with ECJ in Drools. We should shade the JDT classes since we don't expect people to use them directly with Roaster.



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the forge-issues mailing list