Projekt

Obecné

Profil

« Předchozí | Další » 

Revize c98d180a

Přidáno uživatelem Patrik Harag před asi 6 roky(ů)

Execute 'npm install' during 'mvn install'

Zobrazit rozdíly:

sources/imiger-core/pom.xml
54 54
                    </dependency>
55 55
                </dependencies>
56 56
            </plugin>
57

  
58
            <plugin>
59
                <!-- npm integration -->
60
                <groupId>org.codehaus.mojo</groupId>
61
                <artifactId>exec-maven-plugin</artifactId>
62
                <version>1.6.0</version>
63
                <executions>
64
                    <!-- The following will ensure `npm install` is called -->
65
                    <execution>
66
                        <id>npm install</id>
67
                        <goals>
68
                            <goal>exec</goal>
69
                        </goals>
70
                        <phase>initialize</phase>
71
                        <configuration>
72
                            <executable>npm</executable>
73
                            <arguments>
74
                                <argument>install</argument>
75
                            </arguments>
76
                            <workingDirectory>${project.basedir}/src/main/webapp</workingDirectory>
77
                        </configuration>
78
                    </execution>
79
                </executions>
80
            </plugin>
57 81
        </plugins>
58 82
    </build>
59 83

  

Také k dispozici: Unified diff