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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...