The dependency is added with "provided" scope and MANIFEST is identical in both 
scenarios. That MANIFEST entry that I mentioned is required for weblogic to 
make the connection between A and B.

-----Original Message-----
From: Wayne Fay
Sent: July-11-12 11:13 AM
To: Maven Users List
Subject: Re: Dependency entry changes runtime

> Runtime environment is a "Weblogic 10.3.3" in which "B" is registered as an 
> Optional Package (Library) and there is an extension entry in A's MANIFEST 
> that refers to it (that's how A finds B in runtime).
>
> I compared A's JAR file in both scenarios and I don't see any difference 
> whatsoever except the POM file within the Maven directory, which as far as I 
> understand, doesn't have any effect on runtime.
>
> Why would the dependency entry change runtime behavior?

Didn't you already answer your own question? The answer is the MANIFEST entry. 
If you check, the MANIFEST entry will (should) only appear when the dependency 
is added with runtime scope.

Wayne

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

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

Reply via email to