HerokuDS Maven Plugin

A Maven Plugin for configuring exotic datasources on Heroku applications

License

License

Categories

Categories

Maven Build Tools Heroku Container PaaS Providers
GroupId

GroupId

com.github.brunoabdon.m2.herokuds
ArtifactId

ArtifactId

herokuds-maven-plugin
Last Version

Last Version

0.0.4
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

HerokuDS Maven Plugin
A Maven Plugin for configuring exotic datasources on Heroku applications
Source Code Management

Source Code Management

https://github.com/brunoabdon/herokuds-maven-plugin.git

Download herokuds-maven-plugin

How to add to project

<plugin>
    <groupId>com.github.brunoabdon.m2.herokuds</groupId>
    <artifactId>herokuds-maven-plugin</artifactId>
    <version>0.0.4</version>
</plugin>

Dependencies

compile (2)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 3.6.1
org.apache.maven : maven-project jar 2.2.1

provided (1)

Group / Artifact Type Version
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0

Project Modules

There are no modules declared in this project.

herokuds-maven-plugin

Uso:

Primeiro, consutrua e instale:

 $mvn clean package isntall

Cria a env var (ex, no bash):

 $export DATABASE_URL=postgresql://usuario:senha@localhost:5432/superBancoDeDados

Depois use mesmo:

 <properties>
    <maven.compiler.source>1.8</maven.compiler.source>
    <maven.compiler.target>1.8</maven.compiler.target>
    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

    <herokuds.databas_url>${env.DATABASE_URL}</herokuds.databas_url>

 </properties>

 <plugin>
    <groupId>com.github.brunoabdon.m2.herokuds</groupId>
    <artifactId>herokuds-maven-plugin</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <executions>
      <execution>
        <phase>validate</phase>
        <goals>
          <goal>parse</goal>
        </goals>
      </execution>
    </executions>
  </plugin> 

Versions

Version
0.0.4
0.0.1