If you is using datanucleus-maven-plugin in windows simply set fork property as false in configuration of plugin as follow:
<plugins>
...
<plugin>
<groupId>org.datanucleus</groupId>
<artifactId>datanucleus-maven-plugin</artifactId>
<version>3.3.0-release</version>
<configuration>
<verbose>true</verbose>
<fork>false</fork> <!-- Solve windows line too long error -->
</configuration>
</plugin>
...
</plugins>
See the datanucleus enhancer page for more datails.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…