@@ -47,185 +47,45 @@ public class FeaturesMojo extends AbstractMojo {
4747
4848 @ Parameter (property = "projectId" , required = true )
4949 private String projectId ;
50-
51- @ Parameter (property = "runName" )
52- private String runName ;
5350 @ Parameter (property = "tags" )
5451 private String tags ;
5552 @ Parameter (property = "outputFolder" )
5653 private String outputFolder ;
57- @ Parameter (property = "jsonReportFolder" )
58- private String jsonReportFolder ;
59- @ Parameter (property = "jsonReportIncludePattern" )
60- private String jsonReportIncludePattern ;
6154 @ Parameter (property = "proxyURI" )
6255 private String proxyURI ;
6356 @ Parameter (property = "proxyUsername" )
64-
6557 private String proxyUsername ;
6658 @ Parameter (property = "proxyPassword" )
6759 private String proxyPassword ;
6860 @ Parameter (property = "mode" , defaultValue = "automated" )
6961 private String mode ;
7062 @ Parameter (property = "jql" )
7163 private String jql ;
72- @ Parameter (property = "type" )
73- private String type ;
7464 @ Parameter (property = "jiraServerUrl" )
7565 private String jiraServerUrl ;
76-
77- @ Parameter (property = "numbered" )
78- private boolean numbered ;
79-
80- public boolean isNumbered () {
81- return numbered ;
82- }
83-
84- public void setNumbered (boolean numbered ) {
85- this .numbered = numbered ;
86- }
87-
88- public String getTags () {
89- return tags ;
90- }
91-
92- public void setTags (String tags ) {
93- this .tags = tags ;
94- }
95-
96- public String getJiraServerUrl () {
97- return jiraServerUrl ;
98- }
99-
100- public void setJiraServerUrl (String jiraServerUrl ) {
101- this .jiraServerUrl = jiraServerUrl ;
102- }
103-
104- public String getType () {
105- return type ;
106- }
107-
108- public void setType (String type ) {
109- this .type = type ;
110- }
111-
112- public String getMode () {
113- return mode ;
114- }
115-
116- public void setMode (String mode ) {
117- this .mode = mode ;
118- }
119-
120- public String getJql () {
121- return jql ;
122- }
123-
124- public void setJql (String jql ) {
125- this .jql = jql ;
126- }
127-
128- public String getAccessKey () {
129- return accessKey ;
130- }
131-
132- public void setAccessKey (String accessKey ) {
133- this .accessKey = accessKey ;
134- }
135-
136- public String getSecretKey () {
137- return secretKey ;
138- }
139-
140- public void setSecretKey (String secretKey ) {
141- this .secretKey = secretKey ;
142- }
143-
144- public String getProjectId () {
145- return projectId ;
146- }
147-
148- public void setProjectId (String projectId ) {
149- this .projectId = projectId ;
150- }
151-
152- public String getRunName () {
153- return runName ;
154- }
155-
156- public void setRunName (String runName ) {
157- this .runName = runName ;
158- }
159-
160- public String getOutputFolder () {
161- return outputFolder ;
162- }
163-
164- public void setOutputFolder (String outputFolder ) {
165- this .outputFolder = outputFolder ;
166- }
167-
168- public String getJsonReportFolder () {
169- return jsonReportFolder ;
170- }
171-
172- public void setJsonReportFolder (String jsonReportFolder ) {
173- this .jsonReportFolder = jsonReportFolder ;
174- }
175-
176- public String getJsonReportIncludePattern () {
177- return jsonReportIncludePattern ;
178- }
179-
180- public void setJsonReportIncludePattern (String jsonReportIncludePattern ) {
181- this .jsonReportIncludePattern = jsonReportIncludePattern ;
182- }
183-
184- public String getProxyURI () {
185- return proxyURI ;
186- }
187-
188- public void setProxyURI (String proxyURI ) {
189- this .proxyURI = proxyURI ;
190- }
191-
192- public String getProxyUsername () {
193- return proxyUsername ;
194- }
195-
196- public void setProxyUsername (String proxyUsername ) {
197- this .proxyUsername = proxyUsername ;
198- }
199-
200- public String getProxyPassword () {
201- return proxyPassword ;
202- }
203-
204- public void setProxyPassword (String proxyPassword ) {
205- this .proxyPassword = proxyPassword ;
206- }
66+ @ Parameter (property = "numbered" , defaultValue = "true" )
67+ private Boolean numbered ;
20768
20869 public void execute ()
20970 throws MojoExecutionException {
21071 Arguments arguments = new Arguments (
21172 accessKey ,
21273 secretKey ,
21374 projectId ,
214- runName ,
75+ null ,
21576 outputFolder ,
216- jsonReportFolder ,
217- jsonReportIncludePattern ,
77+ null ,
78+ null ,
21879 proxyURI ,
21980 proxyUsername ,
22081 proxyPassword ,
22182 mode ,
22283 jql ,
22384 tags ,
224- type ,
85+ null ,
22586 jiraServerUrl ,
226- String . valueOf ( numbered )
87+ numbered
22788 );
228-
22989 APIUtil apiUtil = new APIUtil (arguments .getProjectId (), arguments .getAccessKey (), arguments .getSecretKey (), arguments .getProxyURI (), arguments .getProxyUsername (), arguments .getProxyPassword (), arguments .getJiraServerUrl ());
23090
23191 try {
0 commit comments