"[FATAL] Non-readable POM : input contained no data @" when creating a project in RHDM/RHPAM

Solution Unverified - Updated -

Issue

  • When I create a new project in Decision Central, I get the following error:

    ERROR [org.appformer.maven.integration.embedder.MavenProjectLoader] (default task-2) Unable to create MavenProject from InputStream: 
    org.apache.maven.project.ProjectBuildingException: 1 problem was encountered while building the effective model
    [FATAL] Non-readable POM : input contained no data @  for project
            at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:168)
            at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:126)
            at org.appformer.maven.integration.embedder.MavenEmbedder.readProject(MavenEmbedder.java:308)
            at org.appformer.maven.integration.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:91)
            at org.appformer.maven.integration.embedder.MavenProjectLoader.parseMavenPom(MavenProjectLoader.java:84)
            at org.guvnor.common.services.project.backend.server.ModuleRepositoryResolverImpl.getRemoteRepositoriesMetaData(ModuleRepositoryResolverImpl.java:143)
            at org.guvnor.common.services.project.backend.server.ModuleRepositoryResolverImpl$Proxy$_$$_WeldClientProxy.getRemoteRepositoriesMetaData(Unknown Source)
            ...
    Caused by: org.apache.maven.model.building.ModelBuildingException: 1 problem was encountered while building the effective model
    [FATAL] Non-readable POM : input contained no data @
            ...
    

Environment

  • Red Hat Decision Manager
    • 7.3
    • 7.4
    • 7.5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In