Skip to content

jpaoletti/java-presentation-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Presentation Manager (jPM)

Home page: http://jpaoletti.github.com/java-presentation-manager/

Java Presentation Manager is a CRUD system with extended tools to fast build an administrative and monitoring web site based in xml definition files, with data source and interface independece so you can define your model in xml terms and choose the data sources and visualization that you like most.

How to use

This is a maven based project with several modules. A main core module contain the main functionality and definition tools. The other modules are implementations of some of the core aspect, normally the view or the data access.

The default visual implementation is based on Struts 1. You can use the provided archetype and customize it as needed.

mvn archetype:generate -DarchetypeGroupId=com.github.jpaoletti -DarchetypeArtifactId=jpm-archetype -DarchetypeVersion=1.4.1-SNAPSHOT

You can also configure your pom.xml using the following dependencies.

  <properties>
      <jpm.version>1.3.0</jpm.version>
      <jpm.impl>jpm-struts1</jpm.impl>
  </properties>
  ...
  <dependencies>
      <dependency>
          <groupId>com.github.jpaoletti</groupId>
          <artifactId>${jpm.impl}</artifactId>
          <version>${jpm.version}</version>
          <type>war</type>
          <exclusions>
            <exclusion>
              <groupId>com.github.jpaoletti</groupId>
              <artifactId>jpm-test-resources</artifactId>
            </exclusion>
          </exclusions>
      </dependency>
      <dependency>
          <groupId>com.github.jpaoletti</groupId>
          <artifactId>${jpm.impl}</artifactId>
          <version>${jpm.version}</version>
          <type>jar</type>
          <classifier>classes</classifier>
      </dependency>
    ...
  </dependencies>
  ...
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <version>2.1.1</version>
        <configuration>
          ...
        </configuration>
      </plugin>
    </plugins>
  </build>
  ...

For further reference check http://maven.apache.org/plugins/maven-war-plugin/overlays.html

You can check the repositories at

https://oss.sonatype.org/index.html#nexus-search;quick~jpaoletti

License

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 Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.