Hello, I'm forwarding this message originally sent to users@maven that received no response. Perhaps dev@commons is more appropriate.
---------- Forwarded message ---------- To: [email protected] Hello, We have adapted the Commons parent pom (and by extension the Apache parent pom) with some changes for our internal parent pom. We are running into an issue with a combination of maven release plugin + maven bundle plugin + maven jar plugin for pom packaging projects. Is this the right mailing list for this question? E.g. $ mvn -Prelease install [INFO] ------------------------------------------------------------------------ [INFO] Building parent 1-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-bundle-plugin:2.3.7:manifest (bundle-manifest) @ parent --- [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle] [INFO] [INFO] >>> maven-source-plugin:2.1.2:jar (create-source-jar) @ parent >>> [INFO] [INFO] <<< maven-source-plugin:2.1.2:jar (create-source-jar) @ parent <<< [INFO] [INFO] --- maven-source-plugin:2.1.2:jar (create-source-jar) @ parent --- [INFO] [INFO] >>> maven-source-plugin:2.1.2:test-jar (create-source-jar) @ parent >>> [INFO] [INFO] <<< maven-source-plugin:2.1.2:test-jar (create-source-jar) @ parent <<< [INFO] [INFO] --- maven-source-plugin:2.1.2:test-jar (create-source-jar) @ parent --- [INFO] [INFO] --- maven-jar-plugin:2.4:test-jar (default) @ parent --- [WARNING] JAR will be empty - no content was marked for inclusion! [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jar-plugin:2.4:test-jar (default) on project parent: Error assembling JAR: Manifest file: /xxx/parent/target/osgi/MANIFEST.MF does not exist. -> [Help 1] First, source and test jars shouldn't be created for a pom packaging project, and second, the jar plugin shouldn't fail if the manifest generated by the bundle plugin isn't present. michael --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
