Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Malformed maven project while building context #618

Closed
nicolaferraro opened this issue Apr 15, 2019 · 2 comments
Closed

Malformed maven project while building context #618

nicolaferraro opened this issue Apr 15, 2019 · 2 comments
Assignees

Comments

@nicolaferraro
Copy link
Member

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
@astefanutti
Copy link
Member

I've noticed it too. I think this is only the spring-boot context that is not right. The others work as expected.

@lburgazzoli
Copy link
Contributor

We need to fix it but I would recommend to remove spring boot as part of the default context in any case

@astefanutti astefanutti self-assigned this Apr 16, 2019
valdar pushed a commit to jboss-fuse/camel-k that referenced this issue May 21, 2019
ipolyzos pushed a commit to ipolyzos/camel-k that referenced this issue Jul 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants