Jeansen commented on issue #1572:
URL: https://github.com/apache/camel-quarkus/issues/1572#issuecomment-688419663


   When promoting to native, I got some error regarding the POM.xml file in the 
integration-tests folder
   
   ```
   [ERROR] The build could not read 1 project -> [Help 1]
   [ERROR]   
   [ERROR]   The project  
(/home/marcel/ownCloud/workspaces/projects/camel-quarkus/integration-tests/pom.xml)
 has 1 error
   [ERROR]     Non-parseable POM 
/home/marcel/ownCloud/workspaces/projects/camel-quarkus/integration-tests/pom.xml:
 Duplicated tag: 'modules' (position: START_TAG seen 
...</dependencyManagement>\n\n    <modules>... @53:14)  @ line 53, column 14 -> 
[Help 2]
   [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
   ```
   
   And in the POM, I see
   
   ```
    <modules>
           <module>aws2-lambda</module>
       </modules>
   
       <properties>
           <quarkus.banner.enabled>false</quarkus.banner.enabled>
       </properties>
   
       <dependencyManagement>
           <dependencies>
               <dependency>
                   <groupId>io.quarkus</groupId>
                   <artifactId>quarkus-junit5-internal</artifactId>
                   <version>${quarkus.version}</version>
               </dependency>
           </dependencies>
       </dependencyManagement>
   
       <modules>
           <!-- build those first -->
           <module>core</module>
           <module>main</module>
           <module>main-devmode</module>
           <module>main-xml-jaxb</module>
           <module>main-xml-io</module>
           <module>main-collector</module>
           <module>main-caffeine-lrucache</module>
           <module>main-command-mode</module>
   .
   .
   .
   ```
   
   Obviously, something with the module addition went wrong ;-) I'll fix it 
manually for now.
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to