Jump to content

Recommended Posts

Posted

OS: Mac 10.7

Java: 1.7 u5 JDK

OK so I got the source, Maven, eclipse, and MCP, now what do I do from here? I've tried to do it but It keeps telling me there is something wrong with the pom file before I even edit it. I type mvn /Path/to/pom/pom.xml and it tells me

[iNFO] Scanning for projects...

[iNFO]

[iNFO] ------------------------------------------------------------------------

[iNFO] Building Technic Launcher 1.0.1.3

[iNFO] ------------------------------------------------------------------------

[iNFO] ------------------------------------------------------------------------

[iNFO] BUILD FAILURE

[iNFO] ------------------------------------------------------------------------

[iNFO] Total time: 0.130s

[iNFO] Finished at: Thu Aug 16 15:11:13 CDT 2012

[iNFO] Final Memory: 2M/81M

[iNFO] ------------------------------------------------------------------------

[ERROR] Unknown lifecycle phase "pom.xml". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException

Any help would be awesome

Posted

I have no clue what you are attempting to do. It did take me about 5 re-reads to see that it actually said POM and not PORN...

Ya it really does look like that doesn't it. POM.xml is what a program called maven uses to locate all the dependencies of a java project and compile them without errors. Spoutcraft (the base of the technic launcher) uses this style for compiling their launcher. Now I've looked and looked and I've never found one tutorial on how to actually compile the launcher using this. So I'm just asking how to use maven to compile the technic launcher. Sorry for the confusion.

Posted

Ya it really does look like that doesn't it. POM.xml is what a program called maven uses to locate all the dependencies of a java project and compile them without errors. Spoutcraft (the base of the technic launcher) uses this style for compiling their launcher. Now I've looked and looked and I've never found one tutorial on how to actually compile the launcher using this. So I'm just asking how to use maven to compile the technic launcher. Sorry for the confusion.

Ahh I see. I don't have any experience with that sort of thing so I won't be of any help. I'm sure someone on here could help you though. Good luck.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...