| | |
| | | */
|
| | | public class Build {
|
| | |
|
| | | /**
|
| | | * BuildType enumeration representing compile-time or runtime. This is used
|
| | | * to download dependencies either for Gitblit GO runtime or for setting up
|
| | | * a development environment.
|
| | | */
|
| | | public static enum BuildType {
|
| | | RUNTIME, COMPILETIME;
|
| | | }
|
| | |
| | | System.out.print("] " + url);
|
| | | }
|
| | |
|
| | | /**
|
| | | * MavenObject represents a complete maven artifact (binary, sources, and
|
| | | * javadoc). MavenObjects can be downloaded and checksummed to confirm
|
| | | * authenticity.
|
| | | */
|
| | | private static class MavenObject {
|
| | |
|
| | | public static final MavenObject JCOMMANDER = new MavenObject("jCommander", "com/beust",
|
| | |
| | | "c7adc475ca40c288c93054e0f4fe58f3a98c0cb5");
|
| | |
|
| | | public static final MavenObject JETTY = new MavenObject("Jetty",
|
| | | "org/eclipse/jetty/aggregate", "jetty-webapp", "7.4.2.v20110526", 1000000, 680000,
|
| | | 2720000, "56331143afa22d24d9faba96e86e6371b0686c7c",
|
| | | "9f38230fd589e29c8be0fc3c80fb51c5093c2e1e",
|
| | | "0d48212889c25252c5c14bef62703e28215d80cc");
|
| | | "org/eclipse/jetty/aggregate", "jetty-webapp", "7.4.3.v20110701", 1000000, 680000,
|
| | | 2720000, "bde072b178f9650e2308f0babe58a4baaa469e3c",
|
| | | "bc75f05dd4f7fa848720ac669b8b438ee4a6b146",
|
| | | "dcd42f672e734521d1a6ccc0c2f9ecded1a1a281");
|
| | |
|
| | | public static final MavenObject SERVLET = new MavenObject("Servlet 2.5", "javax/servlet",
|
| | | "servlet-api", "2.5", 105000, 158000, 0,
|