-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
69 changed files
with
6,327 additions
and
6,327 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
@REM ---------------------------------------------------------------------------- | ||
@REM Licensed to the Apache Software Foundation (ASF) under one | ||
@REM or more contributor license agreements. See the NOTICE file | ||
@REM distributed with this work for additional information | ||
@REM regarding copyright ownership. The ASF licenses this file | ||
@REM to you under the Apache License, Version 2.0 (the | ||
@REM "License"); you may not use this file except in compliance | ||
@REM with the License. You may obtain a copy of the License at | ||
@REM | ||
@REM http://www.apache.org/licenses/LICENSE-2.0 | ||
@REM | ||
@REM Unless required by applicable law or agreed to in writing, | ||
@REM software distributed under the License is distributed on an | ||
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
@REM KIND, either express or implied. See the License for the | ||
@REM specific language governing permissions and limitations | ||
@REM under the License. | ||
@REM ---------------------------------------------------------------------------- | ||
|
||
mvn -Preporting site site:stage %* | ||
mvn scm-publish:publish-scm %* | ||
@REM ---------------------------------------------------------------------------- | ||
@REM Licensed to the Apache Software Foundation (ASF) under one | ||
@REM or more contributor license agreements. See the NOTICE file | ||
@REM distributed with this work for additional information | ||
@REM regarding copyright ownership. The ASF licenses this file | ||
@REM to you under the Apache License, Version 2.0 (the | ||
@REM "License"); you may not use this file except in compliance | ||
@REM with the License. You may obtain a copy of the License at | ||
@REM | ||
@REM http://www.apache.org/licenses/LICENSE-2.0 | ||
@REM | ||
@REM Unless required by applicable law or agreed to in writing, | ||
@REM software distributed under the License is distributed on an | ||
@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
@REM KIND, either express or implied. See the License for the | ||
@REM specific language governing permissions and limitations | ||
@REM under the License. | ||
@REM ---------------------------------------------------------------------------- | ||
|
||
mvn -Preporting site site:stage %* | ||
mvn scm-publish:publish-scm %* |
78 changes: 39 additions & 39 deletions
78
maven-release-api/src/main/java/org/apache/maven/shared/release/policy/PolicyException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,39 @@ | ||
package org.apache.maven.shared.release.policy; | ||
|
||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
/** | ||
* | ||
* @since 2.5.1 (MRELEASE-431) | ||
*/ | ||
public class PolicyException | ||
extends Exception | ||
{ | ||
|
||
public PolicyException( String message ) | ||
{ | ||
super( message ); | ||
} | ||
|
||
public PolicyException( String message, Exception exception ) | ||
{ | ||
super( message, exception ); | ||
} | ||
} | ||
package org.apache.maven.shared.release.policy; | ||
|
||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
/** | ||
* | ||
* @since 2.5.1 (MRELEASE-431) | ||
*/ | ||
public class PolicyException | ||
extends Exception | ||
{ | ||
|
||
public PolicyException( String message ) | ||
{ | ||
super( message ); | ||
} | ||
|
||
public PolicyException( String message, Exception exception ) | ||
{ | ||
super( message, exception ); | ||
} | ||
} |
82 changes: 41 additions & 41 deletions
82
...release-api/src/main/java/org/apache/maven/shared/release/policy/naming/NamingPolicy.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,41 @@ | ||
package org.apache.maven.shared.release.policy.naming; | ||
|
||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
import org.apache.maven.shared.release.policy.PolicyException; | ||
|
||
/** | ||
* API for branch and tag naming. Used by maven-release-plugin to suggest names for tags and branches. | ||
* | ||
* @since 3.0.0 (MRELEASE-979) | ||
*/ | ||
public interface NamingPolicy | ||
{ | ||
/** | ||
* @return the calculation of the name used for branching or tagging. | ||
* | ||
* @param request the {@code NamingPolicyRequest} | ||
* | ||
* @throws PolicyException if exception in the policy | ||
*/ | ||
NamingPolicyResult getName( NamingPolicyRequest request ) | ||
throws PolicyException; | ||
|
||
} | ||
package org.apache.maven.shared.release.policy.naming; | ||
|
||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
import org.apache.maven.shared.release.policy.PolicyException; | ||
|
||
/** | ||
* API for branch and tag naming. Used by maven-release-plugin to suggest names for tags and branches. | ||
* | ||
* @since 3.0.0 (MRELEASE-979) | ||
*/ | ||
public interface NamingPolicy | ||
{ | ||
/** | ||
* @return the calculation of the name used for branching or tagging. | ||
* | ||
* @param request the {@code NamingPolicyRequest} | ||
* | ||
* @throws PolicyException if exception in the policy | ||
*/ | ||
NamingPolicyResult getName( NamingPolicyRequest request ) | ||
throws PolicyException; | ||
|
||
} |
134 changes: 67 additions & 67 deletions
134
...-api/src/main/java/org/apache/maven/shared/release/policy/naming/NamingPolicyRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,67 @@ | ||
package org.apache.maven.shared.release.policy.naming; | ||
|
||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
/** | ||
* | ||
* @author Robert Scholte | ||
* @since 3.0.0 | ||
*/ | ||
public class NamingPolicyRequest | ||
{ | ||
private String groupId; | ||
|
||
private String artifactId; | ||
|
||
private String version; | ||
|
||
public String getGroupId() | ||
{ | ||
return groupId; | ||
} | ||
|
||
public NamingPolicyRequest setGroupId( String groupId ) | ||
{ | ||
this.groupId = groupId; | ||
return this; | ||
} | ||
|
||
public String getArtifactId() | ||
{ | ||
return artifactId; | ||
} | ||
|
||
public NamingPolicyRequest setArtifactId( String artifactId ) | ||
{ | ||
this.artifactId = artifactId; | ||
return this; | ||
} | ||
|
||
public String getVersion() | ||
{ | ||
return version; | ||
} | ||
|
||
public NamingPolicyRequest setVersion( String version ) | ||
{ | ||
this.version = version; | ||
return this; | ||
} | ||
} | ||
package org.apache.maven.shared.release.policy.naming; | ||
|
||
/* | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, | ||
* software distributed under the License is distributed on an | ||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
* KIND, either express or implied. See the License for the | ||
* specific language governing permissions and limitations | ||
* under the License. | ||
*/ | ||
|
||
/** | ||
* | ||
* @author Robert Scholte | ||
* @since 3.0.0 | ||
*/ | ||
public class NamingPolicyRequest | ||
{ | ||
private String groupId; | ||
|
||
private String artifactId; | ||
|
||
private String version; | ||
|
||
public String getGroupId() | ||
{ | ||
return groupId; | ||
} | ||
|
||
public NamingPolicyRequest setGroupId( String groupId ) | ||
{ | ||
this.groupId = groupId; | ||
return this; | ||
} | ||
|
||
public String getArtifactId() | ||
{ | ||
return artifactId; | ||
} | ||
|
||
public NamingPolicyRequest setArtifactId( String artifactId ) | ||
{ | ||
this.artifactId = artifactId; | ||
return this; | ||
} | ||
|
||
public String getVersion() | ||
{ | ||
return version; | ||
} | ||
|
||
public NamingPolicyRequest setVersion( String version ) | ||
{ | ||
this.version = version; | ||
return this; | ||
} | ||
} |
Oops, something went wrong.