Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't see CORS configuration after installation #4

Open
ajaydwarkani opened this issue Aug 20, 2015 · 0 comments
Open

Can't see CORS configuration after installation #4

ajaydwarkani opened this issue Aug 20, 2015 · 0 comments

Comments

@ajaydwarkani
Copy link

Hi,

First of all thanks for the extended CORS plugin.

After installing the compiled plugin, I don't see CORS configuration under Jenkins configure system. I have tried installing this plugin by itself, tried installing both the original CORS and this one together.

Compiled cors.hpi size is 7KB
Java version 1.7.x
maven version 3.2.1

Here is the log from compiling

C:\Projects\cors-plugin-Jenkins>mvn package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jvnet.hudson.plu
gins:cors:hpi:0.3.0
[WARNING] 'build.plugins.plugin.version' for com.cloudbees:maven-license-plugin is missing. @ org.je
nkins-ci.plugins:plugin:1.424.1, D:\Users\username\.m2\repository\org\jenkins-ci\plugins\plugin\1.424.1
\plugin-1.424.1.pom, line 191, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your
 build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed pro
jects.
[WARNING]
[INFO]
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBu
ilder with a thread count of 1
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building CORS 0.3.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-hpi-plugin:1.74:validate (default-validate) @ cors ---
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:display-info (default) @ cors ---
[INFO] Maven Version: 3.2.1
[INFO] JDK Version: 1.7.0_79 normalized as: 1.7.0-79
[INFO] OS Info: Arch: amd64 Family: windows Name: windows 7 Version: 6.1
[INFO]
[INFO] --- maven-localizer-plugin:1.12:generate (default) @ cors ---
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:resources (default-resources) @ cors ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ cors ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-license-plugin:1.7:process (default) @ cors ---
[INFO] Generated C:\Projects\cors-plugin-Jenkins\target\cors\WEB-INF\licenses.xml
[INFO]
[INFO] --- access-modifier-checker:1.7:enforce (default-enforce) @ cors ---
[INFO]
[INFO] --- maven-hpi-plugin:1.74:insert-test (default-insert-test) @ cors ---
[INFO] Skipping auto-test generation
[INFO]
[INFO] --- gmaven-plugin:1.3:generateTestStubs (test-in-groovy) @ cors ---
[INFO] No sources found for Java stub generation
[INFO]
[INFO] --- maven-resources-plugin:2.4.3:testResources (default-testResources) @ cors ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory C:\Projects\cors-plugin-Jenkins\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ cors ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-hpi-plugin:1.74:test-hpl (default-test-hpl) @ cors ---
[INFO] Generating C:\Projects\cors-plugin-Jenkins\target\test-classes\the.hpl
[INFO]
[INFO] --- maven-hpi-plugin:1.74:resolve-test-dependencies (default-resolve-test-dependencies) @ cor
s ---
[INFO]
[INFO] --- gmaven-plugin:1.3:testCompile (test-in-groovy) @ cors ---
[INFO] No sources found to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.8:test (default-test) @ cors ---
[INFO] Surefire report directory: C:\Projects\cors-plugin-Jenkins\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
There are no tests to run.

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-hpi-plugin:1.74:hpi (default-hpi) @ cors ---
[INFO] Exploding webapp...
[INFO] Copy webapp webResources to C:\Projects\cors-plugin-Jenkins\target\cors
[INFO] Assembling webapp cors in C:\Projects\cors-plugin-Jenkins\target\cors
[INFO] Generating hpi C:\Projects\cors-plugin-Jenkins\target\cors.hpi
[INFO] Generating C:\Projects\cors-plugin-Jenkins\target\cors\META-INF\MANIFEST.MF
[INFO] Building jar: C:\Projects\cors-plugin-Jenkins\target\cors.hpi
[INFO] Building jar: C:\Projects\cors-plugin-Jenkins\target\cors.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.165 s
[INFO] Finished at: 2015-08-20T12:20:28-08:00
[INFO] Final Memory: 26M/443M
[INFO] ------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant