Frage

With Intellij < 13.1.2 we were able to locally have a exploded artifact with exploded subartifacts for development, the actual version 13.1.2 is putting out *.jar and *.war files instead of directories.

I found this workaround in their bugtracker: http://youtrack.jetbrains.com/issue/IDEA-124353 but was wondering how to achieve this for all modules, instead of having to list all of them?

War es hilfreich?

Lösung

Ok, I found my workaround by adding a maven profile for intellij and enabling it:

 <profiles>
        <profile>
            <id>intellij</id>
            <build>
                <plugins>
                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-ear-plugin</artifactId>
                        <configuration>
                            <unpackTypes>war,ejb</unpackTypes>
                        </configuration>
                    </plugin>
                </plugins>
            </build>
        </profile>
    </profiles>
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top