Issues using ivy:publish task

后端 未结 1 1732
星月不相逢
星月不相逢 2020-12-03 22:23

I\'m trying to use ivy:publish to publish a jar that I\'ve built to the .ivy repository, but I\'m getting an error. I\'m pretty sure I\'m not using it corre

1条回答
  •  离开以前
    2020-12-03 23:04

    You've forgotten a publications section in your ivy file.

    
        
    
        
            
        
    
          
            
            
            
            
            
    
    

    The status and revision (pubrevision) fields can be specified by the publish task as follows:

       
            
        
    

    Note 1:

    It would be simpler to generate the jar file without the revision number in the name. Just let ivy's artifact pattern pick up the jar file.

    Note 2:

    You will require an ivy resolve at some stage in your build, otherwise the ivy file doesn't get processed.

    0 讨论(0)
提交回复
热议问题