Skip to content

Commit c2c47a0

Browse files
author
sumedha
committed
added repos to make build work on a clean repo
git-svn-id: https://svn.wso2.org/repos/wso2/carbon/platform/trunk@141772 a5903396-d722-0410-b921-86c7d4935375
1 parent 4065e8b commit c2c47a0

File tree

2 files changed

+31
-4
lines changed
  • products/apimgt/modules/samples/pizza-shack-demo

2 files changed

+31
-4
lines changed

products/apimgt/modules/samples/pizza-shack-demo/pizza-shack-api/pom.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<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">
3+
4+
<parent>
5+
<groupId>com.pizzashack</groupId>
6+
<artifactId>pizzashack</artifactId>
7+
<version>1.0.0</version>
8+
</parent>
9+
310
<modelVersion>4.0.0</modelVersion>
411
<groupId>com.pizzashack</groupId>
512
<artifactId>pizzashack-api</artifactId>
6-
<version>1.0.0</version>
13+
<!--version>1.0.0</version-->
714
<packaging>war</packaging>
815
<name>PizzaShack JAX-RS API</name>
916
<description>Simple CXF JAX-RS webapp service using spring configuration</description>

products/apimgt/modules/samples/pizza-shack-demo/pizza-shack-web/pom.xml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
22
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3+
4+
<parent>
5+
<groupId>com.pizzashack</groupId>
6+
<artifactId>pizzashack</artifactId>
7+
<version>1.0.0</version>
8+
</parent>
9+
310
<modelVersion>4.0.0</modelVersion>
411
<groupId>com.pizzashack.client.web</groupId>
512
<artifactId>pizza-shack-web</artifactId>
613
<name>PizzaShack Web Application</name>
714
<packaging>war</packaging>
8-
<version>1.0-SNAPSHOT</version>
15+
<!--version>1.0-SNAPSHOT</version-->
916
<url>http://maven.apache.org</url>
1017
<dependencies>
1118
<dependency>
@@ -62,7 +69,7 @@
6269

6370
</build>
6471

65-
<distributionManagement>
72+
<!--distributionManagement>
6673
<repository>
6774
<id>wso2-maven2-repository</id>
6875
<name>WSO2 Maven2 Repository</name>
@@ -73,5 +80,18 @@
7380
<name>WSO2 Maven2 Snapshot Repository</name>
7481
<url>scp://dist.wso2.org/home/httpd/dist.wso2.org/snapshots/maven2/</url>
7582
</snapshotRepository>
76-
</distributionManagement>
83+
</distributionManagement-->
84+
85+
<repositories>
86+
<repository>
87+
<id>wso2-nexus</id>
88+
<name>WSO2 internal Repository</name>
89+
<url>http://maven.wso2.org/nexus/content/groups/wso2-public/</url>
90+
<releases>
91+
<enabled>true</enabled>
92+
<updatePolicy>daily</updatePolicy>
93+
<checksumPolicy>fail</checksumPolicy>
94+
</releases>
95+
</repository>
96+
</repositories>
7797
</project>

0 commit comments

Comments
 (0)