We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to use maven repo for Aspose.Cells with Netbeans?

Maven dependencies for Aspose.Cells Java are for eclipse. I use Netbeans IDE. Do we have maven dependency for the same? Also I would like to know, how can we have dependencies in pom.xml as per the IDE used for development. Because project can be developed in any IDE and later to build can be deployed on server. How is it related to which IDE has been used for the project development. How Aspose.Cells java maven dependency is linked with IDE.

Please provide a sample Netbeans project to work with examples.

@RobertVille

Thanks for using Aspose APIs.

Please check the given project on GitHub. It is already in NetBeans, so you will be able to use it without any issue.

Please also see this Blog Post for more help.

Hi Shakeel,

I don’t get it. I am talking about Aspose.Cells examples and not about Cloud repos. Please share about Aspose.Cells for Java only. I expect a simple Netbeans project that works with maven for Aspose.Cells for Java.

@RobertVille,

Thanks for considering Aspose APIs.

Maven has nothing to do with Aspose.Cells. Maven is just a repository from where many Jar files including Aspose.Cells Jar file is downloaded. So, you should try the given project and just change the pom.xml as per the Blog Post. Once, you configure it properly, it will automatically download Aspose.Cells Jar files from Maven repository hosted by Aspose.

@RobertVille,

Here is a pom.xml that downloads Aspose.Cells 17.7 as well as Aspose.Words 17.7 from Aspose Maven Repository to your Local Repository for your reference.

pom.xml

<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>
	<groupId>OPX</groupId>
	<artifactId>OPX</artifactId>
	<version>1.1</version>
	<build>
		<sourceDirectory>src</sourceDirectory>
		<plugins>
			<plugin>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>3.5.1</version>
				<configuration>
					<source>1.8</source>
					<target>1.8</target>
				</configuration>
			</plugin>
		</plugins>
	</build>
	<repositories>
		<repository>
			<id>AsposeJavaAPI</id>
			<name>Aspose Java API</name>
			<url>http://maven.aspose.com/repository/simple/ext-release-local/</url>
		</repository>
	</repositories>
	<dependencies>
		<dependency>
			<groupId>com.aspose</groupId>
			<artifactId>aspose-cells</artifactId>
			<version>17.7</version>
		</dependency>
		<dependency>
			<groupId>com.aspose</groupId>
			<artifactId>aspose-words</artifactId>
			<version>17.7</version>
			<classifier>jdk16</classifier>
		</dependency>
	</dependencies>
</project>

Here Cloud does not means Aspose.Cells for Cloud or Aspose.Words for Cloud or any Aspose API for Cloud.

Here Cloud means Aspose Maven Repository that is present on Internet or that is Online.