Skip to content

Commit

Permalink
fix: re-normalize all line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
rfscholte authored Apr 4, 2020
2 parents 9cae95d + bd764b1 commit 8ca509f
Show file tree
Hide file tree
Showing 69 changed files with 6,327 additions and 6,327 deletions.
42 changes: 21 additions & 21 deletions deploySite.bat
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 %*
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 );
}
}
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;

}
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;
}
}
Loading

0 comments on commit 8ca509f

Please sign in to comment.