So I guess the question is, how then can you get a jar file, which is not
installed in any repository, onto the compile classpath then into your
ear/war file?


Wayne Fay wrote:
> 
>> Hi Wayne.  I have my build working fine, it's just not including the
>> system
>> scoped jars in my war's WEB-INF/lib directory.  It seems the system scope
>> does not include them.  Any idea how I can get them into the resulting
>> artifact?
> 
> This is exactly how system scope is supposed to work -- it means "this
> artifact will be provided by the system" therefore Maven does not
> include them in packages it builds.
> 
> Add the artifacts to your corporate repo/local repo cache, and change
> scope to "compile" if you need them included.
> 
> As I've said before in this thread, do NOT use system scope.
> 
> Wayne
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/File-system-repo-tp26271810p26599512.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to