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
* limitations under the License.
*/
package org.springframework.data.elasticsearch.repositories;
package org.springframework.data.elasticsearch.repository.complex;
import org.junit.Before;
import org.junit.Test;

View File

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

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* 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.repository.ElasticsearchRepository;

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.data.elasticsearch.repositories;
package org.springframework.data.elasticsearch.repository.complex;
/**
* @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.data.elasticsearch.core.ElasticsearchTemplate;
import org.springframework.data.elasticsearch.repositories.ComplexElasticsearchRepositoryCustom;
/**
* @author Artur Konczak

View File

@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* 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.repository.ElasticsearchRepository;

View File

@ -13,10 +13,9 @@
* See the License for the specific language governing permissions and
* 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.repositories.ComplexElasticsearchRepositoryCustom;
/**
* @author Artur Konczak

View File

@ -13,9 +13,9 @@
</bean>
<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"/>
</bean>

View File

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