I believe I answered all relevant questions. I'm going through all of them
again to make a synthesis of my answers. Furthermore, I'm going to report
the entire output of mvn -v.

> Are you an "experienced" Maven user who is moving to Win 8.1 Pro, or a
new user of Win 8.1 Pro who is also new to Maven?
Semi-experienced in both: I understand what I do.

> Can you grab a screenshot of the error message and post it online
somewhere?
http://i.stack.imgur.com/q4LZ9.png

> java -version
java version "1.7.0_51"
Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode, sharing)


> What happens when you type "mvn.bat"?
Windows error as above

After mvn -n and setting the environment variable, this is the output
("Access denied" is the error).

if "" == "" (set "HOME=<my_user_base_path>" )
if not "" == "" goto skipRcPre
if exist "<my_user_base_path>\mavenrc_pre.bat" call
"<my_user_base_path>\mavenrc_pre.bat"

set ERROR_CODE=0
if "Windows_NT" == "Windows_NT"
if "Windows_NT" == "WINNT"
if not "C:\Program Files (x86)\Java\jdk1.7.0_45" == "" goto OkJHome

if exist "C:\Program Files (x86)\Java\jdk1.7.0_45\bin\java.exe"
goto chkMHome
if not "" == "" goto valMHome
if "Windows_NT" == "Windows_NT" SET "M2_HOME=D:\apache-maven-3.1.1\bin\.."

if "Windows_NT" == "WINNT" SET "M2_HOME=D:\apache-maven-3.1.1\bin\.."
if not "D:\apache-maven-3.1.1\bin\.." == "" goto valMHome
if not "_." == "_\" goto checkMBat
if exist "D:\apache-maven-3.1.1\bin\..\bin\mvn.bat" goto init
if "Windows_NT" == "WINNT" goto WinNTNovell
if NOT "Windows_NT" == "Windows_NT" goto Win9xArg
if "@eval[2+2]" == "4" goto 4NTArgs

set MAVEN_CMD_LINE_ARGS=-v
goto endInit

SET MAVEN_JAVA_EXE="C:\Program Files (x86)\Java\jdk1.7.0_45\bin\java.exe"
if "@eval[2+2]" == "4" goto 4NTCWJars
for %i in ("D:\apache-maven-3.1.1\bin\.."\boot\plexus-classworlds-*) do set
CLASSWORLDS_JAR="%i"

set
CLASSWORLDS_JAR="D:\apache-maven-3.1.1\bin\..\boot\plexus-classworlds-2.5.1.jar"
goto runm2

set CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
"C:\Program Files (x86)\Java\jdk1.7.0_45\bin\java.exe"  -classpath
"D:\apache-maven-3.1.1\bin\..\boot\plexus-classworlds-2.5.1.jar"
"-Dclassworlds.conf=D:\apache-maven-3.1.1\bin\..\bin\m2.conf"
"-Dmaven.home=D:\apache-maven-3.1.1\bin\.."
org.codehaus.plexus.classworlds.launcher.Launcher -v
Access denied.

if ERRORLEVEL 1 goto error
if "Windows_NT" == "Windows_NT"
if "Windows_NT" == "WINNT"
set ERROR_CODE=1
if "Windows_NT" == "Windows_NT" goto endNT
if not "" == "" goto skipRcPost
if exist "<my_user_base_path>\mavenrc_post.bat" call
"<my_user_base_path>\mavenrc_post.bat"
if "" == "on" pause
if "" == "on" exit 1
cmd /C exit /B 1


*Manuel Mastrofini*
*Sistemi e Processi, Direttore di Divisione*

www.infoone.it
*Sede operativa*: Via Vicinale dei Colli 22, 00040 Rocca di Papa (RM)
*Contatto diretto: +39 328 88 95 334 <%2B39%20328%2088%2095%20334>*


On Tue, Jan 28, 2014 at 11:17 PM, Barrie Treloar <baerr...@gmail.com> wrote:

> On 29 January 2014 08:26, Manuel Mastrofini
> <manuel.mastrof...@infoone.it> wrote:
> > Thank you for your contribution.
> >
> > The failing line is:
> >
> > .shared.domain."C:\Program Files (x86)\Java\jdk1.7.0_45\bin\java.exe"
> >  -classpath
> > "D:\apache-maven-3.1.1\bin\..\boot\plexus-classworlds-2.5.1.jar"
> > "-Dclassworlds.conf=D:\apache-maven-3.1.1\bin\..\bin\m2.conf"
> > "-Dmaven.home=D:\apache-maven-3.1.1\bin\.."
> > org.codehaus.plexus.classworlds.launcher.Launcher -v
> >
> > It is immediately after .shared.domain.set
> > CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher
> >
> > Manuel
>
> Manuel, it is very difficult to help you trouble shoot because you are
> not providing enough information.
> Wayne has tried to coax this information out of you but you have not
> answered all his questions, and when you do you will need to paste in
> the results from the computer rather than paraphrasing as we need the
> actual error messages/debug information to learn more.
>
> Have a look at http://www.catb.org/~esr/faqs/smart-questions.html in
> general, and specifically the "Be precise and informative about your
> problem" section.
>
> Go through the emails again and make sure you have answered Wayne's
> questions and provided enough details in the answers and we will
> probably have more luck in helping you out.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

Reply via email to