‘artifactId’ with value ‘hello world’ does not match a valid

‘artifactId’ with value ‘hello world’ does not match a valid

[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   The project com.cognizant.app:hello world:1.1 (D:\My hello world maven
\hello world\pom.xml) has 1 error
[ERROR]     'artifactId' with value 'hello world' does not match a valid id patt
ern. @ line 5, column 15
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin


Dont give the artifact id with spaces.


hello world – invalid artifact id.

helloworld – valid artifact id.


Thanks for reading this post……….!!!


3,808 total views, 2 views today

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.