Jump to content
  • 0

[Help]Maven plugin in Eclipse problem


Question

Posted

well guys i started to build l2jfree in eclipse by installing maven plugin.I installed subeclipse,fix for ajdt,maven plugin and all went fine but here is the problem:i get this error when i do right click on trunk of l2jfree for example commons,after half sec it show me this: http://img519.imageshack.us/i/mavenproblem.png/ .Here are my installed jre/jdk http://img704.imageshack.us/i/installedjres.png/ and i installed the jdk dev kit from here http://img519.imageshack.us/i/jdkinstalled.png/ ..on vista i didn't had this problem maybe because i was using JDK Bundles version but now i don't remember which one should i use..in conclusion,i understood that what i downloaded isn't JDK and is jre,is that true?shi*** problem:/

 

thx u all waiting for answers

Recommended Posts

  • 0
Posted

i read it,but i didn't understand if i must use maven directly or eclipse with maven or checkout all the project and then creating server by my own..

 

I AM NOT LAZY-.-

 

tools folder jeeeeeez

  • 0
Posted

if u mean the folder tool on the trunk "buildall.bat" i understood that sometime ago.If u mean that i must use another compiler like NetBeans tell me.

  • 0
Posted

if u mean the folder tool on the trunk "buildall.bat" i understood that sometime ago.If u mean that i must use another compiler like NetBeans tell me.

 

netbeans is not a compiler.and finally es buildall.bat i think it was obvious...

  • 0
Posted

any solution for that? Microsoft Windows XP [Versione 5.1.2600]

© Copyright 1985-2001 Microsoft Corp.

 

D:\Documents and Settings\Andrea-Ale>cd D:\Documents and Settings\Andrea-Ale\Des

ktop\L2JFree Server\l2j-commons

 

D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server\l2j-commons>D:\Progr

ammi\maven\bin\mvn install

[iNFO] Scanning for projects...

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

[iNFO] Building l2j-commons-1.3.0-SNAPSHOT

[iNFO]    task-segment: [install]

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

[iNFO] [buildnumber:create {execution: default}]

[iNFO] Checking for local modifications: skipped.

[iNFO] Updating project files from SCM: skipped.

[iNFO] Executing: cmd.exe /X /C "svn --non-interactive info"

[iNFO] Working directory: D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree S

erver\l2j-commons

Provider message:

The svn command failed.

Command output:

"svn" non è riconosciuto come comando interno o esterno,

un programma eseguibile o un file batch.

 

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

[ERROR] BUILD ERROR

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

[iNFO] Cannot get the revision information from the scm repository :

Error!

 

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

[iNFO] For more information, run Maven with the -e switch

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

[iNFO] Total time: 1 second

[iNFO] Finished at: Sat Jan 09 17:48:03 CET 2010

[iNFO] Final Memory: 12M/243M

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

"cmd" non è riconosciuto come comando interno o esterno,

un programma eseguibile o un file batch.

D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server\l2j-commons>cd D:\Do

cuments and Settings\Andrea-Ale\Desktop\L2JFree Server\l2j-mmocore

 

D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server\l2j-mmocore>D:\Progr

ammi\maven\bin\mvn install

[iNFO] Scanning for projects...

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

[iNFO] Building l2j-mmocore-1.3.0-SNAPSHOT

[iNFO]    task-segment: [install]

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

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

[ERROR] BUILD ERROR

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

[iNFO] The plugin 'org.codehaus.mojo:maven-buildnumber-plugin' does not exist or

no valid version could be found

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

[iNFO] For more information, run Maven with the -e switch

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

[iNFO] Total time: < 1 second

[iNFO] Finished at: Sat Jan 09 17:48:03 CET 2010

[iNFO] Final Memory: 5M/243M

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

"cmd" non è riconosciuto come comando interno o esterno,

un programma eseguibile o un file batch.

D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server\l2j-mmocore>cd D:\Do

cuments and Settings\Andrea-Ale\Desktop\L2JFree Server\l2jfree-core

 

D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server\l2jfree-core>D:\Prog

rammi\maven\bin\mvn clean:clean

[iNFO] Scanning for projects...

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

[ERROR] BUILD ERROR

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

[iNFO] The plugin 'org.codehaus.mojo:maven-buildnumber-plugin' does not exist or

no valid version could be found

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

[iNFO] For more information, run Maven with the -e switch

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

[iNFO] Total time: < 1 second

[iNFO] Finished at: Sat Jan 09 17:48:04 CET 2010

[iNFO] Final Memory: 3M/243M

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

"cmd" non è riconosciuto come comando interno o esterno,

un programma eseguibile o un file batch.

D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server\l2jfree-core>D:\Prog

rammi\maven\bin\mvn assembly:assembly -Dmaven.test.skip=true

[iNFO] Scanning for projects...

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

[ERROR] BUILD ERROR

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

[iNFO] The plugin 'org.codehaus.mojo:maven-buildnumber-plugin' does not exist or

no valid version could be found

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

[iNFO] For more information, run Maven with the -e switch

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

[iNFO] Total time: < 1 second

[iNFO] Finished at: Sat Jan 09 17:48:05 CET 2010

[iNFO] Final Memory: 3M/243M

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

"cmd" non è riconosciuto come comando interno o esterno,

un programma eseguibile o un file batch.

D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server\l2jfree-core>

  • 0
Posted

What u mean Intrepid,is ENGLISH lol..i did start the cmd command for compile with maven and i get errors...i just ask for who know how to fix this problem(god this jfree is hard-.-)..anyway can it be that the project must be checked out as maven project and not as normal even if i get error about jdk etc?

  • 0
Posted

What u mean Intrepid,is ENGLISH lol..i did start the cmd command for compile with maven and i get errors...i just ask for who know how to fix this problem(god this jfree is hard-.-)..anyway can it be that the project must be checked out as maven project and not as normal even if i get error about jdk etc?

 

"cmd" non è riconosciuto come comando interno o esterno,

un programma eseguibile o un file batch.

D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server\l2jfree-core>D:\Prog

rammi\maven\bin\mvn assembly:assembly -Dmaven.test.skip=true

 

should i understand this?

  • 0
Posted

"cmd" non è riconosciuto come comando interno o esterno,

un programma eseguibile o un file batch.

D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server\l2jfree-core>D:\Prog

rammi\maven\bin\mvn assembly:assembly -Dmaven.test.skip=true

 

should i understand this?

didn't see,anyway means:"cmd" is not identify as a internal command/esternal command,a startable program or a batch file..sry for the home made translation:)
  • 0
Posted

didn't see,anyway means:"cmd" is not identify as a internal command/esternal command,a startable program or a batch file..sry for the home made translation:)

 

Cloud, do you think skipping guides is a good solution? Don't be so stubborn, just follow the guides. Don't think in a way: "hey, I know how to compile, so I'll just read a bit and do what I think is right to do".

 

First, you tried configuring eclipse, I assume you tried to follow http://www.l2jfree-users.com/l2jfreeusers/posts/list/514.page

BUT it specifies you MUST have completed JDK and SVN guides, which you ignored.

 

Then you tried to follow 'THE GUIDE', but you still ignored JDK & SVN guides.

 

YOU MUST APPEND %JAVA_HOME%; AT THE BEGINNING of 'Path', not at the end.

  • 0
Posted

Cloud, do you think skipping guides is a good solution? Don't be so stubborn, just follow the guides. Don't think in a way: "hey, I know how to compile, so I'll just read a bit and do what I think is right to do".

 

First, you tried configuring eclipse, I assume you tried to follow http://www.l2jfree-users.com/l2jfreeusers/posts/list/514.page

BUT it specifies you MUST have completed JDK and SVN guides, which you ignored.

 

Then you tried to follow 'THE GUIDE', but you still ignored JDK & SVN guides.

 

YOU MUST APPEND %JAVA_HOME%; AT THE BEGINNING of 'Path', not at the end.

there are too much guides at jfree and don't tell me that jfree isn't more hard to understand..anyway about SVN yes i ignored this guide because i thought that was useless..now i'll start all again from the begin by reading the guide and follow each guide..i'll report if i did success
  • 0
Posted

 Microsoft Windows XP [Versione 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\Documents and Settings\Andrea-Ale>cd D:\programmi\collabnet

D:\Programmi\CollabNet>cd subversionclient
Impossibile trovare il percorso specificato.

D:\Programmi\CollabNet>cd D:\Programmi\CollabNet\Subversion Client

D:\Programmi\CollabNet\Subversion Client>cd D:\Documents and Settings\Andrea-Ale
\Desktop\L2JFree Server OK\l2j-free\l2j-commons

D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server OK\l2j-free\l2j-comm
ons>D:\Programmi\maven\bin\mvn install
[iNFO] Scanning for projects...
[iNFO] ------------------------------------------------------------------------
[iNFO] Building l2j-commons-1.3.0-SNAPSHOT
[iNFO]    task-segment: [install]
[iNFO] ------------------------------------------------------------------------
[iNFO] [buildnumber:create {execution: default}]
[iNFO] Checking for local modifications: skipped.
[iNFO] Updating project files from SCM: skipped.
[iNFO] Executing: cmd.exe /X /C "svn --non-interactive info"
[iNFO] Working directory: D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree S
erver OK\l2j-free\l2j-commons
Provider message:
The svn command failed.
Command output:
"svn" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.

[iNFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[iNFO] ------------------------------------------------------------------------
[iNFO] Cannot get the revision information from the scm repository :
Error!

[iNFO] ------------------------------------------------------------------------
[iNFO] For more information, run Maven with the -e switch
[iNFO] ------------------------------------------------------------------------
[iNFO] Total time: 1 second
[iNFO] Finished at: Sun Jan 10 09:25:00 CET 2010
[iNFO] Final Memory: 12M/243M
[iNFO] ------------------------------------------------------------------------
"cmd" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server OK\l2j-free\l2j-comm
ons>cd D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server OK\l2j-free\l
2j-mmocore

D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server OK\l2j-free\l2j-mmoc
ore>D:Programmi\maven\bin\mvn install
Impossibile trovare il percorso specificato.

D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server OK\l2j-free\l2j-mmoc
ore>cd D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server OK\l2j-free\l
2jfree-core

D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server OK\l2j-free\l2jfree-
core>D:\Programmi\maven\bin\mvn clean:clean
[iNFO] Scanning for projects...
[iNFO] Searching repository for plugin with prefix: 'clean'.
[iNFO] ------------------------------------------------------------------------
[iNFO] Building l2jfree-core-1.3.0-SNAPSHOT
[iNFO]    task-segment: [clean:clean]
[iNFO] ------------------------------------------------------------------------
[iNFO] [clean:clean {execution: default-cli}]
[iNFO] ------------------------------------------------------------------------
[iNFO] BUILD SUCCESSFUL
[iNFO] ------------------------------------------------------------------------
[iNFO] Total time: < 1 second
[iNFO] Finished at: Sun Jan 10 09:25:01 CET 2010
[iNFO] Final Memory: 10M/243M
[iNFO] ------------------------------------------------------------------------
"cmd" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server OK\l2j-free\l2jfree-
core>D:\Programmi\maven\bin\mvn assembly:assembly -Dmaven.test.skip=true
[iNFO] Scanning for projects...
[iNFO] ------------------------------------------------------------------------
[iNFO] Building l2jfree-core-1.3.0-SNAPSHOT
[iNFO]    task-segment: [assembly:assembly] (aggregator-style)
[iNFO] ------------------------------------------------------------------------
[iNFO] Preparing assembly:assembly
[iNFO] ------------------------------------------------------------------------
[iNFO] Building l2jfree-core-1.3.0-SNAPSHOT
[iNFO] ------------------------------------------------------------------------
[iNFO] [buildnumber:create {execution: default}]
[iNFO] Checking for local modifications: skipped.
[iNFO] Updating project files from SCM: skipped.
[iNFO] Executing: cmd.exe /X /C "svn --non-interactive info"
[iNFO] Working directory: D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree S
erver OK\l2j-free\l2jfree-core
Provider message:
The svn command failed.
Command output:
"svn" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.

[iNFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[iNFO] ------------------------------------------------------------------------
[iNFO] Cannot get the revision information from the scm repository :
Error!

[iNFO] ------------------------------------------------------------------------
[iNFO] For more information, run Maven with the -e switch
[iNFO] ------------------------------------------------------------------------
[iNFO] Total time: 1 second
[iNFO] Finished at: Sun Jan 10 09:25:03 CET 2010
[iNFO] Final Memory: 13M/243M
[iNFO] ------------------------------------------------------------------------
"cmd" non è riconosciuto come comando interno o esterno,
un programma eseguibile o un file batch.
D:\Documents and Settings\Andrea-Ale\Desktop\L2JFree Server OK\l2j-free\l2jfree-
core>

this is what i get,now i have only the error:"Cannot get the revision information from the scm repository :

Error!

" following the guide seems to have fixed the other errors..now any solution about that?(i am waiting also for answer in jfree forum )

 

EDIT:i found a post by savormix that was telling to not use 1.6collabnet version,is that right?if yes then i installed the 1.6++.Anyway i tried with 1.5 version and is "too old for work with working copy.." hope someone can help.

  • 0
Posted

If you wouldn't be so stubborn and used the first_time.bat (or, if you already did the checkout, update.bat) script instead of trying to do magic in command prompt without understanding what are you doing, you would have already compiled it.

 

For example, WHY? do you changedir (cd) to subversion client installation dir? Could you please point me where it asks for that in the guide?

To verify if subversion is installed, you just open the command prompt and write 'svn --version' at whatever directory is shown. If it doesn't answer properly, you re-do the guide.

  • 0
Posted

svn version is installed correctly..but want you to know what happen?i get error:could not find "mvn" path..and i don't understand why.

 

here is the PATH if it talks about variables: %JAVA_HOME%\bin%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%M2% name:path

 

 

Guest
This topic is now closed to further replies.



×
×
  • Create New...