You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by GitBox <gi...@apache.org> on 2019/04/15 14:38:28 UTC

[GitHub] [camel-k] nicolaferraro opened a new issue #618: Malformed maven project while building context

nicolaferraro opened a new issue #618: Malformed maven project while building context
URL: https://github.com/apache/camel-k/issues/618
 
 
   I've tried to install latest upstream Camel K and the default contexts are not being created because of an error:
   
   ```
   [ERROR] [ERROR] Some problems were encountered while processing the POMs:
     | [ERROR] Malformed POM /tmp/builder-441205255/maven/pom.xml: Expected root element 'project' but found 'Project' (position: START_TAG seen ...ng="UTF-8"?>\n<Project xmlns="" xmlns:xsi="" xsi:schemaLocation="">... @2:54)  @ /tmp/builder-441205255/maven/pom.xml, line 2, column 54
     | [ERROR] 'modelVersion' is missing. @ line 3, column 17
     | [FATAL] 'groupId' is missing. @ line 4, column 12
     | [FATAL] 'artifactId' is missing. @ line 5, column 15
     | [FATAL] 'version' is missing. @ line 6, column 12
     | @
     | [ERROR] The build could not read 1 project -> [Help 1]
     | [ERROR]
     | [ERROR]   The project [unknown-group-id]:[unknown-artifact-id]:[unknown-version] (/tmp/builder-441205255/maven/pom.xml) has 5 errors
     | [ERROR]     Malformed POM /tmp/builder-441205255/maven/pom.xml: Expected root element 'project' but found 'Project' (position: START_TAG seen ...ng="UTF-8"?>\n<Project xmlns="" xmlns:xsi="" xsi:schemaLocation="">... @2:54)  @ /tmp/builder-441205255/maven/pom.xml, line 2, column 54 -> [Help 2]
     | [ERROR]     'modelVersion' is missing. @ line 3, column 17
     | [ERROR]     'groupId' is missing. @ line 4, column 12
     | [ERROR]     'artifactId' is missing. @ line 5, column 15
     | [ERROR]     'version' is missing. @ line 6, column 12
     | [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/ProjectBuildingException
     | [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services