[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [pde-build-dev] Eclipse bundles on the Maven repository
|
On 6/12/06, Wendell Beckwith <wbeckwith@xxxxxxxxx> wrote:
For repository resolving I'm thinking of something like
<plugin>
<groupId>org.eclipse.pde.maven.plugins</groupId>
<artifactId>maven-eclipsecompiler-plugin</artifactId>
<configuration>
<!-- ... other config parameters here ... -->
...
<!-- The repository group to compile against. -->
<eclipseTarget>org.eclipse.platform:org.eclipse.platform:3.2
</eclipseTarget>
</configuration>
</plugin>
The <eclipseTarget> element in the format of
"<groupId>:<artifactId>:<version>" would map to the url
http://www.mycompany.com/maven2/org/eclipse/platform/org.eclipse.platform/3.2/org.eclipse.platform-3.2.repo-group.
The contents of the group file would list the members of the group which
can be found elsewhere in the repository. Maven already supports loading
from multiple repos so if a dependency isn't met in one repo it will try the
others until met or an exception is thrown.
<repositoryGroup>
<dependency>
<groupId>org.eclipse.core.runtime</groupId>
<artifactId>org.eclipse.core.runtime</artifactId>
<version> 3.2</version>
</dependency>
...
<dependency>
<groupId>org.eclipse.core.resources</groupId>
<artifactId>org.eclipse.core.resources</artifactId>
<version>3.2.1</version>
</dependency>
</repositoryGroup>
Wouldn't that be the same as a POM of type pom with these same dependencies ?
Tom
Additional information such as the exports from an artifact could be added
to each dependency in a repositoryGroup or to their respective poms. This
would allow the compiler to know who provides what packages without taking
the time to open the jars.
Wb
_______________________________________________
pde-build-dev mailing list
pde-build-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-build-dev