[jbosstools-issues] [JBoss JIRA] (JBIDE-10444) add "openshift" profile to project when pushing an existing maven project to OpenShift

Lucia Jelinkova (JIRA) jira-events at lists.jboss.org
Wed Mar 14 10:04:48 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-10444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lucia Jelinkova closed JBIDE-10444.
-----------------------------------



Verified Beta1e
                
> add "openshift" profile to project when pushing an existing maven project to OpenShift
> --------------------------------------------------------------------------------------
>
>                 Key: JBIDE-10444
>                 URL: https://issues.jboss.org/browse/JBIDE-10444
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: openshift
>    Affects Versions: 3.3.0.M5
>            Reporter: Andre Dietisheim
>            Assignee: Lucia Jelinkova
>              Labels: new_and_noteworthy
>             Fix For: 3.3.0.Beta1
>
>
> A maven project, that shall be built on OpenShift needs the following profile in its pom.xml:
> {code}
>   <profiles>
>     <profile>
>      <!-- When built in OpenShift the 'openshift' profile will be used when invoking mvn. -->
>      <!-- Use this profile for any OpenShift specific customization your app will need. -->
>      <!-- By default that is to put the resulting archive into the 'deployments' folder. -->
>      <!-- http://maven.apache.org/guides/mini/guide-building-for-different-environments.html -->
>      <id>openshift</id>
>      <build>
>         <finalName>as</finalName>
>         <plugins>
>           <plugin>
>             <artifactId>maven-war-plugin</artifactId>
>             <version>2.1.1</version>
>             <configuration>
>               <outputDirectory>deployments</outputDirectory>
>               <warName>ROOT</warName>
>             </configuration>
>           </plugin>
>         </plugins>
>       </build>
>     </profile>
>   </profiles>
> {code}
> The current OpenShift tooling does not add this profile if it's not present yet. We should help the user to have that profile added by merging it into the pom.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list