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

kie-issues#1123:unify maven projects configuration #3078

Merged
merged 4 commits into from
May 14, 2024
Merged
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
112 changes: 39 additions & 73 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>30</version>
<version>32</version>
</parent>

<groupId>org.optaplanner</groupId>
Expand All @@ -43,6 +43,10 @@
</description>
<url>https://www.optaplanner.org</url>
<inceptionYear>2006</inceptionYear>
<organization>
<name>The Apache Software Foundation</name>
<url>https://apache.org/</url>
</organization>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
Expand All @@ -51,66 +55,9 @@
</license>
</licenses>

<properties>
<!-- TODO: Evaluate if this override is still needed. -->
<!-- The property sonar.projectKey is defined in the CI in order not to collide with optawebs. It overrides
the default GroupId:ArtifactId to map both main branch and 7.x branches to the same SonarCloud project.
As the sonar.moduleKey inherits the value of sonar.projectKey by default, we have to override it too. -->
<sonar.moduleKey>${project.groupId}:${project.artifactId}</sonar.moduleKey>
<version.rewrite.plugin>4.45.0</version.rewrite.plugin>

<!-- reproducible build -->
<project.build.outputTimestamp>2024-01-12T00:00:00Z</project.build.outputTimestamp>
<version.maven.artifact.plugin>3.4.1</version.maven.artifact.plugin>
</properties>

<distributionManagement>
<repository>
<id>apache-release-staging-repository</id>
<name>Apache Release Staging Repository</name>
<url>https://repository.apache.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>apache-snapshots-repository</id>
<name>Apache Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>

<repositories>
<repository>
<id>apache-public-repository-group</id>
<url>https://repository.apache.org/content/groups/public/</url>
<releases>
<!-- Get releases only from Maven Central which is faster. -->
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>apache-public-repository-group</id>
<name>Apache Public Repository Group</name>
<url>https://repository.apache.org/content/groups/public/</url>
<layout>default</layout>
<releases>
<!-- Only get SNAPSHOTS from Apache repository,
so it tries to get releases first (and only) from Maven Central. -->
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>daily</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>

<scm>
<connection>scm:git:git@github.com:apache/incubator-kie-optaplanner.git</connection>
<developerConnection>scm:git:git@github.com:apache/incubator-kie-optaplanner.git</developerConnection>
<connection>scm:git:https://github.com/apache/incubator-kie-optaplanner.git</connection>
<developerConnection>scm:git:https://github.com/apache/incubator-kie-optaplanner.git</developerConnection>
<url>https://github.com/apache/incubator-kie-optaplanner</url>
</scm>
<issueManagement>
Expand All @@ -119,31 +66,50 @@
</issueManagement>
<developers>
<developer>
<name>All developers are listed on the team website</name>
<url>https://www.optaplanner.org/community/team.html</url>
<name>The Apache KIE Team</name>
<email>[email protected]</email>
<url>https://kie.apache.org</url>
<organization>Apache Software Foundation</organization>
<organizationUrl>http://apache.org/</organizationUrl>
</developer>
</developers>
<contributors>
<contributor>
<name>All contributors are listed on the team website</name>
<url>https://www.optaplanner.org/community/team.html</url>
</contributor>
</contributors>
<mailingLists>
<mailingList>
<name>Development mailing list</name>
<post>[email protected]</post>
<name>Development List</name>
<subscribe>[email protected]</subscribe>
<unsubscribe>[email protected]</unsubscribe>
<post>[email protected]</post>
<archive>https://lists.apache.org/[email protected]</archive>
</mailingList>
<mailingList>
<name>setup</name>
<subscribe>https://groups.google.com/forum/#!forum/optaplanner-dev</subscribe>
<unsubscribe>https://groups.google.com/forum/#!forum/optaplanner-dev</unsubscribe>
<name>User List</name>
<subscribe>[email protected]</subscribe>
<unsubscribe>[email protected]</unsubscribe>
<post>[email protected]</post>
<archive>https://lists.apache.org/[email protected]</archive>
</mailingList>
<mailingList>
<name>Commits List</name>
<subscribe>[email protected]</subscribe>
<unsubscribe>[email protected]</unsubscribe>
<post>[email protected]</post>
<archive>https://lists.apache.org/[email protected]</archive>
</mailingList>
</mailingLists>

<properties>
<!-- TODO: Evaluate if this override is still needed. -->
<!-- The property sonar.projectKey is defined in the CI in order not to collide with optawebs. It overrides
the default GroupId:ArtifactId to map both main branch and 7.x branches to the same SonarCloud project.
As the sonar.moduleKey inherits the value of sonar.projectKey by default, we have to override it too. -->
<sonar.moduleKey>${project.groupId}:${project.artifactId}</sonar.moduleKey>
<version.rewrite.plugin>4.45.0</version.rewrite.plugin>

<!-- reproducible build -->
<project.build.outputTimestamp>2024-01-12T00:00:00Z</project.build.outputTimestamp>
<version.maven.artifact.plugin>3.4.1</version.maven.artifact.plugin>
</properties>

<modules>
<module>build/optaplanner-bom</module>
<module>build/optaplanner-ide-config</module>
Expand Down
Loading