Install an artifact with a custom POM
The install plugin can include a pre-built custom POM with the artifact in the local repository. Just set the value of the pomFile parameter to the path of the custom POM.
mvn install:install-file -Dfile=path-to-your-artifact-jar "
-DgroupId=your.groupId "
-DartifactId=your-artifactId "
-Dversion=version "
-Dpackaging=jar "
-DpomFile=path-to-pom
----------------------------------------------------------------------------------------------------------------------------------
Generate a generic POM
There are times when you do not have a POM for a 3rd party artifact. For instance, when installing a proprietary or commercial JAR into a repository. The install plugin can create a generic POM in this case which contains the minimal set of POM elements required by Maven, such as groupId, artifactId, version, packaging. You tell Maven to generate a POM by setting the generatePom parameter to true.
mvn install:install-file -Dfile=path-to-your-artifact-jar "
-DgroupId=your.groupId "
-DartifactId=your-artifactId "
-Dversion=version "
-Dpackaging=jar "
-DgeneratePom=true
----------------------------------------------------------------------------------------------------------------------------------
Creating artifact checksums
The install plugin can create integrity checksums (MD5, SHA-1) for the artifacts during installation. Checksums are cryptographic hash functions and are used to check the integrity of the associated file. This can be activated by setting the createChecksum parameter to true.
In the install:install mojo.
mvn install -DcreateChecksum=true
In the install:install-file goal.
mvn install:install-file -Dfile=path-to-your-artifact-jar "
-DgroupId=your.groupId "
-DartifactId=your-artifactId "
-Dversion=version "
-Dpackaging=jar "
-DcreateChecksum=true
----------------------------------------------------------------------------------------------------------------------------------
Update the release information of a project
Updating the release information means that a forced update of the project's metadata took place which sets the artifact as the release version. It is most useful when installing a plugin built from source so it can be used by other projects without explicitly asking for the latest SNAPSHOT version.
This can be activated by setting the updateReleaseInfo parameter to true when installing.
mvn install -DupdateReleaseInfo=true
----------------------------------------------------------------------------------------------------------------------------------
Install on a specific local repository path
By default, Maven Install Plugin uses the local repository defined in the settings.xml to install an artifact.
You could install an artifact on a specific local repository by setting the localRepositoryPath and localRepositoryId parameters when installing.
mvn install:install-file -Dfile=path-to-your-artifact-jar "
-DgroupId=your.groupId "
-DartifactId=your-artifactId "
-Dversion=version "
-Dpackaging=jar "
-DpomFile=path-to-pom "
-DlocalRepositoryPath=path-to-specific-local-repo "
-DlocalRepositoryId=id-for-specific-local-repo
----------------------------------------------------------------------------------------------------------------------------------
Delete Additional Files Not Exposed to Maven
The maven-clean-plugin will delete the target directory by default. You may configure it to delete additional directories and files. The following example shows how:
<build>
[...]
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
<fileset>
<directory>some/relative/path</directory>
<includes>
<include>**/*.tmp</include>
<include>**/*.log</include>
</includes>
<excludes>
<exclude>**/important.log</exclude>
<exclude>**/another-important.log</exclude>
</excludes>
<followSymlinks>false</followSymlinks>
</fileset>
</filesets>
</configuration>
</plugin>
[...]
</build>
Note: The directory in the fileset is a relative path inside a project, in other words,
<directory>some/relative/path</directory>
is equivalent to:
<directory>${basedir}/some/relative/path</directory>
You could also define file set rules in a parent POM. In this case, the clean plugin adds the subproject basedir to the defined relative path.
----------------------------------------------------------------------------------------------------------------------------------
Ignoring Clean Errors
To ignore errors when running the cleanup for a particular project, set the failOnError property to false.
<build>
[...]
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<failOnError>false</failOnError>
</configuration>
</plugin>
[...]
</build>
You can also ignore them via command line by executing the following command:
mvn clean -Dmaven.clean.failOnError=false
----------------------------------------------------------------------------------------------------------------------------------
Skipping Clean
To skip running the cleanup for a particular project, set the skip property to true.
<build>
[...]
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
[...]
</build>
You can also skip the cleaning via command line by executing the following command:
mvn clean -Dclean.skip=true
----------------------------------------------------------------------------------------------------------------------------------
Compiling Sources Using A Different JDK
The compilerVersion parameter can be used to specify the version of the compiler that the plugin will use. However, you also need to set fork to true for this to work. For example:
<project>
[...]
<build>
[...]
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<verbose>true</verbose>
<fork>true</fork>
<executable><!-- path-to-javac --></executable>
<compilerVersion>1.3</compilerVersion>
</configuration>
</plugin>
</plugins>
[...]
</build>
[...]
</project>
To avoid hard-coding a filesystem path for the executable, you can use a property. For example:
<executable>${JAVA_1_4_HOME}/bin/javac</executable>
Each developer then defines this property in settings.xml, or sets an environment variable, so that the build remains portable.
<settings>
[...]
<profiles>
[...]
<profile>
<id>compiler</id>
<properties>
<JAVA_1_4_HOME>C:"Program Files"Java"j2sdk1.4.2_09</JAVA_1_4_HOME>
</properties>
</profile>
</profiles>
[...]
<activeProfiles>
<activeProfile>compiler</activeProfile>
</activeProfiles>
</settings>
----------------------------------------------------------------------------------------------------------------------------------
Setting the -source and -target of the Java Compiler
Sometimes when you may need to compile a certain project to a different version than what you are currently using. The javac can accept such command using -source and -target. The Compiler Plugin can also be configured to provide these options during compilation.
For example, if you want to enable assertions (-source 1.4) and also want the compiled classes to be compatible with JVM 1.4 (-target 1.4), you can then put:
<project>
[...]
<build>
[...]
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.4</source>
<target>1.4</target>
</configuration>
</plugin>
</plugins>
[...]
</build>
[...]
</project>
----------------------------------------------------------------------------------------------------------------------------------
Compile Using Memory Allocation Enhancements
The Compiler Plugin accepts configurations for meminitial and maxmem. You can follow the example below to set the initial memory size to 128MB and the maximum memory usage to 512MB:
<project>
[...]
<build>
[...]
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<fork>true</fork>
<meminitial>128m</meminitial>
<maxmem>512m</maxmem>
</configuration>
</plugin>
</plugins>
[...]
</build>
[...]
</project>
----------------------------------------------------------------------------------------------------------------------------------
Pass Compiler Arguments
Sometimes, you need to pass other compiler arguments that are not handled by the Compiler Plugin itself but is supported by the compilerId selected. For such arguments, the Compiler Plugin's compilerArguments will be used. The following example passes compiler arguments to the javac compiler:
<project>
[...]
<build>
[...]
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgument>-verbose -bootclasspath ${java.home}"lib"rt.jar</compilerArgument>
</configuration>
</plugin>
</plugins>
[...]
</build>
[...]
</project>
Or you can also use the Map version:
<project>
[...]
<build>
[...]
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArguments>
<verbose />
<bootclasspath>${java.home}"lib"rt.jar</bootclasspath>
</compilerArguments>
</configuration>
</plugin>
</plugins>
[...]
</build>
[...]
</project>
----------------------------------------------------------------------------------------------------------------------------------
Deployment of artifacts with FTP
In order to deploy artifacts using FTP you must first specify the use of an FTP server in the distributionManagement element of your POM as well as specifying an extension in your build element which will pull in the FTP artifacts required to deploy with FTP:
<project>
<parent>
<groupId>com.stchome</groupId>
<artifactId>mavenFull</artifactId>
<version>1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany</groupId>
<artifactId>my-app</artifactId>
<packaging>jar</packaging>
<version>1.1-SNAPSHOT</version>
<name>Maven Quick Start Archetype</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- Enabling the use of FTP -->
<distributionManagement>
<repository>
<id>ftp-repository</id>
<url>ftp://repository.mycompany.com/repository</url>
</repository>
</distributionManagement>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ftp</artifactId>
<version>1.0-alpha-6</version>
</extension>
</extensions>
</build>
</project>
Your settings.xml would contain a server element where the id of that element matches id of the FTP repository specified in the POM above:
<settings>
...
<servers>
<server>
<id>ftp-repository</id>
<username>user</username>
<password>pass</password>
</server>
</servers>
...
</settings>
You should, of course, make sure that you can login into the specified FTP server by hand before attempting the deployment with Maven. Once you have verified that everything is setup correctly you can now deploy your artifacts using Maven:
mvn deploy
----------------------------------------------------------------------------------------------------------------------------------
Deployment of artifacts in an external SSH command
In order to deploy artifacts using SSH you must first specify the use of an SSH server in the distributionManagement element of your POM as well as specifying an extension in your build element which will pull in the SSH artifacts required to deploy with SSH:
<project>
<parent>
<groupId>com.stchome</groupId>
<artifactId>mavenFull</artifactId>
<version>1.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>com.mycompany</groupId>
<artifactId>my-app</artifactId>
<packaging>jar</packaging>
<version>1.1-SNAPSHOT</version>
<name>Maven Quick Start Archetype</name>
<url>http://maven.apache.org</url>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
<!-- Enabling the use of FTP -->
<distributionManagement>
<repository>
<id>ssh-repository</id>
<url>scpexe://repository.mycompany.com/repository</url>
</repository>
</distributionManagement>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh-external</artifactId>
<version>1.0-alpha-5</version>
</extension>
</extensions>
</build>
</project>
If you are deploying from Unix or have Cygwin installed you won't need to any additional configuration in your settings.xml file as everything will be taken from the environment. But if you are on Windows and are using something like plink then you will need something like the following:
<settings>
...
<servers>
<server>
<id>ssh-repository</id>
<username>your username in the remote system if different from local</username>
<privateKey>/path/to/your/private/key</privateKey> <!-- not needed if using pageant -->
<configuration>
<sshExecutable>plink</sshExecutable>
<scpExecutable>pscp</scpExecutable>
<sshArgs>other arguments you may need</sshArgs>
</configuration>
</server>
</servers>
...
</settings>
You should, of course, make sure that you can login into the specified SSH server by hand before attempting the deployment with Maven. Once you have verified that everything is setup correctly you can now deploy your artifacts using Maven:
mvn deploy
Sometimes you may have permissions problems deploying and if so you can set the file and directory permissions like so:
<settings>
...
<servers>
<server>
<id>ssh-repository</id>
<!--
|
| Change default file/dir permissions
|
-->
<filePermissions>664</filePermissions>
<directoryPermissions>775</directoryPermissions>
<configuration>
<sshExecutable>plink</sshExecutable>
<scpExecutable>pscp</scpExecutable>
</configuration>
</server>
</servers>
...
</settings>
----------------------------------------------------------------------------------------------------------------------------------
Disable the generation of pom
By default, If no pom is specified during deployment of your 3rd party artifact, a generic pom will be generated which contains the minimum required elements needed for the pom. In order to disable it, set the generatePom parameter to false.
mvn deploy:deploy-file -Durl=file://C:"m2-repo "
-DrepositoryId=some.id "
-Dfile=path-to-your-artifact-jar "
-DgroupId=your.groupId "
-DartifactId=your-artifactId "
-Dversion=version "
-Dpackaging=jar "
-DgeneratePom=false
----------------------------------------------------------------------------------------------------------------------------------
Deploy an artifact with a customed pom
If there is already an existing pom and want it to be deployed together with the 3rd party artifact, set the pomFile parameter to the path of the pom.xml.
mvn deploy:deploy-file -Durl=file://C:"m2-repo "
-DrepositoryId=some.id "
-Dfile=path-to-your-artifact-jar "
-DpomFile=path-to-your-pom.xml
Note that the groupId, artifactId, version and packaging informations are automatically retrieved from the given pom.
----------------------------------------------------------------------------------------------------------------------------------
Deploy an artifact with classifier
Classifiers are the additional text given to describe an artifact.
artifact-name-1.0-bin.jar
artifact-name-1.0-dev.jar
artifact-name-1.0-prod.jar
From the above artifact names, classifiers can be located between the version and extension name of the artifact.
bin is used to describe that the artifact is a binary.
dev is used to describe that the artifact is for development.
prod is used to describe that the artifact is for production.
To add classifier into your artifact for your deployment, set the text to the classifier parameter.
mvn deploy:deploy-file -Durl=file://C:"m2-repo "
-DrepositoryId=some.id "
-Dfile=path-to-your-artifact-jar "
-DpomFile=path-to-your-pom.xml "
-Dclassifier=bin
----------------------------------------------------------------------------------------------------------------------------------
Disable timestamps suffix in an artifact
By default, when a snapshot version of an artifact is deployed to a repository, a timestamp is suffixed to it. To disable the addition of timestamp to the artifact, set the uniqueVersion parameter to false.
mvn deploy:deploy-file -Durl=file://C:"m2-repo "
-DrepositoryId=some.id "
-Dfile=your-artifact-1.0.jar "
-DpomFile=your-pom.xml "
-DuniqueVersion=false
----------------------------------------------------------------------------------------------------------------------------------
Deploy an artifact in legacy layout
"Legacy" is the layout used in maven 1 repositories while maven 2 uses "default". They are different in terms of directory structure, timestamp of snapshots in default and existence of metadata files in default.
legacy layout directory structure:
groupId
|--artifactId
|--jars
`--artifact
default layout directory structure:
groupId
|--artifactId
|--version
| `---artifact
|---metadata
In able to deploy an artifact in a legacy layout of repository, set the repositoryLayout parameter to legacy value.
mvn deploy:deploy-file -Durl=file://C:"m2-repo "
-DrepositoryId=some.id "
-Dfile=your-artifact-1.0.jar "
-DpomFile=your-pom.xml "
-DrepositoryLayout=legacy
----------------------------------------------------------------------------------------------------------------------------------
Plugin | Version | Description |
core plugins | Plugins corresponding to default core phases (ie. clean, compile). They may have muliple goals as well. | |
clean | 2.2 | Clean up after the build. |
compiler | 2.0.2 | Compiles Java sources. |
deploy | 2.3 | Deploy the built artifact to the remote repository. |
install | 2.2 | Install the built artifact into the local repository. |
resources | 2.2 | Copy the resources to the output directory for including in the JAR. |
site | 2.0-beta-6 | Generate a site for the current project. |
surefire | 2.3 | Run the Junit tests in an isolated classloader. |
verifier | 1.0-beta-1 | Useful for integration tests - verifies the existence of certain conditions. |
packaging types / tools | These plugins relate to packaging respective artifact types. | |
ear | 2.3.1 | Generate an EAR from the current project. |
ejb | 2.1 | Build an EJB (and optional client) from the current project. |
jar | 2.1 | Build a JAR from the current project. |
rar | 2.2 | Build a RAR from the current project. |
war | 2.1-alpha-1 | Build a WAR from the current project. |
reporting | Plugins which generate reports, are configured as reports in the POM and run under the site generation lifecycle. | |
changelog | 2.1 | Generate a list of recent changes from your SCM. |
changes | 2.0-beta-3 | Generate a report from issue tracking or a change document. |
checkstyle | 2.1 | Generate a checkstyle report. |
clover | 2.4 | Generate a Clover report. NOTE: Moved to Atlassian.com |
doap | 1.0-beta-1 | Generate a Description of a Project (DOAP) file from a POM. |
docck | 1.0-beta-2 | Documentation checker plugin. |
javadoc | 2.3 | Generate Javadoc for the project. |
jxr | 2.1 | Generate a source cross reference. |
pmd | 2.2 | Generate a PMD report. |
project-info-reports | 2.0.1 | Generate standard project reports. |
surefire-report | 2.3 | Generate a report based on the results of unit tests. |
tools | These are miscellaneous tools available through Maven by default. | |
ant | 2.0 | Generate an Ant build file for the project. |
antrun | 1.1 | Run a set of ant tasks from a phase of the build. |
archetype | 1.0-alpha-7 | Generate a skeleton project structure from an archetype. |
assembly | 2.2-beta-1 | Build an assembly (distribution) of sources and/or binaries. |
dependency | 2.0-alpha-4 | Dependency manipulation (copy, unpack) and analysis. |
enforcer | 1.0-alpha-3 | Environmental constraint checking (Maven Version, JDK etc), User Custom Rule Execution. |
gpg | 1.0-alpha-4 | Create signatures for the artifacts and poms |
help | 2.0.2 | Get information about the working environment for the project. |
invoker | 1.1 | Run a set of Maven projects and verify the output |
one | 1.2 | A plugin for interacting with legacy Maven 1.x repositories and builds. |
patch | 1.0 | Use the gnu patch tool to apply patch files to source code. |
plugin | 2.3 | Create a Maven plugin descriptor for any Mojo's found in the source tree, to include in the JAR. |
release | 2.0-beta-7 | Release the current project - updating the POM and tagging in the SCM. |
remote-resources | 1.0-alpha-6 | Copy remote resources to the output directory for inclusion in the artifact. |
repository | 2.0 | Plugin to help with repository-based tasks. |
scm | 1.0 | Generate a SCM for the current project. |
source | 2.0.4 | Build a JAR of sources for use in IDEs and distribution to the repository. |
IDEs | Plugins that simplify integration with integrated developer environments. | |
eclipse | 2.4 | Generate an Eclipse project file for the current project. |
idea | 2.1 | Create/update an IDEA workspace for the current project (individual modules are created as IDEA modules) |
There are also many plug-ins available at the Mojo project at Codehaus. To see the most up-to-date list browse the Codehaus repository at http://repository.codehaus.org/ , specifically the org/codehaus/mojo subfolder. Here are a few common ones:
Plugin | Version | Description |
build-helper | 1.0 | Attach extra artifacts and source folders to build. |
castor | 1.0 | Generate sources from an XSD using Castor. |
javacc | 2.1 | Generate sources from a JavaCC grammer. |
jdepend | 2.0-beta-1 | Generate a report on code metrics using JDepend. |
native | 1.0-alpha-2 | Compiles C and C++ code with native compilers. |
sql | 1.0 | Executes SQL scripts from files or inline. |
taglist | 2.1 | Generate a list of tasks based on tags in your code. |
A number of other projects provide their own Maven2 plugins. This includes:
Plugin | Description |
cargo | Start/stop/configure J2EE containers and deploy to them. |
jaxme | Use the JaxMe JAXB implementation to generate Java sources from XML schema. |
jetty | Run a Jetty container for rapid webapp development. |
jalopy | Use Jalopy to format your source code |
相关推荐
SPD-Conv-main.zip
目录: 1-1 虚拟化技术发展史 1-2 虚拟化技术是什么 1-3 虚拟化技术的分类 1-4 虚拟化技术的优缺点(1) 1-4 虚拟化技术的优缺点 1-5 容器技术的发展 1-6 Docker的发展历史 1-7 Docker是什么 1-8 容器和虚拟机的区别(1) 1-9 容器和虚拟机的区别(2) 1-10 为什么要使用Docker 2-1 Docker的版本 2-2 Docker的安装 2-3 Docker服务启动 2-4 Docker服务信息 2-5 Docker使用初体验-Docker的运行机制 2-6 Docker使用初体验-Docker镜像仓库 2-7 Docker使用初体验-Docker镜像下载 2-8 Docker使用初体验-Docker镜像启动运行 2-9 Docker使用初体验-访问容器中的Tomcat服务 2-10 Docker使用初体验-Docker的网络访问机制 2-11 Docker使用初体验-进入Docker容器内部 2-12 Docker使用初体验-补充说明 3-1 Docker的体系架构(1) 3-2 Docker的体系架构(2)r ..........
《狼》教学设计
对于在外工作或生活的人来说,寻找合适的住房是首要解决的问题。传统的租房方式包括直接联系房东、通过房屋租赁公司或在线搜索房源。直接找房东可能耗时且不便,尤其是需要提前看房的情况;通过中介虽然方便,但需支付额外费用;而在线租房则提供了随时随地的便利性,因此越来越受到青睐。 本房屋租赁平台使用Java语言配合Idea开发环境进行构建,后端数据库选用了Mysql。平台提供了在线预约看房的功能,包括浏览出租房源、在线预约看房、收藏心仪房屋以及留言咨询等。该系统不仅方便了租房者在线预订和管理看房计划,也为房东提供了房屋信息发布和预订管理的便利。
四轮独立驱动横摆角速度控制,LQR 基于LQR算法的 基于二自由度动力学方程,通过主动转向afs和直接横摆力矩dyc实现的横摆角速度跟踪 ,模型包括期望横摆角速度,质心侧偏角,稳定性因素,lqr模块等模块,作为lqr入门强烈推荐。 还有详细的lqr资料说明,可以作为基本模板,和其他算法(mpc smc)做对比等
ESP8266、ESP32平台支持AIRKISS自动配网,但是实际使用中,发现失败的次数挺高的,影响体验,因此另辟他法,偶然发现EPS 支持webserver,通过webserver进行配网可大大提高成功率。 webserver.c实现网页的显示,及获取用户配置的wifi名称和密码; wifi_config.c根据是否已经配过网,决定是否开启ap配网模式还是st连接wifi模式; data_persistence.c实现保存用户设置的wifi名称和密码,防止断电后丢失;
圣诞节倒计时与节日活动管理系统是一个基于Python的桌面应用程序,旨在帮助用户庆祝和管理圣诞节期间的活动。随着圣诞节的临近,许多人希望能够清晰地了解距离节日还有多少时间,同时也希望能够有效地组织和安排各类活动,如家庭聚会、朋友聚会、圣诞晚会等。这个应用程序通过直观的用户界面和实用的功能,满足了这些需求。 该系统的核心功能包括一个实时更新的倒计时器,用户可以看到距离圣诞节还有多少天、小时、分钟和秒。倒计时器通过Python的datetime模块实现,确保准确性和实时性。用户可以自定义圣诞节的日期,以适应不同的庆祝习惯。 除了倒计时功能,用户还可以添加、编辑和删除节日活动。通过简单的输入框,用户可以记录活动的名称、时间和地点等信息。所有活动将以列表的形式展示,用户可以轻松查看即将到来的活动,并进行相应的管理。 在技术实现方面,该应用程序使用了Python的Tkinter库来构建图形用户界面。界面设计简洁明了,用户可以轻松地进行操作。程序还使用了matplotlib库来绘制活动的统计图表,帮助用户直观地了解活动安排情况。
双目立体匹配三维重建点云C++ 本工程基于网上开源代码进行修改,内容如下: 1.修改为 VS2015 Debug win32 版本,支持利用特征点和 OpenCV 立体匹配算法进行进行三维重建及显示,相关代码需要自行修改,代码中添加了修改注释。 2.工程依赖库为 OpenCV2.4.8,内部已完成 OpenCV 相关配置。 无论电脑中是否配置Opencv 都可以运行。 并且增加了点云保存,可以用MATLAB 显示点云。 一、操作步骤 1.解压后将 Reconstuction3d bin 中的所有 dll 拷贝到C: windows sysWOW64 或者system32 根据电脑版本决定,64 位为 sysWOW64。 2.双击 Reconstuction3d.sln 打开工程,运行后出现结果。 二、程序详解 Reconstuction3d.cpp 为程序主函数 cvFuncs.cpp 为特征点三维重建。 包含SIFT、SURF、FAST 等算法。 cvFuncs2.cpp 为视差图三维重建.包含 BM、SGBM 等算法可以选择两者中的一个进行重建,推荐特征点。 特征点三维重建流程:
course_s5_linux应用程序开发篇.pdf
ESP32+DS1302芯片【简单DIY制作时钟】
扑克牌数字检测48-CreateML、Darknet、Paligemma数据集合集.rarPCC3.0 Yolov8-V1 2023-12-04 5:04 PM ============================= *与您的团队在计算机视觉项目上合作 *收集和组织图像 *了解和搜索非结构化图像数据 *注释,创建数据集 *导出,训练和部署计算机视觉模型 *使用主动学习随着时间的推移改善数据集 对于最先进的计算机视觉培训笔记本,您可以与此数据集一起使用 该数据集包括4471张图像。 播放卡分类以创建格式注释。 将以下预处理应用于每个图像: *像素数据的自动取向(带有Exif-Arientation剥离) *调整大小为640x640(拉伸) 应用以下扩展用于创建每个源图像的2个版本: * 0到6像素之间的随机高斯模糊
政务大数据资源平台设计方案
【资源说明】 基于SSM框架一个比赛裁判管理系统校园赛事管理系统,主要技术(SpringMVC + Spring + Mybatis+Hui+Jquery+Ueditor)全部资料+详细文档+高分项目.zip 【备注】 1、该项目是个人高分项目源码,已获导师指导认可通过,答辩评审分达到95分 2、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用! 3、本项目适合计算机相关专业(人工智能、通信工程、自动化、电子信息、物联网等)的在校学生、老师或者企业员工下载使用,也可作为毕业设计、课程设计、作业、项目初期立项演示等,当然也适合小白学习进阶。 4、如果基础还行,可以在此代码基础上进行修改,以实现其他功能,也可直接用于毕设、课设、作业等。 欢迎下载,沟通交流,互相学习,共同进步!
ANSYS Fluent Tutorial Guide ANSYS Fluent是一种基于 Finite Element Method(有限元方法)的计算流体力学(CFD)软件,广泛应用于航空航天、汽车、能源、医药等领域。下面是ANSYS Fluent Tutorial Guide的知识点总结: 1. ANSYS Fluent简介 ANSYS Fluent是一个功能强大且灵活的CFD软件,能够模拟复杂的流体力学、热传导、质量传递等物理过程。该软件广泛应用于航空航天、汽车、能源、医药等领域,用于模拟、设计和优化各种流体力学系统。 2. ANSYS Fluent的主要特点 * 基于Finite Element Method(有限元方法),能够模拟复杂的几何形状和边界条件 * 支持多种物理模型,包括流体力学、热传导、质量传递、化学反应等 * 具有强大的后处理功能,能够输出丰富的结果数据 * 可以与其他ANSYS产品集成,实现多物理场耦合分析 3. ANSYS Fluent在航空航天领域的应用 * 飞机和导弹的气动设计 * 飞机发动机的热传导和燃烧模拟 * 航天器的热保护和气动设计 4. AN
JavaWeb教务系统是基于Java技术构建的网络应用程序,用于管理高校的教学事务。这个期末大作业可能涵盖了多个关键知识点,包括但不限于以下内容: 1. **Servlet与JSP**:JavaWeb开发的基础,Servlet用于处理服务器端逻辑,而JSP则用于生成动态网页。学生可能需要了解如何创建Servlet类,实现doGet或doPost方法,以及如何在JSP页面上使用EL(Expression Language)和JSTL(JavaServer Pages Standard Tag Library)标签。 2. **MVC模式**:Model-View-Controller模式是JavaWeb开发中常见的设计模式,用于分离业务逻辑、数据模型和用户界面。学生可能需要设计并实现一个MVC架构的教务系统,如Controller负责接收请求并调用Service,Service层处理业务逻辑,而Model层则封装数据。 3. **数据库操作**:项目可能涉及到MySQL或其他关系型数据库的使用,包括数据表的设计、SQL查询语句的编写以及JDBC(Java Database Connect
Python之正则表达式基础知识
《我的白鸽》教学设计
【资源说明】 基于Spring、SpringMVC、Mybatis的校园二手交易平台全部资料+详细文档+高分项目.zip 【备注】 1、该项目是个人高分项目源码,已获导师指导认可通过,答辩评审分达到95分 2、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用! 3、本项目适合计算机相关专业(人工智能、通信工程、自动化、电子信息、物联网等)的在校学生、老师或者企业员工下载使用,也可作为毕业设计、课程设计、作业、项目初期立项演示等,当然也适合小白学习进阶。 4、如果基础还行,可以在此代码基础上进行修改,以实现其他功能,也可直接用于毕设、课设、作业等。 欢迎下载,沟通交流,互相学习,共同进步!
非常好的音视频会议系统项目全套技术资料.zip
UR5 3D模型