Frequently Asked Questions
- How can I specify a Class-Path: entry in the manifest of an EJB JAR?
-
You just have to configure it:
Please see the Maven Archiver Reference for more information about controlling the exact format of the generated class path entries.<project> ... <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-ejb-plugin</artifactId> <version>3.2.1</version> ... <configuration> <archive> <manifest> <addClasspath>true</addClasspath> </manifest> </archive> </configuration> ... </plugin> </plugins> </build> ... </project>
- How does the classifier affect artifacts in my EJB project?
-
When used, the copy of the artifact in your project will have the classifier appended to its filename. This can be used to differentiate multiple artifacts.