Convert J2SE to J2ME - apache spoon-jdiet, maven installation

I'm trying to port a game I wrote from J2SE to J2ME. I found this utility JDiet (http://spoon.gforge.inria.fr/JDiet/Main) which uses apache Maven. I've installed Maven, but when I run it tells me "can't find maven-resources-plugin" I downloaded the plugin and created a folder in my MAVEN_HOME, but it didn't get picked up.
So 2 questions:
1. How do I get this plugin installed with maven? Anyone out there with experience with Maven?
2. What's the best way to port J2SE code to J2ME?
<p>
--- no one?
Edited by: tjacobs01 on Mar 31, 2008 7:26 PM
Edited by: tjacobs01 on Mar 31, 2008 7:27 PM

Tom
You just might get a response or two if you post on the [CLDC and MIDP forum|http://forum.java.sun.com/forum.jspa?forumID=76], there are a few Java ME professionals (some that come to mind are deepspace, AdrienD, Cinnam, hooble... oh yes and recently printisor's suddenly become active again) and somebody might have experience in this kind of stuff.
luck, db

Similar Messages

  • How can I convert the volume directory into a single file installer?

    How can I convert the volume directory into a single file installer? I would like to hide all the miscillaneous files that I don't care for and be able to have the installer double click a single file and have it automatically install.

    On the second prompt screen when prompted 'What kind of self-extracting Zip file file do you want to make?'
    Are you choosing the second option (self-extracting Zip file for software installation)?
    I have a word file that I created to help me remember - is there anyway to email it to you?

  • How to get missing classes from J2SE to J2ME?

    Hello,
    I am currently developing a J2ME project. As IDE I use Eclipse with the plugin EclipseME. It works great.
    Now I have the following problem: I need some classes which are present in J2ME (e.g. sorting of Strings, date functions). So I downloaded the source code for the JDK. Now I want to compile the missing classes (the ones that are not in the libs coming with the WTK) from JDK source into my project, so I can use these functions which are missing in standard J2ME. Importing the whole JDK tree is problematic, because then all classes will be compiled from source. This will cause errors with the JVM on the target device.
    Is there a possibility to import the JDK sources and only let compile the classes that are missing in J2ME libs? What is the best way to do this? Or do I have to add the source of each class (and it's dependencies) i need manually? Can I in this case use the original tree of packages and classes (e.g. java.util.ClassName) or do I have to create and new subtree (project.ClassName) in my project and import from there?
    Greetz
    schneidexe

    Generally, this is not possible. The classes have far to many references to other classes, and there are far to many incompatibilities to make it work.
    Best solution is to make your own J2me substitution, or find some j2me api that already does what you want.

  • Convert game to J2ME

    Hi there
    I have a cool game that I wrote that I want to port to J2ME
    Can anyone point me to a resource or give me more information about what exactly I need to install + setup as well as any advice/considerations I need to make about how to port it?
    Thanks
    -T

    Tom
    I found this beginner series very useful when I started Java ME, but then that was when I started Java :-) But you could probably pick up what you need to know by just skimming through it.
    {color:0000ff}http://today.java.net/pub/a/today/2005/02/09/j2me1.html{color}
    There's a game tutorial in part 3.
    IMHO the biggest nightmare in Java ME is device fragmentation, but that probably won't be as bad in a Canvas / GameCanvas based UI as it is with Form. Be aware that FullScreen mode works on most, but not all, devices; soft key codes are implementation dependent and are not even specified in the API; a game (or any MIDlet) may be rudely put to sleep (pauseApp ()) by an incoming call or SMS.
    There are a few game developers on the CLDC and MIDP forum who are quite helpful.
    As far as your game display and control is concerned, you might want to produce different configurations for different screen sizes rather than bloat the code with detection and scaling -- small devices have small brains ;-) Don't know about other IDEs, but NetBeans with Mobility Pack allows you to do this without having totally separate versions of your sources. Then, touchscreen handsets don't have a number keypad, so if you want your game to function on those sets you need to provide for pointer events as an alternative to keyPresses.
    Since it's a game you probably don't need to know about the bug in setFont in ChoiceGroup / List that I reported to Sun and got only a preliminary receipt for... the kvm's in the devices are third party and many have implementation bugs (like my Motorokr e6 has a bug with ItemListener) ... sorry, don't mean to be discouraging and long-winded --
    Wish you luck, Darryl

  • J2ME Polish 2.0.4 Installation Problem...please help !!

    Hello,
    I recently downloaded j2mepolish-2.0.4.jar on my Windows XP machine , and from commandline started the installation by typing the command :
    java -jar j2mepolish-2.0.4.jar However during the installation i get an error . I took a screenshot of the error window. You can see that at :
    [http://docs.google.com/View?docid=dck2kwq6_14f7ztxvgk|http://docs.google.com/View?docid=dck2kwq6_14f7ztxvgk]
    At the command line the errors are as follows :
    validated: path C:\Program_Files\J2ME-Polish is writable.
    java.lang.NullPointerException
            at java.io.ObjectInputStream$PeekInputStream.read(Unknown Source)
            at java.io.ObjectInputStream$PeekInputStream.readFully(Unknown Source)
            at java.io.ObjectInputStream$BlockDataInputStream.readShort(Unknown Sour
    ce)
            at java.io.ObjectInputStream.readStreamHeader(Unknown Source)
            at java.io.ObjectInputStream.<init>(Unknown Source)
            at com.izforge.izpack.installer.Unpacker.run(Unpacker.java:109)
            at java.lang.Thread.run(Unknown Source)I have JDK 1.5.0,WTK2.5.2 ,apache-ant-1.7.1, Netbeans 6.0 installed.During installation of j2mepolish,wtk.home is set to C:\WTK2.5.2,nokia.home is C:\Nokia and netbeans.home is C:\Program Files\NetBeans 6.0. still im getting this error during installation .
    Any ideas for resolving this would be really appreciated.
    Please help.
    Thank You :)
    Edited by: sc0tta on Aug 29, 2008 11:07 AM

    My JDK version is 1.6.0_03, and the jre i was using was 1.5.0 . The problem was fixed after i upgraded my jre to 1.6.0_07 :)
    So, it looks like both jdk and jre have to be the same major version (1.6.0 in my case) for the installation to be successful.
    Edited by: sc0tta on Aug 29, 2008 2:47 PM

  • Apache Error During the Installation of Oracle 10g Infrastructure

    Hi,
    I am installing the Oracle 10g Infrastructure.During the OPMN Configuration Assistant Installation, i encountered the Apache error. The error is failed to start a managed process after the maximum entry limit. I tried this command: opmnctl startproc ias-component=HTTP_Server but still the windows displays this message: Apache.exe has encountered a problem and needs to close. When I open the logs located at <ORACLE_HOME>\opmn\logs\HTTP_Server.log, the logs says Unclean shutdown of previous Apache run?. I tried to uninstall using deconfiguration.pl but the program says that its ok to use the Universal installer. I uninstall then deleted the entries at the registry and then reinstall it, but still, it displays the error. Are there any solution that can solve this problem?
    I am installing in windows xp service 2. My oracle infrastructure version is 10.1.2

    Hi,
    There is no error_log file under this directory: <ORACLE_HOME>/Apache/Apache/logs. Maybe the cause is the conflict of computer name. I'll keep you posted as long as I finish installing the application.

  • Apache Policy Agent : Broken Installer?

    We downloaded the apache policy agent from:
    http://www.sun.com/download/products.xml?id=43696d80
    When we ran the installer the localization resources (for the buttons and other UI elements (including the licence)) were missing. The installer failed when it could not find 'SUNWamcom.zip' (the output on the console shows this).
    Has anyone got a link for a working version on apache?

    In my initial post I forgot to mention the platform. We are deploying Sun JES on Windows 2000.
    Also to clarify, the localization resources I am mentioning are the localization resources for the installer itself. For example the button names show as:
    Agentapache-Resources: Close-Button
    Agentapache-Resources: Help-Button
    Instead of 'help' or 'close'.
    The output on the console points to a missing resource bundle:
    However, it isnt clear if the install failure is related to the resources (the problem seem to be the missing SUNWamcom.zip file).
    -------------------[ output snipet ]---------------------------
    Extracting and invoking the installer. Please wait...
    java.util.MissingResourceException: Can't find bundle for base name AgentResources, locale en_US
    com.iplanet.install.util.wbResource::getString: resource string "AgentapacheResources:installProgressLabelPrefix" not found
    com.iplanet.install.util.wbResource::getString: resource string "AgentapacheResources:uninstallProgressLabelPrefix" not found
    com.iplanet.install.util.wbResource::getString: resource string "AgentapacheResources:Installer-Title-Text" not found
    java.util.MissingResourceException: Can't find bundle for base name AgentResources, locale en_US
    com.iplanet.install.util.wbResource::getString: resource string "AgentapacheResources:welcomePanel-Gui-HeaderText" not found
    -------[ details from install ]--------------
    Installing Sun Java(tm) System Access Manager Policy Agent
    Log file: C:\Documents and Settings\administrator\Local Settings\Temp\Sun_Java_tm__System_Access_Manager_Policy_Agent_ins
    tall.B06051149
    Uninstaller with no supporting registry information found. Overwriting existing uninstaller
    Installed: c:\Sun\Access_Manager\Agents\2.2\uninstall_Sun_Java_tm__System_Access_Manager_Policy_Agent.class
    Uninstaller is at: c:\Sun\Access_Manager\Agents\2.2\uninstall_Sun_Java_tm__System_Access_Manager_Policy_Agent.class
    AgentapacheResources:installProgressLabelPrefixAgent Common Core and SDK
    Installed:C:\Sun\Access_Manager\Agents\2.2\.\AgentResources.properties
    Installed:C:\Sun\Access_Manager\Agents\2.2\.\LICENSE.txt
    Uninstalling C:\Sun\Access_Manager\Agents\2.2\.\bin
    Uninstalling C:\Sun\Access_Manager\Agents\2.2\.\bin\amsdk.dll
    Product Install Failed: java.io.FileNotFoundException: SUNWamcom.zip (The system cannot find the file specified)
    AgentapacheResources:summaryPanel-More-Information:
    AgentapacheResources:summaryPanel-Log-File-Location-Notice
    -----------------------------------------

  • Convert flash drive for Windows 8.1 bootcamp installation from mbr to gpt

    Trying to run Windows 8.1 pro x64 on my mid 2010 15" macbook pro. Get stuck during bootcamp installation in Windows because my partition table isn't compatible (MBR but needs to be GPT). My hard drive seems to be Logical partitions/volume etc, while my flash drive was formatted into MBR seemingly by bootcamp, or otherwise not altered into the GPT like it maybe should have.
    Generally followed this guide http://www.howtogeek.com/186907/how-to-install-windows-on-a-mac-with-boot-camp/
    Steps I took:
    Had to use terminal/Xcode to edit info.plist from bootcamp to allow flash drive installation through bootcamp on my mac (removed the "pre" method).
    With all three bootcamp options selected, managed to partition the drive
    When restarted, my computer had black screen with "no bootable device found".
    Restarted again, holding alt/option
    Flash drive was now available as one of two options (the other being my standard mac drive)
    Windows Setup loaded. Selected language/imputed key/select version etc.
    Here is the strange part, the division of the disk does not include "bootcamp" anywhere in the title (like it should according to the guide), and is about 10gb smaller than my partition (assume this is a normal result of windows installation/os files etc). When I try to format the partition, it says I can't, and explains that I can't use MBR, need to use GPT.
    Attempted to rewrite disk with Shift F10 Diskpart, list disk, etc, but here it shows drive 0, 1, and 2, (rather than drive 0 partition 1,2,3,4, with 4 being my bootcamp I think). This seems to be a method for installing windows on a windows pc, and I didn't go through with it because I didn't want to loose my mac os yet.
    I am not proficient with coding/terminal use, and don't know if there is an option to list partitions etc, so I'm stuck. I can backup my mac and potentially change my partition table etc, but I feel like restoring with time machine would then wipe my existing partition. Is there a workaround I could use? Is there a specific sequence of backups/restores that would work? I'm also okay with manually drag and dropping the files I want back onto a clean slate computer if necessary. Or would simply buying and burning a disc with windows save myself the hassle? Please advise.
    Sorry for long question, wanted to get info out right away. Can include more if necessary. Thank you all for your time.

    TheMonark wrote:
    I input that into mac terminal while running os? And then you'd like me to post the results on this discussion board?
    Yes. It also helps if there are any calculations to be done with disk sectors.
    My optical drive works fine, but I moved to France and didn't bring any disks. Would it be easier and safer to just burn my windows iso onto a disc and run it through bootcamp that way? I'm thinking the answer is yes at this point.
    Yes, if you have a built-in Optical drive, Bootcamp expects to boot from the Optical drive, because it sets the CSM-BIOS layer for Windows to boot from the Optical drive settings in the NVRAM.
    I'm about to head out to celebrate a birthday, but I will post back here in about 14 hours.
    Enjoy the party!
    Do you recommend just buying a DVD and doing it that way? I could easily return my info.plist to normal, and as far as I know, my optical drive works fine. Seems simpler if it would work with my copies of osx and windows. What do you recommend?
    The changes in info.plist enable creation of the USB, but do not influence the boot device pointer that BCA will set when switching to the Windows Installer. My recommendation is to get DVD writable media (DVD+R or equivalent) and burn the ISO to a physical DVD and use BCA to install windows using the BCA USB and DVD media.

  • Sharing J2ME & J2SE source with NetBeans

    I will appologize in advance if I am in the wrong forum. However I could not find a forum for NetBeans so here is my problem:
    This problem relates to NetBeans and the J2SE and J2ME Class Libraries. Maybe there is a simple answer to this, but I am unable to figure it out. The JARs are unique enough to where J2ME can not share a J2SE Class Library. I have a few classes that are identical in source between J2SE and J2ME. In NetBeans how can I organize my projects so I do not have to duplicate the source once each for J2SE and J2ME?
    Thank you

    us too. except we're working on a project that requires interfacing a mobile device with a pc. how exactly do we bridge the gap between the two if the device is running j2me and the pc is running j2se?if you have an answer please e-mail us at [email protected]
    thanx

  • J2ME "instead of" J2SE?

    At our company we are thinking about a system that involves slimmed down PCs mounted in trucks. (There will also be an fleet management center at the companies head office.)
    Approx PC spec; 200 - 300 MHz CPU, no harddisk but flash RAM maybe 512 MB, 10 inch TFT color screen. Keyboard and probably a CD/DVD reader. OS; Win CE, WinXP Embedded or Linux.
    A map/navigation application would run on these. Another application will handle forms (an AWT-GUI will probably do).
    We hope to find a commercial map app to install.
    I would like to develop the other app in Java but the PC bulider didn't like the idea of runnig J2SE on that limited platform.
    How about developing in J2ME? Pros and cons?
    Can I just download J2ME from Sun, develop and run as I'm used to with J2SE? If we are running the JRE on Windows. Do we have to implement or port J2ME ourselfs.
    I have developed in J2SE (Swing, Java 2D) and a little in J2EE (JDBC, EJB, Applets).

    The original question is very interesting: should a mobile app move from J2SE to J2ME?
    The answer is not simple at this time because the specs are evolving fast.
    GUI features and h/w and OS portability is definitively a current factor but may not be important for many applications. A corporate application can usually select a set of hardware, OS and Java runtimes to support so all you have to do is make sure that your platform satisfies your business requirements and not the business requirements of the rest of the world.
    Mobile GUI in J2ME is being improved by some new specs in progress and to be implemented probably in runtimes shipped in 2005.
    TCP/IP features are now fully supported by MIDP2 (the socket and server socket are optional in the spec bu the all MIDP2 runtimes being shipped today support them).
    Floating-point arithmetic is now supported by the underlying spec., CLDC 1.1; it was not supported by CLDC 1.0.
    New specs have been proposed recently and are being supported by new J2ME runtimes: for example Wireless Messaging API (JSR-120, WMA) and Mobile Media API (JSR-135, MMA).
    The set of mobile Java specs including MIDP are being regrouped by the JTWI spec: Java Technology for Wireless Industry (JSR-185).
    The way to go in today's fast changing mobile technologies is CLDC and the specs supported by it:
    -      Connected Limited Device Configuration (CLDC)
    -      Mobile Information Device Profile (MIDP)
    -      Java Device Test Suite
    -      Information Module Profile (JSR-195)
    -      Java Technology for Wireless Industry (JSR-185) <<<<<<<<<<<<<<<<<<<<<<<<
    -      Wireless Messaging API (JSR-120)
    -      Mobile Media API (JSR-135)
    -      Location API for J2ME (JSR-179)
    -      SIP API for J2ME (JSR-180)
    -      Security and Trust Services API for J2ME (JSR-177)
    -      Mobile 3D Graphics (JSR-184)
    -      J2ME Web Services (JSR-172)
    -      Bluetooth API (JSR-82, Motorola, Java Partner Site)
    It looks like very soon if not already now, J2ME will have more features than J2SE for most interconnected mobile applications. For example, today, a MIDP2 device can install a new J2ME application over-the-air (OTA), something that cannot be done easily by J2SE, I believe. All the user has to do to install OTA is to browse to the web page with her mobile device that contains an html anchor () to the jad file referencing the application (a MIDlet) and the rest is automatic and the programmer has nothing to write to get this feature.
    serge

  • How to convert from Ant project to maven project?

    Hi, all:
    Sorry for my entry-level question. Is it possible for me to convert from an Ant project to A Maven project from within NetBeans IDE?
    Or, is there any method to convert from an Ant project to a Maven project using some command line method? Or, any standard method to do so?
    Best Regards
    Pei

    jiapei100 wrote:
    any standard method to do so?Yes, use your brain. Learn ANT, learn Maven, write the new poms yourself so that you get the same results as your ANT script will provide. You cannot convert because ANT is a build tool and Maven is not; they have different purposes in life with only a small area of overlap. Asking for a converter is futile at best.
    Note that Maven does have an antrunner task; anything special you do in ANT that is not available in Maven you can still facilitate by invoking ANT using Maven.

  • Invoking J2SE library in J2ME environment.

    Hello, everyone:
    (This question has been asked at "Java Programming" sub-forum before but I have not got enough help and ideas from there. Some buddies introduced me here and I think this forum is a better place to ask J2ME related questions. Please help me if you have idea and time. Thanks a lot.)
    I have tried to invoke some J2SE libraries in J2ME environment which are not parts of J2ME library in Java specification. For example, I add some GUI related libraries (for example, AWT), some math related libraries and some cipher related libraries to CLASSPATH of my J2ME environment, which are said for J2SE only in Java specification. To my surprise, most of them can work.
    Before this experiment, I believe J2ME environment can only use J2ME libraries. But now I wonder whether J2SE libraries can be used in J2ME environment. Since I really need some functions of J2SE which J2ME does not supply. It will take me much of time to implement them by myself on J2ME environment if they can not be borrowed from J2SE.
    - Are the binary codes of "class" file the same in J2SE and J2ME environment?
    - Are there any potencial problems when using J2SE libraries in J2ME environment?
    Thanks in advance,
    George

    Thanks for reply, ken_walker,
    Hmm, safe perhaps, legally legitimate is another problem. You're mixing libraries potentially from >different vendors. I am using the J2SE and J2ME libraries from the same vendor which is free, like sun's. I wonder whether this approach still has legally legitimate problem. Can you help?
    If it's a J2SE library you're running on Foundation, there's the possibility one of the libraries call a >deprecated method that's been removed.Yes, you are correct. But not all of the dependencies are on deprecated method, for example, some cool GUI functions which is lack in standard J2ME platform.
    I have another question, whether the binary code of "class" on J2ME platform is the same as that of J2SE, if I compare to the binary "class" code of the same function. Because I invoke the class files of J2SE on J2ME platform, which makes me think the binary class files are the same on two platforms. Can you help?
    Best regards,
    George

  • Mp3 to wav converter

    i am looking for mp3 to wav converter Api (in j2me) how it can be done help needed plz it 's urgent !
    hoping for an early reply

    no way!
    you've got a java api for j2se: the javasound api but it can't be available in j2me. best thing to do is to use a soft (like cdex,...) to convert mp3 to wav or, if you have an available server (like tomcat), create a app that uses javasound api to convert your songs when you put them on the server (via an admin console)
    peace

  • Music composer in j2me

    Hi!, I am Alok Ranjan Singh from India.
    i am new to the J2ME(one month exp) but i have done some project on J2EE and J2SE(2+ years exp).Please provide me some guidence and documentation links so i will use them to update my self.Here I have a problem , I a hve to make a music composer , I build a small composer in j2se it run , now i have to convert it in J2ME but here some API like "swing" are not supported.Please gave some advice to complete this project
    I said Thanks in advance.

    Not really. Advertising is generally frowned upon in these forums.
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • 12c SOA composite deployment issue using maven

    I am facing issue with 12c SOA composite deployment using maven. I execute the below command for deploying any composite. (Note: Update and run init.cmd file before running the below maven command)
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj –Dcomposite.version=1.1
    Issues:
    As seen above, I specified composite version to be deployed as 1.1 in pom.xml file, but maven deploys the composite with version that is present in composite.xml. It does build the jar file with the version specified in the pom i.e. TestSOAProj_rev1.1.jar, but when it deploys I see the composite with version as 1.0 (this version is in composite.xml). The out of the box maven script is not overwriting the revision in the composite.xml with the value specified in the pom file.
    Also, is there a way to pass the partition name as an user input parameter in the pom file. I tried this with the out of the box pom file by giving the partition name as something other than ‘default’, but the maven script ignores this and always deploys to ‘default’.
    I am not sure if I am missing anything here. Please suggest.
    inti.cmd:
    SET JAVA_HOME=D:\12c-Installation-Path\Java\jdk1.7.0_60
    SET ANT_HOME=D:\12c-Installation-Path\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.ant_1.9.2
    SET M2_HOME=D:\12c-Installation-Path\Oracle\Middleware\Oracle_Home\oracle_common\modules\org.apache.maven_3.0.5
    SET PATH=%PATH%;%JAVA_HOME%\bin;%M2_HOME%\bin;%ANT_HOME%\bin
    soa-pom.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
             <!--
               This POM was automatically generated during SOA project creation.          
               This POM relates to this SOA Composite, i.e. the one in this same directory.
               There is another POM in the SOA Application directory which handles
               the whole SOA Application, which may contain additional projects.
            -->
        <modelVersion>4.0.0</modelVersion>
        <groupId>TestSOAApp</groupId>
        <artifactId>${composite.name}</artifactId>   
      <version>${composite.version}</version>
        <packaging>sar</packaging>
        <!--
               The parent points to the common SOA parent POM.  That is a special POM that is
               shipped by Oracle as a point of customization (only). You can add default values
               for properties like serverUrl, etc. to the SOA common parent POM, so that you
               do not have to specify them over and over in every project POM.
        -->
        <!--<parent>
            <groupId>com.oracle.soa</groupId>
            <artifactId>sar-common</artifactId>
            <version>12.1.3-0-0</version>
        </parent>-->
        <properties>
      <!-- These parameters are used by the compile goal -->
      <code.basedir>${soa.app.source}/${project.artifactId}</code.basedir>
            <scac.input.dir>${code.basedir}/SOA</scac.input.dir>
            <scac.output.dir>${project.basedir}/target</scac.output.dir>
            <scac.input>${scac.input.dir}/composite.xml</scac.input>
            <scac.output>${scac.output.dir}/out.xml</scac.output>
            <scac.error>${scac.output.dir}/error.txt</scac.error>
            <scac.displayLevel>1</scac.displayLevel>
      <!-- if you are using a config plan, uncomment the following line and update to point
                 to your config plan -->
            <configplan>${code.basedir}/${project.artifactId}_cfgplan.xml</configplan>
      <!-- These parameters are used by the deploy and undeploy goals -->
      <composite.name>${project.artifactId}</composite.name>
      <composite.revision>${project.version}</composite.revision>       
      <composite.partition>default</composite.partition>
            <serverUrl>http://${target.hostname}:${target.port}</serverUrl>       
            <!--user>weblogic</user>
            <password>${pwd}</password-->       
      <overwrite>true</overwrite>
            <forceDefault>true</forceDefault>
            <regenerateRulebase>false</regenerateRulebase>
            <keepInstancesOnRedeploy>false</keepInstancesOnRedeploy>
            <!--<jndi.properties.input>UNDEFINED</jndi.properties.input>-->
            <scatest.result>${scac.output.dir}/testResult</scatest.result>
            <!--  input is the name of the composite to run test suties against -->
            <input>${project.artifactId}</input>       
            <!--<scac.ant.buildfile>${env.MW_HOME}/soa/bin/ant-sca-compile.xml</scac.ant.buildfile>
            <sca.ant.testfile>${env.MW_HOME}/soa/bin/ant-sca-test.xml</sca.ant.testfile>
            -->
        </properties>
      <build>
           <plugins>
       <plugin>
      <groupId>org.codehaus.mojo</groupId>
      <artifactId>properties-maven-plugin</artifactId>
      <version>1.0-alpha-2</version>
      <executions>
       <execution>
      <phase>initialize</phase>
      <goals>
       <goal>read-project-properties</goal>
      </goals>
      <configuration>
       <files>
      <file>build-${env}.properties</file>
       </files>
      </configuration>
       </execution>
      </executions>
       </plugin>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-antrun-plugin</artifactId>
      <version>1.6</version>
      <executions>
      <execution>
      <id>read-input</id>
      <phase>prepare-package</phase>
      <inherited>false</inherited>
      <goals>
      <goal>run</goal>
      </goals>
      <configuration>
      <target>
      <property name="fmw.app.basedir" value="${soa.app.source}" />
      <property name="fmw.composite.name" value="${project.artifactId}" />
      <property name="configplan.target.path" value="${scac.output.dir}" />
      <ant antfile="${project.basedir}/replace-tokens.xml" target="replaceConfig" />
      </target>
      </configuration>
      </execution>
      </executions>
      </plugin>
                <plugin>
                    <groupId>com.oracle.soa.plugin</groupId>
                    <artifactId>oracle-soa-plugin</artifactId>
                    <version>12.1.3-0-0</version>
                    <configuration>
                        <compositeName>${project.artifactId}</compositeName>
                        <composite>${scac.input}</composite>
                        <sarLocation>${scac.output.dir}/sca_${project.artifactId}_rev${composite.revision}.jar</sarLocation>
                        <serverUrl>${serverUrl}</serverUrl>
      <user>{}</user>            
      <password>{}</password>
                        <!-- Note: compositeRevision is needed to package, revision is needed to undeploy -->
                        <compositeRevision>${composite.revision}</compositeRevision>
                        <revision>${composite.revision}</revision>
                        <scacInputDir>${scac.input.dir}</scacInputDir>                   
      <input>${input}</input>
      <!--<appHome>${soa.app.source}</appHome>
      <oracleHome>${oracle.home}/soa</oracleHome>                   
      <configplan>${scac.output.dir}/${project.artifactId}_cfgplan_generated.xml</configplan>-->
                    </configuration>
                     <!-- extensions=true is needed to use the custom sar packaging type -->
                    <extensions>true</extensions>
                </plugin>
            </plugins>
        </build>
    </project>
    replace-tokens.xml:
    <?xml version="1.0" encoding="UTF-8" ?>
    <project name="EA_SOA_Build"  default="replaceConfig">
      <target name="replaceConfig">
      <echo>Replacing tokens in configuration file</echo>
      <!-- Following logic copies the dev deployment plan and generates one to meet the target environment. -->
      <delete failonerror="true" file="${fmw.app.basedir}/${fmw.composite.name}/${fmw.composite.name}_cfgplan_generated.xml"/>
      <copy overwrite="true" failonerror="true"
      file  ="${fmw.app.basedir}/${fmw.composite.name}/${fmw.composite.name}_cfgplan.xml"
      tofile="${configplan.target.path}/${fmw.composite.name}_cfgplan_generated.xml"/>
      <replace file="${configplan.target.path}/${fmw.composite.name}_cfgplan_generated.xml">   
       <!-- replace filter for soa source and target endpoints. -->
       <replacefilter token="dmnh1i.manheim.com" value="dmnh2i.manheim.com" />  
      </replace>
      </target>
    </project>
    build-local.properties:
    soa.app.source=D:/Oracle_SOA12c13/Jdev_mywork/OVCApp
    mds.outer.dir=D:/Oracle_SOA12c13/Jdev_mywork/OVCApp/MDS
    target.hostname=localhost
    target.port=7001
    oracle.home=D:/Oracle_SOA12c13/Middleware/Oracle_Home

    hi,
    Can i pass multiple composite name like
    mvn pre-integration-test –f soa-pom.xml –Dcomposite.name=TestSOAProj –Dcomposite.name2="xxx"
    can you please suggest me for same.
    Hint- passing project1,project2.....

Maybe you are looking for

  • Compatibility EPMA 11.1.2 with IIS 6

    Hi Gurus, Today I'm working on a VM demo machine and trying to upgrade from Existing Classic Planning to EPMA, but still failed to open dimension library. Some FAILED Test Status on Oracle EPM System Diagnostic Reports are 1. HTTP: Http Availability

  • How can I print emails without losing the right side of message Windows Vista 6.0 Photosmart C6830

    When I print email messages, right side of message lines do not print (run out of space) on a Photosmart C6830 using Windows Vista Home Version 6.0.  Have tried highlighting message to print & choosing (selection) in print window - does not solve pro

  • Set until time clause to restore controlfile

    Hello How can I use "set until" clause to restore the controlfile ? The database is already in archivelog mode. RMAN> run { set until time "TO_DATE('2011-02-24 09:30:00','yyyy-mm-dd hh24:mi:ss')"; restore controlfile from autobackup; RMAN> RMAN> 2> 3

  • Create business activity with products

    Hi, I am Trying to create a business activity with products. Adding  Activity Journals TAB in the activity u201CBus Act.:With Prodsu201D. The issue is that when I am trying to make a Journal template type in (CRMM_JOURNAL : Define Activity Journals)

  • Looking to collaborate with game developers ($500)

    Hey everyone - my name is Ayo. My company, Flypad turns your iPhone into a game controller. 30 Second demo here: https://vimeo.com/35823386 We're launching a freemium app for iPhone and Android, that will be a dedicated gamepad for 6 flash games. The