Skip to content

Commit

Permalink
WFLY-5313 Introduce a lucene-internal module to package the lucene-mi…
Browse files Browse the repository at this point in the history
…sc library which shall never be exposed
  • Loading branch information
Sanne committed Sep 9, 2015
1 parent 094eaf5 commit f55f793
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 0 deletions.
8 changes: 8 additions & 0 deletions feature-pack/pom.xml
Expand Up @@ -1731,6 +1731,14 @@
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-queries</artifactId>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-misc</artifactId>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-backward-codecs</artifactId>
</dependency>

<dependency>
<groupId>org.apache.neethi</groupId>
Expand Down
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
~ JBoss, Home of Professional Open Source.
~ Copyright 2015, Red Hat, Inc., and individual contributors
~ as indicated by the @author tags. See the copyright.txt file in the
~ distribution for a full listing of individual contributors.
~
~ This is free software; you can redistribute it and/or modify it
~ under the terms of the GNU Lesser General Public License as
~ published by the Free Software Foundation; either version 2.1 of
~ the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this software; if not, write to the Free
~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-->

<module xmlns="urn:jboss:module:1.3" name="org.apache.lucene.internal">
<properties>
<property name="jboss.api" value="private"/>
</properties>

<resources>
<artifact name="${org.apache.lucene:lucene-misc}"/>
<artifact name="${org.apache.lucene:lucene-backward-codecs}"/>
</resources>

<dependencies>
<module name="javax.api"/>
<module name="org.apache.lucene"/>
</dependencies>
</module>
Expand Up @@ -37,5 +37,6 @@

<dependencies>
<module name="javax.api"/>
<module name="org.apache.lucene.internal" optional="true" services="import"/>
</dependencies>
</module>
Expand Up @@ -37,6 +37,7 @@
<module name="javax.transaction.api"/>
<module name="org.hibernate.commons-annotations"/>
<module name="org.apache.lucene" export="true"/>
<module name="org.apache.lucene.internal"/>
<module name="org.jboss.logging"/>

<!-- optional JMS backend support -->
Expand Down
10 changes: 10 additions & 0 deletions pom.xml
Expand Up @@ -3421,6 +3421,16 @@
<artifactId>lucene-queries</artifactId>
<version>${version.org.apache.lucene}</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-misc</artifactId>
<version>${version.org.apache.lucene}</version>
</dependency>
<dependency>
<groupId>org.apache.lucene</groupId>
<artifactId>lucene-backward-codecs</artifactId>
<version>${version.org.apache.lucene}</version>
</dependency>

<dependency>
<groupId>org.apache.myfaces.core</groupId>
Expand Down

0 comments on commit f55f793

Please sign in to comment.