Thread: Buying VPS setup MAVEN

Results 1 to 6 of 6
  1. #1 Buying VPS setup MAVEN 
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Hey there,

    Could someone teach me how to setup maven projects on a VPS.
    Willing to pay, not a ridiculous amount though.

    I am temporary using eclipse on the VPS setup as maven until i figure out how to run as batch file.
    It says that it can't find certain folder while it is there.

    PM me or leave ur discord.

    Kind regards,

    Patrick
    Last edited by _Patrick_; 07-07-2018 at 01:23 PM.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Andys1814's Avatar
    Join Date
    Feb 2013
    Posts
    974
    Thanks given
    688
    Thanks received
    455
    Rep Power
    727
    I'll do it if you're willing to switch to Intellij lol. Eclipse has poor support for things like this

    Intellij is all around a better IDE anyway.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Banned

    Join Date
    Oct 2012
    Posts
    4,710
    Thanks given
    1,679
    Thanks received
    1,105
    Rep Power
    0
    Quote Originally Posted by Andys1814 View Post
    I'll do it if you're willing to switch to Intellij lol. Eclipse has poor support for things like this

    Intellij is all around a better IDE anyway.
    What do you mean, I don't want to run an IDE on a VPS just a batch file. I've always done it like this but since i'm using maven it doesn't work.
    I already load eclipse with maven on the VPS but its causing unnecessary overload on CPU.
    Reply With Quote  
     

  5. #4  
    Respected Member


    Join Date
    Jul 2015
    Posts
    781
    Thanks given
    206
    Thanks received
    394
    Rep Power
    524
    Code:
    mvn package
    ?
    Reply With Quote  
     

  6. #5  
    Registered Member

    Join Date
    Nov 2014
    Posts
    60
    Thanks given
    22
    Thanks received
    95
    Rep Power
    227
    Use maven-shade to shade your dependencies in a jar, then build the jar. Upload the jar to your VPS and run it with `java -jar file.jar`
    Reply With Quote  
     

  7. #6  
    (Official) Thanksgiver

    Arham's Avatar
    Join Date
    Jan 2013
    Age
    23
    Posts
    3,415
    Thanks given
    7,254
    Thanks received
    1,938
    Rep Power
    3905
    Quote Originally Posted by techdaan View Post
    Use maven-shade to shade your dependencies in a jar, then build the jar. Upload the jar to your VPS and run it with `java -jar file.jar`
    But how would one incorporate usage with git by doing that?

    Simply find a guide for installing maven on your respective operating system. Then, use the following command:
    Code:
    mvn exec:java -Dexec.mainClass="your.main.Class"
    For compiling changes, do the following:
    Code:
    mvn clean install -Dmaven.test.skip=true
    You may remove the last bit if you have tests.
    Attached image
    Attached image
    Quote Originally Posted by MrClassic View Post
    Arham is the official thanker!
    List of my work here!
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Buying VPS Setup!
    By RsTurm in forum Buying
    Replies: 4
    Last Post: 04-05-2012, 02:40 AM
  2. Buying VPS host for RuneScape Account
    By Mnnmnmmnmnnm in forum Hosting
    Replies: 2
    Last Post: 10-31-2009, 02:46 PM
  3. Buying VPS for 130 RS Acc: Look!
    By owner david in forum Hosting
    Replies: 11
    Last Post: 10-25-2009, 10:32 PM
  4. [buy vps]
    By c 0 l d a k in forum Hosting
    Replies: 0
    Last Post: 04-28-2009, 08:07 AM
  5. Buying vps with remote access
    By American Eagle in forum Hosting
    Replies: 1
    Last Post: 02-04-2009, 02:25 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •