You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jg...@apache.org on 2011/02/26 23:50:03 UTC
svn commit: r1074946 - in
/openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war: ./ src/
src/main/ src/main/resources/ src/main/resources/META-INF/
src/main/resources/META-INF/maven/ src/main/resources/archetype-resources/
src/main/resources/a...
Author: jgallimore
Date: Sat Feb 26 22:50:02 2011
New Revision: 1074946
URL: http://svn.apache.org/viewvc?rev=1074946&view=rev
Log:
Basic webprofile archetype
Added:
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/pom.xml
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/META-INF/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/META-INF/maven/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/META-INF/maven/archetype-metadata.xml
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/pom.xml
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/java/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/java/ejb/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/java/ejb/CalculatorImpl.java
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/java/web/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/java/web/CalculatorServlet.java
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/resources/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/resources/META-INF/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/resources/META-INF/ejb-jar.xml
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/webapp/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/calculator.jspx
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/test/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/test/java/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/test/java/ejb/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/test/java/ejb/CalculatorTest.java
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/test/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/test/resources/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/test/resources/projects/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/test/resources/projects/basic/
openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/test/resources/projects/basic/archetype.properties
Added: openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/pom.xml?rev=1074946&view=auto
==============================================================================
--- openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/pom.xml (added)
+++ openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/pom.xml Sat Feb 26 22:50:02 2011
@@ -0,0 +1,30 @@
+<?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/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>simple-webprofile-archetype</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ <packaging>maven-archetype</packaging>
+
+ <name>simple-webprofile-archetype</name>
+
+ <build>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.archetype</groupId>
+ <artifactId>archetype-packaging</artifactId>
+ <version>2.0</version>
+ </extension>
+ </extensions>
+
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <artifactId>maven-archetype-plugin</artifactId>
+ <version>2.0</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+</project>
Added: openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/META-INF/maven/archetype-metadata.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/META-INF/maven/archetype-metadata.xml?rev=1074946&view=auto
==============================================================================
--- openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/META-INF/maven/archetype-metadata.xml (added)
+++ openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/META-INF/maven/archetype-metadata.xml Sat Feb 26 22:50:02 2011
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archetype-descriptor xsi:schemaLocation="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0 http://maven.apache.org/xsd/archetype-descriptor-1.0.0.xsd" name="simple-webprofile"
+ xmlns="http://maven.apache.org/plugins/maven-archetype-plugin/archetype-descriptor/1.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <fileSets>
+ <fileSet filtered="true" packaged="true" encoding="UTF-8">
+ <directory>src/main/java</directory>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </fileSet>
+ <fileSet filtered="true" encoding="UTF-8">
+ <directory>src/main/webapp</directory>
+ <includes>
+ <include>**/*.xml</include>
+ </includes>
+ </fileSet>
+ <fileSet filtered="true" encoding="UTF-8">
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>**/*.xml</include>
+ </includes>
+ </fileSet>
+ <fileSet encoding="UTF-8">
+ <directory>src/main/webapp</directory>
+ <includes>
+ <include>**/*.jspx</include>
+ </includes>
+ </fileSet>
+ <fileSet filtered="true" packaged="true" encoding="UTF-8">
+ <directory>src/test/java</directory>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+</archetype-descriptor>
Added: openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/pom.xml?rev=1074946&view=auto
==============================================================================
--- openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/pom.xml (added)
+++ openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/pom.xml Sat Feb 26 22:50:02 2011
@@ -0,0 +1,52 @@
+<?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">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>${groupId}</groupId>
+ <artifactId>${artifactId}</artifactId>
+ <packaging>war</packaging>
+ <version>${version}</version>
+ <name>Simple Webprofile Sample</name>
+ <url>http://maven.apache.org</url>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.1</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.openejb</groupId>
+ <artifactId>openejb-core</artifactId>
+ <version>3.1.4</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>javax.servlet</groupId>
+ <artifactId>jstl</artifactId>
+ <version>1.2</version>
+ </dependency>
+ <dependency>
+ <groupId>javax</groupId>
+ <artifactId>javaee-api</artifactId>
+ <version>6.0</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ <finalName>simple-webprofile</finalName>
+ </build>
+ <properties>
+ <netbeans.hint.deploy.server>gfv3ee6wc</netbeans.hint.deploy.server>
+ </properties>
+</project>
Added: openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/java/ejb/CalculatorImpl.java
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/java/ejb/CalculatorImpl.java?rev=1074946&view=auto
==============================================================================
--- openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/java/ejb/CalculatorImpl.java (added)
+++ openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/java/ejb/CalculatorImpl.java Sat Feb 26 22:50:02 2011
@@ -0,0 +1,26 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package ${package}.ejb;
+
+import javax.ejb.Stateless;
+
+/**
+ *
+ * @author jon
+ */
+@Stateless
+public class CalculatorImpl {
+ public int sum (int num1, int num2) {
+ return num1 + num2;
+ }
+
+ public int multiply (int num1, int num2) {
+ return num1 * num2;
+ }
+}
Added: openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/java/web/CalculatorServlet.java
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/java/web/CalculatorServlet.java?rev=1074946&view=auto
==============================================================================
--- openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/java/web/CalculatorServlet.java (added)
+++ openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/java/web/CalculatorServlet.java Sat Feb 26 22:50:02 2011
@@ -0,0 +1,100 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package ${package}.web;
+
+
+import java.io.IOException;
+import javax.ejb.EJB;
+import javax.servlet.ServletException;
+import javax.servlet.http.HttpServlet;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import ${package}.ejb.CalculatorImpl;
+
+/**
+ *
+ * @author jon
+ */
+public class CalculatorServlet extends HttpServlet {
+ @EJB
+ private CalculatorImpl calc;
+
+ /**
+ * Processes requests for both HTTP <code>GET</code> and <code>POST</code> methods.
+ * @param request servlet request
+ * @param response servlet response
+ * @throws ServletException if a servlet-specific error occurs
+ * @throws IOException if an I/O error occurs
+ */
+ protected void processRequest(HttpServletRequest request, HttpServletResponse response)
+ throws ServletException, IOException {
+ String op = request.getParameter("op");
+ int num1 = 0;
+ int num2 = 0;
+ int result = 0;
+
+ if (op != null && op.length() > 0) {
+ try {
+ num1 = Integer.parseInt(request.getParameter("num1"));
+ num2 = Integer.parseInt(request.getParameter("num2"));
+ } catch (Exception e) {
+ }
+
+ if ("sum".equals(op)) {
+ result = calc.sum(num1, num2);
+ } else if ("multiply".equals(op)) {
+ result = calc.multiply(num1, num2);
+ }
+
+ request.setAttribute("num1", num1);
+ request.setAttribute("num2", num2);
+ request.setAttribute("op", op);
+ request.setAttribute("result", result);
+ }
+
+ request.getRequestDispatcher("WEB-INF/calculator.jspx").forward(request, response);
+ }
+
+ // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
+ /**
+ * Handles the HTTP <code>GET</code> method.
+ * @param request servlet request
+ * @param response servlet response
+ * @throws ServletException if a servlet-specific error occurs
+ * @throws IOException if an I/O error occurs
+ */
+ @Override
+ protected void doGet(HttpServletRequest request, HttpServletResponse response)
+ throws ServletException, IOException {
+ processRequest(request, response);
+ }
+
+ /**
+ * Handles the HTTP <code>POST</code> method.
+ * @param request servlet request
+ * @param response servlet response
+ * @throws ServletException if a servlet-specific error occurs
+ * @throws IOException if an I/O error occurs
+ */
+ @Override
+ protected void doPost(HttpServletRequest request, HttpServletResponse response)
+ throws ServletException, IOException {
+ processRequest(request, response);
+ }
+
+ /**
+ * Returns a short description of the servlet.
+ * @return a String containing servlet description
+ */
+ @Override
+ public String getServletInfo() {
+ return "Short description";
+ }// </editor-fold>
+
+}
Added: openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/resources/META-INF/ejb-jar.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/resources/META-INF/ejb-jar.xml?rev=1074946&view=auto
==============================================================================
--- openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/resources/META-INF/ejb-jar.xml (added)
+++ openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/resources/META-INF/ejb-jar.xml Sat Feb 26 22:50:02 2011
@@ -0,0 +1,4 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+<ejb-jar/>
\ No newline at end of file
Added: openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/calculator.jspx
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/calculator.jspx?rev=1074946&view=auto
==============================================================================
--- openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/calculator.jspx (added)
+++ openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/calculator.jspx Sat Feb 26 22:50:02 2011
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="MacRoman"?>
+
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0" xmlns:c="http://java.sun.com/jstl/core_rt">
+
+ <jsp:directive.page contentType="text/html" pageEncoding="MacRoman"/>
+ <jsp:element name="text">
+ <jsp:attribute name="lang">EN</jsp:attribute>
+ <jsp:body>
+ <form action="Calculator" method="post">
+ <c:if test="${result != null}">
+ Result: ${result}<br />
+ </c:if>
+ <label for="num1">Number 1</label><input type="text" name="num1" length="10" value="${num1}"/><br />
+ <label for="num2">Number 2</label><input type="text" name="num2" length="10" value="${num2}"/><br />
+
+ <c:choose>
+ <c:when test="${op == 'sum'}">
+ Add<input type="radio" name="op" value="sum" checked="checked"/>
+ Multiply<input type="radio" name="op" value="multiply"/><br />
+ </c:when>
+ <c:when test="${op == 'multiply'}">
+ Add<input type="radio" name="op" value="sum"/>
+ Multiply<input type="radio" name="op" value="multiply" checked="checked"/><br />
+ </c:when>
+ <c:otherwise>
+ Add<input type="radio" name="op" value="sum"/>
+ Multiply<input type="radio" name="op" value="multiply"/><br />
+ </c:otherwise>
+ </c:choose>
+
+ <input type="submit"/>
+
+ </form>
+ </jsp:body>
+ </jsp:element>
+
+</jsp:root>
Added: openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml?rev=1074946&view=auto
==============================================================================
--- openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml (added)
+++ openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/web.xml Sat Feb 26 22:50:02 2011
@@ -0,0 +1,22 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+<?xml version="1.0" encoding="UTF-8"?>
+<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">
+ <servlet>
+ <servlet-name>CalculatorServlet</servlet-name>
+ <servlet-class>${package}.web.CalculatorServlet</servlet-class>
+ </servlet>
+ <servlet-mapping>
+ <servlet-name>CalculatorServlet</servlet-name>
+ <url-pattern>/Calculator</url-pattern>
+ </servlet-mapping>
+ <session-config>
+ <session-timeout>
+ 30
+ </session-timeout>
+ </session-config>
+ <welcome-file-list>
+ <welcome-file>Calculator</welcome-file>
+ </welcome-file-list>
+</web-app>
Added: openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/test/java/ejb/CalculatorTest.java
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/test/java/ejb/CalculatorTest.java?rev=1074946&view=auto
==============================================================================
--- openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/test/java/ejb/CalculatorTest.java (added)
+++ openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/main/resources/archetype-resources/src/test/java/ejb/CalculatorTest.java Sat Feb 26 22:50:02 2011
@@ -0,0 +1,39 @@
+#set( $symbol_pound = '#' )
+#set( $symbol_dollar = '$' )
+#set( $symbol_escape = '\' )
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package ${package}.ejb;
+
+import org.junit.Test;
+import java.util.Properties;
+import javax.naming.Context;
+import javax.naming.InitialContext;
+import org.junit.Before;
+import static org.junit.Assert.*;
+
+/**
+ *
+ * @author jon
+ */
+public class CalculatorTest {
+
+ private InitialContext context;
+
+ @Before
+ public void setup() throws Exception {
+ Properties p = new Properties();
+ p.setProperty(Context.INITIAL_CONTEXT_FACTORY, "org.apache.openejb.client.LocalInitialContextFactory");
+ context = new InitialContext(p);
+ }
+
+ @Test
+ public void testAdd() throws Exception {
+ CalculatorImpl calc = (CalculatorImpl) context.lookup("CalculatorImplLocalBean");
+ assertEquals(200, calc.sum(100, 100));
+ assertEquals(10000, calc.multiply(100, 100));
+ }
+}
Added: openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/test/resources/projects/basic/archetype.properties
URL: http://svn.apache.org/viewvc/openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/test/resources/projects/basic/archetype.properties?rev=1074946&view=auto
==============================================================================
--- openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/test/resources/projects/basic/archetype.properties (added)
+++ openejb/trunk/sandbox/openejb-maven-archetypes/quickstart-war/src/test/resources/projects/basic/archetype.properties Sat Feb 26 22:50:02 2011
@@ -0,0 +1,4 @@
+#Sat Feb 26 22:28:59 GMT 2011
+version=0.1-SNAPSHOT
+groupId=archetype.it
+artifactId=basic