swagger-api / swagger-core

Examples and server integrations for generating the Swagger API Specification, which enables easy access to your REST API
http://swagger.io
Apache License 2.0
7.39k stars 2.19k forks source link

Build Failure on Mac OS #10

Closed erictheise closed 12 years ago

erictheise commented 12 years ago

Trying to install the 31 January 2012 update in this environment

Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800) Maven home: /usr/share/maven Java version: 1.6.0_29, vendor: Apple Inc. Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home Default locale: en_US, platform encoding: MacRoman OS name: "mac os x", version: "10.6.8", arch: "x86_64", family: "mac"

I get a build failure in samples/java-jaxrs/

$ mvn jetty:run [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for com.wordnik:swagger-java-sample-app:war:1.02-SNAPSHOT [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.scala-lang:scala-library:jar -> duplicate declaration of version ${scala-version} @ com.wordnik:swagger-project:1.02-SNAPSHOT, /Users/erictheise/.m2/repository/com/wordnik/swagger-project/1.02-SNAPSHOT/swagger-project-1.02-SNAPSHOT.pom, line 393, column 16 [WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.scala-tools:maven-scala-plugin @ com.wordnik:swagger-project:1.02-SNAPSHOT, /Users/erictheise/.m2/repository/com/wordnik/swagger-project/1.02-SNAPSHOT/swagger-project-1.02-SNAPSHOT.pom, line 214, column 13 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ com.wordnik:swagger-project:1.02-SNAPSHOT, /Users/erictheise/.m2/repository/com/wordnik/swagger-project/1.02-SNAPSHOT/swagger-project-1.02-SNAPSHOT.pom, line 159, column 12 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ com.wordnik:swagger-project:1.02-SNAPSHOT, /Users/erictheise/.m2/repository/com/wordnik/swagger-project/1.02-SNAPSHOT/swagger-project-1.02-SNAPSHOT.pom, line 166, column 12 [WARNING] The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead. [WARNING] The expression ${version} is deprecated. Please use ${project.version} instead. [WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. [WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. [WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. [WARNING] The expression ${pom.url} is deprecated. Please use ${project.url} instead. [WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead. [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ com.wordnik:swagger-project:1.02-SNAPSHOT, /Users/erictheise/.m2/repository/com/wordnik/swagger-project/1.02-SNAPSHOT/swagger-project-1.02-SNAPSHOT.pom, line 314, column 12 [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin is missing. @ com.wordnik:swagger-project:1.02-SNAPSHOT, /Users/erictheise/.m2/repository/com/wordnik/swagger-project/1.02-SNAPSHOT/swagger-project-1.02-SNAPSHOT.pom, line 332, column 12 [WARNING] 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-project-info-reports-plugin is missing. @ com.wordnik:swagger-project:1.02-SNAPSHOT, /Users/erictheise/.m2/repository/com/wordnik/swagger-project/1.02-SNAPSHOT/swagger-project-1.02-SNAPSHOT.pom, line 339, column 12 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.pom (14 KB at 17.7 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-plugins/16/maven-plugins-16.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/16/maven-plugins-16.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/16/maven-plugins-16.pom (13 KB at 29.4 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.jar Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.jar (83 KB at 54.6 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-release-plugin/2.1/maven-release-plugin-2.1.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.1/maven-release-plugin-2.1.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.1/maven-release-plugin-2.1.pom (9 KB at 18.2 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/apache/maven/release/maven-release/2.1/maven-release-2.1.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/release/maven-release/2.1/maven-release-2.1.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/release/maven-release/2.1/maven-release-2.1.pom (7 KB at 17.9 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-release-plugin/2.1/maven-release-plugin-2.1.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.1/maven-release-plugin-2.1.jar Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-release-plugin/2.1/maven-release-plugin-2.1.jar (40 KB at 45.5 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-plugin-2.1.1.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-plugin-2.1.1.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-plugin-2.1.1.pom (7 KB at 15.2 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-plugin-2.1.1.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-plugin-2.1.1.jar Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-war-plugin/2.1.1/maven-war-plugin-2.1.1.jar (76 KB at 55.2 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-failsafe-plugin/2.6/maven-failsafe-plugin-2.6.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-failsafe-plugin/2.6/maven-failsafe-plugin-2.6.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-failsafe-plugin/2.6/maven-failsafe-plugin-2.6.pom (12 KB at 26.4 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/apache/maven/surefire/surefire/2.6/surefire-2.6.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.6/surefire-2.6.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/surefire/surefire/2.6/surefire-2.6.pom (9 KB at 16.5 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-failsafe-plugin/2.6/maven-failsafe-plugin-2.6.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-failsafe-plugin/2.6/maven-failsafe-plugin-2.6.jar Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-failsafe-plugin/2.6/maven-failsafe-plugin-2.6.jar (44 KB at 49.4 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/mortbay/jetty/jetty-maven-plugin/7.6.0.RC4/jetty-maven-plugin-7.6.0.RC4.pom Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-maven-plugin/7.6.0.RC4/jetty-maven-plugin-7.6.0.RC4.pom Downloaded: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-maven-plugin/7.6.0.RC4/jetty-maven-plugin-7.6.0.RC4.pom (7 KB at 13.8 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/mortbay/jetty/jetty-integration-project/7.6.0.RC4/jetty-integration-project-7.6.0.RC4.pom Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-integration-project/7.6.0.RC4/jetty-integration-project-7.6.0.RC4.pom Downloaded: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-integration-project/7.6.0.RC4/jetty-integration-project-7.6.0.RC4.pom (8 KB at 18.8 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/mortbay/jetty/jetty-parent/13/jetty-parent-13.pom Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-parent/13/jetty-parent-13.pom Downloaded: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-parent/13/jetty-parent-13.pom (4 KB at 7.4 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/eclipse/jetty/jetty-parent/19/jetty-parent-19.pom Downloading: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-parent/19/jetty-parent-19.pom Downloaded: http://repo1.maven.org/maven2/org/eclipse/jetty/jetty-parent/19/jetty-parent-19.pom (20 KB at 47.6 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/mortbay/jetty/jetty-maven-plugin/7.6.0.RC4/jetty-maven-plugin-7.6.0.RC4.jar Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-maven-plugin/7.6.0.RC4/jetty-maven-plugin-7.6.0.RC4.jar Downloaded: http://repo1.maven.org/maven2/org/mortbay/jetty/jetty-maven-plugin/7.6.0.RC4/jetty-maven-plugin-7.6.0.RC4.jar (67 KB at 48.1 KB/sec) [INFO]
[INFO] ------------------------------------------------------------------------ [INFO] Building swagger-java-jaxrs-app 1.02-SNAPSHOT [INFO] ------------------------------------------------------------------------ Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.pom Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.pom Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.pom (6 KB at 13.6 KB/sec) Downloading: http://scala-tools.org/repo-releases/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.jar Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.jar Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.4.3/maven-resources-plugin-2.4.3.jar (24 KB at 44.4 KB/sec) [INFO] [INFO] >>> jetty-maven-plugin:7.6.0.RC4:run (default-cli) @ swagger-java-sample-app >>> Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/wordnik/swagger-jaxrs_2.8.1/1.02-SNAPSHOT/maven-metadata.xml Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/wordnik/swagger-jaxrs_2.8.1/1.02-SNAPSHOT/swagger-jaxrs_2.8.1-1.02-SNAPSHOT.pom [WARNING] The POM for com.wordnik:swagger-jaxrs_2.8.1:jar:1.02-SNAPSHOT is missing, no dependency information available Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/wordnik/swagger-core_2.8.1/1.02-SNAPSHOT/maven-metadata.xml Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/wordnik/swagger-core_2.8.1/1.02-SNAPSHOT/swagger-core_2.8.1-1.02-SNAPSHOT.pom [WARNING] The POM for com.wordnik:swagger-core_2.8.1:jar:1.02-SNAPSHOT is missing, no dependency information available Downloading: http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.6.3/slf4j-log4j12-1.6.3.pom Downloaded: http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.6.3/slf4j-log4j12-1.6.3.pom (2 KB at 4.3 KB/sec) Downloading: http://repo1.maven.org/maven2/org/slf4j/slf4j-parent/1.6.3/slf4j-parent-1.6.3.pom Downloaded: http://repo1.maven.org/maven2/org/slf4j/slf4j-parent/1.6.3/slf4j-parent-1.6.3.pom (11 KB at 22.0 KB/sec) Downloading: http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.6.3/slf4j-api-1.6.3.pom Downloaded: http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.6.3/slf4j-api-1.6.3.pom (3 KB at 5.9 KB/sec) Downloading: http://repo1.maven.org/maven2/log4j/log4j/1.2.16/log4j-1.2.16.pom Downloaded: http://repo1.maven.org/maven2/log4j/log4j/1.2.16/log4j-1.2.16.pom (20 KB at 26.6 KB/sec) Downloading: http://repo1.maven.org/maven2/org/scalatest/scalatest_2.8.1/1.5.RC3/scalatest_2.8.1-1.5.RC3.pom Downloaded: http://repo1.maven.org/maven2/org/scalatest/scalatest_2.8.1/1.5.RC3/scalatest_2.8.1-1.5.RC3.pom (5 KB at 15.7 KB/sec) Downloading: http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.8.1/scala-library-2.8.1.pom Downloaded: http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.8.1/scala-library-2.8.1.pom (2 KB at 2.9 KB/sec) Downloading: http://repo1.maven.org/maven2/junit/junit/4.8.1/junit-4.8.1.pom Downloaded: http://repo1.maven.org/maven2/junit/junit/4.8.1/junit-4.8.1.pom (949 B at 1.9 KB/sec) Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/wordnik/swagger-jaxrs_2.8.1/1.02-SNAPSHOT/swagger-jaxrs_2.8.1-1.02-SNAPSHOT.jar Downloading: https://oss.sonatype.org/content/repositories/snapshots/com/wordnik/swagger-core_2.8.1/1.02-SNAPSHOT/swagger-core_2.8.1-1.02-SNAPSHOT.jar Downloading: http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.6.3/slf4j-log4j12-1.6.3.jar Downloading: http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.6.3/slf4j-api-1.6.3.jar Downloading: http://repo1.maven.org/maven2/log4j/log4j/1.2.16/log4j-1.2.16.jar Downloading: http://repo1.maven.org/maven2/org/scalatest/scalatest_2.8.1/1.5.RC3/scalatest_2.8.1-1.5.RC3.jar Downloading: http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.8.1/scala-library-2.8.1.jar Downloaded: http://repo1.maven.org/maven2/org/slf4j/slf4j-log4j12/1.6.3/slf4j-log4j12-1.6.3.jar (10 KB at 7.3 KB/sec) Downloading: http://repo1.maven.org/maven2/junit/junit/4.8.1/junit-4.8.1.jar Downloaded: http://repo1.maven.org/maven2/org/slf4j/slf4j-api/1.6.3/slf4j-api-1.6.3.jar (26 KB at 16.1 KB/sec) Downloaded: http://repo1.maven.org/maven2/junit/junit/4.8.1/junit-4.8.1.jar (232 KB at 56.2 KB/sec) Downloaded: http://repo1.maven.org/maven2/log4j/log4j/1.2.16/log4j-1.2.16.jar (471 KB at 79.5 KB/sec) Downloaded: http://repo1.maven.org/maven2/org/scalatest/scalatest_2.8.1/1.5.RC3/scalatest_2.8.1-1.5.RC3.jar (2589 KB at 70.4 KB/sec) Downloaded: http://repo1.maven.org/maven2/org/scala-lang/scala-library/2.8.1/scala-library-2.8.1.jar (6344 KB at 69.7 KB/sec) [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:55.488s [INFO] Finished at: Wed Feb 01 14:49:34 PST 2012 [INFO] Final Memory: 9M/81M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project swagger-java-sample-app: Could not resolve dependencies for project com.wordnik:swagger-java-sample-app:war:1.02-SNAPSHOT: The following artifacts could not be resolved: com.wordnik:swagger-jaxrs_2.8.1:jar:1.02-SNAPSHOT, com.wordnik:swagger-core_2.8.1:jar:1.02-SNAPSHOT: Could not find artifact com.wordnik:swagger-jaxrs_2.8.1:jar:1.02-SNAPSHOT in sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

fehguy commented 12 years ago

@erictheise can you please go to the top-level (swagger-core) project and run:

mvn -N

then mvn package

?

erictheise commented 12 years ago

Starting over, and using "mvn install" cleared my issues, thanks @fehguy.

Angelabably commented 12 years ago

when i use"mvn clean test "and "mvn install",i meet the problems like you ,what can i do

fehguy commented 12 years ago

Hi @Angelabably, can you please pull the project and run "mvn install" from the top-level directory?

Angelabably commented 12 years ago

when i run "mvn install ",it shows project failure..。my mvn version is 3.0.4 ,the problem shows like these:

Scanning for projects...

Some problems were encountered while building the effective model for org.androidpn:server:jar:0.5.0 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: dom4j:dom4j:jar -> duplicate declaration of version 1.6.1 @ org.androidpn:androidpn-server:0.5.0, C:\Users\wanghl\Documents\NetBeansProjects\androidpn-server-0.5.0\pom.xml, line 230, column 15 The expression ${version} is deprecated. Please use ${project.version} instead. The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead. The expression ${version} is deprecated. Please use ${project.version} instead. 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-changes-plugin is missing. @ org.androidpn:androidpn-server:0.5.0, C:\Users\wanghl\Documents\NetBeansProjects\androidpn-server-0.5.0\pom.xml, line 389, column 12 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-checkstyle-plugin is missing. @ org.androidpn:androidpn-server:0.5.0, C:\Users\wanghl\Documents\NetBeansProjects\androidpn-server-0.5.0\pom.xml, line 392, column 12 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.androidpn:androidpn-server:0.5.0, C:\Users\wanghl\Documents\NetBeansProjects\androidpn-server-0.5.0\pom.xml, line 400, column 12 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin is missing. @ org.androidpn:androidpn-server:0.5.0, C:\Users\wanghl\Documents\NetBeansProjects\androidpn-server-0.5.0\pom.xml, line 403, column 12 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-pmd-plugin is missing. @ org.androidpn:androidpn-server:0.5.0, C:\Users\wanghl\Documents\NetBeansProjects\androidpn-server-0.5.0\pom.xml, line 406, column 12

Angelabably commented 12 years ago

hello @fehguy, when i run "mvn install ",it shows project failure..。my mvn version is 3.0.4 ,the problem shows like these:

Scanning for projects...

Some problems were encountered while building the effective model for org.androidpn:server:jar:0.5.0 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: dom4j:dom4j:jar -> duplicate declaration of version 1.6.1 @ org.androidpn:androidpn-server:0.5.0, C:\Users\wanghl\Documents\NetBeansProjects\androidpn-server-0.5.0\pom.xml, line 230, column 15 The expression ${version} is deprecated. Please use ${project.version} instead. The expression ${artifactId} is deprecated. Please use ${project.artifactId} instead. The expression ${version} is deprecated. Please use ${project.version} instead. 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-changes-plugin is missing. @ org.androidpn:androidpn-server:0.5.0, C:\Users\wanghl\Documents\NetBeansProjects\androidpn-server-0.5.0\pom.xml, line 389, column 12 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-checkstyle-plugin is missing. @ org.androidpn:androidpn-server:0.5.0, C:\Users\wanghl\Documents\NetBeansProjects\androidpn-server-0.5.0\pom.xml, line 392, column 12 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ org.androidpn:androidpn-server:0.5.0, C:\Users\wanghl\Documents\NetBeansProjects\androidpn-server-0.5.0\pom.xml, line 400, column 12 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-jxr-plugin is missing. @ org.androidpn:androidpn-server:0.5.0, C:\Users\wanghl\Documents\NetBeansProjects\androidpn-server-0.5.0\pom.xml, line 403, column 12 'reporting.plugins.plugin.version' for org.apache.maven.plugins:maven-pmd-plugin is missing. @ org.androidpn:androidpn-server:0.5.0, C:\Users\wanghl\Documents\NetBeansProjects\androidpn-server-0.5.0\pom.xml, line 406, column 12

Angelabably commented 12 years ago

@fehguy 你好,你会说中文吗?我的英语不好,所以有时候不能很好理解你的意思。 can you speak chinese ? i can't speak english very well,so sometimes i can't unstand your meaning very well..

fehguy commented 12 years ago

Please post your question in Chinese and we will translate

jimhao commented 12 years ago

fehguy commented 12 hours ago

Hi @Angelabably, can you please pull the project and run "mvn install" from the top-level directory?

fehguy是说,先git pull 顶层 project ( top-level (swagger-core) project ), 然后执行命令 run "mvn install"

Angelabably commented 12 years ago

@jimhao 你好。怎么git pull ?什么才是所谓的顶层project?

Angelabably commented 12 years ago

@fehguy 你好,我的maven是3.0版本的,调试项目的时候,出现了跟楼主一样的错误。当我打包项目的时候,出现了以上的那些错误。运行mvn install命令,没有成功。

jimhaovipimo commented 12 years ago

一步一步来,

  1. 先从github网站checkout swagger-core (我假设你已经做过了)
  2. get latest code: git pull
  3. maven build: mvn clean install

请试运行这些步骤,然后把命令的输出post在这里。我们会帮助你分析