Running webapp full js
========================
As webapp js is in dev and won't probably be released soon, the module is not activated by default and it's included only in a profile
-mvn tomcat7:run -pl :archiva-webapp-js -am -Pdev (to save fingers :-) use sh ./t7.sh )
+mvn tomcat7:run -pl :archiva-webapp-js -am (to save fingers :-) use sh ./t7.sh )
or
-mvn tomcat6:run -pl :archiva-webapp-js -am -Pdev
+mvn tomcat6:run -pl :archiva-webapp-js -am
hit your browser: http://localhost:9091/archiva/index.html
</plugins>
</build>
- <profiles>
- <profile>
- <!-- profile for dev an log output in the console -->
- <id>dev</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>override-log4j-with-console-output</id>
- <phase>process-resources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <tasks>
- <copy overwrite="true" file="${basedir}/src/test/tomcat/auto-admin-creation.properties"
- todir="${project.build.directory}/target/"/>
- <copy overwrite="true" file="${basedir}/src/test/tomcat/log4j.xml"
- todir="${project.build.outputDirectory}"/>
- </tasks>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
</project>
set -x
-mvnDebug tomcat7:run -pl :archiva-webapp-js -am -Pdev $@
+mvnDebug tomcat7:run -pl :archiva-webapp-js -am $@
set -x
-mvn tomcat7:run -pl :archiva-webapp-js -am -Pdev $@
+mvn tomcat7:run -pl :archiva-webapp-js -am $@