Skip to content

Commit

Permalink
mapping benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
mjok committed Apr 9, 2021
1 parent ad2bbee commit c6461b4
Show file tree
Hide file tree
Showing 14 changed files with 720 additions and 11 deletions.
26 changes: 26 additions & 0 deletions gocypher-cybench-distribution/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@
<include>${release.deploy.finalName}-trace-${project.version}.*</include>
</includes>
</fileset>
<fileset>
<directory>${release.deploy.dir.mapping}</directory>
<includes>
<include>${release.deploy.finalName}-mapping-${project.version}/</include>
<include>${release.deploy.finalName}-mapping-${project.version}.*</include>
</includes>
</fileset>
<!--FILESET PLACEHOLDER DO NOT DELETE -->
</filesets>
</configuration>
Expand Down Expand Up @@ -329,6 +336,25 @@
<finalName>${release.deploy.finalName}-trace-${project.trace.version}</finalName>
</configuration>
</execution>
<execution>
<id>security-mapping-deploy</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<skipAssembly>${skip.mapping.assembly}</skipAssembly>
<appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>${release.mapping}/${release.deploy.zip.assembly}</descriptor>
<descriptor>${release.mapping}/${release.deploy.gz.assembly}</descriptor>
<descriptor>${release.mapping}/${release.deploy.dir.assembly}</descriptor>
</descriptors>
<outputDirectory>${release.deploy.dir.mapping}</outputDirectory>
<attach>${build.assemblies.attach}</attach>
<finalName>${release.deploy.finalName}-mapping-${project.version}</finalName>
</configuration>
</execution>
<!--EXECUTION PLACEHOLDER DO NOT DELETE -->
</executions>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (C) 2020, K2N.IO.
~
~ This library is free software; you can redistribute it and/or
~ modify it under the terms of the GNU Lesser General Public
~ License as published by the Free Software Foundation; either
~ version 2.1 of the License, or (at your option) any later version.
~
~ This library 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
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this library; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
~
-->

<component xmlns="http://maven.apache.org/ASSEMBLY-COMPONENT/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY-COMPONENT/2.0.0 http://maven.apache.org/xsd/assembly-component-2.0.0.xsd">
<files>
<file>
<source>${project.basedir}/../gocypher-cybench-distribution/resources/cybench.bat</source>
<lineEnding>crlf</lineEnding>
</file>
<file>
<source>${project.basedir}/../gocypher-cybench-distribution/resources/cybench.sh</source>
<lineEnding>unix</lineEnding>
<fileMode>0777</fileMode>
</file>
<file>
<source>${project.basedir}/../gocypher-cybench-distribution/resources/cybench-launcher.properties</source>
<outputDirectory>conf</outputDirectory>
</file>
<file>
<source>${target.deploy.mapping.jar}</source>
<outputDirectory>benchmarks/</outputDirectory>
</file>
</files>
<fileSets>
<fileSet>
<directory>../</directory>
<includes>
<include>CYBENCH_LICENSE*</include>
</includes>
<outputDirectory></outputDirectory>
</fileSet>
</fileSets>
</component>
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (C) 2020, K2N.IO.
~
~ This library is free software; you can redistribute it and/or
~ modify it under the terms of the GNU Lesser General Public
~ License as published by the Free Software Foundation; either
~ version 2.1 of the License, or (at your option) any later version.
~
~ This library 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
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this library; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
~
-->

<component xmlns="http://maven.apache.org/ASSEMBLY-COMPONENT/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY-COMPONENT/2.0.0 http://maven.apache.org/xsd/assembly-component-2.0.0.xsd">
<files>
<file>
<source>${project.basedir}/../gocypher-cybench-distribution/resources/cybench.bat</source>
<lineEnding>crlf</lineEnding>
</file>
<file>
<source>${project.basedir}/../gocypher-cybench-distribution/resources/cybench.sh</source>
<lineEnding>unix</lineEnding>
<fileMode>0777</fileMode>
</file>
<file>
<source>${project.basedir}/../gocypher-cybench-distribution/resources/cybench-launcher.properties</source>
<outputDirectory>conf</outputDirectory>
</file>
<file>
<source>${target.deploy.mapping.jar}</source>
<outputDirectory>benchmarks/</outputDirectory>
</file>
</files>
<fileSets>
<fileSet>
<directory>../</directory>
<includes>
<include>CYBENCH_LICENSE*</include>
</includes>
<outputDirectory></outputDirectory>
</fileSet>
</fileSets>
</component>
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (C) 2020, K2N.IO.
~
~ This library is free software; you can redistribute it and/or
~ modify it under the terms of the GNU Lesser General Public
~ License as published by the Free Software Foundation; either
~ version 2.1 of the License, or (at your option) any later version.
~
~ This library 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
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this library; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
~
-->

<component xmlns="http://maven.apache.org/ASSEMBLY-COMPONENT/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY-COMPONENT/2.0.0 http://maven.apache.org/xsd/assembly-component-2.0.0.xsd">
<files>
<file>
<source>${project.basedir}/../gocypher-cybench-distribution/resources/cybench.bat</source>
<lineEnding>crlf</lineEnding>
</file>
<file>
<source>${project.basedir}/../gocypher-cybench-distribution/resources/cybench.sh</source>
<lineEnding>unix</lineEnding>
<fileMode>0777</fileMode>
</file>
<file>
<source>${project.basedir}/../gocypher-cybench-distribution/resources/cybench-launcher.properties</source>
<outputDirectory>conf</outputDirectory>
</file>
<file>
<source>${target.deploy.mapping.jar}</source>
<outputDirectory>benchmarks/</outputDirectory>
</file>
</files>
<fileSets>
<fileSet>
<directory>../</directory>
<includes>
<include>CYBENCH_LICENSE*</include>
</includes>
<outputDirectory></outputDirectory>
</fileSet>
</fileSets>
</component>
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (C) 2020, K2N.IO.
~
~ This library is free software; you can redistribute it and/or
~ modify it under the terms of the GNU Lesser General Public
~ License as published by the Free Software Foundation; either
~ version 2.1 of the License, or (at your option) any later version.
~
~ This library 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
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this library; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
~
-->

<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>${project.build.finalName}-dir_deploy</id>
<formats>
<format>dir</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
<baseDirectory>${release.deploy.finalName}-mapping</baseDirectory>
<componentDescriptors>
<componentDescriptor>src/assembly-mapping/deployComponentDir.xml</componentDescriptor>
</componentDescriptors>
</assembly>
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (C) 2020, K2N.IO.
~
~ This library is free software; you can redistribute it and/or
~ modify it under the terms of the GNU Lesser General Public
~ License as published by the Free Software Foundation; either
~ version 2.1 of the License, or (at your option) any later version.
~
~ This library 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
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this library; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
~
-->

<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>${project.build.finalName}-gz_deploy</id>
<formats>
<format>tar.gz</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<baseDirectory>${release.deploy.finalName}-mapping</baseDirectory>
<componentDescriptors>
<componentDescriptor>src/assembly-mapping/deployComponentUnix.xml</componentDescriptor>
</componentDescriptors>
</assembly>
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (C) 2020, K2N.IO.
~
~ This library is free software; you can redistribute it and/or
~ modify it under the terms of the GNU Lesser General Public
~ License as published by the Free Software Foundation; either
~ version 2.1 of the License, or (at your option) any later version.
~
~ This library 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
~ Lesser General Public License for more details.
~
~ You should have received a copy of the GNU Lesser General Public
~ License along with this library; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
~
-->

<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>${project.build.finalName}-zip_deploy</id>
<formats>
<format>zip</format>
</formats>
<includeBaseDirectory>true</includeBaseDirectory>
<baseDirectory>${release.deploy.finalName}-mapping</baseDirectory>
<componentDescriptors>
<componentDescriptor>src/assembly-mapping/deployComponentWin.xml</componentDescriptor>
</componentDescriptors>
</assembly>
Loading

0 comments on commit c6461b4

Please sign in to comment.