Fix generated Maven config
authorMathieu Baudier <mbaudier@argeo.org>
Fri, 20 Sep 2013 13:02:00 +0000 (13:02 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Fri, 20 Sep 2013 13:02:00 +0000 (13:02 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@6509 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/editors/BundleDetailsPage.java

index 01824b943a8710c1af4c65d36462203ed1f64c75..b9e7ab30662bd947fcf5e0b3820acb3015509895 100644 (file)
@@ -101,7 +101,7 @@ public class BundleDetailsPage extends FormPage implements SlcNames, SlcTypes {
                        createExportPackageSection(body);
                        createImportPackageSection(body);
                        createReqBundleSection(body);
-                       createMavenSnipet(body);
+                       createMavenSnippet(body);
 
                } catch (RepositoryException e) {
                        throw new SlcException("unexpected error "
@@ -529,7 +529,7 @@ public class BundleDetailsPage extends FormPage implements SlcNames, SlcTypes {
        }
 
        /** Creates a text area with corresponding maven snippet */
-       private void createMavenSnipet(Composite parent) {
+       private void createMavenSnippet(Composite parent) {
                mavenSnippet = new Text(parent, SWT.MULTI | SWT.WRAP | SWT.BORDER);
                GridData gd = new GridData(GridData.FILL_HORIZONTAL);
                gd.grabExcessHorizontalSpace = true;
@@ -543,9 +543,9 @@ public class BundleDetailsPage extends FormPage implements SlcNames, SlcTypes {
                try {
                        StringBuffer sb = new StringBuffer();
                        sb.append("<dependency>\n");
-                       sb.append("\t<groupeId>");
+                       sb.append("\t<groupId>");
                        sb.append(currBundle.getProperty(SLC_GROUP_ID).getString());
-                       sb.append("</groupeId>\n");
+                       sb.append("</groupId>\n");
                        sb.append("\t<artifactId>");
                        sb.append(currBundle.getProperty(SLC_ARTIFACT_ID).getString());
                        sb.append("</artifactId>\n");