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

feat: Add gamification Crowdin Addon - MEED-6352 - Meeds-io/MIPs#121 #2071

Merged
merged 1 commit into from
May 31, 2024
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
9 changes: 9 additions & 0 deletions packaging/plf-community-tomcat-standalone/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@
<type>zip</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.meeds.gamification-crowdin</groupId>
<artifactId>gamification-crowdin-packaging</artifactId>
<type>zip</type>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<!-- The name that we'll use for our distribution directory -->
Expand Down Expand Up @@ -403,6 +409,9 @@
<exec dir="${project.basedir}" executable="${project.build.directory}/${project.build.finalName}/${project.build.finalName}/addon${addon.manager.extension}" failonerror="true">
<arg line="install ${addon.meeds.deeds-tenant.id}:${addon.meeds.deeds-tenant.version} --catalog=file://${project.build.directory}/local-catalog/meeds-distrib-catalog.json" />
</exec>
<exec dir="${project.basedir}" executable="${project.build.directory}/${project.build.finalName}/${project.build.finalName}/addon${addon.manager.extension}" failonerror="true">
<arg line="install ${addon.meeds.gamification-crowdin.id}:${addon.meeds.gamification-crowdin.version} --catalog=file://${project.build.directory}/local-catalog/meeds-distrib-catalog.json" />
</exec>
</target>
</configuration>
</execution>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,5 +247,22 @@
"supportedDistributions": "community,enterprise",
"supportedApplicationServers": "tomcat",
"compatibility": "[${project.version},)"
},{
"id": "meeds-gamification-crowdin",
"version": "${addon.meeds.gamification-crowdin.version}",
"unstable": false,
"name": "Gamification crowdin add-on",
"description": "Add-on for Crowdin integration with Gamification",
"sourceUrl": "https://github.com/meeds-io/gamification-crowdin",
"documentationUrl": "https://github.com/meeds-io/gamification-crowdin",
"downloadUrl": "file://${settings.localRepository}/io/meeds/gamification-crowdin/gamification-crowdin-packaging/${addon.meeds.gamification-crowdin.version}/gamification-crowdin-packaging-${addon.meeds.gamification-crowdin.version}.zip",
"vendor": "Meeds.io",
"author": "Meeds.io",
"license": "LGPLv3",
"licenseUrl": "https://www.gnu.org/licenses/lgpl-3.0.txt",
"mustAcceptLicense": false,
"supportedDistributions": "community,enterprise",
"supportedApplicationServers": "tomcat",
"compatibility": "[${project.version},)"
}
]
9 changes: 9 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<addon.meeds.gamification-twitter.version>7.0.x-SNAPSHOT</addon.meeds.gamification-twitter.version>
<addon.meeds.deeds-tenant.id>meeds-deeds-tenant</addon.meeds.deeds-tenant.id>
<addon.meeds.deeds-tenant.version>7.0.x-SNAPSHOT</addon.meeds.deeds-tenant.version>
<addon.meeds.gamification-crowdin.id>meeds-gamification-crowdin</addon.meeds.gamification-crowdin.id>
<addon.meeds.gamification-crowdin.version>7.0.x-SNAPSHOT</addon.meeds.gamification-crowdin.version>
<!-- Add-on manager extension to use (empty for Unix, .bat for Windows) -->
<addon.manager.extension />

Expand Down Expand Up @@ -212,6 +214,13 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.meeds.gamification-crowdin</groupId>
<artifactId>gamification-crowdin-parent</artifactId>
<version>${addon.meeds.gamification-crowdin.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<!-- Project artifacts -->
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down