background : The project USES ant Script packaging , But it needs maven To carry out sonar Code scanning . So there are build.xml And then there is pom.xml

build.xml Set the packaged product folder as target,maven After running, it will be generated by default target Folder , There will be coverage problems ,

because maven Package default generation target Folder ,

So we can only modify ant The folder where the products are packed , Don't maven Duplicate folder name .

About the project, we should use ant The script has to use maven pom.xml More related articles on file issues

  1. Maven project pom.xml File,

    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/20 ...

  2. Maven Learning summary ( 11、 ... and )——Maven Project object model pom.xml File,

    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/20 ...

  3. Maven project pom.xml Newspaper and newspaper xxx\target\classes\META-INF\MANIFEST.MF ( The system could not find the specified path )

    In today's study Maven This error encountered in the project :pom.xml Newspaper and newspaper xxx\target\classes\META-INF\MANIFEST.MF ( The system could not find the specified path ) stay Maven In project learning , Cache question ...

  4. Eclipse Using it will Git Project to Maven project , ( Be careful : Finally no pom.xml Of documents , To transform )

    Eclipse Using it will Git Project to Maven project ( The whole picture ) 2017 year 08 month 11 Japan 09:24:31 Read the number :427 1. open Eclipse,File->Import 2.Git->Pr ...

  5. After installation idea, The project can't run ,pom.xml File cannot be downloaded to local warehouse ,maven The configuration is correct

    After installation idea, The project can't run ,pom.xml File cannot be downloaded to local warehouse ,maven The configuration is correct Upload the project to svn after , After colleagues download the project , Not identified mavn Medium pom.xml file , Lead to idea Cannot download automatically ...

  6. IDEA Next Maven Step on the pit of the project ----1.pom,xml Under the document ${spring-version} Out-of-service

    because pom.xml The file is directly copied from others web Environmental Science , So after pasting in, there is a part not pasted into , So there's a red explosion resolvent :↓↓↓↓ Code : <project.build.sourceEncoding ...

  7. solve Maven In the project pom.xml File error (Failure to transfer....) The problem of

    open pom.xml file , Error checking , If the error type is :Failure to transfer......... And so on. , It shows that your pom Depending on jar The package is not fully downloaded . resolvent : Find your local maven Warehouse , ...

  8. spring boot The project is read from the configuration file maven Of pom.xml The content of the file label .

    demand : take pom.xml The version number in the file is read to the configuration file and printed to the log . First step : stay pom.xml Add the following label to . The second step : take version The value of the tag is read into the configuration file Use here @@  instead of   ...

  9. Experience of practical project construction ( Four )( repair ):Maven settings.xml All the labels of

    The content of the article is long , Every spectator can according to their own needs CTRL+F Direct to the place you need to know ~ <?xmlversion="1.0" encoding="UTF-8" ...

Random recommendation

  1. C++ Medium sort Sort usage

    STL It comes with a sort function sortsort Sort all elements of a given interval To use this function, just #include <algorithm> sort You can use , The grammar is described as :sort(begin,end ...

  2. POJ 1741 Tree ( The point divide of the tree )

      Tree Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 16172   Accepted: 5272 Descripti ...

  3. oralce The stored procedure of

    One :-- Loop to the table emp Insert data declare maxnumber ; v_count number; begin v_count :; ..maxnumber LOOP v_count :; in ...

  4. swift- Custom infinite carousel map

    One   Preface 1. I've been using OC Programming , I've only recently started to use swift I found that using OC More and more not used to , I feel like I've fallen in love with swift. 2. This custom carousel map is just for the previous OC The version has been translated , Welcome to correct . 3. I decided to take it one step at a time ...

  5. A good workman does his work well : The God of editor Vim( One )

    This article collects Vim Some of the most common and practical commands , With these commands, you can use Vim 了 This article only lists the commands that I think are commonly used , This series of articles is more like your own study notes , instead of VIM Use the tutorial . If you want to know vim More of , You can see Co ...

  6. Convolutional neural networks CNN

    Convolutional neural networks , It plays an important role in image recognition and natural language processing , speak cnn There are also many Chinese blogs , But the personal feeling that the context is clear and easy to understand is not much . Accidentally see this blog , Write very well , illustrated . The suggestion English is good go to see the original text directly . English is not good on ...

  7. Linux Introduction to common monitoring commands - top

    top -hv | -bcisS -d delay -n iterations -p pid [, pid ...] Instruction Introduction -b : Run in batch mode .-c : Show the command line to perform the task .-d : Set the delay ...

  8. 「 Crack 」Xposed strong

    「 Crack 」Xposed strong Hook Hook Hook! Two pictures , The first is a screenshot of my wechat , The second one is from wechat Hook Some of the class names . A piece of code ,Hook The source code of these class names . What can we do with that , Analysis, of course ( ...

  9. create session Parameter Introduction

    Create Session alias, url, headers={}, cookies=None, auth=None, timeout=None, proxies=None, verify=F ...

  10. Android Dalvik Virtual machine is new

    Excerpt from :http://blog.csdn.net/andyxm/article/details/6126907 First , Let's think about the following questions : What is? Dalvik virtual machine ? Dalvik VM And JVM Yes ...