[jboss-jira] [JBoss JIRA] (WFLY-9284) git wildfly build.bat pointing to none existent maven script

Nuno Godinho de Matos (JIRA) issues at jboss.org
Thu Aug 31 07:40:00 EDT 2017


Nuno Godinho de Matos created WFLY-9284:
-------------------------------------------

             Summary: git wildfly build.bat pointing to none existent maven script
                 Key: WFLY-9284
                 URL: https://issues.jboss.org/browse/WFLY-9284
             Project: WildFly
          Issue Type: Bug
          Components: Scripts
            Reporter: Nuno Godinho de Matos
            Assignee: Tomaz Cerar
            Priority: Trivial


Trying to build the current wildfly master by calling upon build.bat has failed due to missing mvn.cmd file.

In order to be able to trigger the build process, the build.bat script had to be corrected on the following line:

{panel}
set DIRNAME=%~p0
set MVN=%DIRNAME%\mvnw.cmd
{panel}

The script that is found on my current wildfly\ directory is called:
mvnw.cmd and not mvn.cmd

I would also suggest that in some documentation people are recommended to tune their maven settings and add in the repository:
{code}
<repository>
					<id>jboss-public</id>
					<url>https://repository.jboss.org/nexus/content/groups/public/</url>
					<releases>
						<enabled>true</enabled>
					</releases>
					<snapshots>
						<enabled>true</enabled>
					</snapshots>
				</repository>	
{code}


Many thanks.




--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list