Skip to content

Latest commit

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Maven Plugin for refreshing Alfresco Web Scripts

To use it, two things has to be done in the Maven POM file.

Usage

1. Add a plugin repository

<pluginRepositories>
<pluginRepository>
<id>oakman-refreshwebscripts-maven-plugin</id>
<url>https://raw.github.com/oakman/refreshwebscripts-maven-plugin/mvn-repo</url>
</pluginRepository>
</pluginRepositories>

2. Add the plugin to the build

<plugin>
<groupId>org.redpill-linpro.alfresco</groupId>
<artifactId>refreshwebscripts-maven-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<goals>
<goal>refresh</goal>
</goals>
</execution>
</executions>
</plugin>

Whenever a mvn package command is executed, the built artifact is uploaded to the repository.

Configuration options

There are some configuration options that can be set.

Option Default valueDescription
usernameadminThe username for the Alfresco acount used for the refresh
passwordadminThe password for the Alfresco acount used for the refresh
urlno default valueThe URL to call, typically http://localhost:8080/alfresco/service/index
methodpostThe HTTP method used

About

Maven plugin for refreshing Alfresco Web Scripts

Topics

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors