jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
Mojo
  • Mojo
  • MOJO-1116

atg-maven-plugin

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: _Plugin Submission
  • Labels:
    None
  • Environment:
    AT Dynamo 7.1 on JBoss 4.0.1
  • Complexity:
    Intermediate
  • Number of attachments :
    2

Description

This is an initial version of atg-maven-plugin. Here is what it does:

1. Generates ATG Module from the configuration defined in POM.
2. Installs temporary module into ATG home.
3. Runs ATG EAR assembler linking all dependencies (ATG Modules
and JARs, WARs). Dependencies are defined in property files that are located in plug-in's directory structure (will be partially defined in POM in future versions)
4. Produces final Module files packaged as DAR and EAR

Limitations:

1. This version was tested on Dynamo 7.1 on JBoss 4.0.1.
2. Doesn't support EJBs
3. Doesn't support EAR dependencies (only JAR and WAR are supported)
4. Doesn't package tag libs jar (you must include them from you local repository as a dependency for WAR)

Sample project called MyApp is attached for demonstration how to use plug-in.

  • Options
    • Sort By Name
    • Sort By Date
    • Ascending
    • Descending
    • Download All

Attachments

  1. Hide
    Zip Archive
    atg-maven-plugin.zip
    02/Jun/10 8:31 AM
    7 kB
    Vlad Pochernin
    1. XML File
      atg-maven-plugin/pom.xml 4 kB
    2. Text File
      atg-maven-plugin/README.txt 1 kB
    3. Java Source File
      atg-maven-plugin/.../AbstractDarMojo.java 9 kB
    4. Java Source File
      atg-maven-plugin/src/.../atg/DarMojo.java 4 kB
    Download Zip
    Show
    Zip Archive
    atg-maven-plugin.zip
    02/Jun/10 8:31 AM
    7 kB
    Vlad Pochernin
  2. Hide
    Zip Archive
    atg-maven-plugin.zip
    07/May/08 11:03 PM
    26 kB
    Eugene Silinov
    1. XML File
      atg-maven-plugin/pom.xml 3 kB
    2. Java Source File
      atg-maven-plugin/.../AbstractDarMojo.java 8 kB
    3. Java Source File
      atg-maven-plugin/src/.../atg/DarMojo.java 4 kB
    4. XML File
      MyApp/myapp-core/pom.xml 0.5 kB
    5. XML File
      MyApp/myapp-dar/pom.xml 2 kB
    6. File
      MyApp/myapp-dar/.../ModuleManager.properties 0.0 kB
    7. File
      MyApp/myapp-dar/.../modules/MyApp.properties 0.0 kB
    8. File
      MyApp/myapp-dar/.../config/CONFIG.properties 0.0 kB
    9. File
      MyApp/myapp-dar/src/.../META-INF/MANIFEST.MF 0.1 kB
    10. XML File
      MyApp/myapp-war/pom.xml 1.0 kB
    11. File
      MyApp/myapp-war/src/.../webapp/index.jsp 0.1 kB
    12. File
      MyApp/myapp-war/.../coreTaglib1_0.tld 75 kB
    13. File
      MyApp/myapp-war/.../dspjspELTaglib1_0.tld 140 kB
    14. File
      MyApp/myapp-war/.../dspjspTaglib1_0.tld 138 kB
    15. XML File
      MyApp/myapp-war/src/.../WEB-INF/web.xml 2 kB
    16. XML File
      MyApp/pom.xml 1 kB
    Download Zip
    Show
    Zip Archive
    atg-maven-plugin.zip
    07/May/08 11:03 PM
    26 kB
    Eugene Silinov

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Vlad Pochernin added a comment - 02/Jun/10 8:31 AM

Now plugin can create packed/unpacked standalone and run-in-place EARs.
See README.txt for more info.

Show
Vlad Pochernin added a comment - 02/Jun/10 8:31 AM Now plugin can create packed/unpacked standalone and run-in-place EARs. See README.txt for more info.
Hide
Permalink
David M. Karr added a comment - 30/Aug/12 4:58 PM

I know this is ancient history, but I'm trying to see if I can get this to work with ATG 9.3, along with Maven 3.x. I hope someone is still watching this.

When I build the sample MyApp, I get some configuration errors. I was able to work through some of them, but I'm not sure about this one:

run (generate-sources) on project myapp-dar: Source '...\MyApp\myapp-dar\j2ee-apps' does not exist -> [Help 1]

I imagine this means I have to set the "j2eeDir" property so it will find this WAR, but I'm not sure exactly what this needs.

Show
David M. Karr added a comment - 30/Aug/12 4:58 PM I know this is ancient history, but I'm trying to see if I can get this to work with ATG 9.3, along with Maven 3.x. I hope someone is still watching this. When I build the sample MyApp, I get some configuration errors. I was able to work through some of them, but I'm not sure about this one: run (generate-sources) on project myapp-dar: Source '...\MyApp\myapp-dar\j2ee-apps' does not exist -> [Help 1] I imagine this means I have to set the "j2eeDir" property so it will find this WAR, but I'm not sure exactly what this needs.

People

  • Assignee:
    Unassigned
    Reporter:
    Eugene Silinov
Vote (2)
Watch (4)

Dates

  • Created:
    07/May/08 11:03 PM
    Updated:
    30/Aug/12 4:58 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.