I would like to pass line.separator
to exec plugin but it seems that I do not correctly passing it. I have tried many combinations but could not find the solution. What is the correct way?
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>java</executable>
<arguments>
<argument>-Dline.separator=\n</argument>
<argument>-classpath</argument>
<classpath />
<argument>GeneratorExec</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>