You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by dermoritz <ta...@hotmail.com> on 2011/01/10 13:27:52 UTC

build assemblies with overlapping resources

i stumbled across the problem, that assembly-plugin can't handle overlapping
resources very well. in my case i tried to build an project depending on
emf(wiki.eclipse.org/index.php/EMF-FAQ#How_d..._ordinary_main.29.3F)
the problem is, each jar-File includes a "plugin.properties"-file which will
be overwritten by assembly plugin.
googling around yields "one-jar-plugin is what you need" but this isn't
working either. in fact it yields the same error - a missing resource
("_UI_DiagnosticRoot_diagnostic = Diagnosis of {0}"). the only difference
is, building it with assembly this resource is really missing (the jar only
has one plugin.properties without "_UI_DiagnosticRoot_diagnostic"). building
it with one-jar, i got a jar including all needed jars but it seems they are
not resolved correctly.

so how to get it working with one-jar. or how to get a clue why it is not
working?

(at the moment i use shade-plugin to solve this problem, this is working -
it simply merges all plugin.properties in one big file. but i can't ensure
that mering property files don't overwrites resources within this files) 
-- 
View this message in context: http://maven.40175.n5.nabble.com/build-assemblies-with-overlapping-resources-tp3334759p3334759.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org