Stuart McCulloch wrote:
2008/9/16 Sahoo <[EMAIL PROTECTED]>

I had sent this email to maven forum, but I think I may be able to get some
tips from felix forum as well because I am using maven-bundle-plugin. I must
say I am surprised as to how this is happening when I am using manifest goal
of bundle plugin. Any help is much appreciated.


another quick question - when this problem occurs, do the javax.servlet
classes also appear in the project's "target/classes" directory?
I just now saw another such build in our build m/c. Yes, I do see javax.servlet classes in target/classes dir of javax.security.jacc project. Unfortunately, the build system is a high end system, so all files in target/classes have same timestamp (upto seconds granularity).

More over, contrary to what I said earlier, I see this problem on other OS as well. This time, I saw it on a Linux box.
 if so then
the problem may lie somewhere else in the build (ie. classes somehow getting
copied into this directory earlier on and just happened to be picked up by
the jar-plugin which just jars whatever happens to be inside
"target/classes") rather than in the jar-plugin

Yes, maven-jar-plugin is kind of ruled out. The two other plugins that are likely to create those files are maven-compiler-plugin and maven-bundle-plugin. Looking at the log, I see maven-compiler-plugin says it is compiling 13 source files, which is same as number of .java in that project. Why would javac compile dependencies when they are in the classpath? So, that leaves us with maven-bundle-plugin. We call manifest goal, so I am clueless. Could it be a bug in bundle plugin? Even though we are calling manifest goal, it is still pulling in the dependencies? I will try running a Solaris dtrace script to monitor file I/O and dump java stack when that files get written out to find who exactly writes them. In the mean while, if you have any suggestions, please provide them.

Thanks,
Sahoo

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to