Bug 828799 - Hibernate Search: Profile -DenableTesting is missing modules
Hibernate Search: Profile -DenableTesting is missing modules
Product: JBoss Enterprise WFK Platform 2
Classification: JBoss
Component: HibernateSearch (Show other bugs)
Unspecified Unspecified
medium Severity medium
: ---
: ---
Assigned To: Strong Liu
Karel Piwko
Depends On:
  Show dependency treegraph
Reported: 2012-06-05 07:53 EDT by Karel Piwko
Modified: 2013-12-02 18:55 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-05 09:54:35 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Karel Piwko 2012-06-05 07:53:26 EDT
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]   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] 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] 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 09:54:35 EDT
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.