Sakai Maven Plugin

This is a maven plugin that deploys Sakai artifacts into a copy of Tomcat.

Лицензия

Лицензия

Категории

Категории

Maven Компиляция и сборка
Группа

Группа

org.sakaiproject.maven
Идентификатор

Идентификатор

plugins
Последняя версия

Последняя версия

1.4.5
Дата

Дата

Тип

Тип

pom
Описание

Описание

Sakai Maven Plugin
This is a maven plugin that deploys Sakai artifacts into a copy of Tomcat.
Ссылка на сайт

Ссылка на сайт

https://github.com/sakaiproject/sakai-maven-plugin
Система контроля версий

Система контроля версий

https://github.com/sakaiproject/sakai-maven-plugin

Скачать plugins

Имя Файла Размер
plugins-1.4.5.pom 5 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.sakaiproject.maven/plugins/ -->
<dependency>
    <groupId>org.sakaiproject.maven</groupId>
    <artifactId>plugins</artifactId>
    <version>1.4.5</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/org.sakaiproject.maven/plugins/
implementation 'org.sakaiproject.maven:plugins:1.4.5'
// https://jarcasting.com/artifacts/org.sakaiproject.maven/plugins/
implementation ("org.sakaiproject.maven:plugins:1.4.5")
'org.sakaiproject.maven:plugins:pom:1.4.5'
<dependency org="org.sakaiproject.maven" name="plugins" rev="1.4.5">
  <artifact name="plugins" type="pom" />
</dependency>
@Grapes(
@Grab(group='org.sakaiproject.maven', module='plugins', version='1.4.5')
)
libraryDependencies += "org.sakaiproject.maven" % "plugins" % "1.4.5"
[org.sakaiproject.maven/plugins "1.4.5"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

  • sakai-plugin

Sakai Maven Plugin

So this plugin has 2 functions:

  • sakai-component packaging. This is Sakai's own packaging type that gets deployed into the component folder
  • the deploy/deploy-exploded goal that deploys artifacts from the local maven repository into a copy of tomcat.

Testing Plugin

The Sakai project normaly binds to a released version of the plugin. To quickly test new versions you can tell maven to use a newer versions of the plugin on the command line with:

mvn org.sakaiproject.maven.plugins:sakai:1.4.4-SNAPSHOT:deploy-exploded

Releasing

This plugin is released to the OSS Sonatype repository using the maven release plugin. You will need to be setup with an account there and have a GPG key to sign the release. http://central.sonatype.org/pages/ossrh-guide.html

There is a relase profile which is not used by default but will be used when making the release. You can test that the release profile works ok for you by doing:

mvn -Prelease deploy

this will attempt to build and deploy a SNAPSHOT version of the maven Sakai plugin to the Sonatype OSS repository. If it all builds ok then you can attempt a local release, first have the release plugin update the versions and create the tag. Having -DpushChanges=false means that if the release fails for some reason you haven't tainted the central repository with the version increments.

mvn -DpushChanges=false release:prepare

Then if it all looks ok you can make the release to the Sonatype staging repository:

mvn -DlocalCheckout=true release:perform

because you didn't push the changes you need the -DlocalCheckout=true option. Once it's appeared in OSS Sonatype and all looks ok you need to push your changes.

git push 

Then you can publish the staged artifact in the Sonatype repository.

If you are pretty confident that it's all going to release ok and are happy with the default maven numbers:

mvn -B release:prepare release:perform
org.sakaiproject.maven

Apereo Sakai

Версии библиотеки

Версия
1.4.5
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0