[Users] maven

nch underscore_dot at yahoo.com
Wed Mar 16 10:59:40 CET 2011


- This is the pom right after doing "Create concrete project(s)" which yield the mentioned exception:


Code:

<?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">
	
	<name>sa-BPEL-test-provide</name>

	<!-- <description /> -->
	<!-- <version /> -->
	<packaging>jbi-service-assembly</packaging>
	
	<!-- <artifactId /> -->
	<!-- <groupId /> -->
	<!-- <modelVersion /> -->
	
	<parent>
		<!-- <artifactId /> -->
		<!-- <groupId /> -->
		<!-- <version /> -->
	</parent>
	
	<dependencies></dependencies>
	
	<build>
		<plugins>
			<plugin>
				<groupId>org.ow2.petals</groupId>
				<artifactId>maven-petals-plugin</artifactId>
				<!-- <version /> -->
				<extensions>true</extensions>
				<configuration>
					<artifactNameMapping>${artifactId}</artifactNameMapping>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>





- I realized I had to manually modify it, and modify the corresponding SUs pom'S too, so this is how the SA pom looks right now:


Code:

<?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">
	
	<name>sa-BPEL-test-provide</name>
	<description>simplest test</description>
	<version>1.0-SNAPSHOT</version>
	<packaging>jbi-service-assembly</packaging>
	
	<artifactId>sa-BPEL-test-provide</artifactId>
	<groupId>tests</groupId>
	<modelVersion>4.0.0</modelVersion>
	
	<!--parent-->
		<!-- <artifactId /> -->
		<!-- <groupId /> -->
		<!-- <version /> -->
	<!--/parent-->
	
	<dependencies>
		<dependency>
			<artifactId>su-BPEL-test-provide</artifactId>
			<groupId>tests</groupId>
			<version>1.0-SNAPSHOT</version>
			<type>jbi-service-unit</type>
		</dependency>
		<dependency>
			<artifactId>su-SOAP-testService-consume</artifactId>
			<groupId>tests</groupId>
			<version>1.0-SNAPSHOT</version>
			<type>jbi-service-unit</type>
		</dependency>
	</dependencies>
	
	<build>
		<plugins>
			<plugin>
				<groupId>org.ow2.petals</groupId>
				<artifactId>maven-petals-plugin</artifactId>
				<!-- <version /> -->
				<extensions>true</extensions>
				<configuration>
					<artifactNameMapping>${artifactId}</artifactNameMapping>
				</configuration>
			</plugin>
		</plugins>
	</build>
</project>




I was able to mvn install the SUs, but still can't do the same for this SA due to the following:


Code:

C:\dev\PetalsStudio10Workspace\sa-BPEL-test-provide>mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building sa-BPEL-test-provide
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [petals:jbi-package {execution: default-jbi-package}]
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to build XML binding from JBI descriptor Java classes

cvc-complex-type.2.4.b: The content of element 'identification' is not complete. One of '{"http://java.sun.com/xml/ns/jbi":description}' is expected.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Fri Jun 04 11:38:28 CEST 2010
[INFO] Final Memory: 6M/15M
[INFO] ------------------------------------------------------------------------
C:\dev\PetalsStudio10Workspace\sa-BPEL-test-provide>




I'm still missing something.
Regards.




-------------------- m2f --------------------

Subscribe/Unsubscribe emails notifications.

Response to this email will be posted on the Petals forum.
Please delete the existing text before responding :)

Read the topic online:
http://forum.petalslink.com/viewtopic.php?p=31076#31076

-------------------- m2f --------------------






More information about the Users mailing list