[Registry-dev] [jira] Commented: (REGISTRY-272) Basic Maven Plugin
for interacting with Registry.
Paul Fremantle (JIRA)
jira at wso2.org
Mon Apr 7 13:39:17 PDT 2008
[ https://wso2.org/jira/browse/REGISTRY-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16229#action_16229 ]
Paul Fremantle commented on REGISTRY-272:
-----------------------------------------
Stephen
Thanks a lot! Nice contribution.
Paul
> Basic Maven Plugin for interacting with Registry.
> -------------------------------------------------
>
> Key: REGISTRY-272
> URL: https://wso2.org/jira/browse/REGISTRY-272
> Project: WSO2 Registry
> Issue Type: New Feature
> Affects Versions: SNAPSHOT
> Environment: Windows/Linux
> Reporter: Stephen Gargan
> Assignee: Chathura Ekanayake
> Attachments: maven-plugin.patch
>
>
> So I caught Paul's talks at the recent Emerging technologies Conference in Philly where he showcased your registry product. I took the liberty of putting together a maven plugin (simply leveraging the registry apis) to hook some basic registry interactions into my
> build process. Attached you should find a patch that contains the plugin.
> To build you'll first need to get a tests jar from the core build (the plugin utilizes the RegistryServer from the core tests)
> In the the core dir execute the following and you should be good.
> mvn jar:test-jar install
> The following pom snippet shows how the plugin can be used to do some basic publishing and tagging
> <build>
> <plugins>
> <plugin>
> <groupId>org.wso2.registry</groupId>
> <artifactId>maven-wso2registry-plugin</artifactId>
> <version>SNAPSHOT</version>
> <configuration>
> <username>admin</username>
> <password>admin</password>
> <registryUrl>http://yourserver:8080/wso2registry/atom/</registryUrl>
> <tagWithArtifactId>true</tagWithArtifactId>
> <tagWithGroupId>true</tagWithGroupId>
> <publishOnlyUpdates>true</publishOnlyUpdates>
> <tags>
> <tag>one</tag>
> <tag>two</tag>
> <tag>three</tag>
> </tags>
> <includes>
> <include>**/*.xsd</include>
> </includes>
> <excludes>
> <exclude>**/*.txt</exclude>
> </excludes>
> </configuration>
> <executions>
> <execution>
> <phase>package</phase>
> <goals>
> <goal>publish</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> </plugins>
> </build>
> Plugin functionality is not exhaustive by any means, but will publish, delete and tag for now. Extending it should be easy if there is interest. Anyhow I figured that some other users might find this useful.
> rgds,
> ste
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the Registry-dev
mailing list