Well as long as you prepended the file based override with a property
like ${eclipse-home}/plugins/org.eclipse.core.resource_3.1.0. That
would prevent that. No?
I'm working on copying all the eclipse plugins to the repo, but its not
as easy as I thought. Let me know if I'm wrong but I can't just drop in
all the jars. I'm going to have to create the full folder structure for
each jar
like...
${repo}/eclipse-plugins/org.eclipse.core.resources/3.1.0/
Then do I have to include a .pom for each of those jars in that folder?
If I know my projects are only dependent on eclipse plugins which can't
be downloaded remotely, can I specify (1) that the given project be
built offline, (2) don't look for a .pom in the local repo?
Thanks.
Brett Porter wrote:
Yes, at the moment. This is necessary to avoid making a build
dependent on a particular user's environment (you may not install
eclipse in the same place as others trying to build the plugin).
I am actually investigating Eclipse's plugin build mechanism in
relation to OSGi and hope to make it easier to work with m2 in that
environment. I don't expect rapid progress, but I'm interested to hear
your thoughts.
- Brett
On 8/29/05, Sachin Patel <[EMAIL PROTECTED]> wrote:
So basically for M2 you are saying there is no way to specify a
dependency on a jar outside of the repo? In which case, all the eclipse
plugins I depend on must be copied from an eclipse installation into the
repo. Then the jars would need to be renamed to replace the underscore
with a "-". Are there any other alternatives?
Thanks again for all your help.
Brett Porter wrote:
No, m2 does not allow jar overrides. Version based overrides can be
achived by plugin <dependencyManagement>, and file based overrides
should be put into the repository.
- Brett
On 8/29/05, Sachin Patel <[EMAIL PROTECTED]> wrote:
Is the property maven.jar.override applicable for M2? If so how is it
specified? Through <properties> ? If so, it wasn't clear to me in the
documentation, nor could I find examples of <properties> being defined
in M2 POMs.
Is this the correct way to define them?
<properties>
<myprop>value</myprop>
</properties>
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]