Seam SVN: r8048 - trunk/ui/src/main/java/org/jboss/seam/ui/component.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-28 11:01:17 -0400 (Mon, 28 Apr 2008)
New Revision: 8048
Modified:
trunk/ui/src/main/java/org/jboss/seam/ui/component/UIFragment.java
Log:
newInstance support
Modified: trunk/ui/src/main/java/org/jboss/seam/ui/component/UIFragment.java
===================================================================
--- trunk/ui/src/main/java/org/jboss/seam/ui/component/UIFragment.java 2008-04-28 14:03:12 UTC (rev 8047)
+++ trunk/ui/src/main/java/org/jboss/seam/ui/component/UIFragment.java 2008-04-28 15:01:17 UTC (rev 8048)
@@ -22,6 +22,7 @@
package org.jboss.seam.ui.component;
import javax.faces.component.UIComponentBase;
+import javax.faces.context.FacesContext;
/**
* JSF component class
@@ -35,4 +36,8 @@
@SuppressWarnings("unused")
private static final String COMPONENT_FAMILY = "org.jboss.seam.ui.Fragment";
+ public static UIFragment newInstance() {
+ return (UIFragment) FacesContext.getCurrentInstance().getApplication().createComponent(COMPONENT_TYPE);
+ }
+
}
16 years, 7 months
Seam SVN: r8047 - trunk/build.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-28 10:03:12 -0400 (Mon, 28 Apr 2008)
New Revision: 8047
Modified:
trunk/build/root.pom.xml
Log:
oops
Modified: trunk/build/root.pom.xml
===================================================================
--- trunk/build/root.pom.xml 2008-04-28 12:17:16 UTC (rev 8046)
+++ trunk/build/root.pom.xml 2008-04-28 14:03:12 UTC (rev 8047)
@@ -984,13 +984,13 @@
<dependency>
<groupId>org.eclipse.equinox</groupId>
<artifactId>common</artifactId>
- <version>3.2.0-v20060303</version>
+ <version>3.2.0-v20060603</version>
</dependency>
<dependency>
<groupId>org.eclipse.core</groupId>
<artifactId>runtime</artifactId>
- <version>3.2.0-v20060303</version>
+ <version>3.2.0-v20060603</version>
<exclusions>
<exclusion>
<groupId>org.eclipse</groupId>
16 years, 7 months
Seam SVN: r8046 - in trunk/examples/wiki/src/main/org/jboss/seam/wiki: core/cache and 1 other directory.
by seam-commits@lists.jboss.org
Author: christian.bauer(a)jboss.com
Date: 2008-04-28 08:17:16 -0400 (Mon, 28 Apr 2008)
New Revision: 8046
Modified:
trunk/examples/wiki/src/main/org/jboss/seam/wiki/WikiInit.java
trunk/examples/wiki/src/main/org/jboss/seam/wiki/core/cache/EHCacheManager.java
Log:
Resolved EHCacheManager singleton conflict if multiple wikis run on the same JVM
Modified: trunk/examples/wiki/src/main/org/jboss/seam/wiki/WikiInit.java
===================================================================
--- trunk/examples/wiki/src/main/org/jboss/seam/wiki/WikiInit.java 2008-04-28 10:58:51 UTC (rev 8045)
+++ trunk/examples/wiki/src/main/org/jboss/seam/wiki/WikiInit.java 2008-04-28 12:17:16 UTC (rev 8046)
@@ -35,6 +35,7 @@
private String appname;
private String adminContact;
private boolean debug;
+ private boolean hibernateStatistics = true;
@In(required = false)
DBUnitImporter dbunitImporter;
@@ -43,32 +44,37 @@
@Observer("org.jboss.seam.postInitialization")
public void initWiki() throws Exception {
- log.info("Starting LaceWiki for application '"+appname+"'...");
+ log.info(">>>>>>>>>>>> Starting LaceWiki for application '"+appname+"'...");
if (dbunitImporter != null) {
log.info("Importing development test data");
dbunitImporter.importDatasets();
}
- //System.out.println(listJNDITree("java:"));
-
- log.info("registering Hibernate statistics MBean");
- hibernateMBeanName = new ObjectName("Hibernate:type=statistics,application="+appname);
- StatisticsService mBean = new StatisticsService();
- mBean.setSessionFactoryJNDIName("SessionFactories/"+appname+"SF");
- ManagementFactory.getPlatformMBeanServer().registerMBean(mBean, hibernateMBeanName);
+ if (hibernateStatistics) {
+ log.info("registering Hibernate statistics MBean");
+ hibernateMBeanName = new ObjectName("Hibernate:type=statistics,application="+appname);
+ StatisticsService mBean = new StatisticsService();
+ mBean.setSessionFactoryJNDIName("SessionFactories/"+appname+"SF");
+ ManagementFactory.getPlatformMBeanServer().registerMBean(mBean, hibernateMBeanName);
+ }
Events.instance().raiseEvent("Wiki.started");
- log.info("Started LaceWiki");
+ log.info("Started LaceWiki for application '"+appname+"'...");
+
+ //System.out.println(listJNDITree("java:"));
}
@Destroy
public void shutdown() throws Exception {
- log.info("Stopping LaceWiki");
+ log.info("<<<<<<<<<<<<< Stopping LaceWiki for application '"+appname+"'...");
- log.info("unregistering Hibernate statistics MBean");
- ManagementFactory.getPlatformMBeanServer().unregisterMBean(hibernateMBeanName);
+ if (hibernateStatistics) {
+ log.info("unregistering Hibernate statistics MBean");
+ ManagementFactory.getPlatformMBeanServer().unregisterMBean(hibernateMBeanName);
+ }
+ log.info("Stopped LaceWiki for application '"+appname+"'...");
}
public String getAppname() {
@@ -95,6 +101,14 @@
this.debug = debug;
}
+ public boolean isHibernateStatistics() {
+ return hibernateStatistics;
+ }
+
+ public void setHibernateStatistics(boolean hibernateStatistics) {
+ this.hibernateStatistics = hibernateStatistics;
+ }
+
/** Utility to debug JBoss JNDI problems */
public static String listJNDITree(String namespace) {
StringBuffer buffer = new StringBuffer(4096);
Modified: trunk/examples/wiki/src/main/org/jboss/seam/wiki/core/cache/EHCacheManager.java
===================================================================
--- trunk/examples/wiki/src/main/org/jboss/seam/wiki/core/cache/EHCacheManager.java 2008-04-28 10:58:51 UTC (rev 8045)
+++ trunk/examples/wiki/src/main/org/jboss/seam/wiki/core/cache/EHCacheManager.java 2008-04-28 12:17:16 UTC (rev 8046)
@@ -9,7 +9,6 @@
import org.jboss.seam.annotations.*;
import org.jboss.seam.annotations.intercept.BypassInterceptors;
import org.jboss.seam.Component;
-import org.jboss.seam.ScopeType;
import org.jboss.seam.contexts.Contexts;
import org.jboss.seam.log.Logging;
import org.jboss.seam.log.LogProvider;
@@ -42,8 +41,11 @@
@Create
public void initCacheManager() {
- log.info("initalizing EHCacheManager from /ehcache.xml");
- manager = CacheManager.create();
+ log.info("instantiating EHCacheManager from /ehcache.xml");
+ // Do NOT use the CacheManage.create() factory methods, as they create a singleton! Our applicatoin
+ // has to have its own CacheManager instance, so that we can run several applications in the same
+ // JVM or application server.
+ manager = new CacheManager();
if (isRegisterMonitoring()) {
// Register statistics MBean of EHCache on the current MBean server
16 years, 7 months
Seam SVN: r8045 - in trunk/src/main/org/jboss/seam: security/permission and 1 other directory.
by seam-commits@lists.jboss.org
Author: shane.bryzak(a)jboss.com
Date: 2008-04-28 06:58:51 -0400 (Mon, 28 Apr 2008)
New Revision: 8045
Added:
trunk/src/main/org/jboss/seam/annotations/security/permission/Identifier.java
trunk/src/main/org/jboss/seam/security/permission/ClassIdentifierStrategy.java
trunk/src/main/org/jboss/seam/security/permission/EntityIdentifierStrategy.java
trunk/src/main/org/jboss/seam/security/permission/IdentifierPolicy.java
trunk/src/main/org/jboss/seam/security/permission/IdentifierStrategy.java
Modified:
trunk/src/main/org/jboss/seam/security/permission/JpaPermissionStore.java
trunk/src/main/org/jboss/seam/security/permission/PersistentPermissionResolver.java
Log:
permission target identifiers
Added: trunk/src/main/org/jboss/seam/annotations/security/permission/Identifier.java
===================================================================
--- trunk/src/main/org/jboss/seam/annotations/security/permission/Identifier.java (rev 0)
+++ trunk/src/main/org/jboss/seam/annotations/security/permission/Identifier.java 2008-04-28 10:58:51 UTC (rev 8045)
@@ -0,0 +1,27 @@
+package org.jboss.seam.annotations.security.permission;
+
+import static java.lang.annotation.ElementType.FIELD;
+import static java.lang.annotation.ElementType.METHOD;
+import static java.lang.annotation.RetentionPolicy.RUNTIME;
+
+import java.lang.annotation.Documented;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.Target;
+
+import org.jboss.seam.security.permission.IdentifierStrategy;
+
+/**
+ * Configures the Identifier strategy to use for instance-based permissions. The specified class
+ * should implement the IdentifierStrategy interface.
+ *
+ * @author Shane Bryzak
+ */
+@Target({METHOD,FIELD})
+@Documented
+@Retention(RUNTIME)
+@Inherited
+public @interface Identifier
+{
+ Class<? extends IdentifierStrategy> value();
+}
Added: trunk/src/main/org/jboss/seam/security/permission/ClassIdentifierStrategy.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/permission/ClassIdentifierStrategy.java (rev 0)
+++ trunk/src/main/org/jboss/seam/security/permission/ClassIdentifierStrategy.java 2008-04-28 10:58:51 UTC (rev 8045)
@@ -0,0 +1,21 @@
+package org.jboss.seam.security.permission;
+
+/**
+ * An Identifier strategy for class-based permission checks
+ *
+ * @author Shane Bryzak
+ */
+public class ClassIdentifierStrategy implements IdentifierStrategy
+{
+ public boolean canIdentify(Class targetClass)
+ {
+ return Class.class.equals(targetClass);
+ }
+
+ public String getIdentifier(Object target)
+ {
+ // TODO Auto-generated method stub
+ return null;
+ }
+
+}
Added: trunk/src/main/org/jboss/seam/security/permission/EntityIdentifierStrategy.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/permission/EntityIdentifierStrategy.java (rev 0)
+++ trunk/src/main/org/jboss/seam/security/permission/EntityIdentifierStrategy.java 2008-04-28 10:58:51 UTC (rev 8045)
@@ -0,0 +1,48 @@
+package org.jboss.seam.security.permission;
+
+import javax.persistence.Entity;
+import javax.persistence.EntityManager;
+
+import org.jboss.seam.Component;
+import org.jboss.seam.core.Expressions;
+import org.jboss.seam.core.Expressions.ValueExpression;
+import org.jboss.seam.persistence.PersistenceProvider;
+
+/**
+ * An Identifier strategy for entity-based permission checks
+ *
+ * @author Shane Bryzak
+ */
+public class EntityIdentifierStrategy implements IdentifierStrategy
+{
+ private ValueExpression<EntityManager> entityManager;
+
+ private PersistenceProvider persistenceProvider;
+
+ public EntityIdentifierStrategy()
+ {
+ persistenceProvider = (PersistenceProvider) Component.getInstance(PersistenceProvider.class, true);
+
+ if (entityManager == null)
+ {
+ entityManager = Expressions.instance().createValueExpression("#{entityManager}",
+ EntityManager.class);
+ }
+ }
+
+ public boolean canIdentify(Class targetClass)
+ {
+ return targetClass.isAnnotationPresent(Entity.class);
+ }
+
+ public String getIdentifier(Object target)
+ {
+ // TODO temporary, need to implement properly
+ return target.getClass().getName() + ":" + persistenceProvider.getId(target, lookupEntityManager());
+ }
+
+ private EntityManager lookupEntityManager()
+ {
+ return entityManager.getValue();
+ }
+}
Added: trunk/src/main/org/jboss/seam/security/permission/IdentifierPolicy.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/permission/IdentifierPolicy.java (rev 0)
+++ trunk/src/main/org/jboss/seam/security/permission/IdentifierPolicy.java 2008-04-28 10:58:51 UTC (rev 8045)
@@ -0,0 +1,83 @@
+package org.jboss.seam.security.permission;
+
+import static org.jboss.seam.ScopeType.APPLICATION;
+
+import java.util.HashSet;
+import java.util.Map;
+import java.util.Set;
+import java.util.concurrent.ConcurrentHashMap;
+
+import org.jboss.seam.annotations.Create;
+import org.jboss.seam.annotations.Install;
+import org.jboss.seam.annotations.Name;
+import org.jboss.seam.annotations.Scope;
+import org.jboss.seam.annotations.intercept.BypassInterceptors;
+import org.jboss.seam.annotations.security.permission.Identifier;
+
+@Name("org.jboss.seam.security.identifierPolicy")
+@Scope(APPLICATION)
+@BypassInterceptors
+@Install(precedence = Install.BUILT_IN)
+public class IdentifierPolicy
+{
+ private Map<Class,IdentifierStrategy> strategies = new ConcurrentHashMap<Class,IdentifierStrategy>();
+
+ private Set<IdentifierStrategy> registeredStrategies = new HashSet<IdentifierStrategy>();
+
+ @Create
+ public void create()
+ {
+ if (registeredStrategies.isEmpty())
+ {
+ registeredStrategies.add(new EntityIdentifierStrategy());
+ registeredStrategies.add(new ClassIdentifierStrategy());
+ }
+ }
+
+ public String getIdentifier(Object target)
+ {
+ IdentifierStrategy strategy = strategies.get(target.getClass());
+
+ if (strategy == null)
+ {
+ if (target.getClass().isAnnotationPresent(Identifier.class))
+ {
+ Class<? extends IdentifierStrategy> strategyClass =
+ target.getClass().getAnnotation(Identifier.class).value();
+ try
+ {
+ strategy = strategyClass.newInstance();
+ strategies.put(target.getClass(), strategy);
+ }
+ catch (Exception ex)
+ {
+ throw new RuntimeException("Error instantiating IdentifierStrategy for object " + target, ex);
+ }
+ }
+ else
+ {
+ for (IdentifierStrategy s : registeredStrategies)
+ {
+ if (s.canIdentify(target.getClass()))
+ {
+ strategy = s;
+ strategies.put(target.getClass(), strategy);
+ break;
+ }
+ }
+ }
+ }
+
+ return strategy.getIdentifier(target);
+ }
+
+ public Set<IdentifierStrategy> getRegisteredStrategies()
+ {
+ return registeredStrategies;
+ }
+
+ public void setRegisteredStrategies(Set<IdentifierStrategy> registeredStrategies)
+ {
+ this.registeredStrategies = registeredStrategies;
+ }
+}
Added: trunk/src/main/org/jboss/seam/security/permission/IdentifierStrategy.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/permission/IdentifierStrategy.java (rev 0)
+++ trunk/src/main/org/jboss/seam/security/permission/IdentifierStrategy.java 2008-04-28 10:58:51 UTC (rev 8045)
@@ -0,0 +1,12 @@
+package org.jboss.seam.security.permission;
+
+/**
+ * Strategy for generating permission target identifiers.
+ *
+ * @author Shane Bryzak
+ */
+public interface IdentifierStrategy
+{
+ boolean canIdentify(Class targetClass);
+ String getIdentifier(Object target);
+}
Modified: trunk/src/main/org/jboss/seam/security/permission/JpaPermissionStore.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/permission/JpaPermissionStore.java 2008-04-28 10:42:00 UTC (rev 8044)
+++ trunk/src/main/org/jboss/seam/security/permission/JpaPermissionStore.java 2008-04-28 10:58:51 UTC (rev 8045)
@@ -39,7 +39,7 @@
*
* @author Shane Bryzak
*/
-@Name("org.jboss.seam.security.permission.jpaPermissionStore")
+@Name("org.jboss.seam.security.jpaPermissionStore")
@Install(precedence = BUILT_IN, value=false)
@Scope(APPLICATION)
@BypassInterceptors
Modified: trunk/src/main/org/jboss/seam/security/permission/PersistentPermissionResolver.java
===================================================================
--- trunk/src/main/org/jboss/seam/security/permission/PersistentPermissionResolver.java 2008-04-28 10:42:00 UTC (rev 8044)
+++ trunk/src/main/org/jboss/seam/security/permission/PersistentPermissionResolver.java 2008-04-28 10:58:51 UTC (rev 8045)
@@ -24,7 +24,7 @@
*
* @author Shane Bryzak
*/
-@Name("org.jboss.seam.security.dynamicPermissionResolver")
+@Name("org.jboss.seam.security.persistentPermissionResolver")
@Scope(APPLICATION)
@BypassInterceptors
@Install(precedence=FRAMEWORK)
@@ -33,12 +33,16 @@
{
private PermissionStore permissionStore;
+ private IdentifierPolicy identifierPolicy;
+
private static final LogProvider log = Logging.getLogProvider(PersistentPermissionResolver.class);
@Create
public void create()
{
initPermissionStore();
+
+ identifierPolicy = (IdentifierPolicy) Component.getInstance(IdentifierPolicy.class, true);
}
protected void initPermissionStore()
@@ -51,7 +55,7 @@
if (permissionStore == null)
{
log.warn("no permission store available - please install a PermissionStore with the name '" +
- Seam.getComponentName(JpaPermissionStore.class) + "' if dynamic permissions are required.");
+ Seam.getComponentName(JpaPermissionStore.class) + "' if persistent permissions are required.");
}
}
@@ -73,13 +77,9 @@
if (!identity.isLoggedIn()) return false;
- String targetName = Seam.getComponentName(target.getClass());
- if (targetName == null)
- {
- targetName = target.getClass().getName();
- }
+ String identifier = identifierPolicy.getIdentifier(target);
- List<Permission> permissions = permissionStore.listPermissions(targetName, action);
+ List<Permission> permissions = permissionStore.listPermissions(identifier, action);
String username = identity.getPrincipal().getName();
16 years, 7 months
Seam SVN: r8044 - branches/Seam_2_0/build.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-28 06:42:00 -0400 (Mon, 28 Apr 2008)
New Revision: 8044
Modified:
branches/Seam_2_0/build/docs.pom.xml
Log:
Use 1.1.0.BETA2 of Seam docbook plugin
Modified: branches/Seam_2_0/build/docs.pom.xml
===================================================================
--- branches/Seam_2_0/build/docs.pom.xml 2008-04-28 09:59:51 UTC (rev 8043)
+++ branches/Seam_2_0/build/docs.pom.xml 2008-04-28 10:42:00 UTC (rev 8044)
@@ -16,12 +16,6 @@
<name>JBoss Repository</name>
<url>http://repository.jboss.org/maven2</url>
</pluginRepository>
- <pluginRepository>
- <snapshots />
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <url>http://snapshots.jboss.org/maven2</url>
- </pluginRepository>
</pluginRepositories>
<repositories>
<repository>
@@ -29,12 +23,6 @@
<name>JBoss Repository</name>
<url>http://repository.jboss.org/maven2</url>
</repository>
- <repository>
- <snapshots />
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <url>http://snapshots.jboss.org/maven2</url>
- </repository>
</repositories>
<build>
@@ -48,18 +36,18 @@
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>seam-docbook-xslt</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.1.0.BETA2</version>
</dependency>
<dependency>
<groupId>org.jboss.seam</groupId>
<artifactId>seam-jdocbook-style</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.1.0.BETA2</version>
<type>jdocbook-style</type>
</dependency>
<dependency>
<groupId>org.jboss</groupId>
<artifactId>jbossorg-jdocbook-style</artifactId>
- <version>1.1.0-SNAPSHOT</version>
+ <version>1.1.0.Beta1</version>
<type>jdocbook-style</type>
</dependency>
</dependencies>
16 years, 7 months
Seam SVN: r8042 - in maven-plugins/tags: seam-docbook-xslt_1_1_0_BETA2 and 1 other directory.
by seam-commits@lists.jboss.org
Author: pete.muir(a)jboss.org
Date: 2008-04-28 05:59:47 -0400 (Mon, 28 Apr 2008)
New Revision: 8042
Added:
maven-plugins/tags/seam-docbook-xslt_1_1_0_BETA2/
maven-plugins/tags/seam-docbook-xslt_1_1_0_BETA2/pom.xml
Removed:
maven-plugins/tags/seam-docbook-xslt_1_1_0_BETA2/pom.xml
Log:
[maven-release-plugin] copy for tag seam-docbook-xslt_1_1_0_BETA2
Copied: maven-plugins/tags/seam-docbook-xslt_1_1_0_BETA2 (from rev 8032, maven-plugins/trunk/seam-docbook-xslt)
Deleted: maven-plugins/tags/seam-docbook-xslt_1_1_0_BETA2/pom.xml
===================================================================
--- maven-plugins/trunk/seam-docbook-xslt/pom.xml 2008-04-27 04:18:50 UTC (rev 8032)
+++ maven-plugins/tags/seam-docbook-xslt_1_1_0_BETA2/pom.xml 2008-04-28 09:59:47 UTC (rev 8042)
@@ -1,88 +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/xsd/maven-4.0.0.xsd">
-
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.jboss.seam</groupId>
- <artifactId>seam-docbook-xslt</artifactId>
- <packaging>jar</packaging>
- <version>1.1.0-SNAPSHOT</version>
-
- <name>SeamFramework.org DocBook XSLT</name>
- <description>
- The main project to transform DocBook XML into XHTML and other formats for
- SeamFramework.org Documentation.
- </description>
- <url>http://www.seamframework.org</url>
-
- <scm>
- <developerConnection>scm:svn:https://svn.jboss.org/repos/seam/maven-plugins/trunk</developerConnection>
- <connection>scm:svn:http://anonsvn.jboss.org/repos/seam/maven-plugins/trunk</connection>
- <url>http://fisheye.jboss.org/browse/Seam/maven-plugins/trunk</url>
- </scm>
-
- <repositories>
- <repository>
- <id>repository.jboss.org</id>
- <name>JBoss Repository</name>
- <url>http://repository.jboss.org/maven2</url>
- </repository>
- <repository>
- <snapshots />
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <url>http://snapshots.jboss.org/maven2</url>
- </repository>
- </repositories>
-
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- </dependency>
- </dependencies>
-
- <dependencyManagement>
- <dependencies>
- <dependency>
- <groupId>org.jboss</groupId>
- <artifactId>jbossorg-docbook-xslt</artifactId>
- <version>1.1.0-SNAPSHOT</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <build>
- <extensions>
- <extension>
- <groupId>org.apache.maven.wagon</groupId>
- <artifactId>wagon-webdav</artifactId>
- <version>1.0-beta-2</version>
- </extension>
- </extensions>
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.jboss.maven.plugins</groupId>
- <artifactId>maven-jdocbook-plugin</artifactId>
- <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
- </plugin>
- </plugins>
- </pluginManagement>
- </build>
-
- <distributionManagement>
- <repository>
- <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
- <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
- <!-- todo : replace this with direct svn access once the svnkit providers are available -->
- <id>repository.jboss.org</id>
- <url>file://${maven.repository.root}</url>
- </repository>
- <snapshotRepository>
- <id>snapshots.jboss.org</id>
- <name>JBoss Snapshot Repository</name>
- <url>dav:https://snapshots.jboss.org/maven2</url>
- </snapshotRepository>
- </distributionManagement>
-
-</project>
Copied: maven-plugins/tags/seam-docbook-xslt_1_1_0_BETA2/pom.xml (from rev 8041, maven-plugins/trunk/seam-docbook-xslt/pom.xml)
===================================================================
--- maven-plugins/tags/seam-docbook-xslt_1_1_0_BETA2/pom.xml (rev 0)
+++ maven-plugins/tags/seam-docbook-xslt_1_1_0_BETA2/pom.xml 2008-04-28 09:59:47 UTC (rev 8042)
@@ -0,0 +1,91 @@
+<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.jboss.seam</groupId>
+ <artifactId>seam-docbook-xslt</artifactId>
+ <packaging>jar</packaging>
+ <version>1.1.0.BETA2</version>
+
+ <name>SeamFramework.org DocBook XSLT</name>
+ <description>
+ The main project to transform DocBook XML into XHTML and other formats for
+ SeamFramework.org Documentation.
+ </description>
+ <url>http://www.seamframework.org</url>
+
+ <scm>
+ <developerConnection>scm:svn:https://svn.jboss.org/repos/seam/maven-plugins/tags/seam-docbook-...</developerConnection>
+ <connection>scm:svn:http://anonsvn.jboss.org/repos/seam/maven-plugins/tags/seam-docbo...</connection>
+ <url>http://fisheye.jboss.org/browse/Seam/maven-plugins/tags/seam-docbook-xslt...</url>
+ </scm>
+
+ <contributors>
+ <contributor>
+ <name>Pete Muir</name>
+ </contributor>
+ <contributor>
+ <name>Mark Newton</name>
+ </contributor>
+ </contributors>
+
+ <repositories>
+ <repository>
+ <id>repository.jboss.org</id>
+ <name>JBoss Repository</name>
+ <url>http://repository.jboss.org/maven2</url>
+ </repository>
+ </repositories>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-docbook-xslt</artifactId>
+ </dependency>
+ </dependencies>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossorg-docbook-xslt</artifactId>
+ <version>1.1.0.Beta1</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <build>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav</artifactId>
+ <version>1.0-beta-2</version>
+ </extension>
+ </extensions>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.jboss.maven.plugins</groupId>
+ <artifactId>maven-jdocbook-plugin</artifactId>
+ <version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
+
+ <distributionManagement>
+ <repository>
+ <!-- Copy the dist to the local checkout of the JBoss maven2 repo ${maven.repository.root} -->
+ <!-- It is anticipated that ${maven.repository.root} be set in user's settings.xml -->
+ <!-- todo : replace this with direct svn access once the svnkit providers are available -->
+ <id>repository.jboss.org</id>
+ <url>file://${maven.repository.root}</url>
+ </repository>
+ <snapshotRepository>
+ <id>snapshots.jboss.org</id>
+ <name>JBoss Snapshot Repository</name>
+ <url>dav:https://snapshots.jboss.org/maven2</url>
+ </snapshotRepository>
+ </distributionManagement>
+
+</project>
16 years, 7 months