gatein SVN: r263 - in tools/maven/doc-parent: trunk and 1 other directory.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2009-10-05 05:52:45 -0400 (Mon, 05 Oct 2009)
New Revision: 263
Added:
tools/maven/doc-parent/trunk/pom.xml
Removed:
tools/maven/doc-parent/pom.xml
Log:
oups
Deleted: tools/maven/doc-parent/pom.xml
===================================================================
--- tools/maven/doc-parent/pom.xml 2009-10-05 09:49:05 UTC (rev 262)
+++ tools/maven/doc-parent/pom.xml 2009-10-05 09:52:45 UTC (rev 263)
@@ -1,80 +0,0 @@
-<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>org.gatein.doc</groupId>
- <artifactId>doc-parent</artifactId>
- <packaging>pom</packaging>
- <name>GateIn Doc - Doc Parent POM</name>
- <version>1.0.0-SNAPSHOT</version>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.1</version>
- <extensions>true</extensions>
- <dependencies>
- <dependency>
- <groupId>org.gatein.doc</groupId>
- <artifactId>gatein-docbook-xslt</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>org.gatein.doc</groupId>
- <artifactId>gatein-jdocbook-style</artifactId>
- <version>1.0.0-SNAPSHOT</version>
- <type>jdocbook-style</type>
- </dependency>
- </dependencies>
- <configuration>
- <sourceDocumentName>master.xml</sourceDocumentName>
- <sourceDirectory>${pom.basedir}/en</sourceDirectory>
- <imageResource>
- <directory>${pom.basedir}/en</directory>
- <includes>
- <include>images/**/*</include>
- </includes>
- </imageResource>
- <!--<cssResource>
- <directory>src/main/css</directory>
- </cssResource>-->
- <formats>
- <format>
- <formatName>pdf</formatName>
- <stylesheetResource>classpath://xslt/org/gatein/pdf.xsl</stylesheetResource>
- <finalName>${pom.name}.pdf</finalName>
- </format>
- <format>
- <formatName>html</formatName>
- <stylesheetResource>classpath:/xslt/org/gatein/xhtml.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>html_single</formatName>
- <stylesheetResource>classpath:/xslt/org/gatein/xhtml-single.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- <format>
- <formatName>eclipse</formatName>
- <stylesheetResource>classpath:/xslt/org/gatein/eclipse.xsl</stylesheetResource>
- <finalName>index.html</finalName>
- </format>
- </formats>
- <options>
- <xincludeSupported>true</xincludeSupported>
- <xmlTransformerType>saxon</xmlTransformerType>
- <!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
- <!-- could also locate the docbook dependency and inspect its version... -->
- <docbookVersion>1.74.0</docbookVersion>
- </options>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
- <properties>
- <translation>en-US</translation>
- </properties>
-
-</project>
Copied: tools/maven/doc-parent/trunk/pom.xml (from rev 262, tools/maven/doc-parent/pom.xml)
===================================================================
--- tools/maven/doc-parent/trunk/pom.xml (rev 0)
+++ tools/maven/doc-parent/trunk/pom.xml 2009-10-05 09:52:45 UTC (rev 263)
@@ -0,0 +1,80 @@
+<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>org.gatein.doc</groupId>
+ <artifactId>doc-parent</artifactId>
+ <packaging>pom</packaging>
+ <name>GateIn Doc - Doc Parent POM</name>
+ <version>1.0.0-SNAPSHOT</version>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.1.1</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.gatein.doc</groupId>
+ <artifactId>gatein-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.gatein.doc</groupId>
+ <artifactId>gatein-jdocbook-style</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <type>jdocbook-style</type>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <sourceDocumentName>master.xml</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}/en</sourceDirectory>
+ <imageResource>
+ <directory>${pom.basedir}/en</directory>
+ <includes>
+ <include>images/**/*</include>
+ </includes>
+ </imageResource>
+ <!--<cssResource>
+ <directory>src/main/css</directory>
+ </cssResource>-->
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath://xslt/org/gatein/pdf.xsl</stylesheetResource>
+ <finalName>${pom.name}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/gatein/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>classpath:/xslt/org/gatein/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/gatein/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
+ <!-- could also locate the docbook dependency and inspect its version... -->
+ <docbookVersion>1.74.0</docbookVersion>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <properties>
+ <translation>en-US</translation>
+ </properties>
+
+</project>
15 years, 2 months
gatein SVN: r262 - tools/maven/doc-parent.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2009-10-05 05:49:05 -0400 (Mon, 05 Oct 2009)
New Revision: 262
Added:
tools/maven/doc-parent/.project
tools/maven/doc-parent/pom.xml
Log:
Adding doc-parent
Added: tools/maven/doc-parent/.project
===================================================================
--- tools/maven/doc-parent/.project (rev 0)
+++ tools/maven/doc-parent/.project 2009-10-05 09:49:05 UTC (rev 262)
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>gatein-doc-parent</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ </buildSpec>
+ <natures>
+ </natures>
+</projectDescription>
Added: tools/maven/doc-parent/pom.xml
===================================================================
--- tools/maven/doc-parent/pom.xml (rev 0)
+++ tools/maven/doc-parent/pom.xml 2009-10-05 09:49:05 UTC (rev 262)
@@ -0,0 +1,80 @@
+<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>org.gatein.doc</groupId>
+ <artifactId>doc-parent</artifactId>
+ <packaging>pom</packaging>
+ <name>GateIn Doc - Doc Parent POM</name>
+ <version>1.0.0-SNAPSHOT</version>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.1.1</version>
+ <extensions>true</extensions>
+ <dependencies>
+ <dependency>
+ <groupId>org.gatein.doc</groupId>
+ <artifactId>gatein-docbook-xslt</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.gatein.doc</groupId>
+ <artifactId>gatein-jdocbook-style</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <type>jdocbook-style</type>
+ </dependency>
+ </dependencies>
+ <configuration>
+ <sourceDocumentName>master.xml</sourceDocumentName>
+ <sourceDirectory>${pom.basedir}/en</sourceDirectory>
+ <imageResource>
+ <directory>${pom.basedir}/en</directory>
+ <includes>
+ <include>images/**/*</include>
+ </includes>
+ </imageResource>
+ <!--<cssResource>
+ <directory>src/main/css</directory>
+ </cssResource>-->
+ <formats>
+ <format>
+ <formatName>pdf</formatName>
+ <stylesheetResource>classpath://xslt/org/gatein/pdf.xsl</stylesheetResource>
+ <finalName>${pom.name}.pdf</finalName>
+ </format>
+ <format>
+ <formatName>html</formatName>
+ <stylesheetResource>classpath:/xslt/org/gatein/xhtml.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>html_single</formatName>
+ <stylesheetResource>classpath:/xslt/org/gatein/xhtml-single.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ <format>
+ <formatName>eclipse</formatName>
+ <stylesheetResource>classpath:/xslt/org/gatein/eclipse.xsl</stylesheetResource>
+ <finalName>index.html</finalName>
+ </format>
+ </formats>
+ <options>
+ <xincludeSupported>true</xincludeSupported>
+ <xmlTransformerType>saxon</xmlTransformerType>
+ <!-- needed for uri-resolvers; can be ommitted if using 'current' uri scheme -->
+ <!-- could also locate the docbook dependency and inspect its version... -->
+ <docbookVersion>1.74.0</docbookVersion>
+ </options>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <properties>
+ <translation>en-US</translation>
+ </properties>
+
+</project>
15 years, 2 months
gatein SVN: r261 - in components/mop/trunk: core/src/main/java/org/gatein/mop/core/api/workspace and 5 other directories.
by do-not-reply@jboss.org
Author: julien_viet
Date: 2009-10-05 05:48:58 -0400 (Mon, 05 Oct 2009)
New Revision: 261
Added:
components/mop/trunk/spi/src/main/java/org/gatein/mop/spi/content/StateContainer.java
Removed:
components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/CustomizationState.java
Modified:
components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/ModelImpl.java
components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/UIWindowImpl.java
components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/AbstractCustomization.java
components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/CustomizationContainer.java
components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/WorkspaceClone.java
components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/WorkspaceCustomization.java
components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/WorkspaceSpecialization.java
components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/portlet/PortletPreferencesState.java
components/mop/trunk/core/src/main/resources/conf/standalone/nodetypes.xml
components/mop/trunk/core/src/test/java/org/gatein/mop/core/impl/portlet/PortletContentProvider.java
components/mop/trunk/spi/src/main/java/org/gatein/mop/spi/content/ContentProvider.java
Log:
GTNMOP-8 : Allow external plugability of content provider
Modified: components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/ModelImpl.java
===================================================================
--- components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/ModelImpl.java 2009-10-05 09:48:06 UTC (rev 260)
+++ components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/ModelImpl.java 2009-10-05 09:48:58 UTC (rev 261)
@@ -165,7 +165,8 @@
}
private void inject(Object o, boolean persistent) {
- if (o instanceof AbstractCustomization && persistent) {
+ if (o instanceof AbstractCustomization) {
+ ((AbstractCustomization)o).session = session;
((AbstractCustomization)o).registry = contentManagers;
}
if (o instanceof ContextSpecialization) {
Modified: components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/UIWindowImpl.java
===================================================================
--- components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/UIWindowImpl.java 2009-10-05 09:48:06 UTC (rev 260)
+++ components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/UIWindowImpl.java 2009-10-05 09:48:58 UTC (rev 261)
@@ -51,14 +51,6 @@
public abstract void setCustomization(WorkspaceCustomization customization);
-/*
- @ManyToOne(type = RelationshipType.PATH)
- @MappedBy("relatedcustomization")
- public abstract Customization getRelatedCustomization();
-
- public abstract void setRelatedCustomization(Customization relatedCustomization);
-*/
-
@Create
public abstract WorkspaceClone create();
@@ -71,11 +63,6 @@
if (getCustomization() != null) {
throw new IllegalStateException("Already customized");
}
-/*
- if (getRelatedCustomization() != null) {
- throw new IllegalStateException("Referencing a customization context");
- }
-*/
WorkspaceClone customization = create();
setCustomization(customization);
customization.setMimeType(contentType.getMimeType());
@@ -92,10 +79,23 @@
throw new IllegalStateException("Already customized");
}
- //
+ // Get parent customization
+ WorkspaceCustomization parentCustomization = (WorkspaceCustomization)customization;
+
+ // Create
WorkspaceSpecialization specialization = create2();
+
+ // Persist
setCustomization(specialization);
- specialization.setCustomization((WorkspaceCustomization)customization);
+
+ // Configuration
+ specialization.setMimeType(parentCustomization.getMimeType());
+ specialization.setContentId(parentCustomization.getContentId());
+
+ // Create relationship
+ specialization.setCustomization(parentCustomization);
+
+ //
return (Customization<S>)specialization;
} else {
throw new IllegalArgumentException("implement customization of "+ customization);
Modified: components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/AbstractCustomization.java
===================================================================
--- components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/AbstractCustomization.java 2009-10-05 09:48:06 UTC (rev 260)
+++ components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/AbstractCustomization.java 2009-10-05 09:48:58 UTC (rev 261)
@@ -24,11 +24,12 @@
import org.gatein.mop.api.workspace.WorkspaceCustomizationContext;
import org.gatein.mop.core.api.content.CustomizationContextComparator;
import org.gatein.mop.core.api.content.ContentManagerRegistry;
-import org.gatein.mop.core.api.workspace.content.portlet.PortletPreferencesState;
import org.gatein.mop.spi.content.ContentProvider;
+import org.gatein.mop.spi.content.StateContainer;
import org.chromattic.api.annotations.OneToOne;
import org.chromattic.api.annotations.MappedBy;
import org.chromattic.api.annotations.Create;
+import org.chromattic.api.ChromatticSession;
import java.util.Set;
import java.util.Collection;
@@ -42,7 +43,7 @@
* @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
* @version $Revision$
*/
-public abstract class AbstractCustomization implements Customization<Object> {
+public abstract class AbstractCustomization implements Customization<Object>, StateContainer {
/** . */
protected static final CustomizationContextComparator comparator;
@@ -59,12 +60,9 @@
/** . */
public ContentManagerRegistry registry;
- @OneToOne
- @MappedBy("state")
- public abstract CustomizationState getContentState();
+ /** . */
+ public ChromatticSession session;
- public abstract void setContentState(CustomizationState state);
-
@OneToOne
@MappedBy("contexttypes")
abstract ContextTypeContainer getContextTypes();
@@ -75,21 +73,22 @@
@Create
abstract ContextSpecialization createContextSpecialization();
- @Create
- public abstract PortletPreferencesState createPreferenceState();
-
public abstract CustomizationContext getContext();
public abstract AbstractCustomization getParent();
public Object getVirtualState() {
- Object childPayload = null;
- CustomizationState state = getContentState();
- if (state != null) {
- childPayload = state.getPayload();
- }
+ ContentType contentType = getType();
+
+ String mimeType = contentType.getMimeType();
+
+ ContentProvider contentProvider = registry.providers.get(mimeType).getProvider();
+
//
+ Object childPayload = contentProvider.getState(this);
+
+ //
Object parentPayload = null;
AbstractCustomization parent = getParent();
if (parent != null) {
@@ -99,9 +98,6 @@
//
if (parentPayload != null) {
if (childPayload != null) {
- ContentType contentType = getType();
- String mimeType = contentType.getMimeType();
- ContentProvider contentProvider = registry.providers.get(mimeType).getProvider();
return contentProvider.combine(Arrays.asList(parentPayload, childPayload));
} else {
return parentPayload;
@@ -112,29 +108,17 @@
}
public Object getState() {
- CustomizationState state = getContentState();
- if (state != null) {
- return state.getPayload();
- } else {
- return null;
- }
+ ContentType contentType = getType();
+ String mimeType = contentType.getMimeType();
+ ContentProvider contentProvider = registry.providers.get(mimeType).getProvider();
+ return contentProvider.getState(this);
}
public void setState(Object state) {
- if (state == null) {
- setContentState(null);
- } else {
- CustomizationState contentState = getContentState();
-
- //
- if (contentState == null) {
- contentState = createPreferenceState();
- setContentState(contentState);
- }
-
- //
- contentState.setPayload(state);
- }
+ ContentType contentType = getType();
+ String mimeType = contentType.getMimeType();
+ ContentProvider contentProvider = registry.providers.get(mimeType).getProvider();
+ contentProvider.setState(this, state);
}
public Customization<Object> getCustomization(Set<CustomizationContext> contexts) {
Modified: components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/CustomizationContainer.java
===================================================================
--- components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/CustomizationContainer.java 2009-10-05 09:48:06 UTC (rev 260)
+++ components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/CustomizationContainer.java 2009-10-05 09:48:58 UTC (rev 261)
@@ -66,9 +66,12 @@
public <S> Customization<S> customize(String name, Customization<S> customization) {
Map<String, WorkspaceCustomization> contents = getCustomizations();
+ WorkspaceCustomization workspaceCustomization = (WorkspaceCustomization)customization;
WorkspaceSpecialization content = createSpecialization();
contents.put(name, content);
- content.setCustomization((WorkspaceCustomization)customization);
+ content.setMimeType(workspaceCustomization.getMimeType());
+ content.setContentId(workspaceCustomization.getContentId());
+ content.setCustomization(workspaceCustomization);
return (Customization<S>)content;
}
Deleted: components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/CustomizationState.java
===================================================================
--- components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/CustomizationState.java 2009-10-05 09:48:06 UTC (rev 260)
+++ components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/CustomizationState.java 2009-10-05 09:48:58 UTC (rev 261)
@@ -1,31 +0,0 @@
-/**
- * Copyright (C) 2009 eXo Platform SAS.
- *
- * This is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation; either version 2.1 of
- * the License, or (at your option) any later version.
- *
- * This software is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software; if not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.gatein.mop.core.api.workspace.content;
-
-/**
- * @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
- * @version $Revision$
- */
-public abstract class CustomizationState {
-
- public abstract Object getPayload();
-
- public abstract void setPayload(Object payload);
-
-}
\ No newline at end of file
Modified: components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/WorkspaceClone.java
===================================================================
--- components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/WorkspaceClone.java 2009-10-05 09:48:06 UTC (rev 260)
+++ components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/WorkspaceClone.java 2009-10-05 09:48:58 UTC (rev 261)
@@ -25,9 +25,7 @@
import org.chromattic.api.annotations.OneToMany;
import org.chromattic.api.RelationshipType;
import org.gatein.mop.api.content.CustomizationContext;
-import org.gatein.mop.api.content.ContentType;
import org.gatein.mop.api.workspace.WorkspaceCustomizationContext;
-import org.gatein.mop.core.api.content.ContentRegistration;
import java.util.Set;
import java.util.Collections;
@@ -48,16 +46,6 @@
@Name
public abstract String getFooName();
- @Property(name = "mimetype")
- public abstract String getMimeType();
-
- public abstract void setMimeType(String mimeType);
-
- @Property(name = "contentid")
- public abstract String getContentId();
-
- public abstract void setContentId(String contentId);
-
@OneToMany(type = RelationshipType.PATH)
@RelatedMappedBy("customization")
public abstract Collection<WorkspaceSpecialization> getSpecializations();
@@ -94,13 +82,4 @@
//
doDestroy();
}
-
- public ContentType<Object> getType() {
- ContentRegistration registration = registry.providers.get(getMimeType());
- if (registration != null) {
- return (ContentType<Object>)registration.getContentType();
- } else {
- return null;
- }
- }
}
Modified: components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/WorkspaceCustomization.java
===================================================================
--- components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/WorkspaceCustomization.java 2009-10-05 09:48:06 UTC (rev 260)
+++ components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/WorkspaceCustomization.java 2009-10-05 09:48:58 UTC (rev 261)
@@ -20,8 +20,11 @@
import org.chromattic.api.annotations.ManyToOne;
import org.chromattic.api.annotations.Destroy;
+import org.chromattic.api.annotations.Property;
import org.gatein.mop.api.content.CustomizationContext;
+import org.gatein.mop.api.content.ContentType;
import org.gatein.mop.core.api.workspace.UIWindowImpl;
+import org.gatein.mop.core.api.content.ContentRegistration;
/**
* @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
@@ -29,13 +32,23 @@
*/
public abstract class WorkspaceCustomization extends AbstractCustomization {
+ @Property(name = "mimetype")
+ public abstract String getMimeType();
+
+ public abstract void setMimeType(String mimeType);
+
+ @Property(name = "contentid")
+ public abstract String getContentId();
+
+ public abstract void setContentId(String contentId);
+
@ManyToOne
public abstract Object getOwner();
@Destroy
public abstract void doDestroy();
- public CustomizationContext getContext() {
+ public final CustomizationContext getContext() {
Object owner = getOwner();
if (owner instanceof CustomizationContainer) {
return ((CustomizationContainer)owner).getOwner();
@@ -45,4 +58,13 @@
throw new AssertionError();
}
}
+
+ public final ContentType<Object> getType() {
+ ContentRegistration registration = registry.providers.get(getMimeType());
+ if (registration != null) {
+ return (ContentType<Object>)registration.getContentType();
+ } else {
+ return null;
+ }
+ }
}
Modified: components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/WorkspaceSpecialization.java
===================================================================
--- components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/WorkspaceSpecialization.java 2009-10-05 09:48:06 UTC (rev 260)
+++ components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/WorkspaceSpecialization.java 2009-10-05 09:48:58 UTC (rev 261)
@@ -22,7 +22,6 @@
import org.chromattic.api.annotations.ManyToOne;
import org.chromattic.api.annotations.MappedBy;
import org.chromattic.api.RelationshipType;
-import org.gatein.mop.api.content.ContentType;
/**
* @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
@@ -41,24 +40,6 @@
doDestroy();
}
- public String getContentId() {
- AbstractCustomization parent = getParent();
- if (parent == null) {
- return null;
- } else {
- return parent.getContentId();
- }
- }
-
- public ContentType<Object> getType() {
- AbstractCustomization parent = getParent();
- if (parent == null) {
- return null;
- } else {
- return parent.getType();
- }
- }
-
public AbstractCustomization getParent() {
return getCustomization();
}
Modified: components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/portlet/PortletPreferencesState.java
===================================================================
--- components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/portlet/PortletPreferencesState.java 2009-10-05 09:48:06 UTC (rev 260)
+++ components/mop/trunk/core/src/main/java/org/gatein/mop/core/api/workspace/content/portlet/PortletPreferencesState.java 2009-10-05 09:48:58 UTC (rev 261)
@@ -21,10 +21,12 @@
import org.chromattic.api.annotations.NodeMapping;
import org.chromattic.api.annotations.OneToMany;
import org.chromattic.api.annotations.Create;
-import org.gatein.mop.core.api.workspace.content.CustomizationState;
+import org.chromattic.api.annotations.OneToOne;
+import org.chromattic.api.annotations.RelatedMappedBy;
import org.gatein.mop.core.content.portlet.Preferences;
import org.gatein.mop.core.content.portlet.Preference;
import org.gatein.mop.core.content.portlet.PreferencesBuilder;
+import org.gatein.mop.core.api.workspace.content.AbstractCustomization;
import java.util.Map;
@@ -33,7 +35,7 @@
* @version $Revision$
*/
@NodeMapping(name = "mop:portletpreferences")
-public abstract class PortletPreferencesState extends CustomizationState {
+public abstract class PortletPreferencesState {
/** . */
private Preferences payload;
@@ -44,6 +46,10 @@
@Create
public abstract PortletPreferenceState create();
+ @OneToOne
+ @RelatedMappedBy("state")
+ public abstract AbstractCustomization getCustomization();
+
private void setPayload(Preferences payload) {
this.payload = payload;
Modified: components/mop/trunk/core/src/main/resources/conf/standalone/nodetypes.xml
===================================================================
--- components/mop/trunk/core/src/main/resources/conf/standalone/nodetypes.xml 2009-10-05 09:48:06 UTC (rev 260)
+++ components/mop/trunk/core/src/main/resources/conf/standalone/nodetypes.xml 2009-10-05 09:48:58 UTC (rev 261)
@@ -113,12 +113,6 @@
<supertypes>
<supertype>mop:customization</supertype>
</supertypes>
- </nodeType>
-
- <nodeType name="mop:workspaceclone" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
- <supertypes>
- <supertype>mop:workspacecustomization</supertype>
- </supertypes>
<propertyDefinitions>
<propertyDefinition name="contentid" requiredType="String" autoCreated="false" mandatory="true" onParentVersion="COPY" protected="false" multiple="false">
<valueConstraints/>
@@ -129,6 +123,12 @@
</propertyDefinitions>
</nodeType>
+ <nodeType name="mop:workspaceclone" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
+ <supertypes>
+ <supertype>mop:workspacecustomization</supertype>
+ </supertypes>
+ </nodeType>
+
<nodeType name="mop:workspacespecialization" isMixin="false" hasOrderableChildNodes="false" primaryItemName="">
<supertypes>
<supertype>mop:workspacecustomization</supertype>
Modified: components/mop/trunk/core/src/test/java/org/gatein/mop/core/impl/portlet/PortletContentProvider.java
===================================================================
--- components/mop/trunk/core/src/test/java/org/gatein/mop/core/impl/portlet/PortletContentProvider.java 2009-10-05 09:48:06 UTC (rev 260)
+++ components/mop/trunk/core/src/test/java/org/gatein/mop/core/impl/portlet/PortletContentProvider.java 2009-10-05 09:48:58 UTC (rev 261)
@@ -20,9 +20,16 @@
import org.gatein.mop.spi.content.ContentProvider;
import org.gatein.mop.spi.content.GetState;
+import org.gatein.mop.spi.content.StateContainer;
import org.gatein.mop.core.content.portlet.Preference;
import org.gatein.mop.core.content.portlet.Preferences;
+import org.gatein.mop.core.api.workspace.content.AbstractCustomization;
+import org.gatein.mop.core.api.workspace.content.portlet.PortletPreferencesState;
+import org.chromattic.api.ChromatticSession;
+import org.chromattic.api.UndeclaredRepositoryException;
+import javax.jcr.Node;
+import javax.jcr.RepositoryException;
import java.util.Map;
import java.util.HashMap;
import java.util.List;
@@ -69,4 +76,61 @@
//
return new Preferences(entries);
}
+
+ public void setState(StateContainer container, Preferences state) {
+ try {
+ ChromatticSession session = ((AbstractCustomization)container).session;
+ String containerId = session.getId(container);
+ Node node = session.getJCRSession().getNodeByUUID(containerId);
+
+ //
+ PortletPreferencesState prefs;
+ if (node.hasNode("state")) {
+ Node stateNode = node.getNode("state");
+ prefs = (PortletPreferencesState)session.findById(Object.class, stateNode.getUUID());
+ if (state == null) {
+ session.remove(prefs);
+ return;
+ }
+ } else {
+ if (state == null) {
+ return;
+ } else {
+ Node stateNode = node.addNode("state", "mop:portletpreferences");
+ prefs = (PortletPreferencesState)session.findById(Object.class, stateNode.getUUID());
+ }
+ }
+
+ //
+ prefs.setPayload(state);
+ }
+ catch (RepositoryException e) {
+ throw new UndeclaredRepositoryException(e);
+ }
+ }
+
+ public Preferences getState(StateContainer container) {
+ try {
+ ChromatticSession session = ((AbstractCustomization)container).session;
+ String containerId = session.getId(container);
+ Node node = session.getJCRSession().getNodeByUUID(containerId);
+
+ //
+ PortletPreferencesState prefs;
+ if (node.hasNode("state")) {
+ Node stateNode = node.getNode("state");
+ prefs = (PortletPreferencesState)session.findById(Object.class, stateNode.getUUID());
+ return (Preferences)prefs.getPayload();
+ } else {
+ return null;
+ }
+ }
+ catch (RepositoryException e) {
+ throw new UndeclaredRepositoryException(e);
+ }
+ }
+
+ public Class<Preferences> getStateType() {
+ return Preferences.class;
+ }
}
Modified: components/mop/trunk/spi/src/main/java/org/gatein/mop/spi/content/ContentProvider.java
===================================================================
--- components/mop/trunk/spi/src/main/java/org/gatein/mop/spi/content/ContentProvider.java 2009-10-05 09:48:06 UTC (rev 260)
+++ components/mop/trunk/spi/src/main/java/org/gatein/mop/spi/content/ContentProvider.java 2009-10-05 09:48:58 UTC (rev 261)
@@ -44,4 +44,27 @@
*/
S combine(List<S> states);
+ /**
+ * Update the state container with the provided state.
+ *
+ * @param container the state container
+ * @param state the state
+ */
+ void setState(StateContainer container, S state);
+
+ /**
+ * Returns the state attached to the provided container.
+ *
+ * @param container the container
+ * @return the state
+ */
+ S getState(StateContainer container);
+
+ /**
+ * Returns the class the represents the state as seen by the framework client.
+ *
+ * @return the external state class
+ */
+ Class<S> getStateType();
+
}
Added: components/mop/trunk/spi/src/main/java/org/gatein/mop/spi/content/StateContainer.java
===================================================================
--- components/mop/trunk/spi/src/main/java/org/gatein/mop/spi/content/StateContainer.java (rev 0)
+++ components/mop/trunk/spi/src/main/java/org/gatein/mop/spi/content/StateContainer.java 2009-10-05 09:48:58 UTC (rev 261)
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2003-2007 eXo Platform SAS.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Affero General Public License
+ * as published by the Free Software Foundation; either version 3
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, see<http://www.gnu.org/licenses/>.
+ */
+package org.gatein.mop.spi.content;
+
+/**
+ * @author <a href="mailto:julien.viet@exoplatform.com">Julien Viet</a>
+ * @version $Revision$
+ */
+public interface StateContainer {
+}
15 years, 2 months
gatein SVN: r260 - tools/maven.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2009-10-05 05:48:06 -0400 (Mon, 05 Oct 2009)
New Revision: 260
Added:
tools/maven/doc-style/
Log:
Documentation style and XSLT
Copied: tools/maven/doc-style (from rev 259, tools/maven/doc-parent)
15 years, 2 months
gatein SVN: r259 - tools/maven.
by do-not-reply@jboss.org
Author: thomas.heute(a)jboss.com
Date: 2009-10-05 05:47:09 -0400 (Mon, 05 Oct 2009)
New Revision: 259
Added:
tools/maven/doc-parent/
Removed:
tools/maven/doc/
Log:
renaming
Copied: tools/maven/doc-parent (from rev 258, tools/maven/doc)
15 years, 2 months
gatein SVN: r257 - components/wsrp/trunk.
by do-not-reply@jboss.org
Author: aheritier
Date: 2009-10-04 18:46:33 -0400 (Sun, 04 Oct 2009)
New Revision: 257
Modified:
components/wsrp/trunk/pom.xml
Log:
Fix project name
Modified: components/wsrp/trunk/pom.xml
===================================================================
--- components/wsrp/trunk/pom.xml 2009-10-04 19:43:24 UTC (rev 256)
+++ components/wsrp/trunk/pom.xml 2009-10-04 22:46:33 UTC (rev 257)
@@ -26,7 +26,7 @@
<modelVersion>4.0.0</modelVersion>
- <name>JBoss Portal WSRP</name>
+ <name>GateIn WSRP</name>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
@@ -199,4 +199,4 @@
</repository>
</repositories>
-</project>
\ No newline at end of file
+</project>
15 years, 2 months
gatein SVN: r256 - tools/maven/parent/trunk.
by do-not-reply@jboss.org
Author: chris.laprun(a)jboss.com
Date: 2009-10-04 15:43:24 -0400 (Sun, 04 Oct 2009)
New Revision: 256
Modified:
tools/maven/parent/trunk/pom.xml
Log:
Patch from aheritier:
- Add a workaround for MSOURCES-44
- Fix settings for release plugin
Modified: tools/maven/parent/trunk/pom.xml
===================================================================
--- tools/maven/parent/trunk/pom.xml 2009-10-04 12:26:31 UTC (rev 255)
+++ tools/maven/parent/trunk/pom.xml 2009-10-04 19:43:24 UTC (rev 256)
@@ -148,6 +148,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.0-beta-9</version>
+ <!-- We cannot set properties to configure the plugin
+ because the config is hardcoded in JBoss Parent -->
+ <configuration>
+ <useReleaseProfile>${useReleaseProfile}</useReleaseProfile>
+ <arguments>${arguments}</arguments>
+ <autoVersionSubmodules>${autoVersionSubmodules}</autoVersionSubmodules>
+ </configuration>
</plugin>
<plugin>
@@ -167,6 +174,8 @@
<artifactId>maven-source-plugin</artifactId>
<version>2.1</version>
<configuration>
+ <!-- This is a workaroud for MSOURCES-44 -->
+ <includePom>true</includePom>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
15 years, 2 months
gatein SVN: r255 - components/wsrp/trunk/common.
by do-not-reply@jboss.org
Author: aheritier
Date: 2009-10-04 08:26:31 -0400 (Sun, 04 Oct 2009)
New Revision: 255
Modified:
components/wsrp/trunk/common/pom.xml
Log:
Oupss, wrong header
Modified: components/wsrp/trunk/common/pom.xml
===================================================================
--- components/wsrp/trunk/common/pom.xml 2009-10-04 12:25:44 UTC (rev 254)
+++ components/wsrp/trunk/common/pom.xml 2009-10-04 12:26:31 UTC (rev 255)
@@ -1,23 +1,25 @@
<!--
-
- Copyright (C) 2009 eXo Platform SAS.
-
- This is free software; you can redistribute it and/or modify it
- under the terms of the GNU Lesser General Public License as
- published by the Free Software Foundation; either version 2.1 of
- the License, or (at your option) any later version.
-
- This software is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You should have received a copy of the GNU Lesser General Public
- License along with this software; if not, write to the Free
- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-
--->
+ ~ JBoss, a division of Red Hat
+ ~ Copyright 2009, Red Hat Middleware, LLC, and individual
+ ~ contributors as indicated by the @authors tag. See the
+ ~ copyright.txt in the distribution for a full listing of
+ ~ individual contributors.
+ ~
+ ~ This is free software; you can redistribute it and/or modify it
+ ~ under the terms of the GNU Lesser General Public License as
+ ~ published by the Free Software Foundation; either version 2.1 of
+ ~ the License, or (at your option) any later version.
+ ~
+ ~ This software is distributed in the hope that it will be useful,
+ ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ ~ Lesser General Public License for more details.
+ ~
+ ~ You should have received a copy of the GNU Lesser General Public
+ ~ License along with this software; if not, write to the Free
+ ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ -->
<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">
<parent>
<groupId>org.gatein.wsrp</groupId>
15 years, 2 months
gatein SVN: r254 - components/wsrp/trunk/common.
by do-not-reply@jboss.org
Author: aheritier
Date: 2009-10-04 08:25:44 -0400 (Sun, 04 Oct 2009)
New Revision: 254
Modified:
components/wsrp/trunk/common/pom.xml
Log:
Damned eclipse which reformat XML comments
Modified: components/wsrp/trunk/common/pom.xml
===================================================================
--- components/wsrp/trunk/common/pom.xml 2009-10-04 12:24:17 UTC (rev 253)
+++ components/wsrp/trunk/common/pom.xml 2009-10-04 12:25:44 UTC (rev 254)
@@ -1,13 +1,23 @@
+<!--
- <!--
- ~ JBoss, a division of Red Hat ~ Copyright 2009, Red Hat Middleware, LLC, and individual ~ contributors as indicated by the @authors tag. See the ~ copyright.txt in the distribution for a full
- listing of ~ individual contributors. ~ ~ This is free software; you can redistribute it and/or modify it ~ under the terms of the GNU Lesser General Public License as ~ published by the Free
- Software Foundation; either version 2.1 of ~ the License, or (at your option) any later version. ~ ~ This software is distributed in the hope that it will be useful, ~ but WITHOUT ANY WARRANTY;
- without even the implied warranty of ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ~ Lesser General Public License for more details. ~ ~ You should have received a copy of
- the GNU Lesser General Public ~ License along with this software; if not, write to the Free ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA ~ 02110-1301 USA, or see the FSF
- site: http://www.fsf.org.
- -->
+ Copyright (C) 2009 eXo Platform SAS.
+ This is free software; you can redistribute it and/or modify it
+ under the terms of the GNU Lesser General Public License as
+ published by the Free Software Foundation; either version 2.1 of
+ the License, or (at your option) any later version.
+
+ This software is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this software; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+
+-->
<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">
<parent>
<groupId>org.gatein.wsrp</groupId>
15 years, 2 months
gatein SVN: r253 - in components/wsrp/trunk: common and 1 other directory.
by do-not-reply@jboss.org
Author: aheritier
Date: 2009-10-04 08:24:17 -0400 (Sun, 04 Oct 2009)
New Revision: 253
Modified:
components/wsrp/trunk/common/pom.xml
components/wsrp/trunk/pom.xml
Log:
Fix missing deps for Java 5
Modified: components/wsrp/trunk/common/pom.xml
===================================================================
--- components/wsrp/trunk/common/pom.xml 2009-10-03 21:18:09 UTC (rev 252)
+++ components/wsrp/trunk/common/pom.xml 2009-10-04 12:24:17 UTC (rev 253)
@@ -1,28 +1,14 @@
-<!--
- ~ JBoss, a division of Red Hat
- ~ Copyright 2009, Red Hat Middleware, LLC, and individual
- ~ contributors as indicated by the @authors tag. See the
- ~ copyright.txt in the distribution for a full listing of
- ~ individual contributors.
- ~
- ~ This is free software; you can redistribute it and/or modify it
- ~ under the terms of the GNU Lesser General Public License as
- ~ published by the Free Software Foundation; either version 2.1 of
- ~ the License, or (at your option) any later version.
- ~
- ~ This software is distributed in the hope that it will be useful,
- ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
- ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- ~ Lesser General Public License for more details.
- ~
- ~ You should have received a copy of the GNU Lesser General Public
- ~ License along with this software; if not, write to the Free
- ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- ~ 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- -->
-<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">
+ <!--
+ ~ JBoss, a division of Red Hat ~ Copyright 2009, Red Hat Middleware, LLC, and individual ~ contributors as indicated by the @authors tag. See the ~ copyright.txt in the distribution for a full
+ listing of ~ individual contributors. ~ ~ This is free software; you can redistribute it and/or modify it ~ under the terms of the GNU Lesser General Public License as ~ published by the Free
+ Software Foundation; either version 2.1 of ~ the License, or (at your option) any later version. ~ ~ This software is distributed in the hope that it will be useful, ~ but WITHOUT ANY WARRANTY;
+ without even the implied warranty of ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ~ Lesser General Public License for more details. ~ ~ You should have received a copy of
+ the GNU Lesser General Public ~ License along with this software; if not, write to the Free ~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA ~ 02110-1301 USA, or see the FSF
+ site: http://www.fsf.org.
+ -->
+
+<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">
<parent>
<groupId>org.gatein.wsrp</groupId>
<artifactId>wsrp-parent</artifactId>
@@ -58,5 +44,9 @@
<groupId>org.jboss</groupId>
<artifactId>jbossxb</artifactId>
</dependency>
+ <dependency>
+ <groupId>javax.xml.soap</groupId>
+ <artifactId>saaj-api</artifactId>
+ </dependency>
</dependencies>
</project>
\ No newline at end of file
Modified: components/wsrp/trunk/pom.xml
===================================================================
--- components/wsrp/trunk/pom.xml 2009-10-03 21:18:09 UTC (rev 252)
+++ components/wsrp/trunk/pom.xml 2009-10-04 12:24:17 UTC (rev 253)
@@ -56,6 +56,7 @@
<version.apache.commons-fileupload>1.2.1</version.apache.commons-fileupload>
<version.javax.mail>1.4.1</version.javax.mail>
<version.javax.xml.ws>2.1</version.javax.xml.ws>
+ <version.javax.xml.soap.saaj>1.3</version.javax.xml.soap.saaj>
<version.hibernate>3.3.1.GA</version.hibernate>
</properties>
@@ -148,8 +149,14 @@
<artifactId>jaxws-api</artifactId>
<version>${version.javax.xml.ws}</version>
</dependency>
-
+
<dependency>
+ <groupId>javax.xml.soap</groupId>
+ <artifactId>saaj-api</artifactId>
+ <version>${version.javax.xml.soap.saaj}</version>
+ </dependency>
+
+ <dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-core</artifactId>
<version>${version.hibernate}</version>
15 years, 2 months