Author: rfeng
Date: Tue Oct 17 17:11:59 2006
New Revision: 465106
URL: http://svn.apache.org/viewvc?view=rev&rev=465106
Log:
Add "maven" module as a runtime dependency to standalone so that it can be
pulled as transitive dependencies
Modified:
incubator/tuscany/java/sca/runtime/standalone-host/pom.xml
incubator/tuscany/java/sca/services/maven/src/main/java/org/apache/tuscany/services/maven/WarRepositoryHelper.java
Modified: incubator/tuscany/java/sca/runtime/standalone-host/pom.xml
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/runtime/standalone-host/pom.xml?view=diff&rev=465106&r1=465105&r2=465106
==============================================================================
--- incubator/tuscany/java/sca/runtime/standalone-host/pom.xml (original)
+++ incubator/tuscany/java/sca/runtime/standalone-host/pom.xml Tue Oct 17
17:11:59 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>
<parent>
@@ -41,6 +41,12 @@
<artifactId>standalone</artifactId>
<version>${sca.version}</version>
<scope>compile</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.tuscany.sca.services</groupId>
+ <artifactId>maven</artifactId>
+ <version>${sca.version}</version>
+ <scope>runtime</scope>
</dependency>
</dependencies>
</project>
Modified:
incubator/tuscany/java/sca/services/maven/src/main/java/org/apache/tuscany/services/maven/WarRepositoryHelper.java
URL:
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/services/maven/src/main/java/org/apache/tuscany/services/maven/WarRepositoryHelper.java?view=diff&rev=465106&r1=465105&r2=465106
==============================================================================
---
incubator/tuscany/java/sca/services/maven/src/main/java/org/apache/tuscany/services/maven/WarRepositoryHelper.java
(original)
+++
incubator/tuscany/java/sca/services/maven/src/main/java/org/apache/tuscany/services/maven/WarRepositoryHelper.java
Tue Oct 17 17:11:59 2006
@@ -110,7 +110,7 @@
throw new TuscanyDependencyException(ex);
}
}
- return true;
+ return rootArtifact.getUrl()!=null;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]