jira-importer commented on issue #617:
URL: 
https://github.com/apache/maven-invoker-plugin/issues/617#issuecomment-2957808424

   **[Karl Heinz 
Marbaise](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=khmarbaise)**
 commented
   
   So after diving into more this...i found that the maven-plugins parent is 
setting things like this:
   
   ```xml
   <profile>
         <id>run-its</id>
         <properties>
           <!-- when testing with JDK9, change these values to 1.6 from cmdline 
-->
           
<invoker.maven.compiler.source>${maven.compiler.source}</invoker.maven.compiler.source>
           
<invoker.maven.compiler.target>${maven.compiler.target}</invoker.maven.compiler.target>
         </properties>
         <build>
           <plugins>
             <plugin>
               <groupId>org.apache.maven.plugins</groupId>
               <artifactId>maven-invoker-plugin</artifactId>
               <configuration>
                 <debug>true</debug>
                 <projectsDirectory>src/it</projectsDirectory>
                 
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
                 <preBuildHookScript>setup</preBuildHookScript>
                 <postBuildHookScript>verify</postBuildHookScript>
                 
<localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
                 <settingsFile>src/it/settings.xml</settingsFile>
                 <pomIncludes>
                   <pomInclude>*/pom.xml</pomInclude>
                 </pomIncludes>
                 <properties>
                   
<maven.compiler.source>${invoker.maven.compiler.source}</maven.compiler.source>
                   
<maven.compiler.target>${invoker.maven.compiler.target}</maven.compiler.target>
                 </properties>
               </configuration>
               <executions>
                 <execution>
                   <id>integration-test</id>
                   <goals>
                     <goal>install</goal>
                     <goal>integration-test</goal>
                     <goal>verify</goal>
                   </goals>
                 </execution>
               </executions>
             </plugin>
           </plugins>
         </build>
       </profile>
   ```
   
   The lines `properties` seemed to be the problem, but nevertheless why only 
in Maven 3.3.X ?
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to