You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by rf...@apache.org on 2006/09/01 01:21:11 UTC
svn commit: r439094 -
/incubator/tuscany/java/sca/databinding/databinding-sdo/pom.xml
Author: rfeng
Date: Thu Aug 31 16:21:11 2006
New Revision: 439094
URL: http://svn.apache.org/viewvc?rev=439094&view=rev
Log:
Change the code-gen to generate-test-sources phase
Modified:
incubator/tuscany/java/sca/databinding/databinding-sdo/pom.xml
Modified: incubator/tuscany/java/sca/databinding/databinding-sdo/pom.xml
URL: http://svn.apache.org/viewvc/incubator/tuscany/java/sca/databinding/databinding-sdo/pom.xml?rev=439094&r1=439093&r2=439094&view=diff
==============================================================================
--- incubator/tuscany/java/sca/databinding/databinding-sdo/pom.xml (original)
+++ incubator/tuscany/java/sca/databinding/databinding-sdo/pom.xml Thu Aug 31 16:21:11 2006
@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
-->
<project>
@@ -31,13 +31,13 @@
<description>Data Binding based on SDO.</description>
<dependencies>
- <dependency>
- <groupId>org.apache.tuscany.databinding</groupId>
- <artifactId>databinding-framework</artifactId>
- <version>${pom.version}</version>
- <scope>compile</scope>
- </dependency>
-
+ <dependency>
+ <groupId>org.apache.tuscany.databinding</groupId>
+ <artifactId>databinding-framework</artifactId>
+ <version>${pom.version}</version>
+ <scope>compile</scope>
+ </dependency>
+
<dependency>
<groupId>org.apache.tuscany</groupId>
<artifactId>core</artifactId>
@@ -56,32 +56,38 @@
<artifactId>junit</artifactId>
</dependency>
</dependencies>
-
+
<build>
- <testSourceDirectory>target/sdo-source</testSourceDirectory>
- <plugins>
- <plugin>
- <groupId>org.apache.tuscany</groupId>
- <artifactId>tuscany-sdo-plugin</artifactId>
+ <!-- A maven hack to have eclipse recognize target/sdo-source as a source folder -->
+ <testResources>
+ <testResource>
+ <directory>target/sdo-source</directory>
+ </testResource>
+ </testResources>
+
+ <plugins>
+ <plugin>
+ <groupId>org.apache.tuscany</groupId>
+ <artifactId>tuscany-sdo-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
- <executions>
- <execution>
- <id>generate-sdo</id>
- <phase>generate-test-sources</phase>
- <configuration>
- <schemaFile>${basedir}/src/test/resources/ipo.xsd</schemaFile>
- <javaPackage>com.example.ipo.sdo</javaPackage>
- <noNotification>true</noNotification>
- <noContainer>true</noContainer>
- <noUnsettable>true</noUnsettable>
- </configuration>
- <goals>
- <goal>generate</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
+ <executions>
+ <execution>
+ <id>generate-sdo</id>
+ <phase>generate-test-sources</phase>
+ <configuration>
+ <schemaFile>${basedir}/src/test/resources/ipo.xsd</schemaFile>
+ <javaPackage>com.example.ipo.sdo</javaPackage>
+ <noNotification>true</noNotification>
+ <noContainer>true</noContainer>
+ <noUnsettable>true</noUnsettable>
+ </configuration>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org