CyclopsGroup Maven2 Plugins and Extensions

Base POM for cyclopsgroup projects

License

License

Categories

Categories

Cyclops General Purpose Libraries Functional Programming
GroupId

GroupId

org.cyclopsgroup
ArtifactId

ArtifactId

cym2
Last Version

Last Version

1.4.2
Release Date

Release Date

Type

Type

pom
Description

Description

CyclopsGroup Maven2 Plugins and Extensions
Base POM for cyclopsgroup projects
Source Code Management

Source Code Management

https://github.com/jiaqi/cym2

Download cym2

Filename Size
cym2-1.4.2.pom 1 KB
Browse

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • flatsite
  • uberjar
  • awss3
  • s3upload

What is it?

Despite the confusing project name, which doesn't actually mean anything, CYM2 is a small set of Maven extensions that I have developed during time to serve other OSS projects.

Maven plugins

s3upload - Maven s3upload Plugin

A plugin that uploads arbitrary files in project to AWS S3. I often upload website static contents to CloudFront with this plugin.

uberjar - Maven uberjar Plugin

This plugin was created long time ago to build uberjar artifact easily. However the same result can be achieved decently with Maven Assembly Plugin so I haven't touched it for a while.

flatsite - Maven Flatsite Plugin

Flatsite is a Maven plugin that generates site using customized Velocity template. This plugin gives user full control of template and allows to create arbitrary structure of website. As a trade off, it can't be used to generate standard Maven reports.

Maven extension

awss3, AWS S3 Maven wagon

This extension allows user to upload artifact or generated Maven site to Amazon S3. There are other open source projects out there for the same purpose, but at the time I was looking for such extension, none of the existing providers upload Maven site correctly, they all seem to target artifact upload. And surprisingly, none of them is implemented with AWS Java SDK, thus complicated.

The CYM2 version of AWS S3 wagon takes advantage of AWS Java SDK, has literally nothing but two short classes and does everything I need. It works well for all my other open source projects so far so I can't see a reason not to open source it.

Check out this blog to learn a little bit more.

Versions

Version
1.4.2
1.4.0
1.3
1.2-alpha-1