DATAES-35 - Investigate why build failed

EnableElasticsearchRepositoriesTests.bootstrapsRepository() was failing due to scanning entire org.springframework.data.elasticsearch.repositories package.

Moved ComplexRepositoryTests to another package due to which test was failing.
This commit is contained in:
mohsin.husen 2014-02-08 10:57:49 +00:00
parent 00ffc4a68e
commit f768c1698e
9 changed files with 10 additions and 12 deletions

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.data.elasticsearch.repositories; package org.springframework.data.elasticsearch.repository.complex;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.data.elasticsearch.repositories; package org.springframework.data.elasticsearch.repository.complex;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.data.elasticsearch.repositories; package org.springframework.data.elasticsearch.repository.complex;
import org.springframework.data.elasticsearch.SampleEntity; import org.springframework.data.elasticsearch.SampleEntity;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.data.elasticsearch.repositories; package org.springframework.data.elasticsearch.repository.complex;
/** /**
* @author Artur Konczak * @author Artur Konczak

View File

@ -1,8 +1,7 @@
package org.springframework.data.elasticsearch.repositories.impl; package org.springframework.data.elasticsearch.repository.complex;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.elasticsearch.core.ElasticsearchTemplate; import org.springframework.data.elasticsearch.core.ElasticsearchTemplate;
import org.springframework.data.elasticsearch.repositories.ComplexElasticsearchRepositoryCustom;
/** /**
* @author Artur Konczak * @author Artur Konczak

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.data.elasticsearch.repositories; package org.springframework.data.elasticsearch.repository.complex;
import org.springframework.data.elasticsearch.SampleEntity; import org.springframework.data.elasticsearch.SampleEntity;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

View File

@ -13,10 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
*/ */
package org.springframework.data.elasticsearch.repositories.impl; package org.springframework.data.elasticsearch.repository.complex;
import org.springframework.data.elasticsearch.core.ElasticsearchTemplate; import org.springframework.data.elasticsearch.core.ElasticsearchTemplate;
import org.springframework.data.elasticsearch.repositories.ComplexElasticsearchRepositoryCustom;
/** /**
* @author Artur Konczak * @author Artur Konczak

View File

@ -13,9 +13,9 @@
</bean> </bean>
<elasticsearch:repositories <elasticsearch:repositories
base-package="org.springframework.data.elasticsearch.repositories" /> base-package="org.springframework.data.elasticsearch.repository.complex" />
<bean id="complexElasticsearchRepositoryManualWiringImpl" class="org.springframework.data.elasticsearch.repositories.impl.ComplexElasticsearchRepositoryManualWiringImpl"> <bean id="complexElasticsearchRepositoryManualWiringImpl" class="org.springframework.data.elasticsearch.repository.complex.ComplexElasticsearchRepositoryManualWiringImpl">
<property name="template" ref="elasticsearchTemplate"/> <property name="template" ref="elasticsearchTemplate"/>
</bean> </bean>

View File

@ -13,6 +13,6 @@
</bean> </bean>
<elasticsearch:repositories <elasticsearch:repositories
base-package="org.springframework.data.elasticsearch.repositories" /> base-package="org.springframework.data.elasticsearch.repository.complex" />
</beans> </beans>