test fails when building - flex-pmd-ruleset

Hi, I followed the developer documentation for how to generate the project in step 7 that fails because the following tests fail inside flex-pmd-ruleset:

Tests failed:
testProcessViolatingFiles (com.adobe.ac.pmd.rules.unused.UnusedLocalVariableRuleTest)
testBuildMessageName (com.adobe.ac.pmd.rules.core.EmptyRuleTest)
testProcessViolatingFiles (com.adobe.ac.pmd.rules.naming.WronglyNamedVariableRuleTest)
testProcessViolatingFiles (com.adobe.ac.pmd.rules.unused.UnusedPrivateMethodRuleTest)

Tests: 219, failures: 4 errors: 0 ignored: 0

[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.

I don't know how to correct these failures, clues as what may be the problem? I have run "mvn package" flex-pmd-parent of the command line.

TIA,

Magnus

I use 1.5 as a JAVA virtual machine indeed.

You can synchronize again, please?

All the differences using mvn install?

Xavier

Tags: Adobe Open Source

Similar Questions

  • Writing PNG file failed when build exe, but operate normally on the development platform

    See photo below, it is used to call WinAPI for screenshot and then save it in PNG file. This Vi operate normally on the flatform of development, but it failed when building the application .exe file. The pop-up dialog error 'chain of illegal path, OS', but it is clear that the path is correct. Note: run the same PC with Win XP.

    Update:

    I found the reason, but not a solution. In fact, the Clipboard.Get Image does not work when building application exe. But it's the private node invoke, impossible to get support of NOR.

    It seems to be to the node to invoke public on the version of LabVIEW 2012, which can help you check on LV2012 version? Thank you very much.

  • Side credit Service initiate test fails when you use Soap

    I followed the quick start guide (http://download.oracle.com/otndocs/products/bpel/quickstart.pdf) and when I try to do step 6 in "to test the credit rating service" I get an error of

    Your the following exception/fault generated test application:

    Could not initialize the BPEL process because the code input xml is not well-formed, the reason is:
    java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Software caused connection abort: connect please correct the input xml code.


    However when I click on the link for via Java delivery and submit leaving rather than via SOAP protocol it works perfectly. I'm assuming that the error has to do with something misconfigured with SOAP, but I have no idea where to even start looking. Any suggestions?

    I installed with the standalone oc4j for developers install on my laptop, the closure has added such that specified and got everything working. I had to modify the build.properties and replace localhost 127.0.0.1 and the password blank for eu1 so that he could successfully run the Ant (he told me to use ant instead of obant when I put in place).

    There is a bug in 10.1.2.x. So, you should work on SOA 10.1.3.4 operate... Please be on the latest version of the patch.

  • Flex PMD at Ant runtime error

    Hi guys

    I try to get the Flex PMD running in my ant build but run into some problems.

    My definition of the task:

    < name = "flexpmd.version property" value = "1.0.RC5" / > "

    "< name ="flexpmd.dir property"value =" ${LIBS.dir} /flexpmd "/ >

    < taskdef name = "flexPmd"

    classname = "com.adobe.ac.pmd.ant.FlexPmdAntTask"

    " classpath="${flexpmd.dir}/flex-pmd-ant-task-${flexpmd.version}.jar ".

    >

    < classpath >

    < pathelement location="${flexpmd.dir}/flex-pmd-ruleset-api-${flexpmd.version}6.jar"/ >

    < pathelement location="${flexpmd.dir}/flex-pmd-ruleset-${flexpmd.version}.jar"/ >

    < pathelement location="${flexpmd.dir}/flex-pmd-core-${flexpmd.version}.jar"/ >

    < pathelement location="${flexpmd.dir}/as3-plugin-utils-${flexpmd.version}.jar"/ >

    < pathelement location="${flexpmd.dir}/as3-parser-${flexpmd.version}.jar"/ >

    < pathelement location="${flexpmd.dir}/pmd-4.2.2.jar"/ >

    < pathelement location="${flexpmd.dir}/commons-lang-2.4.jar"/ >

    < pathelement location="${flexpmd.dir}/flex-pmd-files-${flexpmd.version}.jar"/ >

    < pathelement location="${flexpmd.dir}/as3-parser-api-${flexpmd.version}.jar"/ >

    < pathelement location="${flexpmd.dir}/plexus-utils-1.0.2.jar"/ >

    < / classpath >

    < / taskdef >

    and my results:

    C:\dev\workspaces\RTC\UUI_Core_ANT > ant f buildLocalDebug.xml

    BuildFile: buildLocalDebug.xml

    Trying to replace the old definition of manifest task

    createCoreFileSystem:

    compileLocalDebugCoreLibs:

    compileCoreLib:

    [manifest] running manifesto generator

    [manifest] done

    [manifest] running manifesto generator

    [manifest] done

    [manifest] running manifesto generator

    [manifest] done

    [compc] C:\dev\flexsdk\4.0.0.10708\frameworks\fle loading configuration file

    x config. XML

    [compc] C:\dev\workspaces\RTC\UUI_Shared_ANT\flex loading configuration file

    -config.xml

    [compc] C:\dev\workspaces\RTC\UUI_Shared_Libs\UUI\UUI_Core.swc (1996936 bytes

    s)

    BUILD FAILED

    C:\dev\workspaces\RTC\UUI_Core_ANT\buildLocalDebug.XML:16: The following error o

    ccurred when executing this line:

    C:\dev\workspaces\RTC\UUI_Core_ANT\includes\UUI_Core.XML:55: java.lang.NoClassDe

    fFoundError: net/sourceforge/pmd/RuleSetFactory

    Total duration: 5 seconds

    C:\dev\workspaces\RTC\UUI_Core_ANT >

    Def is ok I don't get an error at the beginning, only when the task tries to run. I had a look at the jars in the zip, I downloaded and can not find the RuleSetFactory class anywhere.

    Just today, I downloaded the last ant zip so must have the latest version. Any ideas?

    Thank you

    Looks like the pot of pmd.4.2.5 is not in the source path...

    Xavier

  • Windows build fails when add 'cordova-plugin-camera' + 'cordova-plugin-contacts'

    all the details here

    Windows build fails when add 'cordova-plugin-camera' + 'cordova-plugin-contacts'

    Resolved in the thread on the GS.

  • What are the answers of code of HD521-2W SMART short self-test error when running the diagnostics?

    1 HP Pavilion a4310f, product # AY014AA-ABA, software Build A1NAv6PrA1

    2. Microsoft Windows 7 Home Premium (64-bit) Edition

    3 a receipt the "Failed SMART short self-test HD521-2W" when executing Hardware Diagnostic tools.  Error message:

    Error message the device reported the following State: the previous self-test completed having the read element of the test failed. 01/12/2012-06:21:01

    The first LBA value failure Error Message is 440642933 and the failure occurred after that the device was working since 7943 hours under tension.

    01/12/2012-06:21:01

    4. I made no changes to my system for over a month.

    Device: Hard disk WDC WD64 00AAKS-65A7B SCSI Disk Device, the revision of the firmware 01.03B01

    This unit is my hard drive (it is in factory with partitions C: and D: {Factory Image})

    Hello

    The Smart error code would indicate that the hard disk is running out and must be replaced.  If you want a guide on this, let me know.

    Kind regards

    DP - K

  • the code source Flex PMD of construction

    Hi, I looked at the documentation for the developer on how to build locally to http://opensource.Adobe.com/wiki/display/flexpmd/developer+documentation .

    When I run step 7: mvn package

    I get this error

    [INFO] Analysis of projects...
    [INFO] ------------------------------------------------------------------------
    [INFO] Building default Maven project
    [INFO] task / segment: [package]
    [INFO] ------------------------------------------------------------------------
    [INFO] ------------------------------------------------------------------------
    [ERROR] BUILD ERROR
    [INFO] ------------------------------------------------------------------------
    [INFO] Cannot execute mojo: resources. It requires a project with an existing pom.xml, but accumulation does not use one.
    [INFO] ------------------------------------------------------------------------
    [INFO] For more information, run Maven with the-e switch
    [INFO] ------------------------------------------------------------------------
    [INFO] Time total: 1 second
    [INFO] Finished at: Sun Sep 08 07:41:12 CDT 2009
    [INFO] Final thesis: 3 m / 6 M
    [INFO] ------------------------------------------------------------------------

    I have these versions:

    Maven version: 2.0.10
    Java version: 1.6.0_10

    Should it be maven 2.2.0 or later or Java 1.5 or is there another addiction, I'm missing? The documentation does not mention the implementation of maven flex-mojos so I am assuming that is not necessary.

    TIA,

    Magnus

    You need to change the current flex-pmd-parent directory.

    I've updated the documentation.

    Thanks for reporting this.

    Xavier

  • SMART short test failed

    Under hardware Maintence diagnosed and he tells me that the SMART short Test failed what it means and how to fix this

    I think that trying to DEFRAGMENT a hard disk 'default' is the wrong thing to do.

    Compare to the conduct of a dirt road with Bald tires - while the Bald tires may be OK on a dry, paved, road between them work "hard" will result in a failure of the tire.

    Similarly, many files on the hard drive when it is expected to be soon to fail, is also a bad idea.

    Any small computer boss store can sell you a hard drive brand new and may try to "clone" of 100% of the hard drive of the 'old' drive on 'new' disk

    Price?  It depends on the capacity (250 GB? 500 GB? 1000GO? 2000 GB?).

    About US $100, you will have a new disk drive with a capacity greater than your current drive.

    Add $50 to $100 US for the technician:

    Open the computer case,

    * Check the physical size and the capacity of the old-disk drive, to recommend a "compatible" replacement

    * Fix temporarily the new discs,

    * run the software "-disk cloning."

    * delete the old records (and he will give it to you, so that you can literally hammer it, so that no one will ever be able to read one of your folders – think 'security'),

    * connect permanently the new disks.

    * close the computer case,

    * test it.

    It also depends on the "age" of your computer.

    If it is still running Windows XP or Windows Vista, it will be over ten years - REPLACE a computer of this type.

    rather than spend more than US $150 to keep until something else died of "old age".

  • Satellite Pro A10 comes with: error IDE #0, PXE-E61media test failed

    I recently bought a used Toshiba Satellite pro A10.
    When I received it, it was working and being a noob I tried to install a network card and create a wireless network with my desktop using XP when it did not work I plugged my ethernet (from my desktop) cable on the laptop and flashed upwards with a small number can not? dll etc etc.

    Now I unplugged the ethernet cable and when I try to boot my laptop it comes up with:

    "ERROR IDE #0".
    Intel (r) bootagent, FE v4.1.09
    Copyright 1997-2002 Intel Corp.
    PXE - E61: Media test failed, check that the cables
    PXE - M0F: Exit Intel Boot Agent
    Insert system disk in drive
    Press any key ".

    HI Tom,

    The error message that you receive indicate that your laptop is trying to start the connection to the LAN rather than from his own hard drive or a CD-ROM. I suggest that you verify that the boot sequence is specified correctly in your BIOS, or alternatively, you can press F12 during your market and you should get the boot device menu sequence appears so that you can specify that you want to boot from your hard drive.

    Kind regards

  • Pavilion Memory Test failed., ID 64W662-5066J2-XD7XGK-400V03 failure

    Crash... The BIOS memory test passes, but the HP Diagnostic memory test fails with the ID 64W662-5066J2-XD7XGK-400V03 failure.  Product ID VM298UA #ABA.  Any ideas?

    Hello

    Try the following.

    First, download the Memtest Image file (.) (ISO) on the following link.

    http://www.memtest.org/download/4.20/Memtest86+-4.20.ISO.zip

    It is a zipped file, if you do not have an extraction utility installed, download and install 7-Zip.  Please note that If you have a 64-bit installation, download and install the Installer x 64 64-bit .msi on the link below.

    http://www.7-zip.org/

    Then, right-click on the zipped file, select Extract 7 - Zip, select the files and then click Ok.  Open the newly extracted folder to find the Memtest Image.

    Now, you will need to use an application like ImgBurn to burn the ISO correctly on a blank CD - a guide on the use of ImgBurn to write that an ISO on a disc is here.

    When you created the CD, shut down the laptop.  Tap the escape key when you rewind to enter the Boot Menu.  Insert the Memtest CD.  Select 'Options of Boot' (usually f9), use the arrow keys to select the CD/DVD drive and press ENTER to boot from the disc.

    At least 3-4 passes and see if errors are found.

    Kind regards

    DP - K

  • Memory test failed w / Kingston 4 GB

    I have a HP G42 - 461LA Notebook PC, and I added a 4 GB Kingston Ram memory (KVR1333D3S9 / 4g). I started to notice my laptop has been slow and has decided to conduct a Test of memory of the HP Diagnostic tools (F2).

    It fails with this failure ID: U3439W-5HW70M-XD002K-40HU03

    When I removed the memory stick and tried again he passed successfully.

    The strange thing is that when it is installed it is recognized and it seems like it should work, but it is slow at the opening in a few tabs in the browser (most audio glitches), and the test fails.

    Hello

    ID failure indicates that there is a problem with a memory, and must be replaced. This should be the cause of the issue of the slow-running also.

    I suppose that there are two locations of memory for your computer.

    You can try a memory at once and run the test or check the performance of the computer with a memory. Then, you will be able to isolate the faulty memory.

    Sometimes it might be also the memory slot... so try a memory at a time in each slot in interchanging the. That will help you know if there is a problem with one of the slot.

    You can refer to this link...

    The upgrade (RAM RAM)

    I hope this helps...

  • Compaq presario v6000 v6409tu disk hard bios self-test fail

    Hello

    Windows xp no my pc compaq v6000 not starting and bluescreen showed a couple of times. I ran the BIOS (phoenix) disk hard diagnosis and the test failed. When I opened my HDD I noticed green rust as deposits into the connector on the hard drive. After cleaning with a brush, computer loaded XP successfully. But an hour later, while I was surfing in mozilla suddenly the mouse pointer started late and showed computer blue screen saying that windows has been closed down to prevent damage.

    I would be grateful if someone can tell me if it's a software problem or hard drive error. If I need to replace my hard drive, what are my options, for example. rpm, capacity, provider? Thank you.

    The only way you could have rusted copper into the connector on the hard drive is if liquid got in there so I am reluctant to try to speculate how much damage has been done. I remove the hard drive and connect it to the outside to another computer and run chkdsk on it to see if the drive itself is bad. As long as there is a problem on the part of connector and the interface with the motherboard cannot really trust the onboard hard drive Diagnostics. You could also get an own another new hard drive adapter.

    http://www.eBay.com/ITM/new-Compaq-Presario-C700-F500-F700-V6000-SATA-laptop-hard-drive-connector-/161297513053?PT=US_Drive_Bay_Caddies & Hash = item258e14ba5d

    If it does not turn on the hard drive is bad, you can replace it with any laptop SATA drive no more than 9.5 mm thick.

    http://www.Newegg.com/product/product.aspx?item=N82E16822145587

    Above is a good thing. It is slim (7mm) but it will still go into the caddy and connect to the motherboard with the connecting piece. If the hard drive itself is always good, and you replace the connector piece but he always bluescreens, so I would not spend money on a new hard drive. I would say that there was damage to the motherboard.

    If it's 'the Answer' please click on 'Accept as Solution' to help others find it.

  • SMART extended self test failed

    Is this what can I do to repair my disk hard when diagnostics the system returns this error message?

    The read element of the test failed (error code: HD521-3W)

    Is there available utilities to diagnose the problems of internet connection on HP?

    Thanks for any help anyone can give me.

    Michele

    Unfortunately, the result of this test tells you that the hard drive has failed, you will need to replace the hard drive.  You can save your data by installing the drive on another PC using one of the spare hard drive SATA connections, if it is a SATA or IDE secondary connector if the drive is IDE and try to read the disc in windows, but it depends on how much the failure of hard drive is. The reader may not even be readable.

  • M476nw: Color LaserJet MFP M476nw Fax Test failed

    I bought a new LaserJet M476nw, but my fax test fails each time through the configuration laserjet and HP utility software.  The Laserjet Printer is connected on a network and using Vista.

    I have a dedicated fax line that is connected into the socket on the icon with the socket at the rear of the laserjet printer.   I can hear the tone on the fax line when it is connected to a phone.   I called the fax line and it's normally rings and no response.   I also tried to connect a phone to the phone laserjet icon, while the fax line is connected to the laserJet printer, I hear the tone of the phone.

    I don't know what I have to do to get the fax test to pass, so I can start fax on this machine.  Any suggestion is appreciated.

    Mike

    In fact, this problem is now solved.

    It's a whole new machine, so since I didn't really have all the data I did a restore to return by default.  It restarts and now he spends.

  • BioHD-8 error code a smart test failed on the drive

    I am running vista Home premium that came pre-installed (so I don't have a disc) on a hp pavilion slimline S3500f

    I had a problem when windows wouldn't load, just kept freezing and restarting a couple of times before it load.

    I was recommended to change my graphics card, which I did and windows starts to load and then arrested again.

    Then I got a blue screen Uni, when I ran a diagnostic test, I got an error code BioHD-8 a smart test failed on the drive

    I have Norton anti-virus installed on the pc

    I would really appreciate your help on this, thanks in advance

    Hello
    I would suggest to run Startup Repair and check if it helps:
    http://Windows.Microsoft.com/en-us/Windows-Vista/startup-repair-frequently-asked-questions

    Otherwise, I suggest you post the question in the hp forum and check if that helps:
    http://h30434.www3.HP.com/T5/desktop-hardware/BD-p/HardwareDPC

    It will be useful.

Maybe you are looking for

  • Apple sells these upgrade memory cards?

    Trying to upgrade my iMac memory, looking for a reputable seller/reseller to purchase and I'm surprised of not not so far to find a product page of apple for the memory. Any ideas where to buy these things?

  • Satellite P20-102 - receiver remote not working do not after running recovery CD

    Hello I am running Windows Media Center Edition and on my laptop Satellite P20-102. I recently needed to run the recovery CD, the process went well except that my box of external remote control receiver provided with my laptop no longer works. The bo

  • quality mediocre photo smeared ink

    Suddenly my pictures are blurry, ink is spread and the colors are disabled, blue has yellow and bad image quality, I cleaned and replaced the ink cartridges and ink carteidges port - no help, how to clean the print head?

  • HP Envy 5540: No wi - fi

    Why my printer will not appear on Google Cloud Setup? I recently bought the HP Envy 5540, but I was not able to print anything. I went through the registration process, but initially could not add my wi - fi password because I couldn't remember what

  • Photosmart 3210xi top will not close

    I have a HP Photosmart 3210xi that top will not close. It was opned the same as you would to change ink carterage