Project build error: 'groupId' with value 'IOCProj1(Basic)' does not match a valid id pattern

后端 未结 3 1210
难免孤独
难免孤独 2020-12-11 19:17

I have an issue with my POM:



        
3条回答
  •  悲&欢浪女
    2020-12-11 19:56

    According DefaultModelValidator class 'artifactId' and 'groupId' have to match following regular expression

    ID_REGEX = "[A-Za-z0-9_\-.]+" If you are intrested in other validations of maven pom file, looking into this class source code will be helpful. http://svn.apache.org/repos/asf/maven/maven-2/branches/maven-2.2.x/maven-project/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

提交回复
热议问题