java - Maven clean install freezes on "Copying artifact" for an EAR with a WAR inside it on Windows -



java - Maven clean install freezes on "Copying artifact" for an EAR with a WAR inside it on Windows -

every time seek run mvn clean install on ear, copies ejb fine, war freezes while trying re-create ear.

both ejb , war build fine, , build ear , ejb get's copied fine freeze , console sit down there forever.

i using windows , java 8 , working fine until @ 10pm lastly night. then, freeze. now, freeze every time.

i have tried deleting .m2, checking file permissions, nil seems work.

could there circular reference or something? don't think there is.

is there way run mvn verbose particular function?

here ear pom:

<?xml version="1.0" encoding="utf-8"?> <project xmlns="http://maven.apache.org/pom/4.0.0" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://maven.apache.org/pom/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelversion>4.0.0</modelversion> <artifactid>my-ear</artifactid> <packaging>ear</packaging> <parent> <groupid>com.group</groupid> <artifactid>my-program</artifactid> <version>4.0</version> </parent> <build> <plugins> <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-compiler-plugin</artifactid> <version>3.1</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupid>org.apache.maven.plugins</groupid> <artifactid>maven-ear-plugin</artifactid> <version>2.9.1</version> <configuration> <skinnywars>true</skinnywars> <displayname>${tbs.name}</displayname> <modules> <ejbmodule> <groupid>${project.groupid}</groupid> <artifactid>my-ejb</artifactid> </ejbmodule> <webmodule> <groupid>${project.groupid}</groupid> <artifactid>my-services</artifactid> <contextroot>/</contextroot> </webmodule> </modules> </configuration> </plugin> </plugins> <finalname>${project.artifactid}</finalname> </build> <dependencies> <dependency> <groupid>${project.groupid}</groupid> <artifactid>my-ejb</artifactid> <version>${project.version}</version> <type>ejb</type> </dependency> <dependency> <groupid>${project.groupid}</groupid> <artifactid>my-services</artifactid> <version>${project.version}</version> <type>war</type> </dependency> </dependencies> </project>

and here output installing phase freezes:

[info] --- maven-install-plugin:2.3.1:install (default-install) @ my-services --- [info] installing d:\development\projects\my-program\my-services\target\my-services-4.0.war c:\users\me\.m2\repository\com\group\my-services\4.0\my-services-4.0.war [info] installing d:\development\projects\my-program\my-services\pom.xml c:\users\me\.m2\repository\com\group\4.0\my-services-4.0.pom [info] [info] ------------------------------------------------------------------------ [info] building my-ear 4.0 [info] ------------------------------------------------------------------------ [info] [info] --- maven-clean-plugin:2.4.1:clean (default-clean) @ my-ear --- [info] deleting d:\development\projects\my-program\my-ear\target [info] [info] --- maven-ear-plugin:2.9.1:generate-application-xml (default-generate-application-xml) @ my-ear --- [info] generating application.xml [info] [info] --- maven-resources-plugin:2.4.3:resources (default-resources) @ my-ear --- [warning] using platform encoding (cp1252 actually) re-create filtered resources, i.e. build platform dependent! [info] skip non existing resourcedirectory d:\development\projects\my-program\my-ear\src\main\resources [info] [info] --- maven-ear-plugin:2.9.1:ear (default-ear) @ my-ear --- [info] copying artifact [ejb:com.group:my-ejb:4.0] [my-ejb-4.0.jar] [info] building zip: d:\development\projects\my-program\my-ear\target\my-ear\my-ejb-4.0.jar [info] copying artifact [war:com.group:my-services:4.0] [my-services-4.0.war]

this point @ stops forever.

java maven war ear

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -