I'm using Intellij
's ui-designer
in my Maven
project and I understand from this question that I need to use ideauidesigner-maven-plugin
to create a jar out of my code.
So I add this to my pom.xml
:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>ideauidesigner-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>javac2</goal>
</goals>
</execution>
</executions>
<configuration>
<fork>true</fork>
<debug>true</debug>
<failOnError>true</failOnError>
</configuration>
</plugin>
And now when I'm trying to create the jar with "mvn clean package", I'm getting the following error "Index 20838 out of bounds for length 6699".