Fix missing scripts in bin distribution

Change-Id: I23d92d78431181ad2ecaf7e556db214590679d40
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 68edac4..a838a4d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,7 @@
 # Changelog
 
+- fixed missing scripts in bin distribution
+
 ## [2.2.0] - 2022-12-21
 - added option `--exclude-punctuation`
 - improve binary distribution build
diff --git a/pom.xml b/pom.xml
index 82c309f..61e763b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,34 +96,6 @@
             </plugin>
 
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <version>3.3.0</version>
-                <configuration>
-                    <appendAssemblyId>true</appendAssemblyId>
-                    <descriptors>
-                        <descriptor>src/assembly/src-distribution.xml</descriptor>
-                        <descriptor>src/assembly/standalone-jar.xml</descriptor>
-                        <descriptor>src/assembly/bin-distribution.xml</descriptor>
-                    </descriptors>
-                    <archive>
-                        <manifest>
-                            <mainClass>org.ids_mannheim.TotalNGrams</mainClass>
-                        </manifest>
-                    </archive>
-                </configuration>
-                <executions>
-                    <execution>
-                        <id>make-assembly</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>single</goal>
-                        </goals>
-                    </execution>
-                </executions>
-            </plugin>
-
-            <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>appassembler-maven-plugin</artifactId>
                 <version>2.1.0</version>
@@ -167,6 +139,35 @@
                     </programs>
                 </configuration>
             </plugin>
+
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>3.3.0</version>
+                <configuration>
+                    <appendAssemblyId>true</appendAssemblyId>
+                    <descriptors>
+                        <descriptor>src/assembly/src-distribution.xml</descriptor>
+                        <descriptor>src/assembly/standalone-jar.xml</descriptor>
+                        <descriptor>src/assembly/bin-distribution.xml</descriptor>
+                    </descriptors>
+                    <archive>
+                        <manifest>
+                            <mainClass>org.ids_mannheim.TotalNGrams</mainClass>
+                        </manifest>
+                    </archive>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>make-assembly</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
diff --git a/src/assembly/bin-distribution.xml b/src/assembly/bin-distribution.xml
index b3717d5..11c68d9 100644
--- a/src/assembly/bin-distribution.xml
+++ b/src/assembly/bin-distribution.xml
@@ -18,7 +18,7 @@
             <directory>${project.basedir}/target</directory>
             <outputDirectory>.</outputDirectory>
             <includes>
-                <include>bin/**</include>
+                <include>bin/*</include>
                 <include>*-standalone.jar</include>
             </includes>
             <useDefaultExcludes>true</useDefaultExcludes>