<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--
 * NovaForge(TM) is a web-based forge offering a Collaborative Development and
 * Project Management Environment.
 *
 * Copyright (C) 2007-2012  BULL SAS
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see http://www.gnu.org/licenses/.
-->
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.safehaus.subutai</groupId>
    <artifactId>vaadin-osgi-parent</artifactId>
    <version>2.0.0</version>
  </parent>
  <artifactId>vaadin-ui</artifactId>
  <packaging>war</packaging>
  <name>Subutai Vaadin OSGi UI</name>
  <description>Subutai Vaadin OSGi UI</description>

  <build>
    <finalName>vaadin-ui</finalName>
    <plugins>
      <!--<plugin>-->
      <!--<groupId>org.apache.maven.plugins</groupId>-->
      <!--<artifactId>maven-jar-plugin</artifactId>-->
      <!--<configuration>-->
      <!--&lt;!&ndash;<finalName>${artifactId}-${project.version}</finalName>&ndash;&gt;-->
      <!--<archive>-->
      <!--<manifest>-->
      <!--<addDefaultImplementationEntries>true</addDefaultImplementationEntries>-->
      <!--</manifest>-->
      <!--<manifestEntries>-->
      <!--<Implementation-Build>${parent.version}</Implementation-Build>-->
      <!--</manifestEntries>-->
      <!--</archive>-->
      <!--</configuration>-->
      <!--<executions>-->
      <!--<execution>-->
      <!--<id>make-a-jar</id>-->
      <!--<phase>compile</phase>-->
      <!--<goals>-->
      <!--<goal>jar</goal>-->
      <!--</goals>-->
      <!--</execution>-->
      <!--</executions>-->
      <!--</plugin>-->
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <configuration>
          <supportedProjectTypes>
            <supportedProjectType>war</supportedProjectType>
          </supportedProjectTypes>
          <instructions>
            <Bundle-SymbolicName>${project.groupId}.server.ui</Bundle-SymbolicName>
            <Bundle-ClassPath>.,WEB-INF/classes</Bundle-ClassPath>

            <!-- Add Embed lib -->
            <Embed-Directory>WEB-INF/lib</Embed-Directory>
            <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
            <Import-Package>*;resolution:=optional</Import-Package>
            <Export-Package>
              <!--com.vaadin.ui.*;-->
              <!--com.vaadin.data.*;-->
              <!--com.vaadin.server.*;-->
              <!--com.vaadin.event.*;-->
              <!--com.vaadin.client.*;-->
              <!--com.vaadin.shared.*;-->
              <!--com.google.gwt.*;-->
              <!--org.json.*;-->
              {local-packages};version=${project.version};-noimport:=true
            </Export-Package>

            <!-- Package format version - do not change -->
            <Vaadin-Package-Version>${project.version}</Vaadin-Package-Version>

            <!-- Comma-separated list of widgetsets in the package -->
            <Vaadin-Widgetsets>org.safehaus.subutai.server.ui.widgetset.PortalWidgetset</Vaadin-Widgetsets>

            <!-- OSGi war spec config -->
            <Web-ContextPath>subutai</Web-ContextPath>
          </instructions>
        </configuration>
        <executions>
          <execution>
            <id>bundle-manifest</id>
            <phase>process-classes</phase>
            <goals>
              <goal>manifest</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <attachClasses>true</attachClasses>
          <webResources>
            <resource>
              <filtering>true</filtering>
              <directory>src/main/webapp</directory>
              <includes>
                <include>**/web.xml</include>
              </includes>
            </resource>
          </webResources>
          <archive>
            <manifestFile>META-INF/MANIFEST.MF</manifestFile>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <!-- Updates Vaadin widgetset definitions based on project dependencies Remove widgetset directory to trigger recompile: rm -Rf src/main/webapp/VAADIN/widgetsets/ -->
      <id>update-widgetset</id>
      <activation>
        <file>
          <missing>${basedir}/src/main/webapp/VAADIN/widgetsets/</missing>
        </file>
        <property>
          <name>vaadin.production</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>com.vaadin</groupId>
            <artifactId>vaadin-maven-plugin</artifactId>
            <configuration>
              <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets/</webappDirectory>
              <extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
            </configuration>
            <executions>
              <execution>
                <goals>
                  <goal>resources</goal>
                  <goal>update-widgetset</goal>
                  <goal>compile</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>vaadin-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>subutai-common</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>agent-manager-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- Vaadin dependencies -->
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-server</artifactId>
    </dependency>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-client-compiled</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-client</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-shared</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-shared-deps</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-themes</artifactId>
      <scope>provided</scope><commit_msg>Subutai Application Feature added<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--
 * NovaForge(TM) is a web-based forge offering a Collaborative Development and
 * Project Management Environment.
 *
 * Copyright (C) 2007-2012  BULL SAS
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as
 * published by the Free Software Foundation, either version 3 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see http://www.gnu.org/licenses/.
-->
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <parent>
    <groupId>org.safehaus.subutai</groupId>
    <artifactId>vaadin-osgi-parent</artifactId>
    <version>2.0.0</version>
  </parent>
  <artifactId>vaadin-ui</artifactId>
  <packaging>war</packaging>
  <name>Subutai Vaadin OSGi UI</name>
  <description>Subutai Vaadin OSGi UI</description>

  <build>
    <finalName>vaadin-ui</finalName>
    <plugins>
      <!--<plugin>-->
      <!--<groupId>org.apache.maven.plugins</groupId>-->
      <!--<artifactId>maven-jar-plugin</artifactId>-->
      <!--<configuration>-->
      <!--&lt;!&ndash;<finalName>${artifactId}-${project.version}</finalName>&ndash;&gt;-->
      <!--<archive>-->
      <!--<manifest>-->
      <!--<addDefaultImplementationEntries>true</addDefaultImplementationEntries>-->
      <!--</manifest>-->
      <!--<manifestEntries>-->
      <!--<Implementation-Build>${parent.version}</Implementation-Build>-->
      <!--</manifestEntries>-->
      <!--</archive>-->
      <!--</configuration>-->
      <!--<executions>-->
      <!--<execution>-->
      <!--<id>make-a-jar</id>-->
      <!--<phase>compile</phase>-->
      <!--<goals>-->
      <!--<goal>jar</goal>-->
      <!--</goals>-->
      <!--</execution>-->
      <!--</executions>-->
      <!--</plugin>-->
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <configuration>
          <supportedProjectTypes>
            <supportedProjectType>war</supportedProjectType>
          </supportedProjectTypes>
          <instructions>
            <Bundle-SymbolicName>${project.groupId}.server.ui</Bundle-SymbolicName>
            <Bundle-ClassPath>.,WEB-INF/classes</Bundle-ClassPath>

            <!-- Add Embed lib -->
            <Embed-Directory>WEB-INF/lib</Embed-Directory>
            <Embed-Dependency>*;scope=compile|runtime</Embed-Dependency>
            <Import-Package>*;resolution:=optional</Import-Package>
            <Export-Package>
              <!--com.vaadin.ui.*;-->
              <!--com.vaadin.data.*;-->
              <!--com.vaadin.server.*;-->
              <!--com.vaadin.event.*;-->
              <!--com.vaadin.client.*;-->
              <!--com.vaadin.shared.*;-->
              <!--com.google.gwt.*;-->
              <!--org.json.*;-->
              {local-packages};version=${project.version};-noimport:=true
            </Export-Package>

            <!-- Package format version - do not change -->
            <Vaadin-Package-Version>${project.version}</Vaadin-Package-Version>

            <!-- Comma-separated list of widgetsets in the package -->
            <Vaadin-Widgetsets>org.safehaus.subutai.server.ui.widgetset.PortalWidgetset</Vaadin-Widgetsets>

            <!-- OSGi war spec config -->
            <Web-ContextPath>subutai</Web-ContextPath>
          </instructions>
        </configuration>
        <executions>
          <execution>
            <id>bundle-manifest</id>
            <phase>process-classes</phase>
            <goals>
              <goal>manifest</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <attachClasses>true</attachClasses>
          <webResources>
            <resource>
              <filtering>true</filtering>
              <directory>src/main/webapp</directory>
              <includes>
                <include>**/web.xml</include>
              </includes>
            </resource>
          </webResources>
          <archive>
            <manifestFile>META-INF/MANIFEST.MF</manifestFile>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>
  <profiles>
    <profile>
      <!-- Updates Vaadin widgetset definitions based on project dependencies Remove widgetset directory to trigger recompile: rm -Rf src/main/webapp/VAADIN/widgetsets/ -->
      <id>update-widgetset</id>
      <activation>
        <file>
          <missing>${basedir}/src/main/webapp/VAADIN/widgetsets/</missing>
        </file>
        <property>
          <name>vaadin.production</name>
          <value>true</value>
        </property>
      </activation>
      <build>
        <plugins>
          <plugin>
            <groupId>com.vaadin</groupId>
            <artifactId>vaadin-maven-plugin</artifactId>
            <configuration>
              <webappDirectory>${basedir}/src/main/webapp/VAADIN/widgetsets/</webappDirectory>
              <extraJvmArgs>-Xmx512M -Xss1024k</extraJvmArgs>
            </configuration>
            <executions>
              <execution>
                <goals>
                  <goal>resources</goal>
                  <goal>update-widgetset</goal>
                  <goal>compile</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
        </plugins>
      </build>
    </profile>
  </profiles>
  <dependencies>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>vaadin-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>subutai-common</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>agent-manager-api</artifactId>
      <scope>provided</scope>
    </dependency>
    <!-- Vaadin dependencies -->
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-server</artifactId>
    </dependency>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-client-compiled</artifactId>
    </dependency>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-client</artifactId>
    </dependency>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-shared</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-shared-deps</artifactId>
      <scope>provided</scope>
    </dependency>
    <dependency>
      <groupId>com.vaadin</groupId>
      <artifactId>vaadin-themes</artifactId>
      <scope>provided</scope>
{'fraction_non_alphanumeric': 0.16216216216216217, 'fraction_numerical': 0.0052440500201694235, 'mean_word_length': 2.1675894378194207, 'pattern_counts': {'":': 0, '<': 565, '<?xml version=': 2, '>': 565, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5888987', 'n_tokens_mistral': 4659, 'n_tokens_neox': 4180, 'n_words': 700}