Code Monkey home page Code Monkey logo

maven-schemaspy-plugin's People

Contributors

apetrelli avatar cedric-lamalle avatar jeffjensen avatar mnuessler avatar mprins avatar sturton avatar timp avatar wakaleo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

maven-schemaspy-plugin's Issues

Please clarify license

The LICENSE.txt file contains the MIT license text, but the POM file lists the Apache license. Please clarify which is the correct license of the project to avoid confusion.

Tables page is overwritten when no schema

I'm using the plugin to generate a report on a derby database, and the tables page has been overwritten by a generated by maven report type page. I think this is because when there's no schema, the table information is generated to schemaspy/index.html, but that is also where the AbstractMavenReport generates its output, because of the following in SchemaSpyReport:

public String getOutputName() {
    return "schemaspy/index";
}

Cannot use <schemas> parameter

Hello,
I started using your plugin to integrate schemaspy doc to my maven site.
It works great for one schema, but I cannot use it for several schemas at a time.
I navigated in this plugin sources and schemaspy sources to found it out.
The issue is that when -schemas parameter is passed to schemaspy, MultipleSchemaAnalyzer will be called to create a global index html page and generate the doc for each schema, to do so in fact, several command lines with -schema (without "s") are generated and ran but this generation step call Config.getLoadedFromJar() that assumes that schemaspy jar is the only one of the classpath thus doing :
public static String getLoadedFromJar() {
String classpath = System.getProperty("java.class.path");
return new StringTokenizer(classpath, File.pathSeparator).nextToken();
}

But under maven run, this call fetch the classworld.jar of maven,so all commandline generated are invalid.
I come to you hoping you may find a solution inside the plugin itself or can interact with the author of schemaspy about this.
Many Thanks.

Change artifact ID according to plugin naming conventions

Change the artifact ID from maven-schemaspy-plugin to schemaspy-maven-plugin. During the build of the plugin, an error is displayed which explains the reason:

[ERROR] 

Artifact Ids of the format maven-___-plugin are reserved for 
plugins in the Group Id org.apache.maven.plugins
Please change your artifactId to the format ___-maven-plugin
In the future this error will break the build.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.