- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我想从集成在 maven 生命周期中的数据库生成一个 er-diagram。
SchemaSpy 生成 er-diagram 并且使用 maven-schemaspy-plugin 应该可以将其集成到生命周期过程中。
(如果有人对此有更好的想法,请告诉我)
我用以下简单的 pom.xml 尝试了它(它只应该生成 er-diagram);但插件没有启动;它甚至无法下载:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>test.schemaspy</groupId>
<artifactId>SchemaSpyGenerateDB_02</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>SchemaSpyGenerateDB_02</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>maven-plugins</groupId>
<artifactId>maven-schemaspy-plugin</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>maven-plugins</groupId>
<artifactId>maven-schemaspy-plugin</artifactId>
<version>1.0</version>
<type>plugin</type>
</dependency>
</dependencies>
<!-- To use the report goals in your POM or parent POM -->
<reporting>
<plugins>
<plugin>
<groupId>maven-plugins</groupId>
<artifactId>maven-schemaspy-plugin</artifactId>
<version>1.1</version>
<configuration>
<databaseType>derby</databaseType>
<database>JPACertifiaction_Relationship</database>
<host>localhost</host>
<port>1527</port>
<user>user</user>
<password>password</password>
</configuration>
</plugin>
</plugins>
</reporting>
</project>
mvn site:site
<dependency>
<groupId>com.wakaleo.schemaspy</groupId>
<artifactId>maven-schemaspy-plugin</artifactId>
<version>5.0.1</version>
</dependency>
....
<reporting>
<plugins>
<plugin>
<groupId>com.wakaleo.schemaspy</groupId>
<artifactId>maven-schemaspy-plugin</artifactId>
<version>5.0.1</version>
....
<repository>
<id>Wakaleo Repository</id>
<url>http://maven.wakaleo.com/mojo/maven-schemaspy-plugin/</url>
</repository>
最佳答案
你不需要这些条目
<dependencies>
<dependency>
<groupId>maven-plugins</groupId>
<artifactId>maven-schemaspy-plugin</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>maven-plugins</groupId>
<artifactId>maven-schemaspy-plugin</artifactId>
<version>1.0</version>
<type>plugin</type>
</dependency>
</dependencies>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.1</version>
<configuration>
<reportPlugins>
<plugin>
<groupId>com.wakaleo.schemaspy</groupId>
<artifactId>maven-schemaspy-plugin</artifactId>
<version>1.0.4</version>
<configuration>
<databaseType>derby</databaseType>
<database>JPACertifiaction_Relationship</database>
<host>localhost</host>
<port>1527</port>
<user>user</user>
<password>password</password>
</configuration>
</plugin>
</reportPlugins>
</configuration>
</plugin>
</plugins>
</build>
<pluginRepositories>
<pluginRepository>
<id>Wakaleo Repository</id>
<url>http://www.wakaleo.com/maven/repos/</url>
</pluginRepository>
</pluginRepositories>
关于maven-schemaspy-plugin 不起作用(可能是存储库问题),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8765661/
我正在使用SchemaSpy (5.0.0) 生成 Informix 数据库的报告。运行它时,我在“收集架构详细信息”的最后一步中收到以下错误: java.sql.SQLException: The
已结束。此问题不符合 Stack Overflow guidelines .它目前不接受答案。 我们不允许提出有关书籍、工具、软件库等方面的建议的问题。您可以编辑问题,以便用事实和引用来回答它。 关闭
我目前正在研究 Microsoft SQL Server 2016 的元数据解决方案。我对使用 Schemaspy 很感兴趣。我认为它看起来像是一种很好的免费方式来记录元数据,但我担心在拥有敏感数据的
我一直在我的 Mac (El Capitan) 上通过 Homebrew 使用 Schemaspy(v5.0) 来绘制 mySQL(v5.7.11) 图表。最近对 Graphviz(v2.40.1)的
我使用以下 Schemaspy 成功连接到一个 postgreSQL 数据库。但是当我连接到另一个数据库时,它报告错误“无法连接到数据库 URL [jdbc....]” java -jar schem
at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) 错误 - mssql08(系统找不到指定的文件)jav
我已经安装了 64 位 Oracle Instant Client,当与 SchemaSpy 连接时,我收到以下错误消息。 请注意:这两个文件都存在 C:\app\instantclient_12_1
我想从集成在 maven 生命周期中的数据库生成一个 er-diagram。 SchemaSpy 生成 er-diagram 并且使用 maven-schemaspy-plugin 应该可以将其集成到
我尝试使用 SchemaSpy 连接到我的 PostgresSQL 服务器。我使用 ppa:webupd8team/java 中的 oracle-java8-installer 安装了 Java。 (
我们有一个相当大的数据库架构,我们的业务分析师会将其打印出来并带到 session 上。有没有办法让模式 spy 将 ERD 打印到 1 个 A3 页面? 最佳答案 SourceForge 弄乱了用于
我使用的是 sqlserver2008,这适用于 sqlserver2008 吗?? 我已经给了java -jar "D:\Program Files\SchemaSpy\schemaSpyGUI.j
我尝试了以下步骤来使用 SchemaSpy 为本地 sqlite 数据库生成模式,但是出现警告“连接失败”并且没有生成模式。 从 here 下载 sqlite dll ,解压缩并添加到 Windows
我刚刚下载了 schemaspy,除此之外它运行完美。我总是必须使用 -dp 选项指定 mysql 连接器的路径。 如果我不指定它,我会得到这个错误: java.lang.ClassNotFoundE
有人用过这个工具吗?我想从我的数据库生成一个 ER 图。我这样运行 SchemaSpy: java -jar schemaSpy_5.0.0.jar -t pgsql -db mydb -host l
我想将 SchemaSpy 自动化作为针对 SQL Server 数据库的夜间构建的一部分。 我不确定具体如何解决这个问题,因为在我生成时似乎缺少 java sql server 驱动程序。 请问谁能
我正在尝试使用 SchemaSpy 进行 sqlite 转储。我启动并运行了 SchemaSpy,并且能够正确转储 MySQL 数据库。 现在我有一个 .sqlite 文件(来自 iOS 应用程序)和
运行 SchemaSpy 时出现错误: 由于以下错误,连接失败:“没有主机“xxx.xxx.xxx.xxx”、用户“xxxx”、数据库“xxx”、SSL 关闭的 pg_hba.conf 条目 发生错误
我是一名优秀的程序员,十分优秀!