Skip to content

Commit

Permalink
Enable jboss-as:deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
bosschaert authored and pmuir committed Jun 27, 2011
1 parent 60988e3 commit 5c0bb0f
Showing 1 changed file with 57 additions and 4 deletions.
61 changes: 57 additions & 4 deletions quickstarts/helloworld-osgi/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>org.jboss.as.quickstarts</groupId>
Expand All @@ -18,6 +19,45 @@
</license>
</licenses>

<properties>
<!-- Explicitly declaring the source encoding eliminates the following
message: -->
<!-- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent! -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<!-- Include the JBoss Maven repository so we can access JBoss artifacts -->
<repositories>
<repository>
<id>jboss-public-repository</id>
<name>JBoss Repository</name>
<url>https://repository.jboss.org/nexus/content/groups/public
</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>jboss-public-repository</id>
<name>JBoss Repository</name>
<url>https://repository.jboss.org/nexus/content/groups/public
</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>

<dependencies>
<dependency>
<groupId>org.osgi</groupId>
Expand All @@ -41,11 +81,13 @@
<!-- OSGi Manifest Metadata is specified here -->
<!-- The Bundle SymbolicName is the same as the artifact
ID -->
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-SymbolicName>${project.artifactId}
</Bundle-SymbolicName>

<!-- Specify the Bundle activator, which is invoked when
the Bundle is started -->
<Bundle-Activator>org.jboss.as.quickstarts.helloworld.osgi.Activator</Bundle-Activator>
<Bundle-Activator>org.jboss.as.quickstarts.helloworld.osgi.Activator
</Bundle-Activator>

<!-- Automatically compute all the necessary Import-Package
statements -->
Expand All @@ -56,10 +98,21 @@

<!-- Packages that are not exported but need to be included
need to be listed as Private-Package -->
<Private-Package>org.jboss.as.quickstarts.helloworld.osgi</Private-Package>
<Private-Package>org.jboss.as.quickstarts.helloworld.osgi
</Private-Package>
</instructions>
</configuration>
</plugin>
<!-- JBoss AS plugin to deploy war -->
<plugin>
<groupId>org.jboss.as.plugins</groupId>
<artifactId>jboss-as-maven-plugin</artifactId>
<version>7.0.0.Beta5-SNAPSHOT</version>
<configuration>
<filename>${project.build.finalName}.jar</filename>
</configuration>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 5c0bb0f

Please sign in to comment.