久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

  1. <tfoot id='B9Dg2'></tfoot>
    1. <legend id='B9Dg2'><style id='B9Dg2'><dir id='B9Dg2'><q id='B9Dg2'></q></dir></style></legend>

      <small id='B9Dg2'></small><noframes id='B9Dg2'>

      <i id='B9Dg2'><tr id='B9Dg2'><dt id='B9Dg2'><q id='B9Dg2'><span id='B9Dg2'><b id='B9Dg2'><form id='B9Dg2'><ins id='B9Dg2'></ins><ul id='B9Dg2'></ul><sub id='B9Dg2'></sub></form><legend id='B9Dg2'></legend><bdo id='B9Dg2'><pre id='B9Dg2'><center id='B9Dg2'></center></pre></bdo></b><th id='B9Dg2'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='B9Dg2'><tfoot id='B9Dg2'></tfoot><dl id='B9Dg2'><fieldset id='B9Dg2'></fieldset></dl></div>
        <bdo id='B9Dg2'></bdo><ul id='B9Dg2'></ul>

      Maven:在不同的源代碼級別上編譯和測試

      Maven: compiling and testing on different source levels(Maven:在不同的源代碼級別上編譯和測試)
        1. <tfoot id='9cdFI'></tfoot>
            <bdo id='9cdFI'></bdo><ul id='9cdFI'></ul>

            <small id='9cdFI'></small><noframes id='9cdFI'>

                <tbody id='9cdFI'></tbody>

            • <legend id='9cdFI'><style id='9cdFI'><dir id='9cdFI'><q id='9cdFI'></q></dir></style></legend>

                <i id='9cdFI'><tr id='9cdFI'><dt id='9cdFI'><q id='9cdFI'><span id='9cdFI'><b id='9cdFI'><form id='9cdFI'><ins id='9cdFI'></ins><ul id='9cdFI'></ul><sub id='9cdFI'></sub></form><legend id='9cdFI'></legend><bdo id='9cdFI'><pre id='9cdFI'><center id='9cdFI'></center></pre></bdo></b><th id='9cdFI'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='9cdFI'><tfoot id='9cdFI'></tfoot><dl id='9cdFI'><fieldset id='9cdFI'></fieldset></dl></div>
                本文介紹了Maven:在不同的源代碼級別上編譯和測試的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我目前正在開發一個將在嵌入式設備上運行的項目.該設備運行 Java ME JRE(相當于 Java 1.4).

                I am currently working on a project which will run on an embedded device. The device runs a Java ME JRE (comparable to Java 1.4).

                因為這個 maven 被配置為編譯為 source &目標等級 1.4.

                Because of this maven is configured to compile for source & target level 1.4.

                是否可以在不同的源/目標級別上運行 Maven 測試階段?因為這樣我可以使用 Mockito 進行單元測試.

                Is it possible to run the maven test phase on a different source/target level? Because this way I could use Mockito for unit-testing.

                推薦答案

                編譯和testCompile maven 編譯器插件 的目標.您可以通過在 pom 中定義屬性來更改設置:

                The source and target versions can be set separately for the compile and testCompile goals of the maven compiler plugin. You can change the settings either by defining properties in your pom:

                <properties>
                    <maven.compiler.source>1.4</maven.compiler.source>
                    <maven.compiler.target>1.4</maven.compiler.target>
                    <maven.compiler.testSource>1.5</maven.compiler.testSource>
                    <maven.compiler.testTarget>1.5</maven.compiler.testTarget>
                </properties>
                

                或者通過編譯器插件的顯式配置:

                Or by explicit configuration of the compiler plugin:

                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>2.4</version>
                    <configuration>
                        <source>1.4</source>
                        <target>1.4</target>
                        <testSource>1.5</testSource>
                        <testTarget>1.5</testTarget>
                    </configuration>
                </plugin>
                

                這篇關于Maven:在不同的源代碼級別上編譯和測試的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                How can I detect integer overflow on 32 bits int?(如何檢測 32 位 int 上的整數溢出?)
                Local variables before return statements, does it matter?(return 語句之前的局部變量,這有關系嗎?)
                How to convert Integer to int?(如何將整數轉換為整數?)
                How do I create an int array with randomly shuffled numbers in a given range(如何在給定范圍內創建一個隨機打亂數字的 int 數組)
                Inconsistent behavior on java#39;s ==(java的行為不一致==)
                Why is Java able to store 0xff000000 as an int?(為什么 Java 能夠將 0xff000000 存儲為 int?)

                    <legend id='9vJ4c'><style id='9vJ4c'><dir id='9vJ4c'><q id='9vJ4c'></q></dir></style></legend>

                    <small id='9vJ4c'></small><noframes id='9vJ4c'>

                    <tfoot id='9vJ4c'></tfoot>
                        <bdo id='9vJ4c'></bdo><ul id='9vJ4c'></ul>
                            <tbody id='9vJ4c'></tbody>
                          <i id='9vJ4c'><tr id='9vJ4c'><dt id='9vJ4c'><q id='9vJ4c'><span id='9vJ4c'><b id='9vJ4c'><form id='9vJ4c'><ins id='9vJ4c'></ins><ul id='9vJ4c'></ul><sub id='9vJ4c'></sub></form><legend id='9vJ4c'></legend><bdo id='9vJ4c'><pre id='9vJ4c'><center id='9vJ4c'></center></pre></bdo></b><th id='9vJ4c'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='9vJ4c'><tfoot id='9vJ4c'></tfoot><dl id='9vJ4c'><fieldset id='9vJ4c'></fieldset></dl></div>
                        • 主站蜘蛛池模板: 欧美在线一区二区三区 | 日本一区二区高清视频 | 日韩精品视频在线免费观看 | 欧美国产激情二区三区 | 91国在线视频 | 国产91丝袜在线播放 | 国产精品精品视频一区二区三区 | 亚洲精品视频在线看 | 91精品在线观看入口 | 国产精品五区 | 午夜av电影 | 国产乱肥老妇国产一区二 | 91xx在线观看| 国产精品视频一二三区 | av一区二区三区四区 | 久久国产精品无码网站 | 国产精品1区2区3区 欧美 中文字幕 | h视频亚洲 | 中文字幕一区二区三区不卡 | 黑人巨大精品欧美一区二区免费 | 欧美激情va永久在线播放 | 欧美精品二区 | 国产精品久久久久久久久久免费看 | 日韩视频在线一区二区 | 青青草原综合久久大伊人精品 | 欧美成人免费在线 | 国产在线1区 | 免费av电影网站 | 成人免费在线视频 | 一区二区中文 | 日韩电影中文字幕在线观看 | 国产你懂的在线观看 | 日韩av在线免费 | 亚洲精品天堂 | 亚洲欧美日韩在线 | 午夜激情视频 | 福利视频1000 | 亚欧洲精品在线视频免费观看 | 午夜看电影在线观看 | 亚洲人成网站777色婷婷 | 午夜激情一区 |