Commit 23ff9ecf authored by Romain Bioteau's avatar Romain Bioteau Committed by Romain Bioteau

feat(Simulation): Remove simulation feature (#146)

* Remove menu, view
* Remove tests
* Remove from profile customization

fixes [BS-15658](https://bonitasoft.atlassian.net/browse/BS-15658)
parent 26f93ca5
......@@ -62,12 +62,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
install-size="0"
version="0.0.0"/>
<plugin
id="org.bonitasoft.studio.simulation.libs"
download-size="0"
install-size="0"
version="0.0.0"/>
<plugin
id="org.bonitasoft.studio.designer.war"
download-size="0"
......
......@@ -237,13 +237,6 @@ along with this program. If not, see &lt;http://www.gnu.org/licenses/&gt;.
version="0.0.0"
unpack="false"/>
<plugin
id="org.bonitasoft.studio.simulation"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="org.omg.schema.spec.bpmn"
download-size="0"
......
/**
* Copyright (C) 2012 BonitaSoft S.A.
* BonitaSoft, 31 rue Gustave Eiffel - 38000 Grenoble
* Copyright (C) 2016 BonitaSoft S.A.
* BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 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
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.bonitasoft.studio.simulation;
package org.bonitasoft.studio.common.gmf.tools.tree;
import org.bonitasoft.studio.model.simulation.SimulationBoolean;
import org.bonitasoft.studio.model.simulation.SimulationData;
import org.bonitasoft.studio.model.simulation.SimulationLiteralData;
import org.bonitasoft.studio.model.simulation.SimulationNumberData;
import static org.assertj.core.api.Assertions.assertThat;
import org.bonitasoft.studio.model.process.ProcessFactory;
import org.bonitasoft.studio.model.simulation.SimulationFactory;
import org.junit.Test;
/**
* @author Romain Bioteau
*
*/
public class SimulationDataUtil {
public class SimulationViewerFilterTest {
@Test
public void should_filter_simulation_package_object() throws Exception {
SimulationViewerFilter filter = new SimulationViewerFilter();
assertThat(filter.select(null, null, SimulationFactory.eINSTANCE.createDataChange())).isFalse();
}
@Test
public void should_not_filter_other_object() throws Exception {
SimulationViewerFilter filter = new SimulationViewerFilter();
public static String getTechnicalTypeFor(SimulationData data) {
if(data instanceof SimulationBoolean){
return Boolean.class.getName();
}else if(data instanceof SimulationNumberData){
return Double.class.getName();
}else if(data instanceof SimulationLiteralData){
return String.class.getName();
}
return Object.class.getName();
assertThat(filter.select(null, null, ProcessFactory.eINSTANCE.createActor())).isTrue();
}
}
......@@ -190,6 +190,7 @@ public class BonitaTreeViewer extends AbstractEditPartViewer implements ISelecti
treeViewer.addFilter(new EmptyOperationViewFilter());
treeViewer.addFilter(new EmptyContractInputMappingViewerFilter());
treeViewer.addFilter(new MainProcessFormMappingViewerFilter());
treeViewer.addFilter(new SimulationViewerFilter());
}
public void setDiagramEditPart(final DiagramEditPart diagramEditPart) {
......
/**
* Copyright (C) 2010 BonitaSoft S.A.
* Copyright (C) 2011 BonitaSoft S.A.
* BonitaSoft, 31 rue Gustave Eiffel - 38000 Grenoble
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 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
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.bonitasoft.studio.common.gmf.tools.tree;
package org.bonitasoft.studio.simulation.tests;
import java.util.Objects;
import junit.framework.TestCase;
import org.eclipse.swt.widgets.MenuItem;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.ui.PlatformUI;
import org.bonitasoft.studio.model.simulation.SimulationPackage;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerFilter;
/**
* @author Romain Bioteau
*
*/
public class TestSimulationUI extends TestCase {
public void testSimulationMenus() throws Exception {
Shell shell = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getShell();
boolean simulationMenuOk = false;
for (MenuItem item : shell.getMenuBar().getItems()) {
if (item.getText().equals("Simulation")){
simulationMenuOk = true;
break;
}
}
assertTrue("Can't find simulation menu",simulationMenuOk);
public class SimulationViewerFilter extends ViewerFilter {
/*
* (non-Javadoc)
* @see org.eclipse.jface.viewers.ViewerFilter#select(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
*/
@Override
public boolean select(final Viewer viewer, final Object parentElement, final Object element) {
return element instanceof EObject &&
!Objects.equals(((EObject)element).eClass().getEPackage().getNsURI(),SimulationPackage.eNS_URI);
}
}
......@@ -41,10 +41,6 @@
id="org.bonitasoft.studio.profiles.looknfeels"
name="Look&apos;n&apos;Feels">
</category>
<category
id="org.bonitasoft.studio.profiles.simulation"
name="Simulation">
</category>
<category
id="org.bonitasoft.studio.profiles.validators"
name="Validators">
......@@ -115,24 +111,6 @@
isEqualityPattern="false"
pattern="org.bonitasoft.studio.groovy.ui/org.bonitasoft.studio.groovy.ui.*">
</activityPatternBinding>
<activity
id="org.bonitasoft.studio.profiles.simulation.view"
name="Simulation View">
</activity>
<activityPatternBinding
activityId="org.bonitasoft.studio.profiles.simulation.view"
isEqualityPattern="true"
pattern="org.bonitasoft.studio.simulation/org.bonitasoft.studio.views.properties.simulation">
</activityPatternBinding>
<activity
id="org.bonitasoft.studio.profiles.simulation.menu"
name="Simulation Menu">
</activity>
<activityPatternBinding
activityId="org.bonitasoft.studio.profiles.simulation.menu"
isEqualityPattern="false"
pattern="org.bonitasoft.studio.simulation/org.bonitasoft.studio.simulation.*">
</activityPatternBinding>
<activity
id="org.bonitasoft.studio.profiles.run.menu"
name="Run Menu">
......@@ -233,10 +211,6 @@
activityId="org.bonitasoft.studio.profiles.appearance.view"
categoryId="org.bonitasoft.studio.profiles.appearance">
</categoryActivityBinding>
<categoryActivityBinding
activityId="org.bonitasoft.studio.profiles.simulation.view"
categoryId="org.bonitasoft.studio.profiles.simulation">
</categoryActivityBinding>
<categoryActivityBinding
activityId="org.bonitasoft.studio.profiles.run.menu"
categoryId="org.bonitasoft.studio.profiles.execution">
......@@ -261,10 +235,6 @@
activityId="org.bonitasoft.studio.profiles.validators.menu"
categoryId="org.bonitasoft.studio.profiles.validators">
</categoryActivityBinding>
<categoryActivityBinding
activityId="org.bonitasoft.studio.profiles.simulation.menu"
categoryId="org.bonitasoft.studio.profiles.simulation">
</categoryActivityBinding>
<categoryActivityBinding
activityId="org.bonitasoft.studio.profiles.looknfeel.tab"
categoryId="org.bonitasoft.studio.profiles.looknfeels">
......
......@@ -65,13 +65,13 @@ public class BonitaProfilesManager implements IBonitaActivitiesCategory {
private final IMutableActivityManager workingCopy ;
private BonitaProfilesManager(){
profiles = new HashMap<String, Set<String>>();
featuresByFamily = new HashMap<String, List<String>>() ;
profiles = new HashMap<>();
featuresByFamily = new HashMap<>() ;
workingCopy = PlatformUI.getWorkbench().getActivitySupport().createWorkingCopy() ;
final List<String> modelingFeatures = new ArrayList<String>();
final List<String> extensionFeatures = new ArrayList<String>();
final List<String> applicationFeatures = new ArrayList<String>();
final List<String> modelingFeatures = new ArrayList<>();
final List<String> extensionFeatures = new ArrayList<>();
final List<String> applicationFeatures = new ArrayList<>();
for(final Object category : workingCopy.getDefinedCategoryIds()){
final String categoryId = (String) category ;
if(isIncludedInModelingFeature(categoryId)){
......@@ -109,8 +109,7 @@ public class BonitaProfilesManager implements IBonitaActivitiesCategory {
protected boolean isIncludedInModelingFeature(final String categoryId) {
return categoryId.equals(PROCESS_MODELING) ||
categoryId.equals(APPEARANCE_CUSTOMIZATION) ||
categoryId.equals(VALIDATION) ||
categoryId.equals(SIMULATION);
categoryId.equals(VALIDATION);
}
public static BonitaProfilesManager getInstance(){
......@@ -232,7 +231,7 @@ public class BonitaProfilesManager implements IBonitaActivitiesCategory {
}
private Set<String> getAllFeature() {
final Set<String> result = new HashSet<String>();
final Set<String> result = new HashSet<>();
result.addAll(getFeatureByFamily(MODELING_FAMILY)) ;
result.addAll(getFeatureByFamily(APPLICATION_FAMILY)) ;
result.addAll(getFeatureByFamily(EXTENSIONS_FAMILY)) ;
......
......@@ -24,18 +24,15 @@ public interface IBonitaActivitiesCategory {
public static final String FORMS_MODELING = "org.bonitasoft.studio.profiles.formsmodeling";
public static final String APPEARANCE_CUSTOMIZATION = "org.bonitasoft.studio.profiles.appearance";
public static final String VALIDATION = "org.bonitasoft.studio.profiles.validation";
public static final String SIMULATION = "org.bonitasoft.studio.profiles.simulation";
public static final String DEPENDENCIES_MANAGEMENT = "org.bonitasoft.studio.profiles.dependencies";
public static final String EXECUTION = "org.bonitasoft.studio.profiles.execution";
public static final String CONNECTORS = "org.bonitasoft.studio.profiles.connectors";
public static final String VALIDATORS = "org.bonitasoft.studio.profiles.validators";
public static final String DATA_MANAGEMENT = "org.bonitasoft.studio.profiles.datamanagement";
//public static final String CONTEXTS = "org.bonitasoft.studio.profiles.contexts";
public static final String KPI = "org.bonitasoft.studio.profiles.kpi";
public static final String LOOK_N_FEELS = "org.bonitasoft.studio.profiles.looknfeels";
public static final String FORMS_TEMPLATES = "org.bonitasoft.studio.profiles.formstemplates";
public static final String LEGACY6X_MODE = "org.bonitasoft.studio.profiles.6xLegacy";
//public static final String LANGUAGES_SUPPORT = "org.bonitasoft.studio.profiles.language";
public static final String MODELING_FAMILY = "modelingFamily";
public static final String APPLICATION_FAMILY = "applicationFamily";
......
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry exported="true" kind="lib" path="lib/bos-simulation.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.bonitasoft.studio.simulation.libs</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.ManifestBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
#Tue Jul 13 17:18:24 CEST 2010
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
org.eclipse.jdt.core.compiler.compliance=1.5
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.5
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Simulation Engine Libs
Bundle-SymbolicName: org.bonitasoft.studio.simulation.libs;singleton:=true
Bundle-Version: 7.4.0.qualifier
Bundle-ClassPath: .,
lib/bcmail-jdk14-1.38.jar,
lib/bcmail-jdk14-138.jar,
lib/bcprov-jdk14-1.38.jar,
lib/bcprov-jdk14-138.jar,
lib/bctsp-jdk14-1.38.jar,
lib/bos-simulation.jar,
lib/commons-beanutils-1.8.0.jar,
lib/commons-collections-2.1.jar,
lib/commons-digester-1.7.jar,
lib/commons-logging-1.1.1.jar,
lib/csv4j-0.4.0.jar,
lib/derby-10.6.1.0.jar,
lib/itext-2.1.7.jar,
lib/jasperreports-3.7.6.jar,
lib/jcommon-1.0.15.jar,
lib/jdtcore-3.1.0.jar,
lib/jfreechart-1.0.12.jar,
lib/groovy-all-1.7.8.jar
Bundle-Vendor: BonitaSoft S.A.
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
Export-Package: org.bonitasoft.simulation.engine,
org.bonitasoft.simulation.iteration,
org.bonitasoft.simulation.model,
org.bonitasoft.simulation.model.calendar,
org.bonitasoft.simulation.model.instance,
org.bonitasoft.simulation.model.loadprofile,
org.bonitasoft.simulation.model.process,
org.bonitasoft.simulation.model.resource,
org.bonitasoft.simulation.reporting,
org.bonitasoft.simulation.reporting.jasperreport,
org.bonitasoft.simulation.reporting.jdbc
Require-Bundle: org.eclipse.ui;bundle-version="3.6.0",
org.eclipse.osgi;bundle-version="3.6.0",
org.eclipse.core.runtime;bundle-version="3.6.0",
org.apache.commons.logging;bundle-version="1.1.1"
Eclipse-BundleShape: dir
Once you get this plugin, you can integrate the console from latest sources simply by typing
> ant -lib antDeps
-f getSimulationLibs.xml
-Dmaven.repo=/path/to/a/maven/repo/containing/bos/simulation/artifacts
-DartifactVersion=5.5-SNAPSHOT
It retrieves the BOS Simulation artifacts from the maven.repo and install them into the plugin.
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.m2e.Maven2LaunchConfigurationType">
<booleanAttribute key="M2_DEBUG_OUTPUT" value="false"/>
<stringAttribute key="M2_GOALS" value="clean generate-resources"/>
<booleanAttribute key="M2_NON_RECURSIVE" value="false"/>
<booleanAttribute key="M2_OFFLINE" value="false"/>
<stringAttribute key="M2_PROFILES" value=""/>
<listAttribute key="M2_PROPERTIES"/>
<stringAttribute key="M2_RUNTIME" value="EMBEDDED"/>
<booleanAttribute key="M2_SKIP_TESTS" value="true"/>
<intAttribute key="M2_THREADS" value="1"/>
<booleanAttribute key="M2_UPDATE_SNAPSHOTS" value="true"/>
<stringAttribute key="M2_USER_SETTINGS" value=""/>
<booleanAttribute key="M2_WORKSPACE_RESOLUTION" value="false"/>
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/org.bonitasoft.studio.simulation.libs&quot; type=&quot;4&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc:/org.bonitasoft.studio.simulation.libs}"/>
</launchConfiguration>
SvnAnt license
This license applies to all portions of svnant library, which
are not externally-maintained libraries (e.g. svnClientAdapter, JavaHL or SVNKit).
Such libraries have their own licenses; we recommend you read them, as
their terms may differ from the terms below.
/* ====================================================================
* The Apache Software License, Version 1.1
*
* Copyright (c) 2000 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
*
* 3. The end-user documentation included with the redistribution,
* if any, must include the following acknowledgment:
* "This product includes software developed by the
* Apache Software Foundation (http://www.apache.org/)."
* Alternately, this acknowledgment may appear in the software itself,
* if and wherever such third-party acknowledgments normally appear.
*
* 4. The names "Apache" and "Apache Software Foundation" must
* not be used to endorse or promote products derived from this
* software without prior written permission. For written
* permission, please contact apache@apache.org.
*
* 5. Products derived from this software may not be called "Apache",
* nor may "Apache" appear in their name, without prior written
* permission of the Apache Software Foundation.
*
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
* ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* ====================================================================
*
* This software consists of voluntary contributions made by many
* individuals on behalf of the Apache Software Foundation. For more
* information on the Apache Software Foundation, please see
* <http://www.apache.org/>.
*
*/
# Copyright (C) 2010 BonitaSoft S.A.
# BonitaSoft, 31 rue Gustave Eiffel - 38000 Grenoble
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2.0 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# $Id$
bin.includes = .,\
META-INF/,\
lib/
jars.compile.order = .
source.. = src/
output.. = bin/
bin.excludes = META-INF/MANIFEST.MF.template
<!--
* Copyright (C) 2009, 2010 BonitaSoft S.A.
* BonitaSoft, 31 rue Gustave Eiffel - 38000 Grenoble
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2.0 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<project name="getSimulationLibs" basedir="." default="getSimulationLibs" xmlns:tigris="tigris:org.tigris.subversion.svnant">
<!-- Beware of keeping the namespace for the SVN task, since it may conflict with the one defined in Eclipse -->
<property name="simulation.group.id" value="org/bonitasoft/simulation"/>
<property name="simulation.artifact.id" value="bos-simulation"/>
<property name="simulation.distrib.name" value="bos-simulation"/>
<target name="getSimulationLibs" depends="clean,copy,generateManifest">
<echo>isBranch=${isBranch}</echo>
</target>
<target name="clean">
<delete dir="modules" failonerror="false"/>
<delete includeemptydirs="true">
<fileset dir="lib"/>
</delete>
<mkdir dir="lib"/>
</target>
<target name="copy">
<!-- Libs -->
<copy todir="lib" flatten="true">
<fileset dir="${maven.repo}/${simulation.group.id}/${simulation.artifact.id}/${artifactVersion}" includes="${simulation.artifact.id}-${artifactVersion}.jar"/>
</copy>
<unzip dest="lib" >
<fileset dir="${maven.repo}/${simulation.group.id}/${simulation.artifact.id}/${artifactVersion}" includes="${simulation.artifact.id}-${artifactVersion}-deps.zip"/>
</unzip>
</target>
<target name="generateManifest" depends="copy">
<!-- MANIFEST.MF -->
<copy tofile="META-INF/MANIFEST.MF" file="META-INF/MANIFEST.MF.template" overwrite="true"/>
<replace token="XXX_VERSION_XXX" value="${artifactVersion}" file="META-INF/MANIFEST.MF" />
<!-- build.properties -->
<copy tofile="build.properties" file="build.properties.template" overwrite="true"/>
<replace token="XXX_VERSION_XXX" value="${artifactVersion}" file="build.properties" />
<!-- .classpath -->
<copy tofile=".classpath" file=".classpath.template" overwrite="true"/>
<replace token="XXX_VERSION_XXX" value="${artifactVersion}" file=".classpath" />
</target>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.bonitasoft.studio.bundles</groupId>
<artifactId>plugins</artifactId>
<version>7.4.0-SNAPSHOT</version>
</parent>
<groupId>org.bonitasoft.studio.bundles.plugins</groupId>
<artifactId>org.bonitasoft.studio.simulation.libs</artifactId>
<packaging>eclipse-plugin</packaging>
<properties>
<lib.dir>${basedir}/lib</lib.dir>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>Retrieve simulation dependencies</id>
<phase>generate-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.bonitasoft.simulation</groupId>
<artifactId>bos-simulation</artifactId>
<version>${simulation.version}</version>
<classifier>deps</classifier>