Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scala classes not generated during the build of the mixed java and scala project #51

Open
rawiafray opened this issue Feb 12, 2018 · 0 comments

Comments

@rawiafray
Copy link

Hello , this is my POM.xml , when i try to build my project , scala classes are not generated but java classes are generated

`
4.0.0
ariskk
distributedWekaSpark
jar
0.1.0-SNAPSHOT

  <build>
    <plugins>

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-shade-plugin</artifactId>
        <version>2.3</version>
        <configuration>
              <artifactSet>
                <excludes>
                  <exclude>org.apache.hadoop:hadoop-client</exclude>
                  <exclude>org.apache.spark:spark-core_2.10</exclude>
                  <exclude>nz.ac.waikato.cms.weka:distributedWekaHadoop</exclude>
                </excludes>
              </artifactSet>
              <filters>
        <filter>
            <artifact>*:*</artifact>
            <excludes>
                <exclude>META-INF/*.SF</exclude>
                <exclude>META-INF/*.DSA</exclude>
                <exclude>META-INF/*.RSA</exclude>
            </excludes>
        </filter>
    </filters>
          <!-- put your configurations here -->
        </configuration>
        <executions>
          <execution>
            <phase>package</phase>
            <goals>
              <goal>shade</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
  
      <plugin>
        <groupId>org.scalatest</groupId>
        <artifactId>scalatest-maven-plugin</artifactId>
        <version>1.0</version>
        <configuration>
          <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
          <junitxml>.</junitxml>
          <filereports>WDF TestSuite.txt</filereports>
        </configuration>
        <executions>
          <execution>
            <id>test</id>
             <goals>
              <goal>test</goal>
             </goals>
          </execution>
        </executions>
      </plugin>
    </plugins>
   </build>




  <dependencies>
    <dependency>
	    <groupId>org.apache.spark</groupId>
	    <artifactId>spark-core_2.10</artifactId>
	    <version>1.1.0</version>
    </dependency>
    <dependency>
	    <groupId>nz.ac.waikato.cms.weka</groupId>
	    <artifactId>distributedWekaBase</artifactId>
	    <version>1.0.6</version>
    </dependency>
    <dependency>
	    <groupId>nz.ac.waikato.cms.weka</groupId>
	    <artifactId>weka-dev</artifactId>
	    <version>3.7.11</version>
    </dependency>
    <dependency>
	    <groupId>org.scalatest</groupId>
	    <artifactId>scalatest-maven-plugin</artifactId>
	    <version>1.0</version>
	    <type>maven-plugin</type>
    </dependency>
    <dependency>
	    <groupId>org.scalatest</groupId>
	    <artifactId>scalatest_2.10</artifactId>
	    <version>2.2.3-SNAP2</version>
	    <scope>test</scope>
    </dependency>
  </dependencies>
  <organization>
    <name>University of Manchester</name>
  </organization>
  <developers>
        <developer>
            <id>ariskk</id>
            <name>Aris-Kyriakos Koliopoulos</name>
            <email>[email protected]</email>
            <organization>School of Computer Science,University or Manchester</organization>
            <organizationUrl>http://www.cs.manchester.ac.uk/</organizationUrl>
        </developer>
    </developers>
</project>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant