品牌知名度_提升品牌知名度的有效策略与技巧
百度搜索引擎搜索技巧_百度搜索高效技巧:快速精准查找信息的秘诀
Maven configuration occurs at 3 levels: Project - most static configuration occurs in Installation - this is configuration added once for a Maven installation User - this is configuration specific to a particular user The separation is quite clear - the project defines information that applies to the project, no matter who is building it, while the others both define settings for the current environment. Note: the installation and user configuration cannot be used to add shared project information - for example, setting or company-wide. For this, you should have your projects inherit from a company-wide parent . You can specify your user configuration in . A full reference to the configuration file is available. This section will show how to make some common configurations. Note that the file is not required - defaults will be used if it is not found. The location of your local repository can be changed in your user configuration. The default value is . Note: The local repository must be an absolute path. Proxy configuration can also be specified in the settings file. For more information, see the Guide to using a Proxy. By default, Maven will download up to five artifacts (from different groups) at once. To change the size of the thread pool, start Maven using . For example, to only download one artifact at a time: You may wish to set this option permanently, in which case you can use the environment variable. For example: Repositories to deploy to are defined in a project in the section. However, you cannot put your username, password, or other security settings in that project. For that reason, you should add a server definition to your own settings with an that matches that of the deployment repository in the project. In addition, some repositories may require authorization to download from, so the corresponding settings can be specified in a element in the same way. Which settings are required will depend on the type of repository you are deploying to. As of the first release, only SCP deployments and file deployments are supported by default, so only the following SCP configuration is needed: To encrypt passwords in these sections, refer to Encryption Settings. Repositories can be declared inside a project, which means that if you have your own custom repositories, those sharing your project easily get the right settings out of the box. However, you may want to use an alternative mirror for a particular repository without changing the project files. Refer to Guide to Mirror Settings for more details. Repository configuration can also be put into a profile. You can have multiple profiles, with one set to active so that you can easily switch environments. Read more about profiles in Introduction to Build Profiles. Maven will work for most tasks with the above configuration, however if you have any environmental specific configuration outside of individual projects then you will need to configure settings. The following sections refer to what is available. Maven has a settings file located in the Maven installation and/or user home directory that configure environmental specifics such as: HTTP proxy server repository manager location server authentication and passwords other configuration properties For information on this file, see the Settings reference You can encrypt passwords in your settings file. However, you must first configure a master password. For more information on both server passwords and the master password, see the Guide to Password Encryption. You can build a project using a specific version of JDK independent from the one Maven is running with. For more information, see the Guide to Using Toolchains.