E
E
Evgeniel2019-10-23 00:48:56
Java
Evgeniel, 2019-10-23 00:48:56

Why is the test data from the configuration that is specified in pom.xml in properties not pulled up?

when starting the test, the data from the configuration/tests_data.xml is not pulled up

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sergey, 2019-10-24
kuzmin @sergueik

Evgeniel , please start with a small pom.xml in your hundred profiles and all are active. use for echo

<plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-antrun-plugin</artifactId>
        <version>${maven-antrun-plugin.version}</version>
        <executions>
          <execution>
            <phase>generate-resources</phase>
            <goals>
              <goal>run</goal>
            </goals>
            <configuration>
              <tasks>
                <echo>Displaying value of 'something' property</echo>
                <echo>[something]: ${something}</echo>
              </tasks>
            </configuration>
          </execution>
        </executions>
      </plugin>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question