1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package com.googlecode.t7mp;
17
18
19
20
21
22
23
24 public class TomcatArtifact extends AbstractArtifact {
25
26 public static final String DEFAULT_TOMCAT_VERSION = "7.0.27";
27 public static final String TOMCAT_GROUPID = "com.googlecode.t7mp";
28 public static final String TOMCAT_ARTIFACTID = "tomcat";
29 public static final String TOMCAT_TYPE = "zip";
30
31 public TomcatArtifact() {
32 this(DEFAULT_TOMCAT_VERSION);
33 }
34
35 public TomcatArtifact(String version) {
36 super(TOMCAT_GROUPID, TOMCAT_ARTIFACTID, version, null, TOMCAT_TYPE);
37 }
38
39 @Override
40 public String getType() {
41 return "zip";
42 }
43
44 @Override
45 public String toString() {
46 return "TomcatArtifact[" + super.getArtifactCoordinates() + "]";
47 }
48
49 }