Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: re-normalize all line endings #34

Merged
merged 1 commit into from
Apr 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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