facebook

Goal Deploy is missing in Maven4MyEclipse

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #310435 Reply

    Alex
    Participant

    I installed Archiva repository manager and I’d like to deploy on it my artifacts from my projects. I can do it manualy from command line, but, I’m getting erorr when I try to do it from MyEclipse. First of all, the goal “deploy” is missing from Maven4MyEclipse menu. I tried to select goal “deploy:deploy” from “Run Configuration”. But, it didn’t work.

    #310456

    support-joy
    Member

    AlexYarm,

    I have escalated this issue to dev team member. I shall get back to you on this.

    #310490

    support-joy
    Member

    AlexYarm,

    In case you are trying to add the apache archiva as a repository to m2eclipse, here are the steps –
    1.Open POM.xml
    add the following to the pom.xml file
    <repositories>
    <repository>
    <id>archiva</id>
    <name>localarchiva</name>
    <url><a href=”http://localhost:8080/archiva/repository/internal/”>http://localhost:8080/archiva/repository/internal/</a></url&gt;
    </repository>
    </repositories>
    These are user dependent properties of the archiva manager. (The archiva manager should generate a file called as “nexus-maven-repository-index”. Its generated in the archiva-installation/data/repository/.indexer)
    The URL in the POM.xml should point to a valid nexus-maven-repository-index property file.

    This same process can also be done with UI.
    1.Open the POM file with maven pom editor.
    2.The overview page has a button on top right called as show advanced tabs.click on this button, it will show repository tab, add same values as above via the UI. Click Save.
    The file generated will be similar as above.

    2. Open Maven Repositories view (Window > Show View > Maven Repository view )
    Expand the Project Repository node. This node will show the added archiva repository as a new node. Right Click, Click Full index enabled.
    To ensure that the repository is indexed, you can optionally click update index.

    3.Go back to Maven4Myeclipse menu, click add, this will show all the artifacts present in the archiva repository.

    This will allow you to add the artifacts from archiva repository to your projects.

    Hope this helps

    Attachments:
    You must be logged in to view attached files.
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Goal Deploy is missing in Maven4MyEclipse

You must be logged in to post in the forum log in