Please remove the following lines:
<plugin>
<groupId>org.jvnet.maven-antrun-extended-plugin</groupId>
<artifactId>maven-antrun-extended-plugin</artifactId>
<version> 1.36 </version>
<dependencies>
<dependency>
<groupId>sun.jdk</groupId>
<artifactId>tools</artifactId>
<version>1.6</version>
<scope>system</scope>
<systemPath>${java.home}/../lib/tools.jar</systemPath>
</dependency>
</dependencies>
</plugin>
If you don't see the strike-through, it's <dependencies>...</dependencies>.
This is only happening on MacOS since JDK on Mac does not have tools.jar.
I'm looking into issue right now.
Jane
Shing Wai Chan wrote:
> Hi,
> I have updated my workspace and see the following build errors.
> My env is JDK 6 in Mac.
> I remember I see something like this yesterday.
> Is it resolved?
> Thanks.
> Shing Wai Chan
>
> Missing:
> ----------
> 1) sun.jdk:tools:jar:1.6
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=sun.jdk -DartifactId=tools
> -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the
> file there:
> mvn deploy:deploy-file -DgroupId=sun.jdk -DartifactId=tools
> -Dversion=1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>
> Path to dependency:
> 1)
> org.jvnet.maven-antrun-extended-plugin:maven-antrun-extended-plugin:maven-plugin:1.36
>
> 2) sun.jdk:tools:jar:1.6
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
>
> org.jvnet.maven-antrun-extended-plugin:maven-antrun-extended-plugin:maven-plugin:1.36
>
>
> from the specified remote repositories:
> maven2.java.net (http://download.java.net/maven/2),
> maven2.java.net-wsinterop (http://maven.dyndns.org/2),
> repo1.maven.org (http://repo1.maven.org/maven2),
> maven2.java.net-backup
> (https://maven2-repository.dev.java.net/nonav/repository),
> glassfish-repository-wsinterop (http://maven.dyndns.org/glassfish/),
> glassfish-repo-archive-dummy
> (http://maven.glassfish.org/content/groups/glassfish),
> java-dev-repository
> (https://maven-repository.dev.java.net/nonav/repository),
> glassfish-repository (http://download.java.net/maven/glassfish),
> maven2-repository.dev.java.net (http://download.java.net/maven/2/),
> EclipseLink Repo
> (http://download.eclipse.org/rt/eclipselink/maven.repo),
> central (http://repo1.maven.org/maven2),
> glassfish-repo-archive
> (http://maven.glassfish.org/content/groups/glassfish)
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>