Browse Source

Merge pull request #476 from oldratlee/dev/polish-pom

polish pom format
tags/rel_3_30_2_ga
Shigeru Chiba 4 months ago
parent
commit
db9b8afcc9
No account linked to committer's email address
1 changed files with 58 additions and 57 deletions
  1. 58
    57
      pom.xml

+ 58
- 57
pom.xml View File

<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">
<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">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

<groupId>org.javassist</groupId> <groupId>org.javassist</groupId>
<artifactId>javassist</artifactId> <artifactId>javassist</artifactId>
<version>3.30.1-GA</version>
<packaging>bundle</packaging> <packaging>bundle</packaging>
<name>Javassist</name>
<description> <description>
Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation
simple. It is a class library for editing bytecodes in Java.
Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation
simple. It is a class library for editing bytecodes in Java.
</description> </description>
<version>3.30.1-GA</version>
<name>Javassist</name>
<url>http://www.javassist.org/</url>
<url>https://www.javassist.org/</url>


<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<organization>
<name>Shigeru Chiba, www.javassist.org</name>
</organization>

<issueManagement>
<system>JIRA</system>
<url>https://jira.jboss.org/jira/browse/JASSIST/</url>
</issueManagement>
<licenses> <licenses>
<!-- this is the license under which javassist is usually distributed <!-- this is the license under which javassist is usually distributed
--> -->
<license> <license>
<name>MPL 1.1</name> <name>MPL 1.1</name>
<url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
<url>https://www.mozilla.org/en-US/MPL/1.1/</url>
</license> </license>
<!-- this is the license under which javassist is distributed when <!-- this is the license under which javassist is distributed when
it is bundled with JBoss
it is bundled with JBoss
--> -->
<license> <license>
<name>LGPL 2.1</name> <name>LGPL 2.1</name>
<url>http://www.gnu.org/licenses/lgpl-2.1.html</url>
<url>https://www.gnu.org/licenses/lgpl-2.1.html</url>
</license> </license>
<!-- this is the license under which javassist can be distributed. <!-- this is the license under which javassist can be distributed.
--> -->
</license> </license>
</licenses> </licenses>


<organization>
<name>Shigeru Chiba, www.javassist.org</name>
</organization>
<issueManagement>
<system>JIRA</system>
<url>https://jira.jboss.org/jira/browse/JASSIST/</url>
</issueManagement>
<scm> <scm>
<connection>scm:git:git@github.com:jboss-javassist/javassist.git</connection> <connection>scm:git:git@github.com:jboss-javassist/javassist.git</connection>
<developerConnection>scm:git:git@github.com:jboss-javassist/javassist.git</developerConnection> <developerConnection>scm:git:git@github.com:jboss-javassist/javassist.git</developerConnection>
<name>Shigeru Chiba</name> <name>Shigeru Chiba</name>
<email>chiba@javassist.org</email> <email>chiba@javassist.org</email>
<organization>The Javassist Project</organization> <organization>The Javassist Project</organization>
<organizationUrl>http://www.javassist.org/</organizationUrl>
<organizationUrl>https://www.javassist.org/</organizationUrl>
<roles> <roles>
<role>project lead</role> <role>project lead</role>
</roles> </roles>
<name>Andrew Dinn</name> <name>Andrew Dinn</name>
<email>adinn@redhat.com</email> <email>adinn@redhat.com</email>
<organization>JBoss</organization> <organization>JBoss</organization>
<organizationUrl>http://www.jboss.org/</organizationUrl>
<organizationUrl>https://www.jboss.org/</organizationUrl>
<roles> <roles>
<role>contributing developer</role> <role>contributing developer</role>
</roles> </roles>
<name>Kabir Khan</name> <name>Kabir Khan</name>
<email>kabir.khan@jboss.com</email> <email>kabir.khan@jboss.com</email>
<organization>JBoss</organization> <organization>JBoss</organization>
<organizationUrl>http://www.jboss.org/</organizationUrl>
<organizationUrl>https://www.jboss.org/</organizationUrl>
<roles> <roles>
<role>contributing developer</role> <role>contributing developer</role>
</roles> </roles>
<timezone>0</timezone> <timezone>0</timezone>
</developer> </developer>
<developer> <developer>
<id>scottmarlow</id> <id>scottmarlow</id>
<name>Scott Marlow</name> <name>Scott Marlow</name>
<email>smarlow@redhat.com</email> <email>smarlow@redhat.com</email>
<organization>JBoss</organization> <organization>JBoss</organization>
<organizationUrl>http://www.jboss.org/</organizationUrl>
<organizationUrl>https://www.jboss.org/</organizationUrl>
<roles> <roles>
<role>contributing developer</role> <role>contributing developer</role>
</roles> </roles>
<timezone>-5</timezone> <timezone>-5</timezone>
</developer> </developer>


</developers> </developers>


<distributionManagement> <distributionManagement>
<!--
<!--
You need entries in your .m2/settings.xml like this: You need entries in your .m2/settings.xml like this:
<servers> <servers>
<server> <server>
<password>password</password> <password>password</password>
</server> </server>
</servers> </servers>
To deploy a snapshot, you need to run To deploy a snapshot, you need to run
mvn deploy -Dversion=3.x.y-SNAPSHOT mvn deploy -Dversion=3.x.y-SNAPSHOT


To deploy a release you need to change the version to 3.x.y-GA and run To deploy a release you need to change the version to 3.x.y-GA and run
<url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url> <url>https://repository.jboss.org/nexus/content/repositories/snapshots/</url>
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>[4.13.1,)</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
</dependencies>

<build> <build>
<sourceDirectory>src/main/</sourceDirectory> <sourceDirectory>src/main/</sourceDirectory>
<testSourceDirectory>src/test/</testSourceDirectory> <testSourceDirectory>src/test/</testSourceDirectory>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>
<version>3.2.0</version> <version>3.2.0</version>
<configuration>
<attach>true</attach>
<configuration>
<attach>true</attach>
<excludePackageNames>javassist.compiler:javassist.convert:javassist.scopedpool:javassist.bytecode.stackmap</excludePackageNames> <excludePackageNames>javassist.compiler:javassist.convert:javassist.scopedpool:javassist.bytecode.stackmap</excludePackageNames>
<bottom><![CDATA[<i>Javassist, a Java-bytecode translator toolkit.<br> <bottom><![CDATA[<i>Javassist, a Java-bytecode translator toolkit.<br>
Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.</i>]]></bottom> Copyright (C) 1999- Shigeru Chiba. All Rights Reserved.</i>]]></bottom>
<nohelp>true</nohelp> <nohelp>true</nohelp>
<doclint>none</doclint> <doclint>none</doclint>
<source>8</source> <source>8</source>
</configuration>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.felix</groupId> <groupId>org.apache.felix</groupId>
<instructions> <instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Bundle-Version>${project.version}</Bundle-Version> <Bundle-Version>${project.version}</Bundle-Version>
<Import-Package>!com.sun.jdi.*</Import-Package>
<Import-Package>!com.sun.jdi.*</Import-Package>
<Export-Package>!com.sun.jdi.*,javassist.*;version="${project.version}"</Export-Package> <Export-Package>!com.sun.jdi.*,javassist.*;version="${project.version}"</Export-Package>
</instructions> </instructions>
</configuration> </configuration>
</build> </build>
<profiles> <profiles>
<!-- profile for releasing to sonatype repo <!-- profile for releasing to sonatype repo
exercise with mvn -PcentralRelease
exercise with mvn -PcentralRelease
--> -->
<profile> <profile>
<id>centralRelease</id> <id>centralRelease</id>
<!-- obviously we need to use the Sonatype staging repo for upload --> <!-- obviously we need to use the Sonatype staging repo for upload -->
<distributionManagement> <distributionManagement>
<repository>
<id>sonatype-releases-repository</id>
<name>Sonatype Releases Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<repository>
<id>sonatype-releases-repository</id>
<name>Sonatype Releases Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
</distributionManagement> </distributionManagement>
<!-- we need to be able to sign the jars we install --> <!-- we need to be able to sign the jars we install -->
<build> <build>
</build> </build>
</profile> </profile>
<!-- profiles to add tools jar containing com.sun.jdi code <!-- profiles to add tools jar containing com.sun.jdi code
needed by sample code
-->
needed by sample code
-->
<profile> <profile>
<id>default-tools</id> <id>default-tools</id>
<activation> <activation>
</dependencies> </dependencies>
</profile> </profile>
</profiles> </profiles>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>[4.13.1,)</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-all</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
</dependencies>
</project> </project>


Loading…
Cancel
Save