Skip to content

Commit

Permalink
feat: Add gamification twitter addon in default packaging - MEED-2567 -
Browse files Browse the repository at this point in the history
  • Loading branch information
AzmiTouil authored and boubaker committed Nov 14, 2023
1 parent 3f3fd48 commit 3d9a570
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
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 @@ -135,6 +135,12 @@
<type>zip</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.meeds.gamification-twitter</groupId>
<artifactId>gamification-twitter-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 @@ -367,6 +373,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.gamification-github.id}:${addon.meeds.gamification-github.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-twitter.id}:${addon.meeds.gamification-twitter.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 @@ -179,5 +179,22 @@
"supportedDistributions": "community,enterprise",
"supportedApplicationServers": "tomcat",
"compatibility": "[${project.version},)"
},{
"id": "meeds-gamification-twitter",
"version": "${addon.meeds.gamification-twitter.version}",
"unstable": false,
"name": "Gamification Twitter connector add-on",
"description": "Gamification Twitter connector add-on",
"sourceUrl": "https://github.com/meeds-io/gamification-twitter",
"documentationUrl": "https://github.com/meeds-io/gamification-twitter",
"downloadUrl": "file://${settings.localRepository}/io/meeds/gamification-twitter/gamification-twitter-packaging/${addon.meeds.gamification-twitter.version}/gamification-twitter-packaging-${addon.meeds.gamification-twitter.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 @@ -76,6 +76,8 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<addon.exo.poll.version>1.2.x-meedsv2-SNAPSHOT</addon.exo.poll.version>
<addon.meeds.gamification-github.id>meeds-gamification-github</addon.meeds.gamification-github.id>
<addon.meeds.gamification-github.version>1.2.x-meedsv2-SNAPSHOT</addon.meeds.gamification-github.version>
<addon.meeds.gamification-twitter.id>meeds-gamification-twitter</addon.meeds.gamification-twitter.id>
<addon.meeds.gamification-twitter.version>1.0.x-meedsv2-SNAPSHOT</addon.meeds.gamification-twitter.version>
<!-- Add-on manager extension to use (empty for Unix, .bat for Windows) -->
<addon.manager.extension />

Expand Down Expand Up @@ -176,6 +178,13 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
<scope>provided</scope>
<type>zip</type>
</dependency>
<dependency>
<groupId>io.meeds.gamification-twitter</groupId>
<artifactId>gamification-twitter-packaging</artifactId>
<version>${addon.meeds.gamification-twitter.version}</version>
<scope>provided</scope>
<type>zip</type>
</dependency>
<!-- Project artifacts -->
<dependency>
<groupId>${project.groupId}</groupId>
Expand Down

0 comments on commit 3d9a570

Please sign in to comment.