Bug 828799 - Hibernate Search: Profile -DenableTesting is missing modules
Summary: Hibernate Search: Profile -DenableTesting is missing modules
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: HibernateSearch
Version: 2.0.0.ER7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Strong Liu
QA Contact: Karel Piwko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-05 11:53 UTC by Karel Piwko
Modified: 2013-12-02 23:55 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-05 13:54:35 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karel Piwko 2012-06-05 11:53:26 UTC
Description of problem:

Hibernate Search was modified to enable easier testing by including -DenableTesting property activated profile.

However, modules for this profiles are missing altogether.
Could they be returned back?

e.g. now it fails with:

/opt/apache-maven-3.0.3/bin/mvn -s /home/kpiwko/devel/wfk/wfk-tools/settings.xml clean verify -DenableTesting=true
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.hibernate:hibernate-search-parent:4.1.1.Final-redhat-1 (/home/kpiwko/temp/jboss-wfk-2.0.0.ER7/src/hibernate-search-4.1.1.Final-redhat-1/pom.xml) has 2 errors
[ERROR]     Child module /home/kpiwko/temp/jboss-wfk-2.0.0.ER7/src/hibernate-search-4.1.1.Final-redhat-1/hibernate-search-integrationtest of /home/kpiwko/temp/jboss-wfk-2.0.0.ER7/src/hibernate-search-4.1.1.Final-redhat-1/pom.xml does not exist
[ERROR]     Child module /home/kpiwko/temp/jboss-wfk-2.0.0.ER7/src/hibernate-search-4.1.1.Final-redhat-1/hibernate-search-testing of /home/kpiwko/temp/jboss-wfk-2.0.0.ER7/src/hibernate-search-4.1.1.Final-redhat-1/pom.xml does not exist
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException

Comment 1 Strong Liu 2012-06-05 13:54:35 UTC
NO, we don't ship testing code.

the test profile was designed to be used with source check out from internal git repo, not the source distribution.


Note You need to log in before you can comment on or make changes to this bug.