<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.kurento</groupId>
<artifactId>kurento-module-facesegmentator-js</artifactId>
<version>6.6.0</version>
<packaging>jar</packaging>

<name>kurento-module-facesegmentator-js</name>
<description>
Kurento Media Server module kurento-module-facesegmentator-js
Javascript control client code
</description>
<url>http://www.kurento.org</url>

<licenses>
<license>
<name>GNU Lesser General Public License</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.txt</url>
<distribution>repo</distribution>
</license>
</licenses>

<organization>
<name>Kurento</name>
<url>http://www.kurento.org</url>
</organization>

<scm>
   <url>https://github.com/Kurento/kurento-module-facesegmentator-js</url>
   <connection>
      scm:git:https://github.com/Kurento/kurento-module-facesegmentator-js.git
   </connection>
   <developerConnection>
      scm:git:ssh://git@github.com:Kurento/kurento-module-facesegmentator-js.git
   </developerConnection>
</scm>
<developers>
<developer>
<id>kurento.org</id>
<name>-kurento.org Community</name>
<organization>Kurento.org</organization>
<organizationUrl>http://www.kurento.org</organizationUrl>
</developer>
</developers>
<build>
   <plugins>
        	<plugin>
           		<groupId>org.codehaus.mojo</groupId>
  		<artifactId>shell-maven-plugin</artifactId>
 		<version>1.0-beta-1</version>
<executions>
<execution>
        	<id>stage-sources</id>
 	<phase>process-sources</phase>
 	<goals>
 	   <goal>shell</goal>
 	</goals>
<configuration>
    		<workDir>${workDir}</workDir>
    	<chmod>true</chmod>
  	    		<keepScriptFile>true</keepScriptFile>
  			    			<script>
                                	npm install npm -g || exit 1; 	cd ${basedir}; 	npm -d install || exit 1; 	node_modules/.bin/grunt || exit 1; 	node_modules/.bin/grunt sync:bower || exit 1; 	mkdir -p src/main/resources/META-INF/resources/js/ || exit 1; 	cp dist/* src/main/resources/META-INF/resources/js/
     </script>
  	</configuration>
    	</execution>
</executions>
</plugin>
<plugin>
   <artifactId>maven-assembly-plugin</artifactId>
      <configuration>
    	    <descriptors>
    	 	<descriptor>
                          ${basedir}/assembly.xml
  	   </descriptor>
        </descriptors>
        	        <outputDirectory>
${project.build.directory}
                	</outputDirectory>
 	<appendAssemblyId>false</appendAssemblyId>
     </configuration>
  </plugin>
  		</plugins>
<extensions>
<extension>
<groupId>org.kuali.maven.wagons</groupId>
<artifactId>maven-s3-wagon</artifactId>
<version>1.2.1</version>
</extension>
</extensions>
</build>
<profiles>
<!-- Kurento CI requires this profiles to exist -->
<profile>
<id>default</id>
</profile>
<profile>
<id>deploy</id>
</profile>
<profile>
<id>kurento-release</id>
</profile>
</profiles>
</project>
