Maven: Overview for the values of Maven properties

后端 未结 5 1875
野性不改
野性不改 2020-12-08 04:31

I would like to find out the values of all Maven properties as they apply to some Maven project.
mvn help:system lists OS environment variables and

5条回答
  •  春和景丽
    2020-12-08 05:04

    Actually project.build.outputDirectory is there but you need to execute in 'compile' phase, and NOT in 'validate'. I guess what properties are available also depends on the current phase for the executing goal of a particular plug-in, in this case 'maven-antrun-plugin'.

                
            
                org.apache.maven.plugins
                maven-antrun-plugin
                ${ant.plugin.version}
                
                    
                        compile
                        
                            run
                        
                        
                            
                                
                            
                        
                    
                
            
    

提交回复
热议问题