-
Type: Bug
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: 6.0
-
Fix Version/s: Postponed
-
Tags:
-
Sprint:Sprint RepoTeam 7.1-1
nuxeo-platform-directory-ldap provides a test jar nuxeo-platform-directory-ldap-test.
However, because of a bad pom configuration, the generated test jar holds the manufest from the "regular" jar.
This result in the test jar not being usable since when both jars are inside the class path, the test-jar may be deployed instead of the implementation one : as a result, there is no LDAP directory in the test feature
Example of NXRuntime setup trying to deploy the test jar instead of the regular one :
main 10:07:07,414 ERROR [OSGiRuntimeService] Unknown component 'OSGI-INF/LDAPDirectoryFactory.xml' referenced by bundle 'org.nuxeo.ecm.directory.ldap'. Check the MANIFEST.MF main 10:07:07,414 ERROR [Framework] main 10:07:07,414 ERROR [OSGiRuntimeService] Unknown component 'OSGI-INF/management-contrib.xml' referenced by bundle 'org.nuxeo.ecm.directory.ldap'. Check the MANIFEST.MF main 10:07:07,414 ERROR [Framework]
pom must be reviewed so that the test jar include a test manifest.
<configuration> <archive> <manifestFile>src/test/resources/META-INF/MANIFEST.MF</manifestFile> </archive> </configuration>
- is duplicated by
-
NXP-15829 Fix LDAP directory test JAR
- Resolved