Tuesday, 23 October 2012

Maven : Error Build fails "org.mortbay.jetty:maven-jetty-plugin"

The build fails:
Unable to find resource 'org.mortbay.jetty:maven-jetty-plugin:maven-plugin:7.0.0.pre5'. 



Solution: 


Index: example/webapp/pom.xml
===================================================================
--- example/webapp/pom.xml (revision 807)
+++ example/webapp/pom.xml Mon Nov 24 14:29:19 EST 2008
@@ -32,7 +32,7 @@
<plugins>
<plugin>
<groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
+ <artifactId>jetty-maven-plugin</artifactId>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<webAppSourceDirectory>${basedir}/src/main/webapp/</webAppSourceDirectory>
Index: example/oauth-provider/pom.xml
===================================================================
--- example/oauth-provider/pom.xml (revision 807)
+++ example/oauth-provider/pom.xml Mon Nov 24 14:29:35 EST 2008
@@ -36,7 +36,7 @@
</plugin>
<plugin>
<groupId>org.mortbay.jetty</groupId>
- <artifactId>maven-jetty-plugin</artifactId>
+ <artifactId>jetty-maven-plugin</artifactId>
<configuration>
<scanIntervalSeconds>10</scanIntervalSeconds>
<webAppSourceDirectory>${basedir}/web</webAppSourceDirectory>

Error: Java compiler level does not match the version of the installed Java project facet

Error:

Java compiler level does not match the version of the installed Java project facet


Eclipse or STS:  change the value shown in below screen...




Thanks for Visiting.........................

Monday, 1 October 2012

Installing Subclipse in Flash Builder 4


Subclipse is one of the most frequently used plug-ins with Flash Builder. Here are some simple instructions for installing Subclipse and importing an existing project.
  1. Help > Install New Software…
  2. Add…
  3. Name=Subclipse, Location=http://subclipse.tigris.org/update_1.6.x
  4. Select the plug-ins shown in the screenshot below. Note: I’ve deselected a few plug-ins here in order to minimize plug-in dependencies that sometimes have issues resolving.
    subclipse1.png
  5. Finish the wizard. When prompted, restart Eclipse.
  6. On Mac, since JavaHL is not available, be sure to select SVNKit for your SVN interface
    1. Window > Preferences
    2. Team > SVN
    3. Change SVN Interface to SVNKit
  7. To import your projects from SVN
    1. File > Import…
    2. SVN > Checkout Projects from SVN
    3. Create or select a repository location
    4. Select your project root folder
    5. Finish