scalar
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.scalar.maven</groupId> <artifactId>scalar</artifactId> <version>0.1.0</version> </dependency>
<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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <!-- Don't touch this, this is our verified namespace in the Maven Central Repository. --> <groupId>com.scalar.maven</groupId> <artifactId>scalar</artifactId> <!-- This will replaced with the version from the package.json right before release. --> <!-- Just keep it 0.0.0, don't touch it. --> <version>0.1.0</version> <packaging>jar</packaging> <name>Scalar API Reference</name> <description>WebJar for the Scalar API Reference</description> <url>https://github.com/scalar/scalar</url> <licenses> <license> <name>MIT License</name> <url>https://opensource.org/licenses/MIT</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>scalar</id> <!-- Don't touch this, it needs to match the GPG Key (Scalar <support@scalar.com>) --> <name>Scalar</name> <!-- Don't touch this, it needs to match the GPG Key (Scalar <support@scalar.com>) --> <email>support@scalar.com</email> </developer> </developers> <scm> <url>https://github.com/scalar/scalar</url> <connection>scm:git:https://github.com/scalar/scalar.git</connection> <developerConnection>scm:git:git@github.com/scalar/scalar.git</developerConnection> </scm> <distributionManagement> <repository> <id>central</id> <name>Maven Central Release Repository</name> <url>https://central.sonatype.com/api/v1/publish</url> </repository> </distributionManagement> <properties> <java.version>17</java.version> <spring-boot.version>3.3.0</spring-boot.version> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> </properties> <dependencies> <!-- Spring Boot Starter Web - for web annotations and classes --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <version>${spring-boot.version}</version> <scope>provided</scope> </dependency> <!-- Spring Boot Auto-Configuration --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-autoconfigure</artifactId> <version>${spring-boot.version}</version> <scope>provided</scope> </dependency> <!-- Spring Boot Configuration Processor --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <version>${spring-boot.version}</version> <scope>provided</scope> </dependency> <!-- Test Dependencies --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <version>${spring-boot.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter</artifactId> <version>5.10.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>5.8.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-junit-jupiter</artifactId> <version>5.8.0</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <!-- Maven Compiler Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> <configuration> <source>17</source> <target>17</target> <encoding>UTF-8</encoding> </configuration> </plugin> <!-- Surefire plugin for running tests --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.2.5</version> <configuration> <argLine>-Dnet.bytebuddy.experimental=true</argLine> </configuration> </plugin> <!-- Source JAR --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <phase>verify</phase> <goals><goal>jar</goal></goals> </execution> </executions> </plugin> <!-- Javadoc JAR --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>3.6.3</version> <executions> <execution> <id>generate-javadoc</id> <phase>compile</phase> <goals><goal>javadoc</goal></goals> </execution> <execution> <id>attach-javadocs</id> <phase>verify</phase> <goals><goal>jar</goal></goals> </execution> </executions> <configuration> <source>17</source> <encoding>UTF-8</encoding> <doclint>none</doclint> <failOnError>true</failOnError> <reportOutputDirectory>${project.build.directory}/apidocs</reportOutputDirectory> </configuration> </plugin> <!-- GPG Signing --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals><goal>sign</goal></goals> </execution> </executions> <configuration> <signAllArtifacts>true</signAllArtifacts> </configuration> </plugin> <!-- Required for Maven Central publishing --> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.8.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <autoPublish>true</autoPublish> <waitUntil>published</waitUntil> </configuration> </plugin> <!-- Maven Clean Plugin --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-clean-plugin</artifactId> <version>3.3.2</version> <configuration> <filesets> <fileset> <directory>${project.build.directory}</directory> <includes> <include>**/*</include> </includes> <followSymlinks>false</followSymlinks> </fileset> </filesets> </configuration> </plugin> </plugins> </build> </project>