I'm building inside javax.ejb via 'mvn clean install'
thanks,
-marina
Stuart McCulloch wrote:
2008/10/8 Marina Vatkina <[EMAIL PROTECTED]>
Stuart McCulloch wrote:
2008/10/8 Marina Vatkina <[EMAIL PROTECTED]>
Unfortunately I don't see any difference if I add <manifestLocation>
entry
:(.
hmm... this pom is from GlassFish isn't it? (it looks like it)
It is. I put the line inside <instructions>... but after I changed it as in
your example below, I got:
[INFO] [jar:jar]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error assembling JAR
Embedded error: Manifest file:
/export/v3/v3/ejb/javax.ejb/target/classes/META-INF/MANIFEST.MF does not
exist.
Something else is not right?
do you have any other local changes and have you rebuilt from the root
folder?
when I grab the latest GlassFish code via svn and apply just the following
patch
the full build completes successfully and the ejb bundle has the correct
manifest
regardless of whether I use Maven 2.0.7 or 2.0.9
(if you've previously modified and installed the parent poms you may need to
revert those changes and re-install them... otherwise Maven could pick up
the
installed version in the local repo instead of the updated pom in the build
tree)
Index: ejb/javax.ejb/pom.xml
===================================================================
--- ejb/javax.ejb/pom.xml (revision 23273)
+++ ejb/javax.ejb/pom.xml (working copy)
@@ -86,6 +86,7 @@
some other jar and other modules depend on this
artifact, we need to unpack.
-->
+
<manifestLocation>${pom.build.directory}</manifestLocation>
<unpackBundle>true</unpackBundle>
</configuration>
<executions>
thanks,
-marina
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]