I try to get this tutorial(http://www.jroller.com/gmazza/entry/web_service_tutorial) run, but build is failing. I am not familair with Maven(just started to use it) to fix this issue. So, if someone could help me out that would be great. I am using NetBean(7.1.1) Maven plugin. I removed cache for maven and run mvn clean install tomcat:deploy on the command line, but I am still getting following errors.
[INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1:13.251s [INFO] Finished at: Tue Apr 10 15:21:38 EDT 2012 [INFO] Final Memory: 3M/15M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project service-war: Could not resolve dependencies for project org.gmazza.blog.basic-doubleit:service-war:war:1.0-SNAPSHOT: Could not find artifact org.gmazza.blog.basic-doubleit:service-bundle:jar:1.0-SNAPSHOT -> [ Help 1] [ERROR] And here is pom.xml file for service-bundle. <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> <parent> <groupId>org.gmazza.blog.basic-doubleit</groupId> <artifactId>basic-doubleit</artifactId> <version>1.0-SNAPSHOT</version> </parent> <artifactId>service-bundle</artifactId> <name>Web Service Provider</name> <packaging>jar</packaging> <url>http://maven.apache.org</url> <build> <plugins> <plugin> <artifactId>maven-assembly-plugin</artifactId> <version>2.2.1</version> <configuration> <descriptors> <descriptor>src/assembly/jaxws-jar.xml</descriptor> </descriptors> <appendAssemblyId>true</appendAssemblyId> <attach>true</attach> </configuration> <executions> <execution> <id>make-assembly</id> <phase>package</phase> <goals> <goal>single</goal> </goals> </execution> </executions> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <version>2.3.5</version> <extensions>true</extensions> </plugin> </plugins> </pluginManagement> <finalName>doubleit</finalName> </build> <profiles> <profile> <id>Metro</id> <activation> <activeByDefault>true</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxws-maven-plugin</artifactId> <version>1.12</version> <executions> <execution> <goals> <goal>wsimport</goal> </goals> <configuration> <wsdlDirectory> src/main/resources </wsdlDirectory> <wsdlFiles> <wsdlFile>DoubleIt.wsdl</wsdlFile> </wsdlFiles> <sourceDestDir> ${basedir}/target/generated-sources </sourceDestDir> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project> -- View this message in context: http://maven.40175.n5.nabble.com/Problem-with-running-Maven-project-tp5630928p5630928.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
