1   package org.apache.maven.plugin.reactor;
2   
3   import java.io.File;
4   import java.util.Date;
5   import java.util.List;
6   
7   import org.apache.maven.scm.ScmBranch;
8   import org.apache.maven.scm.ScmException;
9   import org.apache.maven.scm.ScmFileSet;
10  import org.apache.maven.scm.ScmVersion;
11  import org.apache.maven.scm.command.add.AddScmResult;
12  import org.apache.maven.scm.command.branch.BranchScmResult;
13  import org.apache.maven.scm.command.changelog.ChangeLogScmResult;
14  import org.apache.maven.scm.command.checkin.CheckInScmResult;
15  import org.apache.maven.scm.command.checkout.CheckOutScmResult;
16  import org.apache.maven.scm.command.diff.DiffScmResult;
17  import org.apache.maven.scm.command.edit.EditScmResult;
18  import org.apache.maven.scm.command.export.ExportScmResult;
19  import org.apache.maven.scm.command.list.ListScmResult;
20  import org.apache.maven.scm.command.remove.RemoveScmResult;
21  import org.apache.maven.scm.command.status.StatusScmResult;
22  import org.apache.maven.scm.command.tag.TagScmResult;
23  import org.apache.maven.scm.command.unedit.UnEditScmResult;
24  import org.apache.maven.scm.command.update.UpdateScmResult;
25  import org.apache.maven.scm.manager.NoSuchScmProviderException;
26  import org.apache.maven.scm.manager.ScmManager;
27  import org.apache.maven.scm.provider.ScmProvider;
28  import org.apache.maven.scm.repository.ScmRepository;
29  import org.apache.maven.scm.repository.ScmRepositoryException;
30  import org.apache.maven.scm.repository.UnknownRepositoryStructure;
31  
32  public class NoopScmManager
33      implements ScmManager
34  {
35  
36      public AddScmResult add( ScmRepository repository, ScmFileSet fileSet )
37          throws ScmException
38      {
39  
40          return null;
41      }
42  
43      public AddScmResult add( ScmRepository repository, ScmFileSet fileSet, String message )
44          throws ScmException
45      {
46  
47          return null;
48      }
49  
50      public BranchScmResult branch( ScmRepository repository, ScmFileSet fileSet, String branchName )
51          throws ScmException
52      {
53  
54          return null;
55      }
56  
57      public BranchScmResult branch( ScmRepository repository, ScmFileSet fileSet, String branchName, String message )
58          throws ScmException
59      {
60  
61          return null;
62      }
63  
64      public ChangeLogScmResult changeLog( ScmRepository repository, ScmFileSet fileSet, ScmVersion startVersion,
65                                           ScmVersion endVersion )
66          throws ScmException
67      {
68  
69          return null;
70      }
71  
72      public ChangeLogScmResult changeLog( ScmRepository repository, ScmFileSet fileSet, ScmVersion startRevision,
73                                           ScmVersion endRevision, String datePattern )
74          throws ScmException
75      {
76  
77          return null;
78      }
79  
80      public ChangeLogScmResult changeLog( ScmRepository repository, ScmFileSet fileSet, Date startDate, Date endDate,
81                                           int numDays, ScmBranch branch )
82          throws ScmException
83      {
84  
85          return null;
86      }
87  
88      public ChangeLogScmResult changeLog( ScmRepository repository, ScmFileSet fileSet, Date startDate, Date endDate,
89                                           int numDays, ScmBranch branch, String datePattern )
90          throws ScmException
91      {
92  
93          return null;
94      }
95  
96      public CheckInScmResult checkIn( ScmRepository repository, ScmFileSet fileSet, String message )
97          throws ScmException
98      {
99  
100         return null;
101     }
102 
103     public CheckInScmResult checkIn( ScmRepository repository, ScmFileSet fileSet, ScmVersion revision, String message )
104         throws ScmException
105     {
106 
107         return null;
108     }
109 
110     public CheckOutScmResult checkOut( ScmRepository repository, ScmFileSet fileSet )
111         throws ScmException
112     {
113 
114         return null;
115     }
116 
117     public CheckOutScmResult checkOut( ScmRepository repository, ScmFileSet fileSet, ScmVersion version )
118         throws ScmException
119     {
120 
121         return null;
122     }
123 
124     public CheckOutScmResult checkOut( ScmRepository scmRepository, ScmFileSet scmFileSet, boolean recursive )
125         throws ScmException
126     {
127 
128         return null;
129     }
130 
131     public CheckOutScmResult checkOut( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion version,
132                                        boolean recursive )
133         throws ScmException
134     {
135 
136         return null;
137     }
138 
139     public DiffScmResult diff( ScmRepository scmRepository, ScmFileSet scmFileSet, ScmVersion startVersion,
140                                ScmVersion endVersion )
141         throws ScmException
142     {
143 
144         return null;
145     }
146 
147     public EditScmResult edit( ScmRepository repository, ScmFileSet fileSet )
148         throws ScmException
149     {
150 
151         return null;
152     }
153 
154     public ExportScmResult export( ScmRepository repository, ScmFileSet fileSet )
155         throws ScmException
156     {
157 
158         return null;
159     }
160 
161     public ExportScmResult export( ScmRepository repository, ScmFileSet fileSet, ScmVersion version )
162         throws ScmException
163     {
164 
165         return null;
166     }
167 
168     public ExportScmResult export( ScmRepository repository, ScmFileSet fileSet, String outputDirectory )
169         throws ScmException
170     {
171 
172         return null;
173     }
174 
175     public ExportScmResult export( ScmRepository repository, ScmFileSet fileSet, ScmVersion version,
176                                    String outputDirectory )
177         throws ScmException
178     {
179 
180         return null;
181     }
182 
183     public ScmProvider getProviderByRepository( ScmRepository repository )
184         throws NoSuchScmProviderException
185     {
186 
187         return null;
188     }
189 
190     public ScmProvider getProviderByType( String providerType )
191         throws NoSuchScmProviderException
192     {
193 
194         return null;
195     }
196 
197     public ScmProvider getProviderByUrl( String scmUrl )
198         throws ScmRepositoryException, NoSuchScmProviderException
199     {
200 
201         return null;
202     }
203 
204     public ListScmResult list( ScmRepository repository, ScmFileSet fileSet, boolean recursive, ScmVersion version )
205         throws ScmException
206     {
207 
208         return null;
209     }
210 
211     public ScmRepository makeProviderScmRepository( String providerType, File path )
212         throws ScmRepositoryException, UnknownRepositoryStructure, NoSuchScmProviderException
213     {
214 
215         return null;
216     }
217 
218     public ScmRepository makeScmRepository( String scmUrl )
219         throws ScmRepositoryException, NoSuchScmProviderException
220     {
221 
222         return null;
223     }
224 
225     public RemoveScmResult remove( ScmRepository repository, ScmFileSet fileSet, String message )
226         throws ScmException
227     {
228 
229         return null;
230     }
231 
232     public void setScmProvider( String providerType, ScmProvider provider )
233     {
234 
235 
236     }
237 
238     public void setScmProviderImplementation( String providerType, String providerImplementation )
239     {
240 
241 
242     }
243 
244     public StatusScmResult status( ScmRepository repository, ScmFileSet fileSet )
245         throws ScmException
246     {
247 
248         return null;
249     }
250 
251     public TagScmResult tag( ScmRepository repository, ScmFileSet fileSet, String tagName )
252         throws ScmException
253     {
254 
255         return null;
256     }
257 
258     public TagScmResult tag( ScmRepository repository, ScmFileSet fileSet, String tagName, String message )
259         throws ScmException
260     {
261 
262         return null;
263     }
264 
265     public UnEditScmResult unedit( ScmRepository repository, ScmFileSet fileSet )
266         throws ScmException
267     {
268 
269         return null;
270     }
271 
272     public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet )
273         throws ScmException
274     {
275 
276         return null;
277     }
278 
279     public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion version )
280         throws ScmException
281     {
282 
283         return null;
284     }
285 
286     public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, boolean runChangelog )
287         throws ScmException
288     {
289 
290         return null;
291     }
292 
293     public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, String datePattern )
294         throws ScmException
295     {
296 
297         return null;
298     }
299 
300     public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, Date lastUpdate )
301         throws ScmException
302     {
303 
304         return null;
305     }
306 
307     public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion version,
308                                    boolean runChangelog )
309         throws ScmException
310     {
311 
312         return null;
313     }
314 
315     public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion version, String datePattern )
316         throws ScmException
317     {
318 
319         return null;
320     }
321 
322     public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion version, Date lastUpdate )
323         throws ScmException
324     {
325 
326         return null;
327     }
328 
329     public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, Date lastUpdate, String datePattern )
330         throws ScmException
331     {
332 
333         return null;
334     }
335 
336     public UpdateScmResult update( ScmRepository repository, ScmFileSet fileSet, ScmVersion version, Date lastUpdate,
337                                    String datePattern )
338         throws ScmException
339     {
340 
341         return null;
342     }
343 
344     public List validateScmRepository( String scmUrl )
345     {
346 
347         return null;
348     }
349 
350 }