I have a strange problem with Netbeans 7/8 on Windows 7, no matter how often i reinstall Netbeans I can't choose between Maven installations / home neighter do I see any Maven Home Option in the Dropdown (Tools -> Options -> Java -> Maven)
I found the installation path of the embedded Maven inside the netbeans installation path and I edited the settings.xml so i can use the embedded Maven.
But I need more than one Maven installations! Please Help!!!
That would be a bug that you should report at https://netbeans.org/bugzilla (component project, subcomponent maven). Along with details of your setup.
Related
I am trying to install maven 1.5 in eclipse unfortunately I am getting errors like:
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e - Maven Integration for Eclipse (includes Incubating components) 1.5.0.20140606-0033 (org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.5.0.20140606-0033 (org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
To: org.eclipse.m2e.core [1.5.0.20140606-0033]
EClipse juno doesnt support maven 1.5..still they have not added capability of 1.5
so try 1.4 or 1.3
http://download.eclipse.org/technology/m2e/releases/1.3
http://download.eclipse.org/technology/m2e/releases/1.4
MAVEN INSTALLATION
OPTION 1 :
Open Eclipse IDE
Click Help -> Install New Software...
Click Add button at top right corner
At pop up: fill up Name as "M2Eclipse" and Location as http://download.eclipse.org/technology/m2e/releases/1.4
Now click OK
After that installation would be started.
OPTION 2 :-
Open Eclipse
Go to Help -> Eclipse Marketplace
Search by Maven
Click "Install" button at "Maven Integration for Eclipse" section
Follow the instruction step by step
After successful installation do the followings in Eclipse:
Go to Window --> Preferences
Observe, Maven is enlisted at left panel
Finally,
Click on an existing project
Select Configure -> Convert to Maven Project
This is because maven 1.5 is not compatible with eclipse juno.
So we need to use maven 1.4 or 1.3
Steps to install maven 1.4 is below
Click Help in eclipse
Install New Software
Url for the location of site is "http://download.eclipse.org/technology/m2e/releases"
Uncheck the checkbox "Show only the latest versions of available software"
if do not uncheck the checkbox it will only latest version and do not show maven 1.4.
Select m2e and slf4j of 1.4 version and click next.
Note: maven v 1.3 is compatible, correct url for juno: download.eclipse.org/technology/m2e/releases/1.3
If all the above options don't work, then first install the WST plugin in your eclipse.
In order to do that, in Eclipse Juno, go to Install New Software > Add, under Name place Juno and under Location URL insert http://download.eclipse.org/releases/juno.
Then, select WST Server Adapters under Web, XML, Java, ... (last option of the list).
Accept licensing agreement and restart Eclipse.
Then resume the usual procedure to install Maven.
Choose menu Help \ Install New Software..., then add this repository link:
http://download.eclipse.org/technology/m2e/releases/1.2/1.2.0.20120903-1050/
Then install for Eclipse WTP (Web Tool Platform) Juno 4.2.
Uncheck the option "Select only the latest version of this software", so that versions of the plugin compatible to your eclipse will be displayed, you can select one of them.
download.eclipse.org/technology/m2e/releases/1.3 has worked for
Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 2
Build id: 20120216-1857
Thanks
I'm trying to add CD,I as a project facet to a Dynamic web project. But when clicking on the project facets view there is no CDI option in the Project Facet list as you can see:
I tried following this suggestion in where they said to erase possible conflicting jres, and also the suggestions in here which recommends checking the installed jre's, my view of installed jres is:
I'm at linux mint so I'm also attaching a screenshot of the dir /usr/lib/jvm, in case you guys see any anomaly in it and also it seems my java version is okay:
Did you installed JBoss Tools?
Go to Help -> Eclipse Marketplace find JBoss Tools for your version of Eclipse (To check version of eclipse go to Help -> About Eclipse)
Then select plugin you need
UPD
And also check Runtime Environments (window -> preferences)
Eclipse should be restarted after installation
I am starting a new project, and the client requires us to work in IntelliJIdea. I installed it and tried to do the ant build. It turns our I need 64 bit jdk for the build. So I installed it. Now, however I need to configure it in IntelliJIdea. Here is the message I get:
JDK (1.6_x64) needed to run this ANT target is not configured. Please
update your settings in the Project | Libraries menu.
Can somebody help me locate this Project | Libraries menu menu please?
Press ctrl+alt+shift+s, and on the left hand side you'll see Project Settings -> Libraries.
Q: Where do I configure project JDK?
A: In the Project Settings dialog.
To add a JDK to project, press Ctrl+Alt+Shift+S, under Platform
Settings click JDKs and specify JDK path. After that, you can click
Project and specify which of JDK you have configured is used in the
current projects. Remember that JDKs are configured at IDE level, so
when you create another project, you won't need to add the same JDK
again.
reference :
http://www.jetbrains.com/idea/documentation/migration_faq.html
I have installed eclipse Helios and want to create a plugin project. I select File --> New --> Project but there I do-not see the option for Plugin development. There are only 4 options--
General, CVS , Java and Examples.
Here are the eclipse details--
Eclipse IDE for Java Developers
Version: Helios Service Release 2
Build id: 20110218-0911
Do I need to configure anything in the eclipse settings or preferences for this?
You have to install the Eclipse for RCP and RAP Developers package of eclipse, not the one for Java Developers.
http://www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/indigosr1
Edit: As an alternative you can install the plugins for plugin development into your existing installation. But this might require some fiddling.
The reason there might be no "Plugin Project" option in your Eclipse IDE could be due to the fact that the IDE you have installed does not include the necessary components for plugin development.
to get the plugin project flow the below steps.
Open Eclipse and go to the Help menu, then select "Eclipse Marketplace".
In the Marketplace window, search for "PDE" and select the "Eclipse PDE" option from the list.
Click on the "Install" button next to the Eclipse PDE option, and follow the prompts to complete the installation process
I have developed an Eclipse plugin using the RCP version of Eclipse. I have used the plugin via a 'run application' launch as well as by exporting the plugin as a JAR and putting it in the plugins directory of Eclipse RCP.
The problem is that when I put the plugin JAR in the plugins directory for my Java version or Java EE version of Eclipse, it doesn't seem to be loaded as one of the plugins. I go to the preferences to look at the pref. page for my plugin and it isn't even listed.
This is my first Eclipse plugin, so I don't have much experience using plugins across different distributions of Eclipse and so forth. Any ideas of how to fix this? I would like to be able to use the plugin in any Eclipse (Java, Java EE, RCP, etc.)
Try putting your plugin under install/dropins/plugins directory. As of Eclipse 3.5, adding plugins directly to the root plugins directory isn't supported.
This should be enough for you to experiment further, but this isn't a good way to install finished plugins. The best way to install plugins is via a published repository. You will need to create a feature to hold your plugin and then use Export -> Plug-in Development -> Deployable features wizard or investigate command line build solutions such as pdeBuild.