|
1 | 1 | package org.apache.maven.shared.project.deploy;
|
2 | 2 |
|
3 |
| -/* |
4 |
| - * Licensed to the Apache Software Foundation (ASF) under one |
5 |
| - * or more contributor license agreements. See the NOTICE file |
6 |
| - * distributed with this work for additional information |
7 |
| - * regarding copyright ownership. The ASF licenses this file |
8 |
| - * to you under the Apache License, Version 2.0 (the |
9 |
| - * "License"); you may not use this file except in compliance |
10 |
| - * with the License. You may obtain a copy of the License at |
11 |
| - * |
12 |
| - * http://www.apache.org/licenses/LICENSE-2.0 |
13 |
| - * |
14 |
| - * Unless required by applicable law or agreed to in writing, |
15 |
| - * software distributed under the License is distributed on an |
16 |
| - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
17 |
| - * KIND, either express or implied. See the License for the |
18 |
| - * specific language governing permissions and limitations |
19 |
| - * under the License. |
20 |
| - */ |
21 |
| - |
22 |
| -import java.io.IOException; |
23 |
| - |
24 | 3 | /*
|
25 | 4 | * Licensed to the Apache Software Foundation (ASF) under one
|
26 | 5 | * or more contributor license agreements. See the NOTICE file
|
@@ -75,12 +54,12 @@ public interface ProjectDeployer
|
75 | 54 | * @param buildingRequest {@link ProjectBuildingRequest}
|
76 | 55 | * @param request {@link ProjectDeployerRequest}
|
77 | 56 | * @param artifactRepository {@link ArtifactRepository}
|
78 |
| - * @throws IOException In case of problems related to checksums. |
79 | 57 | * @throws NoFileAssignedException In case of missing file which has not been assigned to project.
|
| 58 | + * @throws IllegalArgumentException in case of artifact is not correctly assigned. |
80 | 59 | */
|
81 |
| - //FIXME: Need to check to remove IOException cause it looks like it's not being thrown by code. |
82 | 60 | void deploy( ProjectBuildingRequest buildingRequest, ProjectDeployerRequest request,
|
83 | 61 | ArtifactRepository artifactRepository )
|
84 |
| - throws IOException, NoFileAssignedException; |
| 62 | + throws NoFileAssignedException, IllegalArgumentException; |
| 63 | + |
85 | 64 |
|
86 | 65 | }
|
0 commit comments