This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Turkish ----------------------------------------------------- Merhabalar; Netbeans maven ile yaratılmış java projelerim mevcut. Projemin içindeki dosyaları düzenliyor ve compile ediyorum ama son halini alması gerekirken ilk hallerini alıyor ve jar içine onu kopyalıyor. Bu problemi nasıl çözebilirim. Saygılarımla English ----------------------------------------------------- Dear All; I have java projects generated with Netbeans Maven. I editing file in my projects and compiling but it becomes its first conditions instead of last condition and copies in jar. How can i solve this problem..... Best Regards OS Type : Windows Server 2012 64 Bit Turkish.
I have problems understanding the issue here. Do you have steps to reproduce or a sample project? Do you have a Netbeans problem or Maven problem?
Created attachment 132621 [details] Sample Pom
Created attachment 132622 [details] Maven Settings
My Problem with Maven Projects (on Netbeans). I want to explain step by step. 1- I create maven project with archtype (See:Sample Pom Attachment) 2- I am developing code and making my first build. 3- Maven creates a jar in target folder. 4- I am editing my code and clean and build or build. 5- [ERROR] But the code and xml files dont change in jar content. I think this problem comes through cache system. I dont know but maybe my maven settings. This problem is so annoing. You are developing a code and making build, oopps! it doesnt work! why? becaouse your code hasnt changed; still old state. How can i solve this problem please help.
(In reply to comment #4) > My Problem with Maven Projects (on Netbeans). > > I want to explain step by step. > > 1- I create maven project with archtype (See:Sample Pom Attachment) > 2- I am developing code and making my first build. > 3- Maven creates a jar in target folder. > 4- I am editing my code and clean and build or build. > 5- [ERROR] But the code and xml files dont change in jar content. > The only moving part that is IDE specific here is Compile on Save feature. Everything else is handled by stock maven when it comes to building things. Please try disabling Compile on save on Compile panel in the project customizer. In 7.2 it's on by default, however it's off in stock 7.3. It's possibly that in-sync class files and resources confuse the gwt plugin or some other plugin.
please make sure compile on save is off for all affected projects. if the problem persists, reopen the issue, thanks.