Package org.jboss.forge.furnace.versions

Examples of org.jboss.forge.furnace.versions.SingleVersion


   }

   @Override
   public Version getSpecVersion()
   {
      return new SingleVersion("3.2");
   }
View Full Code Here


            .create("org.jboss.spec.javax.faces:jboss-jsf-api_2.0_spec").setScopeType("provided");

   @Override
   public Version getSpecVersion()
   {
      return new SingleVersion("2.0");
   }
View Full Code Here

   }

   @Override
   public Version getSpecVersion()
   {
      return new SingleVersion("3.1");
   }
View Full Code Here

            .create("javax.faces:javax.faces-api:2.2").setScopeType("provided");

   @Override
   public Version getSpecVersion()
   {
      return new SingleVersion("2.2");
   }
View Full Code Here

            .create("org.jboss.spec.javax.faces:jboss-jsf-api_2.1_spec").setScopeType("provided");

   @Override
   public Version getSpecVersion()
   {
      return new SingleVersion("2.1");
   }
View Full Code Here

   }

   @Override
   public Version getSpecVersion()
   {
      return new SingleVersion("1.0");
   }
View Full Code Here

   }

   @Override
   public Version getSpecVersion()
   {
      return new SingleVersion("2.1");
   }
View Full Code Here

   }

   @Override
   public Version getSpecVersion()
   {
      return new SingleVersion("1.1");
   }
View Full Code Here

   }

   @Override
   public Version getSpecVersion()
   {
      return new SingleVersion("2.0");
   }
View Full Code Here

   @SuppressWarnings("rawtypes")
   public PersistenceUnitCommon configure(PersistenceUnitCommon unit, JPADataSource ds)
   {
      unit.excludeUnlistedClasses(Boolean.FALSE);
      PersistenceCommonDescriptor descriptor = (PersistenceCommonDescriptor) unit.up();
      if (new SingleVersion(descriptor.getVersion()).compareTo(new SingleVersion("2.1")) >= 0)
      {
         PropertiesCommon properties = unit.getOrCreateProperties();
         properties.createProperty().name("javax.persistence.schema-generation.database.action").value("create");
      }
      return unit;
View Full Code Here

TOP

Related Classes of org.jboss.forge.furnace.versions.SingleVersion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.