Comments (12)
when i use"mvn clean test "and "mvn install",i meet the problems like you ,what can i do
from swagger-core.
Hi @Angelabably, can you please pull the project and run "mvn install" from the top-level directory?
from swagger-core.
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
from swagger-core.
@erictheise can you please go to the top-level (swagger-core) project and run:
mvn -N
then mvn package
?
from swagger-core.
Starting over, and using "mvn install" cleared my issues, thanks @fehguy.
from swagger-core.
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
from swagger-core.
@fehguy 你好,你会说中文吗?我的英语不好,所以有时候不能很好理解你的意思。 can you speak chinese ? i can't speak english very well,so sometimes i can't unstand your meaning very well..
from swagger-core.
Please post your question in Chinese and we will translate
from swagger-core.
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"
from swagger-core.
@jimhao 你好。怎么git pull ?什么才是所谓的顶层project?
from swagger-core.
@fehguy 你好,我的maven是3.0版本的,调试项目的时候,出现了跟楼主一样的错误。当我打包项目的时候,出现了以上的那些错误。运行mvn install命令,没有成功。
from swagger-core.
一步一步来,
- 先从github网站checkout swagger-core (我假设你已经做过了)
- get latest code: git pull
- maven build: mvn clean install
请试运行这些步骤,然后把命令的输出post在这里。我们会帮助你分析
from swagger-core.
Related Issues (20)
- Where does the example json get rendered?
- SwaggerAnnotationIntrospector does not support JakartaEE apis HOT 4
- ArraySchema with anyOf is setting type of the items to "string"
- Why does Schema(description="foo") change generated openapi enum type to type: object?
- OpenAPI 3.1 broken reference to child class with oneOf reference
- Example missing for @ExternalDocumentation
- `AnnotatedType` is missing javadoc
- Missing array type when using @ArraySchema
- Is there a way to prevent operationIds suffixes?
- Which versions of swagger-core are actively supported? HOT 1
- NPE thrown in AnnotationUtils due to "API backwards compatibility fix" introduced in 2.2.21 HOT 4
- How to always generate yaml/json with the same element order? HOT 2
- swagger-maven-plugin-jakarta is always using the resourceClasses from the first execution HOT 1
- Eclipse project import crashs HOT 3
- Generated but not references ResponseEntity*** type in schema if rest-api-class is using spring's ResponseEntity
- Include fluent methods in Schema to add types and examples
- Cannot define API Key triple at root level
- java.lang.ClassCastException: class jdk.proxy2.$Proxy95 cannot be cast to class jakarta.validation.constraints.Min HOT 1
- Cast to ComposedSchema fails in case of OpenApi 3.1 with oneOf, anyOf, allOf
- RFC: Improved support for JSONSchema route hosting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swagger-core.