Can I use properties in an ivy.xml file to avoid repeating version numbers of dependencies?

后端 未结 3 1135
面向向阳花
面向向阳花 2021-02-02 12:06

Here\'s what part of my ivy.xml looks like right now:


&l         


        
3条回答
  •  梦谈多话
    2021-02-02 12:10

    Syntax is correct. All you need to do is set the ANT property somewhere.

    For example

    ant -Dspring.version=3.0.2.RELEASE
    

    Another alternative is to add the property declaration into the ivysettings.xml file

    
    
        
    
        
        
            
        
    
    

提交回复
热议问题