Build maven Scala projects with eclipse
1. Install the Scala IDE first, help-->eclipse Marketplace---> Enter scala--and install.
2, select the following 4 need to install
3, then install down, until the installation is complete.
Second, in addition to installing the Scala IDE is not able to create a Maven Scala project, the above installation can only create Scala project. The next step is to install the Maven Scala plugin plugin.
1. Select Help-->install New Software in the Eclipse tool. Plugin Address:
Http://alchim31.free.fr/m2e-scala/update-site
2. After installation, the Maven Scala project can be created next. New Project-->maven Project--and all catalogs--search scala-What results are not, in fact, some operations. Look at the three steps.
Third, for the above steps operation still cannot create Maven Scala project. You also need to add a place, because each time you need to go to the specified file to fetch information about the project type in maven. There are two solutions for this scenario.
1, from the Http://repo1.maven.org/maven2/archetype-catalog.xml address to the project type information, remote access, long time. Add the following methods:
2. The next step in creating a Maven Scala project is to take about 2 minutes to show it through a Scala search.
Iv. complete the above steps to create Maven Scala, but the project is too slow to create because it is a remote connection. That can download the Archetype-catalog.xml file to a local test.
1, add Archetype-catalog.xml to Maven archetype.
2. Re-create the project and search in Scala, this time to find the results in seconds. Following the steps above, we recommend using the last local catalog method.
Eclipse creates a Maven Scala project installation and resolves problems with slow loading project types