[MGNLEE-388] Cargo: replace uses of zipUrlInstaller by artifactInstaller Created: 04/May/15 Updated: 01/Jul/15 Resolved: 04/May/15 |
|
| Status: | Closed |
| Project: | Magnolia DX Core |
| Component/s: | build / bundling |
| Affects Version/s: | None |
| Fix Version/s: | 4.5.25, 5.2.12, 5.3.9 |
| Type: | Task | Priority: | Neutral |
| Reporter: | Magnolia International | Assignee: | Magnolia International |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | testing | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoR: |
Empty
|
||||||||||||
| Description |
|
In the configuration of the cargo plugin, we can <zipUrlInstaller>
<url>http://dist.codehaus.org/jetty/jetty-6.1.22/jetty-6.1.22.zip</url>
<installDir>${basedir}/tmp/cargo-install</installDir>
</zipUrlInstaller>
by this: <artifactInstaller> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty</artifactId> <classifier>bundle</classifier> <version>6.1.26</version> </artifactInstaller> This might require some research to find the correct artifacts, but it seems recent containers have an artifact available. 2) Replace or remove this: <home>${basedir}/tmp/cargo-home</home>. Defaults to ${project.build.directory}/cargo/configurations/${containerId}, which is just as well. Benefits:
|