Path: csiph.com!aioe.org!ZqR8OdY34PVajVCj9ULMUQ.user.46.165.242.91.POSTED!not-for-mail From: "Jeffrey H. Coffield" Newsgroups: comp.lang.java.programmer Subject: Re: maven integration test Date: Wed, 23 Nov 2022 07:58:02 -0800 Organization: Aioe.org NNTP Server Message-ID: References: <0dd077c9-5754-44f5-9c1c-8537fd08789an@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: gioia.aioe.org; logging-data="30620"; posting-host="ZqR8OdY34PVajVCj9ULMUQ.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Content-Language: en-US X-Notice: Filtered by postfilter v. 0.9.2 Xref: csiph.com comp.lang.java.programmer:39859 On 11/23/22 07:44, e.d.pro...@gmail.com wrote: >>> We are using a .properties file for the jdbc connect string. >>> I am loading the .properties file with the tag using read-project-properties in the properties-maven-plugin. >> duh. failsafe needs the properties file values. Of course I mess with this for 3 days then ask why it doesn't work and right away take a closer look and see I never put the properties-maven-plugin in the plugins section, just in the pluginManagement section. > > Now what am I missing? > I deleted the integration-test goal, then ran these commands, all success. > mvn validate > mvn compile > mvn test > mvn package > mvn verify > mvn install > Then I put the integration-test goal back in and ran mvn clean install and it fails database connection again. What is the output from maven with -e and -X? Jeff Coffield